CN104378258B - A kind of network flow monitoring method, device and terminal - Google Patents
A kind of network flow monitoring method, device and terminal Download PDFInfo
- Publication number
- CN104378258B CN104378258B CN201410653658.2A CN201410653658A CN104378258B CN 104378258 B CN104378258 B CN 104378258B CN 201410653658 A CN201410653658 A CN 201410653658A CN 104378258 B CN104378258 B CN 104378258B
- Authority
- CN
- China
- Prior art keywords
- network flow
- charging
- application
- white list
- information
- 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.)
- Active
Links
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a kind of network flow monitoring method, device and terminal, and the network flow of charging is exempted from identification;According to recognition result, each application consumed network flow for needing charging is counted.The present invention passes through above technical scheme, final statistical value is each application consumed total value for needing charging network flow of terminal, eliminate the network flow for exempting from charging, such statistics is carried out at the terminal, user can be facilitated to know currently to need to meet user demand how much come the network flow total value paid according to flow.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of network flow monitoring methods, device and terminal.
Background technique
Existing terminal want monitor consumed by network flow mode, be by application UID (including count some into
Total reception amount TrafficStats.getUidRxBytes of journey;Count total traffic volume of some process
TrafficStats.getUidTxBytes all application consumed overall network flows) are calculated.
It is free, full-time with the diversification of operator's charge on traffic scheme, such as according to set meal charging, certain fixed time period
Section is free etc., and the existing this mode for calculating all application consumed overall network flows can not consider these diversifications, nothing
Method rejects the network flow for exempting from charging, is unable to satisfy the demand of user, and final statistics can allow user to take for the flow of user
It is the flow for all needing charging.
Summary of the invention
The present invention provides a kind of network flow monitoring method, device and terminal, solves existing terminal network charge on traffic side
The problem of formula can not reject the network flow for exempting from charging, be unable to satisfy the demand of user.
In order to solve the above technical problems, the invention adopts the following technical scheme:
A kind of network flow monitoring method is applied to terminal side, and the network flow monitoring method includes: that charging is exempted from identification
Network flow;According to recognition result, each application consumed network flow for needing charging is counted.
In some embodiments, described to identify that the network flow for exempting from charging includes: to exempt from from the identification of preset white list
The network flow of charging includes at least one application in the white list, and the network flow respectively applied exempts from charging letter
Breath.Preferably, it includes: to exempt from chargeable time section, exempt from charging flow rate upper limit, in affiliated set meal that the network flow, which exempts from charge information,
It is one or more.
It in some embodiments, further include that the white list column are set by least one of following two mode mode
Table:
The input operation for receiving user, according to white list described in the input operation setting of user;
The information that operator sends is parsed, includes applying and the network flow of the application exempts from charge information in the information,
According to the information, the white list is set automatically.
In some embodiments, further includes: count each application consumed network for exempting from charging in the white list
Flow, and be recorded in the white list.
A kind of network flow monitoring device is applied to terminal side, and the network flow monitoring device includes: identification module,
Exempt from the network flow of charging for identification;First statistical module, for the recognition result according to the identification module, to each application
The consumed network flow for needing charging is counted.
In some embodiments, the identification module is specifically used for exempting from the network of charging from the identification of preset white list
Flow includes at least one application in the white list, and the network flow of application exempts from charge information.
It in some embodiments, further include receiving module and the first setup module, the receiving module is for receiving user
Input operation, first setup module be used for the white list according to the input operation setting of user;
And/or further include parsing module and the second setup module, the parsing module is used to parse the letter of operator's transmission
Breath includes applying and the network flow of the application exempts from charge information in the information, and second setup module is used for according to institute
It states information and the white list is set automatically.
It in some embodiments, further include the second statistical module, for counting, respectively application is disappeared in the white list
Consumption exempts from the network flow of charging, and is recorded in the white list.
A kind of terminal, including network flow monitoring device described in any of the above embodiments.
Network flow monitoring method, device and terminal provided by the invention, in terminal side, the network flow of charging is exempted from identification,
According to recognition result, each application consumed network flow for needing charging is counted, final statistical value is that terminal is respectively answered
With the total value of the consumed network flow for needing charging, the network flow for exempting from charging is eliminated, carries out such system at the terminal
Meter can facilitate user to know currently to need to meet user demand how much come the network flow total value paid according to flow.
Detailed description of the invention
Fig. 1 is the flow chart for the network flow monitoring method that one embodiment of the invention provides;
Fig. 2 is the schematic diagram for the network flow monitoring device that one embodiment of the invention provides.
Specific embodiment
Network flow monitoring method provided by the invention, device are applied to terminal side.
Below by specific embodiment combination attached drawing, invention is further described in detail.
Fig. 1 is the flow chart for the network flow monitoring method that one embodiment of the invention provides, referring to FIG. 1, including as follows
Process:
S101, identification exempt from the network flow of charging.
The step includes but is not limited to: exempting from the network flow of charging, the white list from the identification of preset white list
It include at least one application in list, and the network flow of application exempts from charge information.
It includes: one of to exempt from chargeable time section, exempt from charging flow rate upper limit, affiliated set meal that the network flow, which exempts from charge information,
Or it is a variety of.If because in addition set meal is charged, how much charging not in accordance with flow, therefore also not using some set meal is belonged to
Necessity carries out statistics flow, is considered as the network flow for exempting from charging.
White list can be arranged to obtain in the following manner:
Mode one, the input operation for receiving user, according to the input operation setting white list of user.This mode is
By user's manual setting, user can select the application for exempting from charging from all applications that terminal is installed, can also be further
The selected period for exempting from charging, it is added to white list.
The information that mode two, parsing operator send includes applying and the network flow of the application exempts from charging in the information
The white list is arranged according to the information in information automatically.This mode is intelligent set, operator include China Mobile,
It can also include virtual operator, such as day cat, Jingdone district virtual operator except this three big basic operator of telecommunications, connection.When
Operator includes applying and when the network flow of the application exempts from the information of charge information to terminal transmission, such as the information content are as follows:
Its cat is reminded, and exempts from traffic fee using day cat client on the day of on November 11st, 2014, by parsing the information, available information
In application and the network flow of the application exempt from charge information, be automatically added to white list.
It is, of course, also possible to also set up white list, example in such a way that user's manual setting and intelligent set combine
Such as on the basis of intelligent set, white list is modified by way of manual modification.
In some embodiments, each application consumed network flow for exempting from charging in white list can also in addition be counted
Amount, and be recorded in the white list, user checks that the white list could be aware that respectively application is disappeared in white list
The network flow for exempting from charging of consumption.
As shown in Table 1, the white list provided for an embodiment:
Table one
Information in upper table indicates that cat client network flow consumed by this day on November 11st, 2014 in day is exempted to count
Take, be identified as exempting from the network flow of charging, can reject in step S102 and not take statistics, cat client is practical day by day disappears for this
2M is consumed;Sohu's news client at any time consumed by network flow, be all identified as exempting from the network flow of charging, walk
It can weed out in rapid S102 and not take statistics, cumulative Sohu's news client actual consumption 30M;Credulity client belongs to
The set meal of 5 yuan of monthly payments is identified as exempting from the network flow of charging, can weed out in step S102 and not take statistics, credulity client
Hold of that month actual consumption 10M;Jingdone district client every month, the flow less than or equal to 10M of consumption was identified as exempting from charging
Network flow can be weeded out in step S102 and not taken statistics, and the flow greater than 10M needs charging, needs in step s 102
It comes out.
S102, according to recognition result, each application consumed network flow for needing charging is counted.
The statistical value that the step obtains is network flow of each application consumed needs of terminal according to flow how many charging
Total value, eliminate the network flow for exempting from charging, carry out such statistics at the terminal, user can be facilitated to know currently to need
How much is the flow of payment, meets user demand.
Fig. 2 is the schematic diagram for the network flow monitoring device that one embodiment of the invention provides, as shown in Fig. 2, network flow
Monitoring device 2 includes identification module 21 and the first statistical module 22, wherein identification module 21 exempts from the network flow of charging for identification
Amount, the first statistical module 22 is used for the recognition result according to identification module 21, to each application consumed network for needing charging
Flow is counted.
In some embodiments, identification module 21 is specifically used for exempting from the network flow of charging from the identification of preset white list
It measures, includes at least one application in the white list, and the network flow of application exempts from charge information.Preferably, described
Network flow exempt from charge information include: one of exempt from chargeable time section, exempt from charging flow rate upper limit, affiliated set meal or a variety of, if
Using belonging to some set meal, because in addition set meal is charged, how much charge, therefore unnecessary unites not in accordance with flow
Meter, is considered as the network flow for exempting from charging.
In some embodiments, network flow monitoring device 2 further includes receiving module and the first setup module, the reception
Module is used to receive the input operation of user, and first setup module is used for the white name according to the input operation setting of user
Single-row table;
And/or network flow monitoring device 2 further includes parsing module and the second setup module, the parsing module is used for
The information that operator sends is parsed, includes applying and the network flow of the application exempts from charge information in the information, described second
Setup module is used to that the white list to be arranged automatically according to the information.
In some embodiments, network flow monitoring device 2 further includes the second statistical module, for counting the white list
In list it is each it is application consumed exempt from the network flow of charging, and be recorded in the white list.
The present invention also provides a kind of terminals, including network flow monitoring device 2 described in any of the above embodiments.Terminal include but
It is not limited to mobile phone.
The present invention, in terminal side, the network flow of charging is exempted from identification, according to recognition result, to each application consumed needs
The network flow of charging is counted, and final statistical value eliminates the network flow for exempting from charging, is that terminal is each application consumed
Needs according to flow how many charging network flow total value, carry out such statistics at the terminal, user can be facilitated to know
Dawn is current to be needed to meet user demand how much come the network flow total value paid according to flow.
The above content is specific embodiment is combined, further detailed description of the invention, and it cannot be said that this hair
Bright specific implementation is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, it is not taking off
Under the premise of from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to protection of the invention
Range.
Claims (8)
1. a kind of network flow monitoring method, which is characterized in that be applied to terminal side, the network flow monitoring method includes:
The network flow for exempting from charging of each application is identified from preset white list, includes at least one in the white list
A application, and the network flow of application exempt from charge information, and the white list is operated by receiving the input of user, according to
The input operation setting of user;
According to recognition result, application consumed charging network flow is needed to count to each.
2. network flow monitoring method as described in claim 1, which is characterized in that the white list also passes through parsing fortune
The information that quotient sends is sought, is arranged automatically according to the information, includes applying and the network flow of the application is exempted to count in the information
Charge information.
3. network flow monitoring method as described in claim 1, which is characterized in that the network flow exempts from charge information packet
It includes: one of exempting from chargeable time section, exempts from charging flow rate upper limit, affiliated set meal or is a variety of.
4. network flow monitoring method as described in any one of claims 1 to 3, which is characterized in that further include: statistics is described white
In list list it is each it is application consumed exempt from the network flow of charging, and be recorded in the white list.
5. a kind of network flow monitoring device, which is characterized in that be applied to terminal side, the network flow monitoring device includes:
Receiving module, the input for receiving user operate;
First setup module includes extremely in the white list for the input operation setting white list according to user
A few application, and the network flow of application exempt from charge information;
Identification module identifies the network flow for exempting from charging of each application from the white list;
First statistical module, for the recognition result according to the identification module, to each application consumed network for needing charging
Flow is counted.
6. network flow monitoring device as claimed in claim 5, which is characterized in that further include parsing module and the second setting mould
Block, the parsing module are used to parse the information of operator's transmission, include applying and the network flow of the application in the information
Exempt from charge information, second setup module is used to that the white list to be arranged automatically according to the information.
7. such as the described in any item network flow monitoring devices of claim 5 to 6, which is characterized in that further include the second statistics mould
Block, for count in the white list it is each it is application consumed exempt from the network flow of charging, and be recorded in the white list
In list.
8. a kind of terminal, which is characterized in that including the described in any item network flow monitoring devices of such as claim 5 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410653658.2A CN104378258B (en) | 2014-11-14 | 2014-11-14 | A kind of network flow monitoring method, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410653658.2A CN104378258B (en) | 2014-11-14 | 2014-11-14 | A kind of network flow monitoring method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104378258A CN104378258A (en) | 2015-02-25 |
CN104378258B true CN104378258B (en) | 2019-01-15 |
Family
ID=52556933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410653658.2A Active CN104378258B (en) | 2014-11-14 | 2014-11-14 | A kind of network flow monitoring method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104378258B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980958B (en) * | 2015-06-30 | 2019-05-31 | 北京奇虎科技有限公司 | A kind of method and mobile terminal carrying out network login |
CN106878099B (en) * | 2015-12-11 | 2020-10-30 | 中国移动通信集团公司 | Traffic management method, terminal equipment, server and system |
CN106899999A (en) * | 2015-12-17 | 2017-06-27 | 小米科技有限责任公司 | The network flow monitoring method and device of a kind of mobile terminal |
CN106060868A (en) * | 2016-08-22 | 2016-10-26 | 安徽瑞宏信息科技有限公司 | Network traffic monitoring method, device and terminal |
CN106791251B (en) * | 2016-12-27 | 2019-11-19 | 中国建设银行股份有限公司 | Service parameter recording method and system |
CN112448868B (en) * | 2020-12-02 | 2022-09-30 | 新华三人工智能科技有限公司 | Network traffic data identification method, device and equipment |
CN114401158A (en) * | 2021-12-17 | 2022-04-26 | 中电信数智科技有限公司 | Flow charging method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005381A (en) * | 2006-01-17 | 2007-07-25 | 华为技术有限公司 | System and method for realizing flow statistic based user's service on terminal |
CN101459523A (en) * | 2007-12-12 | 2009-06-17 | 浪潮乐金数字移动通信有限公司 | On-line traffic statistical method and device based on mobile communication terminal |
CN101466088A (en) * | 2008-03-28 | 2009-06-24 | 中兴通讯股份有限公司 | System for Java wireless service charging and implementing method thereof |
CN103138976A (en) * | 2011-11-29 | 2013-06-05 | 中兴通讯股份有限公司 | User network service flow quantity statistical method, system and home gateway |
EP2698946A2 (en) * | 2011-05-06 | 2014-02-19 | Huawei Technologies Co., Ltd. | Method for rating group processing, method for data service charging, and related device and system |
CN103716767A (en) * | 2013-12-26 | 2014-04-09 | 中国联合网络通信集团有限公司 | Billing processing method and device |
CN103841204A (en) * | 2014-03-14 | 2014-06-04 | 北京奇虎科技有限公司 | Traffic-free downloading method, device and system based on mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101977365B (en) * | 2010-11-16 | 2013-10-16 | 北京瓦力网络科技有限公司 | Method and system for indicating residual mobile phone Internet traffic |
CN102571370B (en) * | 2010-12-27 | 2015-09-30 | 中国移动通信集团山西有限公司 | Many charge units the implementation method of charging when depositing and device |
CN102625331A (en) * | 2011-06-14 | 2012-08-01 | 北京小米科技有限责任公司 | Monitor method of data flow of mobile terminal and apparatus |
CN102769838A (en) * | 2012-06-20 | 2012-11-07 | 奇智软件(北京)有限公司 | Mobile terminal charge acquisition method, mobile terminal and charge acquisition system |
-
2014
- 2014-11-14 CN CN201410653658.2A patent/CN104378258B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005381A (en) * | 2006-01-17 | 2007-07-25 | 华为技术有限公司 | System and method for realizing flow statistic based user's service on terminal |
CN101459523A (en) * | 2007-12-12 | 2009-06-17 | 浪潮乐金数字移动通信有限公司 | On-line traffic statistical method and device based on mobile communication terminal |
CN101466088A (en) * | 2008-03-28 | 2009-06-24 | 中兴通讯股份有限公司 | System for Java wireless service charging and implementing method thereof |
EP2698946A2 (en) * | 2011-05-06 | 2014-02-19 | Huawei Technologies Co., Ltd. | Method for rating group processing, method for data service charging, and related device and system |
CN103138976A (en) * | 2011-11-29 | 2013-06-05 | 中兴通讯股份有限公司 | User network service flow quantity statistical method, system and home gateway |
CN103716767A (en) * | 2013-12-26 | 2014-04-09 | 中国联合网络通信集团有限公司 | Billing processing method and device |
CN103841204A (en) * | 2014-03-14 | 2014-06-04 | 北京奇虎科技有限公司 | Traffic-free downloading method, device and system based on mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104378258A (en) | 2015-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104378258B (en) | A kind of network flow monitoring method, device and terminal | |
CN109978608A (en) | The marketing label analysis extracting method and system of target user's portrait | |
CN105101302B (en) | Flow managing method and system based on user's use habit | |
CN105182033A (en) | Credit management billing method and system of intelligent electric meter system | |
CN102255813B (en) | Method, server and system for dispatching group shared traffic | |
CN104735635B (en) | A kind of policy control method and device | |
CN103281465A (en) | Method, device and system of telecommunication service resource donation | |
CN106097228A (en) | A kind of intelligence community based on owner's integration management system | |
CN102665191A (en) | Policy control method, policy control device and policy control system for data services | |
CN109584390A (en) | A kind of highway charging system based on micro services | |
CN105183753A (en) | Electricity consumption data visualization method, electricity consumption data visualization device and mobile terminal | |
CN102316483B (en) | A kind of EVDO system ensures the method and device of applied business QoS | |
CN104933767A (en) | Vehicle intelligent carpooling charging method based on mobile terminals, and system thereof | |
CN103179047A (en) | Method, device and system for service resource scheduling | |
CN107181601A (en) | A kind of flow based reminding method and device | |
CN102184500A (en) | Mobile membership system based on union pay card and payment method thereof | |
CN102572064A (en) | Method and device for using short messages | |
CN104955019B (en) | A kind of mobile data traffic automatic ordering system and its method | |
CN106329013A (en) | Battery pack and management system comprising same | |
CN201550282U (en) | Automatic billing system of mobile phone | |
CN105871564B (en) | A kind of charge on traffic method and device | |
CN107730239A (en) | Combustion gas expense collection methods and Internet of things system based on compound Internet of Things | |
CN109034729A (en) | A kind of contract automatic management method | |
JP6185028B2 (en) | Benefit grant system | |
CN205091838U (en) | Intelligence water gauge payment system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |