CN102186190A - Mobile terminal network traffic counting method and device - Google Patents

Mobile terminal network traffic counting method and device Download PDF

Info

Publication number
CN102186190A
CN102186190A CN2011101105717A CN201110110571A CN102186190A CN 102186190 A CN102186190 A CN 102186190A CN 2011101105717 A CN2011101105717 A CN 2011101105717A CN 201110110571 A CN201110110571 A CN 201110110571A CN 102186190 A CN102186190 A CN 102186190A
Authority
CN
China
Prior art keywords
month
flow
flow value
value
page
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
Application number
CN2011101105717A
Other languages
Chinese (zh)
Other versions
CN102186190B (en
Inventor
鲁林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Wuju Technology Co Ltd
Original Assignee
Shenzhen Wuju Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Wuju Technology Co Ltd filed Critical Shenzhen Wuju Technology Co Ltd
Priority to CN201110110571.7A priority Critical patent/CN102186190B/en
Publication of CN102186190A publication Critical patent/CN102186190A/en
Application granted granted Critical
Publication of CN102186190B publication Critical patent/CN102186190B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention belongs to the technical field of mobile terminals, and particularly relates to a mobile terminal network traffic counting method and a mobile terminal network traffic counting device. The mobile terminal network traffic counting method provided by the invention comprises the following steps of: a, making a request for a page to a browser of the mobile terminal, reading a current page file stream and obtaining a current traffic value; b, accumulating the current traffic value into an intra-month traffic value and an intraday traffic value respectively; and c, displaying the accumulated intra-month traffic value and the accumulated intraday traffic value in a page title, and storing the accumulated intro-month traffic value and the accumulated intraday traffic value in the mobile terminal. The method and the device have the advantages that: intra-month traffic, intraday traffic and current traffic produced by the browser are accumulated, the intro-month traffic and intraday traffic of a user are displayed in real time every time the user quits the browser, and the user is prompted when the intra-month traffic exceeds an upper intra-month traffic limit, so that the user can know own network traffic conditions in real time, convenience is brought to the user, and the using experiences of the user are improved.

Description

A kind of mobile terminal network flow statistical method and device
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to a kind of mobile terminal network flow statistical method and device.
Background technology
At present, in most of portable terminal, network flow statistic is arranged all generally, but these statistics do not have real-time, all do not carry out real-time statistics and prompting when page of every request.And in the use of reality, mobile phone users needs to understand in real time the network traffics of oneself, because if the network traffics that the user uses surpass certain limit, will increase the expense of using network.For example, online for convenience, most of user can select the flow monthly payment, if but the flow limit that the of that month flow that uses of user has surpassed monthly payment will produce extra traffic fee usefulness.According to statistics, at the beginning of the month of each month, it is mobile terminal network use amount peak period, because be the beginning of network traffics monthly payment the beginning of the month, do not have the user to worry the problem that network traffics exceed standard, but, be mobile terminal network use amount low peak period to the end of month, because at this moment a lot of users can worry that the monthly payment network traffics of oneself using exceed standard or exceed standard soon, therefore reduce the network use amount of oneself at the end of month.
Chinese patent application discloses the method and system that a kind of flow of surfing the Net shows for No. 201010579084.0, and it can write down the online flow that each application program produces, and the flow of will surfing the Net is presented on the icon of application program correspondence.But the shortcoming of said method is: the user does not know the network traffics that this month or the same day, online produced, and user's user demand is brought inconvenience, and influences user's experience.
Summary of the invention
The invention provides a kind of mobile terminal network flow statistical method and device, be intended to solve in the prior art since can not to this month of portable terminal or the same day network traffics add up, cause the user can not understand oneself flow situation in real time, the problem that user's user demand is brought inconvenience and influences user's experience.
The present invention is achieved in that a kind of mobile terminal network flow statistical method, comprising:
Step a: by the browser of mobile terminal requests for page, read current page document flow, obtain this flow value;
Step b: with this flow value add up respectively into of that month flow value and the same day flow value;
Step c: the of that month flow value after will adding up and the same day flow value be presented in the page title, and the of that month flow value after will adding up and the same day flow value be stored in the portable terminal.
Technical scheme of the present invention also comprises: described step a also comprises: read of that month flow value that portable terminal write down and the same day flow value.
Technical scheme of the present invention also comprises: described step b also comprises: whether the time of judging the last visit network is of that month, if the time of last visit network is of that month, this flow value accumulative total is gone into of that month flow value; If the time of last visit network is not of that month, then of that month flow value is emptied.
Technical scheme of the present invention also comprises: described step b also comprises: whether the time of judging the last visit network is the same day, if the time of last visit network is the same day, this flow value accumulative total is gone into flow value on the same day; If the time of last visit network is not the same day, then with the same day flow value empty.
Technical scheme of the present invention also comprises: described step b also comprises: judge whether of that month flow value surpasses upper limit prompting value, if of that month flow value surpasses upper limit prompting value, eject prompting frame, the of that month flow value of explicit user reminds the user that of that month flow has reached the upper limit prompting value of setting; If of that month flow value surpasses upper limit prompting value, enter browser, successfully ask a page, obtain this flow value of this page, and with this flow value add up respectively into of that month flow value and the same day flow value.
Technical scheme of the present invention also comprises: described step b also comprises: judge whether the judgement of needs execution upper limit flow, carry out upper limit flow if desired and judge, judge then whether of that month flow value surpasses upper limit prompting value; Judge if do not need to carry out upper limit flow, enter browser, successfully ask a page, obtain this flow value of this page, and with this flow value add up respectively into of that month flow value and the same day flow value.
Technical scheme of the present invention also comprises: also comprise among the described step b: whether the on off state of judging " whether reminding once more when of that month higher limit arrives " is true,
If the on off state of " whether reminding once more when of that month higher limit arrives " is true, eject prompting frame, the of that month flow value of explicit user, the of that month flow of prompting user has reached the upper flow value of setting, and whether the upper flow value that the of that month flow of inquiry user reaches setting needs to remind once more, if do not need to remind once more, the switch reconfiguration that will " whether remind once more when of that month higher limit arrives " is false and preserves; Remind once more if desired, resolve the page, obtain this page title, and this flow value is attached to the page title back;
If the on off state of " whether reminding once more when of that month higher limit arrives " is false, resolve the page, obtain this page title, and this flow value is attached to the page title back.
Another technical scheme of the present invention: a kind of mobile terminal network flow statistic device, comprise browser, described browser comprises page acquisition module and page parsing module, described page acquisition module is used to obtain current page document flow, obtain this flow value, described page parsing module is used to resolve the page, described browser also comprises traffic statistics module and flow display module, the flow value that described traffic statistics module is used for visiting each time on this month or the same day add up respectively into of that month flow value and the same day flow value, described flow display module be used to show and store after the accumulative total of that month flow value and the same day flow value.
Technical scheme of the present invention also comprises: also comprise first judge module and the 3rd judge module, described first judge module is used to judge whether the time of last visit network is of that month, if the time of last visit network is not of that month, empty by the just of that month flow value of traffic statistics module; If the time of last visit network is of that month, reads of that month flow upper limit prompting value and of that month flow value by data read module, and this flow value accumulative total is gone into of that month flow value by the traffic statistics module; Described the 3rd judge module is used to judge whether the time of last visit network is the same day, if the time of last visit network is not the same day, just the same day, flow value emptied by the traffic statistics module; If the time of last visit network is the same day, then this flow value accumulative total is gone into flow value on the same day by the traffic statistics module;
Technical scheme of the present invention also comprises: also comprise second judge module, flow prompting module and the 4th judge module,
Described second judge module is used to judge whether the judgement of needs execution upper limit flow, carrying out upper limit flow if desired judges, judge whether of that month flow value surpasses upper limit prompting value, if of that month flow value surpasses upper limit prompting value, then continue to judge the on off state of " whether reminding once more when of that month higher limit arrives ";
Described flow prompting module is used for ejecting prompting frame when of that month flow value reaches the upper flow value of setting, the of that month flow value of explicit user reminds the user that of that month flow has reached the upper limit prompting value of setting;
Described the 4th judge module is used to judge whether the upper flow value that of that month flow reaches setting needs to remind once more, if do not need to remind once more, the on off state of " whether reminding once more when of that month higher limit arrives " by the data setting module settings is false; Remind once more if desired, then resolve the page by page parsing module.
Technical scheme of the present invention has following advantage or beneficial effect: of that month flow by browser is produced of mobile terminal network flow statistical method of the present invention and device, the same day, flow and this flow added up, when the user withdraws from browser each time the of that month flow of real-time explicit user and the same day flow, and to surpass the of that month flow upper limit at of that month flow be to remind the user, make the user can understand the network traffic conditions of oneself in real time, be user-friendly to, promote user's experience.
Description of drawings
Accompanying drawing 1 is the flow chart of the mobile terminal network flow statistical method of first embodiment of the invention;
Accompanying drawing 2 is flow charts of the mobile terminal network flow statistical method of second embodiment of the invention;
Accompanying drawing 3 is flow charts of the mobile terminal network flow statistical method of third embodiment of the invention;
Accompanying drawing 4 is structural representations of the mobile terminal network flow statistic device of first embodiment of the invention;
Accompanying drawing 5 is structural representations of the mobile terminal network flow statistic device of second embodiment of the invention;
Accompanying drawing 6 is structural representations of the mobile terminal network flow statistic device of third embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Seeing also Fig. 1, is the flow chart of the mobile terminal network flow statistical method of first embodiment of the invention.The mobile terminal network flow statistical method of first embodiment of the invention may further comprise the steps:
Step 100: by the browser of mobile terminal requests for page, read current page document flow, obtain this flow value;
Step 110: with this flow value add up respectively into of that month flow value and the same day flow value;
Step 120: the of that month flow value after will adding up and the same day flow value be presented in the page title, and the of that month flow value after will adding up and the same day flow value be stored in the portable terminal.
Seeing also Fig. 2, is the flow chart of the mobile terminal network flow statistical method of second embodiment of the invention.The mobile terminal network flow statistical method of second embodiment of the invention may further comprise the steps:
Step 200: by the browser of mobile terminal requests for page;
Step 210: obtain current page document flow, read the size of the page, obtain this flow value;
Wherein, this flow value is meant user's flow value that requests for page produced each time, and this flow value can be attached to the page title back, and is only for reference.
Step 220: read of that month flow value that portable terminal write down and the same day flow value;
Wherein, of that month flow value, acquiescence is a unit with the calendar month, and the flow that browser was produced in this month adds up, and when entering next month, of that month flow value is carried out and is emptied; The same day, flow value was a unit with the sky, the network flow value of record generation every day, and acquiescence is that execution empties when visiting for the first time every day, makes prompting when the user withdraws from browser each time.
Step 230: whether the time of judging the last visit network is of that month, if the time of last visit network is not of that month, and execution in step 240; If the time of last visit network is of that month, execution in step 250;
In step 230, in order to realize every month flow value and the emptying of flow value every day (resetting to 0), portable terminal need be preserved the time of the last accession page of user, if the time that determines last accession page was not in this month or not on the same day, just carry out and empty processing accordingly, if the time of last accession page on this month or the same day, just continues to carry out flux cumulating.
Step 240: of that month flow value is emptied;
Step 250: this flow value accumulative total is gone into of that month flow value;
Step 260: whether the time of judging the last visit network is the same day, if the time of last visit network is not the same day, and execution in step 270; If the time of last visit network is the same day, execution in step 280;
Step 270: with the same day flow value empty;
Step 280: this flow value accumulative total is gone into flow value on the same day;
Step 290: the of that month flow value after will adding up and the same day flow value be presented in the page title;
Wherein, the time of the last accesses network of user, this flow value, of that month flow value and the same day flow value can be kept among the ROM (read-only memory) of portable terminal, be convenient to program and read and revise.
Step 300: this adds up end.
Seeing also Fig. 3, is the flow chart of the mobile terminal network flow statistical method of third embodiment of the invention.The mobile terminal network flow statistical method of third embodiment of the invention may further comprise the steps:
Step 310: the request of click enters browser of mobile terminal;
Step 320: judge whether last accesses network is in this month, if last accesses network is in this month, execution in step 330; If last accesses network is not in this month, execution in step 370;
Step 330: read of that month flow upper limit prompting value and of that month flow value that the user is provided with;
Wherein, third embodiment of the invention mobile terminal network flow statistical method has increased prompting function on the basis of second embodiment of the invention mobile terminal network flow statistical method, the user can set up of that month flow upper limit prompting value according to demand on their own, be that the user is when wishing that of that month flow reaches some values, browser will be made corresponding upper limit flow and remind, if do not need upper limit flow to remind, then being defaulted as this upper limit prompting value is zero.
Step 340: judge whether that needing to carry out upper limit flow judges, carries out upper limit flow if desired and judges execution in step 350; Do not judge execution in step 400 if do not need to carry out upper limit flow;
Step 350: judge whether of that month flow value surpasses upper limit prompting value, if of that month flow value surpasses upper limit prompting value, execution in step 360; If of that month flow value does not surpass upper limit prompting value, execution in step 400;
Step 360: eject prompting frame, the of that month flow value of explicit user reminds the user that of that month flow has reached the upper limit prompting value of setting, and execution in step 400;
Step 370: of that month flow value is emptied, and the switch reconfiguration that will " whether remind once more when of that month higher limit arrives " is true;
In step 370, make troubles to user to access pages for fear of the upper limit prompting value arriving reminding that repeats, the present invention sets up the switch of " whether reminding once more when of that month higher limit arrives ", this switch initial condition is true, when ejecting Option Box, if the user selects not need to remind once more, then be revised as false.Empty at of that month flow value and promptly to reset at 0 o'clock, the switch of " whether reminding once more when of that month higher limit arrives " also resets to true thereupon.
Step 380: judge whether last accesses network is on the same day, if last accesses network is not on the same day, execution in step 390; If last accesses network is on the same day, execution in step 400;
Step 390: with the same day flow value empty;
Step 400: enter browser, successfully ask a page, obtain this flow value of this page, and with this flow value add up respectively into of that month flow value and the same day flow value;
Step 410: judge whether that needing to carry out upper limit flow judges, carries out upper limit flow if desired and judges execution in step 420; Do not judge execution in step 460 if do not need to carry out upper limit flow;
Step 420: judge whether the of that month flow value after the accumulative total surpasses the upper flow value, if the of that month flow value after the accumulative total surpasses upper flow value, execution in step 430; If the of that month flow value after the accumulative total does not surpass upper flow value, execution in step 460;
Step 430: whether the on off state of judging " whether reminding once more when of that month higher limit arrives " is true, if the on off state of " whether reminding once more when of that month higher limit arrives " is true, and execution in step 440; If the on off state of " whether reminding once more when of that month higher limit arrives " is false, execution in step 460;
Step 440: eject prompting frame, the of that month flow value of explicit user, the of that month flow of prompting user has reached the upper flow value of setting, and whether the upper flow value that the of that month flow of inquiry user reaches setting needs to remind once more, if do not need to remind once more execution in step 450; Remind execution in step 460 if desired once more;
In step 440, can eject choice box and select whether to need to remind once more for the user.
Step 450: the switch reconfiguration that will " whether remind once more when of that month higher limit arrives " is false and preserves;
Step 460: resolve the page, obtain this page title;
Step 470: this flow value is attached to the page title back, the normal display page of browser;
Step 480: read when withdrawing from browser of that month flow value and the same day flow value, and eject the of that month flow value of prompting frame explicit user and the same day flow value;
Step 490: finish this traffic statistics.
Seeing also Fig. 4, is the structural representation of the mobile terminal network flow statistic device of first embodiment of the invention.The mobile terminal network flow statistic device of first embodiment of the invention comprises browser, browser comprises page acquisition module, page parsing module, traffic statistics module and flow display module, wherein, page acquisition module is used to obtain current page document flow, obtain this flow value, page parsing module is used to resolve the page, the traffic statistics module be used for when visiting for the first time on this month or the same day with of that month flow value or the same day flow value empty, and the flow value that this month or the same day visit each time added up respectively in of that month flow value and the same day flow value, the flow display module be used to show of that month flow value and the same day flow value.
Seeing also Fig. 5, is the structural representation of the mobile terminal network flow statistic device of second embodiment of the invention.The mobile terminal network flow statistic device of second embodiment of the invention comprises browser, browser comprises page acquisition module, data memory module, data read module, first judge module, the 3rd judge module, traffic statistics module and flow display module, wherein
Page acquisition module is used to obtain current page document flow, reads the size of the page, obtains this flow value; Wherein, this flow value is meant user's flow value that requests for page produced each time, and this flow value can be attached to the page title back, and is only for reference.
Data memory module be used to store the last accesses network of user time, this flow value, of that month flow value and the same day flow value; In embodiment of the present invention, data memory module can be the ROM (read-only memory) of portable terminal.
Data read module be used to read of that month flow value that portable terminal write down and the same day flow value; Wherein, of that month flow value, acquiescence is a unit with the calendar month, and the flow that browser was produced in this month adds up, and when entering next month, of that month flow value is carried out and is emptied; The same day, flow value was a unit with the sky, the network flow value of record generation every day, and acquiescence is that execution empties when visiting for the first time every day, makes prompting when the user withdraws from browser each time.
First judge module is used to judge whether the time of last visit network is of that month, if the time of last visit network is not of that month, empties by the just of that month flow value of traffic statistics module; If the time of last visit network is of that month, then this flow value accumulative total is gone into of that month flow value by the traffic statistics module; Wherein, in order to realize every month flow value and the emptying of flow value every day (resetting to 0), portable terminal need be preserved the time of the last accession page of user, if the time that determines last accession page was not in this month or not on the same day, just carry out and empty processing accordingly, if the time of last accession page on this month or the same day, just continues to carry out flux cumulating.
The 3rd judge module is used to judge whether the time of last visit network is the same day, if the time of last visit network is not the same day, just the same day, flow value emptied by the traffic statistics module; If the time of last visit network is the same day, then this flow value accumulative total is gone into flow value on the same day by the traffic statistics module;
The traffic statistics module be used for when visiting for the first time on this month or the same day with of that month flow value or the same day flow value empty, and the flow value that this month or the same day visit is each time added up respectively in of that month flow value and the same day flow value;
The flow display module be used for showing and store of that month flow value and the same day flow value.
Seeing also Fig. 6, is the structural representation of the mobile terminal network flow statistic device of third embodiment of the invention.The mobile terminal network flow statistic device of third embodiment of the invention comprises browser, browser comprises data setting module, data memory module, first judge module, data read module, second judge module, flow prompting module, the 3rd judge module, page acquisition module, traffic statistics module, the 4th judge module, page parsing module and flow display module, wherein
The data setting module is used for the on off state that the user sets of that month flow upper limit prompting value and " whether reminding once more when of that month higher limit arrives "; Wherein, the user can set up of that month flow upper limit prompting value according to demand on their own, and when promptly the user wished that of that month flow reaches some values, browser will be made corresponding upper limit flow prompting, if do not need upper limit flow to remind, then being defaulted as this upper limit prompting value is zero.Make troubles to user to access pages for fear of the upper limit prompting value arriving reminding that repeats, the present invention sets up the switch of " whether reminding once more when of that month higher limit arrives ", this switch initial condition is true, when ejecting Option Box, if the user selects not need to remind once more, then be revised as false.When of that month flow value empties when promptly resetting to 0, the switch of " whether reminding once more when of that month higher limit arrives " also resets to true thereupon.
Data memory module is used to store the of that month flow upper limit prompting value that the time, user of the last accesses network of user sets, of that month flow value, same day flow value and this flow value; In embodiment of the present invention, data memory module can be the ROM (read-only memory) of portable terminal.
First judge module is used to judge whether last accesses network is in this month, if last accesses network is in this month, by data read module reading flow value; If last accesses network is not in this month, of that month flow value is emptied by the traffic statistics module;
Data read module is used to read of that month flow upper limit prompting value and the of that month flow value that the user sets; Wherein, the user can set up of that month flow upper limit prompting value according to demand on their own, and when promptly the user wished that of that month flow reaches some values, browser will be made corresponding upper limit flow prompting, if do not need upper limit flow to remind, then being defaulted as this upper limit prompting value is zero.
Second judge module is used to judge whether the judgement of needs execution upper limit flow, carries out upper limit flow if desired and judges, judges whether of that month flow value surpasses upper limit prompting value,
If of that month flow value surpasses upper limit prompting value, continue then to judge whether the on off state of " whether reminding once more when of that month higher limit arrives " is true,
If the on off state of " whether reminding once more when of that month higher limit arrives " is true, then remind the of that month flow of user by the flow prompting module, if the on off state of " whether reminding once more when of that month higher limit arrives " is false, obtain the page by page acquisition module;
If of that month flow value does not surpass upper limit prompting value, obtain the page by page acquisition module; Do not judge if do not need to carry out upper limit flow, then obtain the page by page acquisition module; Whether wherein, can eject choice box selects to need to remind once more for the user.
The flow prompting module is used for ejecting prompting frame when of that month flow value reaches the upper flow value of setting, the of that month flow value of explicit user reminds the user that of that month flow has reached the upper limit prompting value of setting;
The 3rd judge module is used to judge whether last accesses network is on the same day, if last accesses network is not on the same day, empties flow value on the same day by the traffic statistics module; If last accesses network is on the same day, obtain the page by page acquisition module;
Page acquisition module is used to enter the browse request page, reads the size of the page, obtains this flow value of this page;
The traffic statistics module be used for when visiting for the first time on this month or the same day with of that month flow value or the same day flow value empty, and this flow value that this month or the same day visit is each time added up respectively in of that month flow value and the same day flow value;
The 4th judge module is used to judge whether the upper flow value that of that month flow reaches setting needs to remind once more, if do not need to remind once more, the on off state of " whether reminding once more when of that month higher limit arrives " by the data setting module settings is false; Remind once more if desired, then resolve the page by page parsing module;
Page parsing module is used to resolve the page, obtains this page title;
The flow display module is used for this flow value is attached to the page title back, and when withdrawing from browser, show of that month flow value and the same day flow value.
Of that month flow by browser is produced of mobile terminal network flow statistical method of the present invention and device, the same day, flow and this flow added up, when the user withdraws from browser each time the of that month flow of real-time explicit user and the same day flow, and to surpass the of that month flow upper limit at of that month flow be to remind the user, make the user can understand the network traffic conditions of oneself in real time, be user-friendly to, promote user's experience.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. mobile terminal network flow statistical method comprises:
Step a: by the browser of mobile terminal requests for page, read current page document flow, obtain this flow value;
Step b: with this flow value add up respectively into of that month flow value and the same day flow value;
Step c: the of that month flow value after will adding up and the same day flow value be presented in the page title, and the of that month flow value after will adding up and the same day flow value be stored in the portable terminal.
2. mobile terminal network flow statistical method according to claim 1 is characterized in that, described step a also comprises: read of that month flow value that portable terminal write down and the same day flow value.
3. mobile terminal network flow statistical method according to claim 2, it is characterized in that, described step b also comprises: whether the time of judging the last visit network is of that month, if the time of last visit network is of that month, this flow value accumulative total is gone into of that month flow value; If the time of last visit network is not of that month, then of that month flow value is emptied.
4. mobile terminal network flow statistical method according to claim 1, it is characterized in that, described step b also comprises: whether the time of judging the last visit network is the same day, if the time of last visit network is the same day, this flow value accumulative total is gone into flow value on the same day; If the time of last visit network is not the same day, then with the same day flow value empty.
5. mobile terminal network flow statistical method according to claim 3, it is characterized in that, described step b also comprises: judge whether of that month flow value surpasses upper limit prompting value, if of that month flow value surpasses upper limit prompting value, eject prompting frame, the of that month flow value of explicit user reminds the user that of that month flow has reached the upper limit prompting value of setting; If of that month flow value surpasses upper limit prompting value, enter browser, successfully ask a page, obtain this flow value of this page, and with this flow value add up respectively into of that month flow value and the same day flow value.
6. mobile terminal network flow statistical method according to claim 5, it is characterized in that, described step b also comprises: judge whether the judgement of needs execution upper limit flow, carry out upper limit flow if desired and judge, judge then whether of that month flow value surpasses upper limit prompting value; Judge if do not need to carry out upper limit flow, then enter browser, successfully ask a page, obtain this flow value of this page, and with this flow value add up respectively into of that month flow value and the same day flow value.
7. mobile terminal network flow statistical method according to claim 5 is characterized in that, also comprises among the described step b: whether the on off state of judging " whether reminding once more when of that month higher limit arrives " is true,
If the on off state of " whether reminding once more when of that month higher limit arrives " is true, eject prompting frame, the of that month flow value of explicit user, the of that month flow of prompting user has reached the upper flow value of setting, and whether the upper flow value that the of that month flow of inquiry user reaches setting needs to remind once more, if do not need to remind once more, the switch reconfiguration that will " whether remind once more when of that month higher limit arrives " is false and preserves; Remind once more if desired, resolve the page, obtain this page title, and this flow value is attached to the page title back;
If the on off state of " whether reminding once more when of that month higher limit arrives " is false, resolve the page, obtain this page title, and this flow value is attached to the page title back.
8. mobile terminal network flow statistic device, comprise browser, described browser comprises page acquisition module and page parsing module, described page acquisition module is used to obtain current page document flow, obtain this flow value, described page parsing module is used to resolve the page, it is characterized in that, described browser also comprises traffic statistics module and flow display module, the flow value that described traffic statistics module is used for visiting each time on this month or the same day add up respectively into of that month flow value and the same day flow value, described flow display module be used to show and store after the accumulative total of that month flow value and the same day flow value.
9. mobile terminal network flow statistic device according to claim 8, it is characterized in that, also comprise first judge module and the 3rd judge module, described first judge module is used to judge whether the time of last visit network is of that month, if the time of last visit network is not of that month, of that month flow value is emptied by the traffic statistics module; If the time of last visit network is of that month, reads of that month flow upper limit prompting value and of that month flow value by data read module, and this flow value accumulative total is gone into of that month flow value by the traffic statistics module; Described the 3rd judge module is used to judge whether the time of last visit network is the same day, if the time of last visit network is not the same day, just the same day, flow value emptied by the traffic statistics module; If the time of last visit network is the same day, then this flow value accumulative total is gone into flow value on the same day by the traffic statistics module;
10. mobile terminal network flow statistic device according to claim 8 is characterized in that, also comprises second judge module, flow prompting module and the 4th judge module,
Described second judge module is used to judge whether the judgement of needs execution upper limit flow, carrying out upper limit flow if desired judges, judge whether of that month flow value surpasses upper limit prompting value, if of that month flow value surpasses upper limit prompting value, then continue to judge the on off state of " whether reminding once more when of that month higher limit arrives ";
Described flow prompting module is used for ejecting prompting frame when of that month flow value reaches the upper flow value of setting, the of that month flow value of explicit user reminds the user that of that month flow has reached the upper limit prompting value of setting;
Described the 4th judge module is used to judge whether the upper flow value that of that month flow reaches setting needs to remind once more, if do not need to remind once more, the on off state of " whether reminding once more when of that month higher limit arrives " by the data setting module settings is false; Remind once more if desired, then resolve the page by page parsing module.
CN201110110571.7A 2011-04-29 2011-04-29 Mobile terminal network traffic counting method and device Expired - Fee Related CN102186190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110110571.7A CN102186190B (en) 2011-04-29 2011-04-29 Mobile terminal network traffic counting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110110571.7A CN102186190B (en) 2011-04-29 2011-04-29 Mobile terminal network traffic counting method and device

Publications (2)

Publication Number Publication Date
CN102186190A true CN102186190A (en) 2011-09-14
CN102186190B CN102186190B (en) 2014-03-19

Family

ID=44572248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110110571.7A Expired - Fee Related CN102186190B (en) 2011-04-29 2011-04-29 Mobile terminal network traffic counting method and device

Country Status (1)

Country Link
CN (1) CN102186190B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572799A (en) * 2011-12-29 2012-07-11 华为终端有限公司 Method for acquiring network connection information of client terminal accessing Wi-Fi spot and terminal
CN103179589A (en) * 2011-12-20 2013-06-26 中国移动通信集团安徽有限公司 Method and system for alerting data usage of user terminal
CN104125596A (en) * 2014-07-07 2014-10-29 北京奇虎科技有限公司 Data traffic statistics method and data traffic statistics device
CN104540150A (en) * 2015-01-12 2015-04-22 深圳市中兴移动通信有限公司 Mobile data traffic regulation method, device and terminal
CN104581671A (en) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 Prompting method and device for data traffic
CN104811918A (en) * 2015-04-24 2015-07-29 成都腾悦科技有限公司 Cell phone traffic control system and method with self-learning function
CN105142125A (en) * 2015-07-27 2015-12-09 中国联合网络通信集团有限公司 Method and device for realizing traffic record processing
CN106230607A (en) * 2016-08-11 2016-12-14 广州日滨科技发展有限公司 A kind of Internet of Things video monitoring flow processing method and processing system
CN107231651A (en) * 2017-07-28 2017-10-03 惠州Tcl移动通信有限公司 Traffic monitoring alarm method, storage device and the mobile terminal of a kind of mobile terminal
CN108768870A (en) * 2018-05-04 2018-11-06 Oppo广东移动通信有限公司 Flow control methods, device and mobile terminal
CN110391916A (en) * 2018-04-16 2019-10-29 华为技术有限公司 A kind of method and relevant device of traffic management
CN115865820A (en) * 2022-11-23 2023-03-28 四川天邑康和通信股份有限公司 Alarm clock reminding system and method based on optical modem flow monitoring

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010428A1 (en) * 2006-07-10 2008-01-10 Alcatel Method and system for updating network flow statistics stored in an external memory
CN101183950A (en) * 2006-11-14 2008-05-21 乐金电子(中国)研究开发中心有限公司 Communication flux accounting display system, terminal and method
CN102006576A (en) * 2010-12-08 2011-04-06 东莞宇龙通信科技有限公司 Method and system for displaying surfing flow and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080010428A1 (en) * 2006-07-10 2008-01-10 Alcatel Method and system for updating network flow statistics stored in an external memory
CN101183950A (en) * 2006-11-14 2008-05-21 乐金电子(中国)研究开发中心有限公司 Communication flux accounting display system, terminal and method
CN102006576A (en) * 2010-12-08 2011-04-06 东莞宇龙通信科技有限公司 Method and system for displaying surfing flow and mobile terminal

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179589A (en) * 2011-12-20 2013-06-26 中国移动通信集团安徽有限公司 Method and system for alerting data usage of user terminal
CN102572799B (en) * 2011-12-29 2015-04-29 华为终端有限公司 Method for acquiring network connection information of client terminal accessing Wi-Fi spot and terminal
CN102572799A (en) * 2011-12-29 2012-07-11 华为终端有限公司 Method for acquiring network connection information of client terminal accessing Wi-Fi spot and terminal
CN104125596B (en) * 2014-07-07 2018-07-27 北京奇虎科技有限公司 A kind of data flow statistic method and device
CN104125596A (en) * 2014-07-07 2014-10-29 北京奇虎科技有限公司 Data traffic statistics method and data traffic statistics device
CN104540150A (en) * 2015-01-12 2015-04-22 深圳市中兴移动通信有限公司 Mobile data traffic regulation method, device and terminal
CN104540150B (en) * 2015-01-12 2019-10-08 努比亚技术有限公司 A kind of mobile data flow control method, apparatus and terminal
CN104581671A (en) * 2015-01-21 2015-04-29 深圳市中兴移动通信有限公司 Prompting method and device for data traffic
CN104811918A (en) * 2015-04-24 2015-07-29 成都腾悦科技有限公司 Cell phone traffic control system and method with self-learning function
CN105142125B (en) * 2015-07-27 2019-06-07 中国联合网络通信集团有限公司 A kind of method and device for realizing discharge record processing
CN105142125A (en) * 2015-07-27 2015-12-09 中国联合网络通信集团有限公司 Method and device for realizing traffic record processing
CN106230607A (en) * 2016-08-11 2016-12-14 广州日滨科技发展有限公司 A kind of Internet of Things video monitoring flow processing method and processing system
CN107231651A (en) * 2017-07-28 2017-10-03 惠州Tcl移动通信有限公司 Traffic monitoring alarm method, storage device and the mobile terminal of a kind of mobile terminal
CN107231651B (en) * 2017-07-28 2020-09-22 惠州Tcl移动通信有限公司 Traffic monitoring and alarming method of mobile terminal, storage device and mobile terminal
CN110391916A (en) * 2018-04-16 2019-10-29 华为技术有限公司 A kind of method and relevant device of traffic management
CN108768870A (en) * 2018-05-04 2018-11-06 Oppo广东移动通信有限公司 Flow control methods, device and mobile terminal
CN115865820A (en) * 2022-11-23 2023-03-28 四川天邑康和通信股份有限公司 Alarm clock reminding system and method based on optical modem flow monitoring
CN115865820B (en) * 2022-11-23 2024-05-28 四川天邑康和通信股份有限公司 Alarm clock reminding system and method based on light cat flow monitoring

Also Published As

Publication number Publication date
CN102186190B (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN102186190B (en) Mobile terminal network traffic counting method and device
CN101340449B (en) Mobile terminal and method for obtaining network access information
CN105681868B (en) Barrage content display method and terminal equipment
KR20120054048A (en) Mobile phone internet flow counting and displaying method, device, and mobile phone
KR20090080693A (en) Terminal and method for displaying contents thereof
CN110287399A (en) Live information processing method, device, electronic equipment and storage medium
CN101853120A (en) Method and system for presenting control menu of application program and mobile terminal
CN103218137A (en) Method and device for automatically adjusting controls according to user operation
CN106844065A (en) message display method, device and intelligent terminal
CN103155532A (en) Information processing device and program
CN107610310A (en) One kind is lined up processing method, server and computer-readable storage medium
CN110618774A (en) Progress information generation method and device, electronic device and storage medium
CA2889875A1 (en) Method and system for providing fitness center access
CN104104767B (en) The treating method and apparatus of associated person information in portable intelligent terminal
US11928172B2 (en) Systems and methods for a web browser for use in handheld wireless devices that renders web pages without advertisement
CN109191104A (en) A kind of information processing method and its equipment
CN101945170A (en) Method, device and mobile terminal for giving prompt for contact frequency change of contact person
CN101827168A (en) Method and system of switching information displayed on main display to slave display
CN103034409A (en) Digital reading method on mobile terminal, and mobile terminal
EP1455288A2 (en) Portable terminal suitable for displaying related electronic mail and program for displaying electronic mail
CN105320514A (en) Picture processing method and device
CN103634667B (en) A kind of method and apparatus of the acquisition network push information based on set top box
CN101754331A (en) Method and device for realizing fee query function
CN107103527B (en) Information remarking method, information remarking device and terminal
KR100608719B1 (en) Method for displaying charge in mobile phone during data 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140319

Termination date: 20150429

EXPY Termination of patent right or utility model