CN104378258A - Network traffic monitoring method and device and terminal - Google Patents
Network traffic monitoring method and device and terminal Download PDFInfo
- Publication number
- CN104378258A CN104378258A CN201410653658.2A CN201410653658A CN104378258A CN 104378258 A CN104378258 A CN 104378258A CN 201410653658 A CN201410653658 A CN 201410653658A CN 104378258 A CN104378258 A CN 104378258A
- Authority
- CN
- China
- Prior art keywords
- charging
- network
- list
- application
- network traffics
- 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.)
- Granted
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a network traffic monitoring method and device and a terminal. Network traffic free of charge is identified; according to the identification result, network traffic which is consumed by applications and needs to be charged is counted. According to the technical scheme, a final statistical value is the total value of the network traffic which is consumed by the applications of the terminal and needs to be charged, and the network traffic free of charge is removed. Statistics is achieved on the terminal so that a user can conveniently know the total value of the network traffic needing to be charged according to the quantity of the traffic at present, and user requirements are met.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of network flow monitoring method, device and terminal.
Background technology
Existing terminal wants the mode monitoring the network traffics consumed, and is (to comprise total quantities received TrafficStats.getUidRxBytes of the some processes of statistics by application UID; Add up total traffic volume TrafficStats.getUidTxBytes of some processes) calculate all application consumed overall network flows.
Along with the variation of operator's charge on traffic scheme, such as according to set meal charging, certain set time section is free, all the period of time is free, the mode of all application consumed overall network flows of existing this calculating, these variations cannot be considered, the network traffics exempting from charging cannot be rejected, cannot meet the demand of user, finally add up to the flow of user, it is the flow all needing charging that user can be allowed to take for.
Summary of the invention
The invention provides a kind of network flow monitoring method, device and terminal, solve existing terminal network charge on traffic mode and cannot reject the network traffics exempting from charging, the problem of the demand of user cannot be met.
For solving the problems of the technologies described above, the present invention by the following technical solutions:
A kind of network flow monitoring method, be applied to end side, described network flow monitoring method comprises: identify the network traffics exempting from charging; According to recognition result, each application consumed network traffics of charging that need are added up.
In certain embodiments, the network traffics that charging is exempted from described identification comprise: the network traffics exempting from charging from the white list list identification preset, and described white list list comprises at least one application, and the network traffics of each application exempt from charge information.Preferably, described network traffics are exempted from charge information and are comprised: exempt from chargeable time section, exempt from the charging flow upper limit, affiliated set meal one or more.
In certain embodiments, also comprise described white list list be set by least one mode in following two kinds of modes:
Receive the input operation of user, described white list list is set according to the input operation of user;
Resolve the information that operator sends, the network traffics that described information comprises application and this application exempt from charge information, white list list according to described information Lookup protocol.
In certain embodiments, also comprise: add up each application consumed network traffics exempting from charging in described white list list, and be recorded in described white list list.
A kind of network flow monitoring device, be applied to end side, described network flow monitoring device comprises: identification module, for identifying the network traffics exempting from charging; First statistical module, for the recognition result according to described identification module, adds up each application consumed network traffics of charging that need.
In certain embodiments, described identification module is specifically for exempting from the network traffics of charging from the white list list identification preset, described white list list comprises at least one application, and the network traffics of application exempt from charge information.
In certain embodiments, also comprise receiver module and first and arrange module, described receiver module is for receiving the input operation of user, and described first arranges module for arranging described white list list according to the input operation of user;
And/or, also comprise parsing module and second and module is set, the information that described parsing module sends for resolving operator, the network traffics that described information comprises application and this application exempt from charge information, and described second arranges module for white list list according to described information Lookup protocol.
In certain embodiments, also comprising the second statistical module, for adding up each application consumed network traffics exempting from charging in described white list list, and being recorded in described white list list.
A kind of terminal, comprises the network flow monitoring device described in above-mentioned any one.
Network flow monitoring method provided by the invention, device and terminal, the network traffics of charging are exempted from end side identification, according to recognition result, each application consumed network traffics of charging that need are added up, final statistical value is each application consumed total value needing the network traffics of charging of terminal, eliminates the network traffics exempting from charging, terminal carries out such statistics, the network traffics total value that user can be facilitated to know current needs how much pay according to flow, meets consumers' demand.
Accompanying drawing explanation
The flow chart of the network flow monitoring method that Fig. 1 provides for one embodiment of the invention;
The schematic diagram of the network flow monitoring device that Fig. 2 provides for one embodiment of the invention.
Embodiment
Network flow monitoring method provided by the invention, device, be applied to end side.
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
The flow chart of the network flow monitoring method that Fig. 1 provides for one embodiment of the invention, please refer to Fig. 1, comprises following flow process:
S101, identify and exempt from the network traffics of charging.
This step including, but not limited to: exempt from the network traffics of charging from the white list list identification preset, this white list list comprises at least one application, and the network traffics of application exempt from charge information.
These network traffics are exempted from charge information and are comprised: exempt from chargeable time section, exempt from the charging flow upper limit, affiliated set meal one or more.If application belongs to some set meals, because set meal is charged in addition, not how much charge according to flow, therefore unnecessaryly carry out statistic flow yet, be considered as the network traffics exempting from charging.
White list list obtains by arranging with under type:
The input operation of mode one, reception user, arranges white list list according to the input operation of user.This mode is manually arranged by user, and user can select the application of exempting from charging from all application that terminal is installed, and can also select the time period of exempting from charging further, add white list list to.
The information that mode two, parsing operator send, the network traffics that this information comprises application and this application exempt from charge information, white list list according to this information Lookup protocol.This mode is intelligent set, and operator comprises outside China Mobile, telecommunications, this three large basic operator of UNICOM, can also comprise virtual operator, as virtual operators such as sky cat, Jingdone district.When operator to terminal send comprise application and the network traffics of this application exempt from the information of charge information time, such as the information content is: sky cat is reminded, the same day on November 11st, 2014 uses sky cat client to exempt from traffic fee, by resolving this information, the network traffics of application in obtaining information and this application can exempt from charge information, automatic powder adding is added to white list list.
Certainly, can also manually arrange by user the mode combined with intelligent set and also arrange white list list, such as, on the basis of intelligent set, the mode manually revised revises white list list.
In certain embodiments, each application consumed network traffics exempting from charging in white list list can also be added up in addition, and being recorded in this white list list, user checks that this white list list can know each application consumed network traffics exempting from charging in white list list.
As shown in Table 1, be white list list that an embodiment provides:
Table one
Information in upper table represents, the network traffics that sky cat client consumed on November 11st, 2014 this day exempt from charging, are identified as the network traffics exempting from charging, can reject and not take statistics in step S102, and this is cat client actual consumption 2M day by day; The network traffics that Sohu's news client is consumed at any time, are all identified as the network traffics exempting from charging, can weed out and not take statistics in step S102, accumulate Sohu's news client actual consumption 30M; Credulity client belongs to the set meal of 5 yuan of monthly payments, is identified as the network traffics exempting from charging, can weed out and not take statistics in step S102, credulity client of that month actual consumption 10M; The flow being less than or equal to 10M of Jingdone district client consumption every month is identified as the network traffics exempting from charging, and can weed out in step S102 and not take statistics, the flow being greater than 10M needs charging, needs to come out in step s 102.
S102, according to recognition result, each application consumed network traffics of charging that need to be added up.
The statistical value that this step obtains, be each application consumed needs of terminal according to the total value of the network traffics of flow how many chargings, eliminate the network traffics exempting from charging, terminal carry out such statistics, user can be facilitated to know the current flow needing to pay how many, meet consumers' demand.
The schematic diagram of the network flow monitoring device that Fig. 2 provides for one embodiment of the invention, as shown in Figure 2, network flow monitoring device 2 comprises identification module 21 and the first statistical module 22, wherein, identification module 21 exempts from the network traffics of charging for identifying, first statistical module 22, for the recognition result according to identification module 21, is added up each application consumed network traffics of charging that need.
In certain embodiments, identification module 21 is specifically for exempting from the network traffics of charging from the white list list identification preset, described white list list comprises at least one application, and the network traffics of application exempt from charge information.Preferably, described network traffics are exempted from charge information and are comprised: exempt from chargeable time section, exempt from the charging flow upper limit, affiliated set meal one or more, if application belongs to some set meals, because set meal is charged in addition, not how much charge according to flow, therefore unnecessaryly to add up, be considered as the network traffics exempting from charging.
In certain embodiments, network flow monitoring device 2 also comprises receiver module and first and arranges module, and described receiver module is for receiving the input operation of user, and described first arranges module for arranging described white list list according to the input operation of user;
And/or, network flow monitoring device 2 also comprises parsing module and second and arranges module, the information that described parsing module sends for resolving operator, the network traffics that described information comprises application and this application exempt from charge information, and described second arranges module for white list list according to described information Lookup protocol.
In certain embodiments, network flow monitoring device 2 also comprises the second statistical module, for adding up each application consumed network traffics exempting from charging in described white list list, and is recorded in described white list list.
The present invention also provides a kind of terminal, comprises the network flow monitoring device 2 described in above-mentioned any one.Terminal is including, but not limited to mobile phone.
The present invention, the network traffics of charging are exempted from end side identification, according to recognition result, each application consumed network traffics of charging that need are added up, final statistical value eliminates the network traffics exempting from charging, be each application consumed needs of terminal according to the total value of the network traffics of flow how many chargings, terminal carries out such statistics, the network traffics total value that user can be facilitated to know current needs how much pay according to flow, meets consumers' demand.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.
Claims (10)
1. a network flow monitoring method, is characterized in that, is applied to end side, and described network flow monitoring method comprises:
Identify the network traffics exempting from charging;
According to recognition result, each application consumed charging network flow that needs is added up.
2. network flow monitoring method as claimed in claim 1, it is characterized in that, the network traffics that charging is exempted from described identification comprise: the network traffics exempting from charging from the white list list identification preset, and described white list list comprises at least one application, and the network traffics of application exempt from charge information.
3. network flow monitoring method as claimed in claim 2, is characterized in that, also comprise and arrange described white list list by least one mode in following two kinds of modes:
Receive the input operation of user, described white list list is set according to the input operation of user;
Resolve the information that operator sends, the network traffics that described information comprises application and this application exempt from charge information, white list list according to described information Lookup protocol.
4. network flow monitoring method as claimed in claim 2, it is characterized in that, described network traffics are exempted from charge information and are comprised: exempt from chargeable time section, exempt from the charging flow upper limit, affiliated set meal one or more.
5. the network flow monitoring method as described in any one of claim 2 to 4, is characterized in that, also comprises: add up each application consumed network traffics exempting from charging in described white list list, and be recorded in described white list list.
6. a network flow monitoring device, is characterized in that, is applied to end side, and described network flow monitoring device comprises:
Identification module, for identifying the network traffics exempting from charging;
First statistical module, for the recognition result according to described identification module, adds up each application consumed network traffics of charging that need.
7. network flow monitoring device as claimed in claim 6, it is characterized in that, described identification module is specifically for exempting from the network traffics of charging from the white list list identification preset, described white list list comprises at least one application, and the network traffics of application exempt from charge information.
8. network flow monitoring device as claimed in claim 7, it is characterized in that, also comprise receiver module and first and arrange module, described receiver module is for receiving the input operation of user, and described first arranges module for arranging described white list list according to the input operation of user;
And/or, also comprise parsing module and second and module is set, the information that described parsing module sends for resolving operator, the network traffics that described information comprises application and this application exempt from charge information, and described second arranges module for white list list according to described information Lookup protocol.
9. the network flow monitoring device as described in any one of claim 7 to 8, is characterized in that, also comprises the second statistical module, for adding up each application consumed network traffics exempting from charging in described white list list, and is recorded in described white list list.
10. a terminal, is characterized in that, comprises the network flow monitoring device as described in any one of claim 6 to 9.
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 true CN104378258A (en) | 2015-02-25 |
CN104378258B 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) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980958A (en) * | 2015-06-30 | 2015-10-14 | 北京奇虎科技有限公司 | Method for network registration and mobile terminal |
CN106060868A (en) * | 2016-08-22 | 2016-10-26 | 安徽瑞宏信息科技有限公司 | Network traffic monitoring method, device and terminal |
CN106791251A (en) * | 2016-12-27 | 2017-05-31 | 中国建设银行股份有限公司 | Service parameter recording method and system |
CN106878099A (en) * | 2015-12-11 | 2017-06-20 | 中国移动通信集团公司 | A kind of flow managing method, terminal device, server and system |
CN106899999A (en) * | 2015-12-17 | 2017-06-27 | 小米科技有限责任公司 | The network flow monitoring method and device of a kind of mobile terminal |
CN112448868A (en) * | 2020-12-02 | 2021-03-05 | 新华三人工智能科技有限公司 | 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 (11)
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 |
CN101977365A (en) * | 2010-11-16 | 2011-02-16 | 北京瓦力网络科技有限公司 | Method and system for indicating residual mobile phone Internet traffic |
CN102571370A (en) * | 2010-12-27 | 2012-07-11 | 中国移动通信集团山西有限公司 | Method and device for realizing charge under condition of coexistence of multiple charge units |
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 |
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 |
-
2014
- 2014-11-14 CN CN201410653658.2A patent/CN104378258B/en active Active
Patent Citations (11)
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 |
CN101977365A (en) * | 2010-11-16 | 2011-02-16 | 北京瓦力网络科技有限公司 | Method and system for indicating residual mobile phone Internet traffic |
CN102571370A (en) * | 2010-12-27 | 2012-07-11 | 中国移动通信集团山西有限公司 | Method and device for realizing charge under condition of coexistence of multiple charge units |
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 |
CN102625331A (en) * | 2011-06-14 | 2012-08-01 | 北京小米科技有限责任公司 | Monitor method of data flow of mobile terminal and apparatus |
CN103138976A (en) * | 2011-11-29 | 2013-06-05 | 中兴通讯股份有限公司 | User network service flow quantity statistical method, system and home gateway |
CN102769838A (en) * | 2012-06-20 | 2012-11-07 | 奇智软件(北京)有限公司 | Mobile terminal charge acquisition method, mobile terminal and charge acquisition 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 |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104980958A (en) * | 2015-06-30 | 2015-10-14 | 北京奇虎科技有限公司 | Method for network registration and mobile terminal |
CN104980958B (en) * | 2015-06-30 | 2019-05-31 | 北京奇虎科技有限公司 | A kind of method and mobile terminal carrying out network login |
CN106878099A (en) * | 2015-12-11 | 2017-06-20 | 中国移动通信集团公司 | A kind of flow managing method, terminal device, 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 |
CN106791251A (en) * | 2016-12-27 | 2017-05-31 | 中国建设银行股份有限公司 | Service parameter recording method and system |
CN112448868A (en) * | 2020-12-02 | 2021-03-05 | 新华三人工智能科技有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN104378258B (en) | 2019-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104378258A (en) | Network traffic monitoring method and device and terminal | |
EP2958303B1 (en) | Method for measuring and displaying internet traffic of mobile phone and mobile phone | |
CN105182033A (en) | Credit management billing method and system of intelligent electric meter system | |
CN101854649A (en) | Mobile terminal and method and device for monitoring Internet surfing data traffic of mobile terminal | |
CN105101302B (en) | Flow managing method and system based on user's use habit | |
US10341829B2 (en) | Directed data plan service-launching system and method for virtual operator | |
CN105608580A (en) | Mobile terminal payment method and mobile terminal payment system | |
CN101867946A (en) | Network flow calculation method of mobile phone client | |
CN103796247A (en) | User traffic speed control method and system | |
CN104955019B (en) | A kind of mobile data traffic automatic ordering system and its method | |
CN107872594B (en) | Charging method, charging device and charging system | |
CN201550282U (en) | Automatic billing system of mobile phone | |
CN107786956B (en) | Method and device for determining real-time priority of package | |
CN105871564B (en) | A kind of charge on traffic method and device | |
CN104459253A (en) | Intelligent electric meter based on network | |
CN101800879B (en) | Repartition settlement method, system and terminal based on download-type middleware | |
CN103686599B (en) | Method and system for providing applications for intelligent terminals | |
CN101072275A (en) | Billing engineering method for dynamic folding-line communication charging | |
CN205562678U (en) | Supply meter power consumption condition reminder system | |
US8768298B1 (en) | System, method, and computer program for persona based telecommunication service subscriptions | |
CN102123369A (en) | Charging method and system for machine type communication | |
CN205622327U (en) | Portable power consumption monitor terminal | |
CN205354306U (en) | Intelligent residential district wireless meter reading device based on thing networking | |
CN205091838U (en) | Intelligence water gauge payment system | |
CN101601271A (en) | For determine the method and apparatus of variable cost information as the content of communication service |
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 |