CN105848130A - Data traffic management method and terminal - Google Patents
Data traffic management method and terminal Download PDFInfo
- Publication number
- CN105848130A CN105848130A CN201610340216.1A CN201610340216A CN105848130A CN 105848130 A CN105848130 A CN 105848130A CN 201610340216 A CN201610340216 A CN 201610340216A CN 105848130 A CN105848130 A CN 105848130A
- Authority
- CN
- China
- Prior art keywords
- target data
- information
- data
- data traffic
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
An embodiment of the invention discloses a data traffic management method and a terminal. The method comprises the following steps: if monitoring a request for obtaining target data through data traffic, obtaining target data information, wherein the target data information comprises file size information of the target data; carrying out calculation according to the target data information to obtain a first data traffic value to be consumed by the target data and reminding the first data traffic value to a user; and if receiving a user-sent command for confirming obtaining the target data, obtaining the target data through the data traffic. According to the method, before the target data is downloaded from a network server, the data traffic value to be consumed by the target data is pre-estimated, and the user is reminded of the traffic value, so that the user can manage the data traffic conveniently.
Description
Technical field
The present invention relates to technical field of communication network, particularly relate to a kind of data flux management method and terminal.
Background technology
Along with the development of the network communications technology, people use showing of the mobile terminal Internet access such as mobile phone, panel computer
As more and more universal.At present mobile phone users uses the mode of mobile terminal Internet access to be usually following two:
Access point (access point, AP) is connected by the mode of Wireless Fidelity (Wireless Fidelity, WiFi),
And surfed the Net by access point connection network;Carry out surfing the Net (such as, by the communication network of common carrier
Surfed the Net by 2G, 3G, 4G communication network of operator).
When being surfed the Net by the communication network of common carrier, mobile phone users needs to understand in real time oneself
Data traffic, because if user use data traffic exceed certain limit, it will increase traffic fee
With.Such as, surf the Net for convenience, major part user all can select flow monthly payment, if but user made this month
Flow exceeded the flow limit of monthly payment and will produce extra campus network.
At present, although mobile terminal can data flow quantity statistical, but had simply used in statistics odd-numbered day or this month
One total value of data traffic, and cannot know before user browses webpage, acquisition file by data traffic
Current web page, file need the data traffic information consumed.Due to user cannot estimate webpage to be obtained,
The data traffic that file will consume, this may cause using too much data stream in the case of user is unwitting
Amount, is unfavorable for that user carries out data traffic management.
Summary of the invention
The embodiment of the present invention provides a kind of data flux management method and terminal, and can estimate acquisition target data will
Consume data traffic value and remind user, it is simple to user manages data traffic.
First aspect, embodiments provides a kind of data flux management method, the method include if
Monitor the request being obtained target data by data traffic, obtain the information of described target data;Wherein,
The information of described target data includes the document size information of described target data;According to described target data
Information calculates the described target data of acquisition and by the first data traffic value consumed and is prompted to user;If received
The order confirming to obtain described target data sent to described user, uses data traffic to obtain described target
Data.
On the other hand, embodiments providing a kind of terminal, this terminal includes: acquiring unit, calculating list
Unit and administrative unit;If described acquiring unit obtains target data for monitoring by data traffic
Request, obtains the information of described target data;Wherein, the information of described target data includes described number of targets
According to document size information;It is described that described computing unit calculates acquisition for the information according to described target data
Target data is by the first data traffic value consumed and is prompted to user;If described administrative unit is for receiving
The order confirming to obtain described target data sent to described user, uses data traffic to obtain described target
Data.
The embodiment of the present invention is by, before downloading target data from the webserver, first obtaining this target data pair
The document size information answered, downloads, to estimate, the data traffic value that this target data will consume, and reminds use
Family, can allow user understand in real time and download the data traffic that target data will consume, it is simple to user manages data
Flow.
Accompanying drawing explanation
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required in embodiment being described below
The accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is some realities of the present invention
Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow diagram of a kind of data flux management method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow diagram of a kind of data flux management method that another embodiment of the present invention provides;
Fig. 3 is the schematic block diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Should be appreciated that when using in this specification and in the appended claims, term " includes " and " bag
Contain " indicate described feature, entirety, step, operation, element and/or the existence of assembly, but be not precluded from
One or more further features, entirety, step, operation, element, assembly and/or its set existence or add
Add.
It is also understood that the term used in this description of the invention is merely for the sake of describing particular implementation
The purpose of example and be not intended to limit the present invention.As made in description of the invention and appended claims
As with, unless context clearly indicates other situation, otherwise " ", " " of singulative
And " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, in description of the invention and appended claims use term " with/
Or " refer to the one or more any combination being associated in the item listed and likely combine, and
Combine including these.
As used in this specification and in the appended claims, term " if " can foundation
Context be interpreted " when ... time " or " once " or " in response to determining " or " in response to detecting ".
Similarly, phrase " if it is determined that " or " if be detected that [described condition or event] " can be according to up and down
Literary composition be interpreted to mean " once it is determined that " " in response to determining " or " once detect [described condition or
Event] " or " in response to [described condition or event] being detected ".
In implementing, the terminal described in the embodiment of the present invention includes but not limited to such as have touch sensitivity
The mobile phone on surface (such as, touch-screen display and/or touch pad), laptop computer or flat board calculate
Other portable set of machine etc.It is to be further understood that in certain embodiments, described equipment is not
Portable communication device, but there is touch sensitive surface (such as, touch-screen display and/or touch pad)
Desk computer.
In discussion below, describe the terminal including display and touch sensitive surface.But, should
When being understood by, terminal can include such as physical keyboard, mouse and/or control bar one or more other
Physical user-interface device.
Terminal supports various application programs, such as following in one or more: drawing application program, demonstration
Application program, word-processing application, website create application program, dish imprinting application program, electronic watch
Lattice application program, game application, telephony application, videoconference application, Email should
Application program, photo management application program, number is supported with program, instant messaging applications, exercise
Code camera application program, digital camera application program, web-browsing application program, digital music player
Application program and/or video frequency player application program.
The various application programs that can perform in terminal can use at least one of such as touch sensitive surface
Public physical user-interface device.Can among applications and/or corresponding application programs in adjust and/or change
The corresponding information of display in one or more functions of change touch sensitive surface and terminal.So, terminal
Public physical structure (such as, touch sensitive surface) can support have the most directly perceived and transparent user
The various application programs at interface.
See the exemplary flow that Fig. 1, Fig. 1 are a kind of data flux management methods that the embodiment of the present invention provides
Figure, the executive agent of the present embodiment is terminal, and terminal can be mobile phone, panel computer etc..Count as shown in the figure
Can comprise the following steps that according to flow managing method
S101: if monitoring the request being obtained target data by data traffic, obtain described target data
Information.
Such as, terminal use, when turn-on data traffic management function, is sent by exchange circle terminaloriented and opens
Open the order of data traffic management.
Terminal, when receiving this order, responds this order, and monitors by data traffic from Network Capture mesh
The request of mark data.
Wherein, this request can be user when terminal is not connected with WAP, by clickthrough/startup
Applying and trigger, application can be browser, player or social tool etc..This request can also be eventually
Hold and obtaining target data by WAP access network, and detect when wireless network interrupts, terminal
Trigger in the case of trying to continue to obtain target data.
Terminal, when monitoring the request being obtained target data by data traffic, is obtained from the webserver
The information of target data.Wherein, target data can be webpage, text, multimedia file etc., many
Media file can be picture, audio file, video file etc..The information of target data includes target data
Document size information.Document size information comprises the ratio of the byte number shared by target data or target data
Paricular value.
When target data is webpage, terminal can read the return header of this webpage.Wherein, this webpage
Return header comprise content-length (content-length), content-length is the size of web page contents.
When target data is text, multimedia file, terminal can read the header file of target data.
Wherein, header file includes the parameter relevant to document size information.Header file agreement and target data
Type meaning is corresponding.
It is understandable that the byte number that return header, header file account for is less, typically smaller than 10k bit (bit).
S102: calculate according to the information of described target data and obtain the first data that described target data will consume
Flow value is also prompted to user.
Terminal calculates according to the information of target data and downloads, from the webserver, the first number that target data will consume
According to flow value, and remind to user.
When the information of the target data obtained comprises the return header of webpage, terminal returning according to this webpage
Later the content-length in information calculates and downloads, from the webserver, the first data traffic that target data will consume
Value, and remind user.
When the information of target data obtained comprises header file, terminal is according to header file corresponding to target data
This header file of protocol analysis, and obtain the relevant parameter that this header file comprises, the phase comprised according to this header file
Related parameter calculates downloads, from the webserver, the first data traffic value that target data will consume, and reminds user.
Wherein, relevant parameter is the parameter relevant with file size, can be the value of file size, it is also possible to
Be can the parameter of calculation document size, such as, playing duration, the byte number etc. of broadcasting per minute, but also
It is not limited to this.
The mode of prompting user can be: by interactive interface display reminding information, and asks whether to obtain mesh
Mark data.Information includes the first data traffic value.Whether user can be sent by interactive interface and obtain
The order of target data.
The mode of prompting user can be: sends information of voice prompt to user, and asks whether to obtain target
Data.Information includes the first data traffic value.User can be confirmed by voice messaging or interactive interface
Whether obtain target data.Terminal is capable of identify that the life whether obtaining target data that user is sent by voice
Order.
If terminal receives the order confirming to obtain target data that user sends, perform step S103;No
Then, this flow process is terminated.
S103: if receiving the order confirming to obtain described target data that described user sends, use number
Described target data is obtained according to flow.
Terminal, when receiving the order confirming acquisition target data that user sends, uses common carrier
Data traffic downloads target data from network, and is presented to user.
Such as, terminal can pass through the communication networks such as 2G, 3G, 4G or LTE (Long Term Evolution)
Network downloads target data from the webserver.
Such scheme, terminal, before downloading target data from the webserver, first obtains this target data corresponding
Document size information, download the data traffic value that will consume of this target data to estimate, and remind user,
So that user decides whether to download target data according to practical situation.User can understand download number of targets in real time
According to the data traffic that will consume, it is simple to user manages data traffic.
See the signal that Fig. 2, Fig. 2 are a kind of data flux management methods that another embodiment of the present invention provides
Flow chart, the executive agent of the present embodiment is terminal, and terminal can be mobile phone, panel computer etc..As schemed
Show that data flux management method can comprise the following steps that
S201: if monitoring the request being obtained target data by data traffic, obtain described target data
Information.
Step S201 of this enforcement is identical with step S101 of a upper embodiment, specifically refers to an enforcement
In example, the associated description of step S101, does not repeats.
S202: calculate according to the information of described target data and obtain the first data that described target data will consume
Flow value is also prompted to user.
Terminal calculates according to the information of target data and downloads, from the webserver, the first number that target data will consume
According to flow value, and remind user.
Further, step S202 can be: calculates according to the value of file size corresponding to described target data
Obtain the first data traffic value that described target data will consume;Information is sent to user;Wherein, institute
State information and include described first data traffic value.
Such as, when target data is webpage, terminal obtains the return header of webpage, by reading this net
Page returns the value that the content-length (content-length) in header obtains the file size of webpage, namely
The content size of webpage.
When target data is text or multimedia file, terminal obtains the header file of target data, root
According to this header file of header file protocol analysis that target data is corresponding, obtain the relevant parameter that this header file comprises,
And the relevant parameter comprised according to header file obtains the value of file size corresponding to target data.Wherein, head literary composition
Part agreement is corresponding with the type meaning of target data.Relevant parameter is the parameter relevant with file size, permissible
The value of file size, it is also possible to be can the parameter of calculation document size, such as, playing duration, every point
The byte number etc. that clock is play, but it is not limited to this.
Terminal is after getting the value of file size of target data, according to the value of the file size of target data
Calculate and download the first data traffic value that target data will consume, and send information to user.Wherein,
Information includes the first data traffic value.
Further, step S202 can also be: according to the value meter of file size corresponding to described target data
Calculate and obtain the first data traffic value that described target data will consume;Obtain the flow information that described terminal is corresponding;
Wherein, described flow information includes the second data traffic value available in flow package;Believe according to described flow
Breath and described first data traffic value send information to user.
Such as, terminal calculates download target data by consumption in the value of the file size according to target data
After first data traffic value, obtain the flow information that in this terminal, SIM is corresponding.Wherein, flow information bag
Include the second data traffic value available in flow package, but be not limited to this, it is also possible to include that charge on traffic is believed
Breath etc..
Wherein, calculate, according to the value of the file size of target data, the first number that download target data will consume
Specifically refer to above-mentioned associated description according to the method for flow value, do not repeat.
Flow package can include 2G flow package, 3G flow package, 4G flow package, LTE flow set
The combination of wherein one or more in meal, does not limits.Charge on traffic information is that common carrier sets
The charging way of the fixed data traffic beyond set meal.Such as, beyond set after the meal based on 1 yuan/MB (byte)
Take.
It is understood that terminal can obtain, according to current communication network, the flow package matched with it
Information.Communication network is 2G communication network, 3G communication network, 4G communication network or LTE communication network.
Such as, when the currently used communication network of terminal is 2G communication network, obtain 2G flow package.
Terminal is after getting flow information, according to corresponding first data traffic of flow information and target data
Value sends information to user.Wherein, information includes the first data traffic value and available second
Data traffic value.
Further, when flow information also includes charge on traffic information, terminal after getting flow information,
Can also confirm that whether the first data traffic value is more than the second available data traffic value according to flow information;As
Really the first data traffic value be more than the second data traffic value, calculate expense corresponding to the first data traffic value and to
User sends information;Wherein, information includes cost information.
Such as, terminal is after getting flow information, it is judged that whether the first data traffic value is more than available the
Two data traffic values.If it is judged that be that the first data traffic value is more than the second available data traffic value,
Then calculate the difference of the first data traffic value and the second data traffic value, the 3rd data traffic exceeded with acquisition
Value.Then, terminal calculates, according to charge on traffic information, the expense that the 3rd data traffic value exceeded is corresponding, and
Information is sent to user.Wherein, information includes the expense that the 3rd data traffic value that exceeds is corresponding
Information.Information also include the first data traffic value, the second available data traffic value, exceed the 3rd
In data traffic value one or the combination in any of at least two.
Wherein, if it is judged that be that the first data traffic value is less than or equal to the second available data traffic value,
Terminal recognition is that the first data traffic value is included in flow package, and expense corresponding to the first data traffic value is
Zero.Terminal need not calculate the expense that the first data traffic value is corresponding.Now, terminal can also calculate download
The 4th data traffic value currently available after target data, and be prompted to the 4th currently available flow value use
Family.
It is understood that the mode of prompting user can be: by interactive interface display reminding information, and
Ask whether to obtain target data.User can send the order whether obtaining target data by interactive interface.
The mode of prompting user can be: sends information of voice prompt to user, and asks whether to obtain target
Data.User can be confirmed whether to obtain target data by voice messaging or interactive interface.Terminal can be known
The order whether obtaining target data that other user is sent by voice.
Terminal, when receiving the order confirming acquisition target data that user sends, performs step S203;
Terminal, when receiving the order not obtaining described target data that user sends, performs step S204.
S203: if receiving the order confirming to obtain described target data that described user sends, use number
Described target data is obtained according to flow.
Terminal, when receiving the order confirming acquisition target data that user sends, uses common carrier
Data traffic downloads target data from network, and is presented to user.
Such as, terminal can pass through the communication networks such as 2G, 3G, 4G or LTE (Long Term Evolution)
Network downloads target data from the webserver.
S204: if receiving the order not obtaining described target data that described user sends, do not obtain institute
State target data and point out access exception;Or if be detected that access WAP, obtained by wireless network
Take described target data.
Terminal is when receiving the order not obtaining target data that user sends, it is judged that whether terminal accesses nothing
Line access point.
When terminal check does not accesses WAP, do not obtain this target data, and point out user access exception,
Terminate or suspend this flow process.
When terminal check accesses WAP, restart the flow process obtaining target data, by wireless
Access point accesses wireless network, obtains target data, and be presented to user from the webserver.Its
In, terminal is when restarting the flow process obtaining target data, it is also possible to sends to user and asks whether again
Obtain the information of target data;When receiving the confirmation reacquisition target data that user sends, by nothing
Line Network Capture target data.
Such scheme, terminal, before downloading target data from the webserver, first obtains this target data corresponding
File size value, download the data traffic value that will consume of this target data to estimate, and this data stream
The cost information that value is corresponding, and remind user, so that user decides whether to download target according to practical situation
Data.User can understand the data traffic that download target data will consume in real time, it is simple to user manages data
Flow, to prevent from using too much data traffic user in the case of unwitting, and brings economic loss.
When not obtaining target data by data traffic, and when access WAP being detected, by nothing
Line access point connects network, to obtain target data from the webserver, it is possible to be easy to user according to reality
The service condition of situation reasonable distribution data traffic.
See Fig. 3, be the schematic block diagram of a kind of terminal that the embodiment of the present invention provides.The terminal bag of the present embodiment
The each module included, for performing each step in embodiment corresponding to Fig. 1, specifically refers to Fig. 1 and Fig. 1
The corresponding associated description in embodiment, does not repeats.The terminal of the present embodiment includes: acquiring unit 310,
Computing unit 320 and administrative unit 330.
If acquiring unit 310 obtains the request of target data for monitoring by data traffic, obtain mesh
The information of mark data;Wherein, the information of target data includes the document size information of target data.
Such as, if acquiring unit 310 monitors the request being obtained target data by data traffic, obtain
The information of target data.Wherein, the information of target data includes the document size information of target data.Obtain
Unit 310 sends the information of target data to computing unit 320.
Computing unit 320 is for receiving the information of the target data that acquiring unit 310 sends, according to number of targets
According to information calculate obtain target data by consume the first data traffic value and be prompted to user.
Such as, computing unit 320 receives the information of the target data that acquiring unit 310 sends, according to target
The information of data calculates acquisition target data and by the first data traffic value consumed and is prompted to user.Calculate single
Unit 320 sends announcement information to administrative unit 330, to notify that administrative unit 330 is supervised after being prompted to user
Survey the order whether obtaining target data.
Administrative unit 330, for receiving the announcement information that computing unit 320 sends, is sent out if receiving user
The order confirming to obtain target data sent, uses data traffic to obtain target data.
Such as, administrative unit 330 receives the announcement information that computing unit 320 sends, if receiving user
The order confirming to obtain target data sent, uses data traffic to obtain target data.
Such scheme, terminal, before downloading target data from the webserver, first obtains this target data corresponding
Document size information, download the data traffic value that will consume of this target data to estimate, and remind user,
So that user decides whether to download target data according to practical situation.User can understand download number of targets in real time
According to the data traffic that will consume, it is simple to user manages data traffic.
Continuing with seeing Fig. 3, in another kind of embodiment, each module that terminal includes is corresponding for performing Fig. 2
Embodiment in each step, specifically refer to the associated description in embodiment corresponding to Fig. 2 and Fig. 2,
Do not repeat.The terminal of the present embodiment includes: acquiring unit 310, computing unit 320 and administrative unit
330。
If acquiring unit 310 obtains the request of target data for monitoring by data traffic, obtain mesh
The information of mark data;Wherein, the information of target data includes the document size information of target data.
Such as, if acquiring unit 310 monitors the request being obtained target data by data traffic, obtain
The information of target data.Wherein, the information of target data includes the document size information of target data.Obtain
Unit 310 sends the information of target data to computing unit 320.
Computing unit 320 is for receiving the information of the target data that acquiring unit 310 sends, according to number of targets
According to information calculate obtain target data by consume the first data traffic value and point out user.
Such as, computing unit 320 receives the information of the target data that acquiring unit 310 sends, according to target
The information of data calculates acquisition target data and by the first data traffic value consumed and points out user.
Further, computing unit 320 is specifically for receiving the letter of the target data that acquiring unit 310 sends
Breath,
Value according to file size corresponding to target data calculates and obtains the first data stream that target data will consume
Value, sends information to user.Wherein, information includes the first data traffic value.
Such as, computing unit 420 receives the information of the target data that acquiring unit 310 sends, according to target
The value of the file size that data are corresponding calculates and obtains the first data traffic value that target data will consume, and to
Family sends information.Wherein, information includes the first data traffic value.
Further, computing unit 420 be additionally operable to the file size corresponding according to target data value calculate obtain
Take the first data traffic value that target data will consume;Obtain the flow information that terminal is corresponding;And according to stream
Amount information and the first data traffic value send information to user;Wherein, flow information includes flow set
The second data traffic value available in meal.
Such as, computing unit 320 receives the information of the target data that acquiring unit 310 sends, according to target
The value of the file size that data are corresponding calculates and obtains the first data traffic value that target data will consume;Obtain eventually
The flow information that end is corresponding;And send information according to flow information and the first data traffic value to user;
Wherein, the second data traffic value available during flow information includes flow package.
Further, the flow information that computing unit 320 obtains can also include charge on traffic information.
Further, when the flow information that computing unit 420 obtains also includes charge on traffic information, calculate
Unit 420 is additionally operable to confirm that whether the first data traffic value is more than the second data traffic value according to flow information;
And if for the first data traffic value more than the second data traffic value, calculating the first data traffic value corresponding
Expense.Wherein, the information that computing unit 320 sends includes cost information.
Such as, when the flow information that computing unit 420 obtains also includes charge on traffic information, computing unit
According to flow information, 420 confirm that whether the first data traffic value is more than the second data traffic value;If the first data
Flow value is more than the second data traffic value, calculates the expense that the first data traffic value is corresponding;And believe according to flow
Breath and the first data traffic value send information to user;Wherein, flow information also includes the first data
The cost information that flow value is corresponding.
Computing unit 420 sends announcement information to administrative unit 330 after being prompted to user, to notify management
Unit 330 monitors whether to obtain the order of target data.
Administrative unit 330, for receiving the announcement information that computing unit 420 sends, is sent out if receiving user
The order confirming to obtain target data sent, uses data traffic to obtain target data.
Further, if administrative unit 330 is additionally operable to receive, user sends does not obtains target data
Order, does not obtain target data and points out access exception;Or if be detected that access WAP, pass through
Wireless network obtains target data.
Such scheme, terminal, before downloading target data from the webserver, first obtains this target data corresponding
File size value, download the data traffic value that will consume of this target data to estimate, and remind user,
So that user decides whether to download target data according to practical situation.User can understand download number of targets in real time
According to the data traffic that will consume, it is simple to user manages data traffic.
When not obtaining target data by data traffic, and when access WAP being detected, by nothing
Line access point connects network, to obtain target data from the webserver, it is possible to be easy to user according to reality
The service condition of situation reasonable distribution data traffic.
Seeing Fig. 4, Fig. 4 is a kind of terminal schematic block diagram that another embodiment of the present invention provides.As depicted
Terminal in the present embodiment may include that one or more processor 410;One or more input equipments 420,
One or more outut devices 430 and memorizer 440.Above-mentioned processor 410, input equipment 420, output
Equipment 430 and memorizer 440 are connected by bus 450.
Memorizer 440 is used for storing programmed instruction.
Processor 410 operation below performing according to the programmed instruction of memorizer 440 storage:
If processor 410 obtains the request of target data for monitoring by data traffic, obtain described
The information of target data;Wherein, the information of described target data includes the file size letter of described target data
Breath;
Processor 410 is additionally operable to the information according to described target data and calculates the described target data of acquisition by consumption
The first data traffic value and point out user.
If processor 410 is additionally operable to monitor the life confirming to obtain described target data that described user sends
Order, uses data traffic to obtain described target data.
Further, processor 410 is specifically for the value meter of the file size corresponding according to described target data
Calculate and obtain the first data traffic value that described target data will consume;Information is sent to user;Wherein,
Described information includes described first data traffic value.
Further, processor 410 is specifically for the value meter of the file size corresponding according to described target data
Calculate after obtaining the first data traffic value that described target data will consume;Obtain described mobile terminal corresponding
Flow information;And send prompting letter according to described flow information and described first data traffic value to user
Breath.Wherein, described flow information includes the second data traffic value available in flow package.
Further, the described flow information that processor 410 obtains also includes charge on traffic information;
Processor 410 is additionally operable to confirm that whether described first data traffic value is more than institute according to described flow information
State the second data traffic value;And if for described first data traffic value more than described second data traffic
Value, calculates the expense that described first data traffic value is corresponding.Wherein, information includes described cost information.
If processor 410 is additionally operable to monitor the order not obtaining described target data that described user sends,
Do not obtain described target data and point out access exception;Or if be detected that access WAP, by nothing
Target data described in line Network Capture.
Should be appreciated that in embodiments of the present invention, alleged processor 410 can be CPU
(Central Processing Unit, CPU), this processor can also is that other general processors, digital signal
Processor (Digital Signal Processor, DSP), special IC (Application Specific
Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array,
Or other PLDs, discrete gate or transistor logic, discrete hardware components FPGA)
Deng.The processor etc. that general processor can be microprocessor or this processor can also be any routine.
Input equipment 420 can include that Trackpad, fingerprint adopt sensor (for gathering the finger print information of user
Directional information with fingerprint), mike etc., outut device 430 can include display (LCD etc.), raise
Sound device etc..
This memorizer 440 can include read only memory and random access memory, and carries to processor 410
For instruction and data.A part for memorizer 440 can also include nonvolatile RAM.Example
As, memorizer 440 can be with the information of storage device type.
In implementing, the processor 410 described in the embodiment of the present invention, input equipment 420, output set
The first embodiment and second of standby 430 methods that can perform the data traffic management that the embodiment of the present invention provides is in fact
Execute the implementation described in example, it is possible to the implementation of execution terminal described by the embodiment of the present invention,
Do not repeat them here.
Those of ordinary skill in the art are it is to be appreciated that combine respectively showing of the embodiments described herein description
The unit of example and algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in,
In order to clearly demonstrate the interchangeability of hardware and software, the most according to function the most in general manner
Describe composition and the step of each example.These functions perform with hardware or software mode actually, depend on
Application-specific and design constraint in technical scheme.Professional and technical personnel can be to each specific application
Use different methods to realize described function, but this realization is it is not considered that exceed the model of the present invention
Enclose.
Those skilled in the art is it can be understood that arrive, and for convenience of description and succinctly, above-mentioned retouches
The terminal stated and the specific works process of each module, be referred to the corresponding process in preceding method embodiment,
Do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, can
To realize by another way.Such as, device embodiment described above is only schematically, example
Such as, the division of described unit, being only a kind of logic function and divide, actual can have other drawing when realizing
Point mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some are special
Levy and can ignore, or do not perform.It addition, shown or discussed coupling each other or direct-coupling or
Communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection, it is also possible to is
Electricity, machinery or other form connect.
The described unit illustrated as separating component can be or may not be physically separate, as
The parts that unit shows can be or may not be physical location, i.e. may be located at a place, or
Can also be distributed on multiple NE.Can select therein some or all of according to the actual needs
Unit realizes the purpose of embodiment of the present invention scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to be that two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ SFU software functional unit
Form realize.
If described integrated unit realizes using the form of SFU software functional unit and as independent production marketing or
During use, can be stored in a computer read/write memory medium.Based on such understanding, the present invention
The part that the most in other words prior art contributed of technical scheme, or this technical scheme is whole
Or part can embody with the form of software product, this computer software product is stored in a storage and is situated between
In matter, including some instructions with so that computer equipment (can be personal computer, server,
Or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforementioned
Storage medium include: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be deposited
The medium of storage program code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in
The amendment of various equivalences or replacement, these amendments or replacement all should be contained within protection scope of the present invention.
Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (10)
1. a data flux management method, it is characterised in that described method includes:
If monitoring the request being obtained target data by data traffic, obtain the information of described target data;
Wherein, the information of described target data includes the document size information that described target data is corresponding;
Information according to described target data calculates and obtains the first data traffic value that described target data will consume
And it is prompted to user;
If receiving the order confirming to obtain described target data that described user sends, use data traffic
Obtain described target data.
Method the most according to claim 1, it is characterised in that the described information according to described target data
Calculate the described target data of acquisition and by the first data traffic value consumed and be prompted to user, including:
Value according to file size corresponding to described target data calculates obtain that described target data will consume the
One data traffic value;
Information is sent to user;Wherein, described information includes described first data traffic value.
Method the most according to claim 1, it is characterised in that the described information according to described target data
Calculate the described target data of acquisition and by the first data traffic value consumed and be prompted to user, including:
Value according to file size corresponding to described target data calculates obtain that described target data will consume the
One data traffic value;
Obtain the flow information that described terminal is corresponding;Wherein, described flow information includes in flow package available
The second data traffic value;
Information is sent to user according to described flow information and described first data traffic value.
Method the most according to claim 3, it is characterised in that described flow information also includes charge on traffic
Information;
Described according to described flow information and described first data traffic value sends information to user and also wraps
Include:
Confirm that whether described first data traffic value is more than described second data traffic value according to described flow information;
If described first data traffic value is more than described second data traffic value, calculate described first data stream
Expense that value is corresponding also sends information to user;Wherein, described information includes that described expense is believed
Breath.
5. according to the method described in any one of claim 1-4, it is characterised in that described method also includes:
If receiving the order not obtaining described target data that described user sends, do not obtain described target
Data also point out access exception;Or
If be detected that access WAP, obtain described target data by wireless network.
6. a terminal, it is characterised in that described terminal includes:
Acquiring unit, if for monitoring the request being obtained target data by data traffic, obtains described
The information of target data;Wherein, the information of described target data includes the file size letter of described target data
Breath;
Computing unit, calculates for the information according to described target data and obtains described target data by consumption
First data traffic value is also prompted to user;
Administrative unit, if for receiving the order confirming to obtain described target data that described user sends,
Data traffic is used to obtain described target data.
Terminal the most according to claim 6, it is characterised in that described computing unit
The value calculating described target data of acquisition specifically for the file size corresponding according to described target data will
The the first data traffic value consumed;
Information is sent to user;Wherein, described information includes described first data traffic value.
Terminal the most according to claim 6, it is characterised in that described computing unit is specifically for according to institute
The value stating file size corresponding to target data calculates the first data traffic that the described target data of acquisition will consume
Value;Obtain the flow information that described terminal is corresponding;
And send information according to described flow information and described first data traffic value to user;Its
In, described flow information includes the second data traffic value available in flow package.
Terminal the most according to claim 8, it is characterised in that the described flow that described computing unit obtains
Information also includes charge on traffic information;
Described computing unit is additionally operable to confirm whether described first data traffic value is more than according to described flow information
Described second data traffic value;And if for described first data traffic value more than described second data stream
Value, calculates the expense that described first data traffic value is corresponding;
The described information that described computing unit sends includes described cost information.
10. according to the terminal described in any one of claim 6-9, it is characterised in that described administrative unit, also
If for receiving the order not obtaining described target data that described user sends, not obtaining described target
Data also point out access exception;Or if be detected that access WAP, obtained described by wireless network
Target data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610340216.1A CN105848130A (en) | 2016-05-20 | 2016-05-20 | Data traffic management method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610340216.1A CN105848130A (en) | 2016-05-20 | 2016-05-20 | Data traffic management method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105848130A true CN105848130A (en) | 2016-08-10 |
Family
ID=56592967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610340216.1A Withdrawn CN105848130A (en) | 2016-05-20 | 2016-05-20 | Data traffic management method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105848130A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106385384A (en) * | 2016-08-31 | 2017-02-08 | 迈普通信技术股份有限公司 | Message sending method and network device |
CN106412316A (en) * | 2016-10-31 | 2017-02-15 | 努比亚技术有限公司 | Media resource playing control device and method |
CN107248961A (en) * | 2017-06-23 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of management method and management system of Internet of Things data flow |
CN107566295A (en) * | 2017-09-01 | 2018-01-09 | 努比亚技术有限公司 | A kind of data traffic reminding method, browser and computer-readable recording medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820641A (en) * | 2010-01-11 | 2010-09-01 | 华为终端有限公司 | Method and device for controlling data traffic |
CN103002466A (en) * | 2011-09-13 | 2013-03-27 | 腾讯科技(深圳)有限公司 | Traffic warning method and traffic warning device |
CN103812897A (en) * | 2012-11-12 | 2014-05-21 | 中国移动通信集团山东有限公司 | Network flow control method and device |
CN104902061A (en) * | 2014-03-03 | 2015-09-09 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105142184A (en) * | 2015-06-12 | 2015-12-09 | 联想(北京)有限公司 | Flow control method and electronic device |
CN105263120A (en) * | 2015-11-27 | 2016-01-20 | 科大讯飞股份有限公司 | Method and system for prompting user of available wireless local area network |
-
2016
- 2016-05-20 CN CN201610340216.1A patent/CN105848130A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101820641A (en) * | 2010-01-11 | 2010-09-01 | 华为终端有限公司 | Method and device for controlling data traffic |
CN103002466A (en) * | 2011-09-13 | 2013-03-27 | 腾讯科技(深圳)有限公司 | Traffic warning method and traffic warning device |
CN103812897A (en) * | 2012-11-12 | 2014-05-21 | 中国移动通信集团山东有限公司 | Network flow control method and device |
CN104902061A (en) * | 2014-03-03 | 2015-09-09 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105142184A (en) * | 2015-06-12 | 2015-12-09 | 联想(北京)有限公司 | Flow control method and electronic device |
CN105263120A (en) * | 2015-11-27 | 2016-01-20 | 科大讯飞股份有限公司 | Method and system for prompting user of available wireless local area network |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106385384A (en) * | 2016-08-31 | 2017-02-08 | 迈普通信技术股份有限公司 | Message sending method and network device |
CN106412316A (en) * | 2016-10-31 | 2017-02-15 | 努比亚技术有限公司 | Media resource playing control device and method |
CN107248961A (en) * | 2017-06-23 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of management method and management system of Internet of Things data flow |
CN107566295A (en) * | 2017-09-01 | 2018-01-09 | 努比亚技术有限公司 | A kind of data traffic reminding method, browser and computer-readable recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107528922A (en) | A kind of information push method, terminal and computer-readable recording medium | |
CN105848130A (en) | Data traffic management method and terminal | |
CN108366096A (en) | A kind of information subscribing method, terminal and computer readable storage medium | |
CN107426322A (en) | A kind of PUSH message target matching method, server, terminal and computer-readable recording medium | |
CN108170500A (en) | Download progress method for refreshing, terminal device and computer readable storage medium | |
WO2014153983A1 (en) | Application management method and application management apparatus | |
CN106598646A (en) | Program update method and terminal | |
CN108701038A (en) | A kind of method, terminal and the advertisement delivery system of terminal display advertisement | |
CN111083042B (en) | Template message pushing method, device, equipment and storage medium | |
CN107679885A (en) | A kind of ad data acquisition methods and device | |
CN109271208A (en) | Parameter setting method, device, terminal and storage medium | |
CN107067239B (en) | Application server and information processing method and device thereof | |
CN105786511A (en) | Implementation method for terminal device Web application management | |
CN109032905B (en) | Click event statistical method and related equipment | |
CN106250111A (en) | A kind of wallpaper acquisition methods and terminal | |
CN106200976A (en) | A kind of motion-activated method and terminal | |
US20180249017A1 (en) | Data Usage Based Data Transfer Determination | |
CN107678805A (en) | The call method and device of a kind of application programming interfaces | |
CN102316507A (en) | Method for detecting mobile terminal network signal, system and mobile terminal thereof | |
CN102741798A (en) | Integrated media user interface | |
CN113343138A (en) | Rollback interception method and device, intelligent terminal and storage medium | |
CN106873860B (en) | Network information commenting method and device | |
CN106658232B (en) | Label editing method and electronic terminal | |
WO2019052250A1 (en) | Automatic downloading method and apparatus for electronic reading object, and terminal device | |
CN109144721A (en) | Resource ordering method, resource display method, relevant apparatus and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160810 |