CN105337783B - Monitor the method and device of communication equipment non-normal consumption flow - Google Patents
Monitor the method and device of communication equipment non-normal consumption flow Download PDFInfo
- Publication number
- CN105337783B CN105337783B CN201410332545.2A CN201410332545A CN105337783B CN 105337783 B CN105337783 B CN 105337783B CN 201410332545 A CN201410332545 A CN 201410332545A CN 105337783 B CN105337783 B CN 105337783B
- Authority
- CN
- China
- Prior art keywords
- application program
- flow
- application
- subelement
- normal consumption
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 123
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000012544 monitoring process Methods 0.000 claims abstract description 136
- 238000012545 processing Methods 0.000 claims abstract description 52
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 claims description 26
- 235000012054 meals Nutrition 0.000 claims description 19
- 108010001267 Protein Subunits Proteins 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000012937 correction Methods 0.000 claims description 8
- 230000006855 networking Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 4
- 238000012217 deletion Methods 0.000 claims 1
- 230000037430 deletion Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 2
- 230000002123 temporal effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000009418 renovation Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method and devices of monitoring communication equipment non-normal consumption flow.This method includes:Communication equipment operating system is read to be used to record the application list for starting application program;Obtain identical application program in the application list currently read and last the application list read;According to the identical application program respectively in current and upper primary consumed flow, the non-normal consumption flow of the identical application program is calculated;If the non-normal consumption flow of the identical application program is more than pre-set monitoring flow threshold, handled according to pre-set processing strategy.With the application of the invention, the accuracy rate of flow monitoring and the advantageous effect of monitoring efficiency can be promoted effectively.
Description
Technical field
The present invention relates to flow detection technologies, and in particular to it is a kind of monitoring communication equipment non-normal consumption flow method and
Device.
Background technology
With the continuous development of information science, internet and the communication technology, communication equipment, for example, mobile phone, individual
The use of digital assistants, fixed intelligent terminal etc. is also more and more common.Since communication equipment can be compatible with a large amount of application program,
And the individual demand of different user can be met, and with the continuous extension of customer service demand, user pacifies on a communications device
The application program of dress is also more and more.Wherein, most of application programs in communication equipment need to access network clothes by network
Business device, to obtain corresponding information on services from network server, it is then desired to consume the surfing flow of user.
In the application program of consumed flow, some application programs are not to be started by user, and be resident in communication and set
Standby backstage, loads when communication device initiated and is connected to network automatically, to consumed flow, and user and does not use or seldom
The application program loaded automatically using this.For example, some application programs are equipped in the operating system of communication equipment, by logical
Letter equipment backstage checks whether the other application program installed in operating system or operating system has version updating, if detected
Corresponding more new version has been issued on network server, then the installation kit of more new version is downloaded from network server automatically, to phase
Operating system or application program is answered to be updated.For another example the global positioning system application program or use installed in communication equipment
In some application programs for collecting user information, it can also start automatically after powering, and by residing in backstage connection network, it is fixed
Position user location or upload user information.And the flow of these application program consumption for residing in backstage, wherein most stream
Amount is not the flow that user wishes consumption, i.e. non-normal consumption flow.The excessive non-normal consumption flow of communication equipment, may
Cause the flow of user not enough or flow excess, to increase the use cost of user.
In the prior art, in order to reduce the network flow of background application unnecessary consumption, i.e. user is not intended to consumption
Flow (non-normal consumption flow) reduces customer using cost, it is proposed that the method that communication device traffic is monitored, and root
Determine whether that user is not intended to the flow of consumption according to the flow of monitoring, and user is not intended to the corresponding application of flow of consumption
Stop.Specifically, it is stored by being read in communication equipment operating system according to pre-set monitoring cycle
The application list (Running Task) of operation, and the application program that communication equipment display interface is shown is obtained, as preceding
Platform application program, to distinguish background application, background application consumption from the application list being currently running
Flow be non-normal consumption flow.Then, from the flow list that communication equipment operating system records, inquiry obtains backstage and answers
The flow consumed with program, if in the monitoring cycle, the flow of obtained background application consumption is more than to pre-set
Background traffic threshold value, determination be user be not intended to consumption flow, close corresponding background application.
But flow monitoring method, after reading the application list being currently running, according to communication equipment display interface
The application program of display in the application list for being currently running foreground application and background application carry out area
Point, but some application programs with download function can close the application program, be allowed to after the good downloading task of user setting
Be transferred to the download of backstage execution task, and the application program download consumption flow it is larger, but according to existing flow monitoring method,
The pent probability of the application program is big, be easy to cause erroneous judgement so that flow monitoring accuracy rate is relatively low, inefficient, and influences
The regular traffic of user is experienced;Further, load and be connected to the background application journey of network automatically when communication device initiated
Sequence, also the flow of not all background application consumption is all non-normal consumption flow, for example, 360 mobile phone assistant application
The background update function that program provides, the flow which is consumed during background update belong to the normal of customer acceptance
Consumed flow, thus, by judging that the flow of the background application consumption of record is more than pre-set background traffic threshold value,
The method for closing corresponding background application lacks granularity, but also according to monitoring to the monitoring of non-normal consumption flow
It is relatively low that non-normal consumption flow carries out respective treated accuracy and reliability.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly
State the method and device of the monitoring communication equipment non-normal consumption flow of problem.
One side according to the present invention, the method for providing monitoring communication equipment non-normal consumption flow, this method packet
It includes:
Communication equipment operating system is read to be used to record the application list for starting application program;
It obtains identical using journey in the application list currently read and last the application list read
Sequence;According to the identical application program respectively in current and upper primary consumed flow, calculate described identical using journey
The non-normal consumption flow of sequence;
If the non-normal consumption flow of the identical application program is more than pre-set monitoring flow threshold, according to
Pre-set processing strategy is handled.
Preferably, after obtaining identical application program, the non-normal consumption stream of the identical application program is calculated
Before amount, the method further includes:
Pending the application list is generated, an application program is read from described pending the application list.
Preferably, described the phase is calculated after reading an application program in described pending the application list
Before the non-normal consumption flow of same application program, the method further includes:
Determine that the application program run time of the reading is more than pre-set time threshold;
The non-normal consumption flow is consumed flow of the application program of the reading after the time threshold.
Preferably, it is described reading communication equipment operating system be used for record startup application program the application list it
Before, the method further includes:
Monitor it is communication device initiated, for the startup mark of the communication equipment allocation identification of the startup secondary startup.
Preferably, the startup mark of the allocation identification secondary startup includes:
It monitors communication device initiated, reads pre-stored application rs traffic record sheet, obtain the application program
Maximum startup mark in discharge record table;
The startup that the communication equipment of the secondary startup is arranged is identified as the maximum startup mark plus 1 of acquisition.
Preferably, the application rs traffic record sheet includes but not limited to:Application program identification field starts identifier word
Section, the time field of application program the last time operation, application program foreground normal consumption flow field, application program backstage are just
Normal consumed flow field and application program backstage non-normal consumption flow field, wherein application program foreground normal consumption stream
Amount and the normal consumption flow that application program backstage normal consumption flow is application program.
Preferably, the non-normal consumption flow for calculating the identical application program includes:
The flow information that the application program that the user uses in the currently monitored period consumes is inquired, is obtained according to inquiry
Flow information and current startup mark, update pre-set application rs traffic record sheet;
Inquire the flow information of pending application program consumption, flow information, the current startup mark obtained according to inquiry
Knowledge and pre-set download time threshold value, update pre-set application rs traffic record sheet;
The corresponding application program foreground flow of application program and application in the application rs traffic record sheet of statistical updating
The sum of program backstage normal consumption flow, as the normal consumption flow of the application program, the application rs traffic of statistical updating
The corresponding application program backstage non-normal consumption flow of application program in record sheet, the non-normal consumption stream as the application program
Amount.
Preferably, the method further includes:
More the currently monitored period corresponding the application list the application list corresponding with previous monitoring cycle, really
Determine the application program and pending application program that user uses in the currently monitored period.
Preferably, corresponding the application list of more the currently monitored period application corresponding with previous monitoring cycle
Program listing determines that application program that user uses in the currently monitored period and pending application program include:
B11, is arranged corresponding the application list of the currently monitored period and last monitoring cycle is corresponding using journey
Pointer in sequence table is respectively directed to top;
B12 reads the application program that pointer is directed toward in corresponding the application list of the currently monitored period, traverses on obtaining
The application program that pointer is directed toward in the corresponding the application list of one monitoring cycle, and be sequentially compared;
B13 judges whether the application program read is identical, if identical, executes step B14, otherwise, executes step B15;
The application program that pointer in corresponding the application list of the currently monitored period is directed toward is placed in and pre-sets by B14
Pending the application list in, and by pointer line down in corresponding the application list of the currently monitored period, return
Execute step B12;
The application program that pointer in corresponding the application list of the currently monitored period is directed toward is placed in and pre-sets by B15
Foreground application list in, by the pointer line down, return to step B12.
Preferably, the method further includes:
Delete the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle.
Preferably, the flow information that the application program that the inquiry user uses in the currently monitored period consumes, root
It is investigated that asking obtained flow information and current startup mark, updating pre-set application rs traffic record sheet includes:
C11 takes out an application program from the application list of foreground;
C12 obtains the flow of all application programs consumption recorded in corresponding the application list of the currently monitored period,
It is recorded in application flow scale;
C13 inquires the flow information for the application program taken out from application flow scale;
The flow information for the application program that inquiry obtains is assigned to application by C14, inquiry application discharge record table
Application program foreground flow field in program flow record sheet simultaneously updates startup identification field.
C15 judges whether to take out all application programs from the application list of foreground, if so, terminate flow, it is no
Then, the application program not being read is taken out from the application list of foreground, returns to step C13.
Preferably, the flow information of the inquiry pending application program consumption, the flow information obtained according to inquiry, when
Preceding startup mark and pre-set download time threshold value, updating pre-set application rs traffic record sheet includes:
D11 takes out an application program from pending the application list;
D12 obtains the flow of all application programs consumption recorded in corresponding the application list of the currently monitored period,
It is recorded in application flow scale;
D13 inquires the flow information for the application program taken out from application flow scale;
D14, inquiry application discharge record table, judges whether the record of the application program of the taking-up, if not
In the presence of execution step D15, if it does, executing step D16;
The flow information for the application program that inquiry obtains is assigned in application rs traffic record sheet and inquires by D15
To record corresponding application program backstage non-normal consumption flow field and update startup identification field, execute step D21;
D16, inquiry it is described record it is corresponding startup identify whether it is identical as mark is currently up, if it is not the same, execution
Step D17 executes step D18 if identical;
D17, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage non-normal consumption flow field simultaneously updates startup identification field, executes step D21;
D18 calculates the difference of current time and the time for recording corresponding application program the last time operation, if
Difference executes step D19 in pre-set download time threshold value, otherwise, executes step D20;
D19, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage normal consumption flow field simultaneously updates startup identification field;
D20, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage non-normal consumption flow field simultaneously updates startup identification field;
D21 judges whether to have taken out all application programs in pending the application list, if so, terminate flow,
Otherwise, the application program not being read in pending the application list is read, D13 is returned to step.
Preferably, in inquiry application discharge record table, judge to be not present after the record of the application program of the taking-up,
The method further includes:
The application program is placed in pre-set application program blacklist.
Preferably, the monitoring flow threshold calculation formula is:
In formula,
δavTo monitor flow threshold;
ξ is correction factor;
δtIt is used with last month for flow moon set meal total amount or used last month if user does not customize flow package
Flow substitute a moon set meal total amount;
D is the number of days for the current moon including.
Preferably, it is described according to pre-set processing strategy carry out processing include:
Unload the application program that non-normal consumption flow is more than pre-set monitoring flow threshold.
Preferably, it is described according to pre-set processing strategy carry out processing include:
Share the application program that non-normal consumption flow is more than pre-set monitoring flow threshold.
Preferably, by sharing described in SNS application progress.
Preferably, it is described according to pre-set processing strategy carry out processing include:
Networking non-normal consumption flow in limitation backstage is more than the application program of pre-set monitoring flow threshold;Or, limit
Non-normal consumption flow processed is more than the permission of the application program of pre-set monitoring flow threshold.
A kind of device of monitoring communication equipment non-normal consumption flow, the dress are provided according to another aspect of the present invention
Set including:The application list read module, non-normal consumption flow determining module and application program processing module, wherein
Recently use the application list read module, for read communication equipment operating system for record start apply
The application list of program;
Non-normal consumption flow determining module, for obtaining the application list currently read and last reading
Identical application program in the application list calculates the non-normal consumption flow of the identical application program;
Application program processing module, for determining that the non-normal consumption flow of application program is flowed more than pre-set monitoring
Threshold value is measured, is handled according to pre-set processing strategy.
Preferably, the non-normal consumption flow determining module is further used for:After obtaining identical application program,
Pending the application list is generated, and reads an application program from described pending the application list, executes and calculates institute
State the flow of the non-normal consumption flow of identical application program.
Preferably, the non-normal consumption flow determining module is further used for:
Determine the reading application program run time be more than pre-set time threshold, calculating it is described improper
Consumed flow is consumed flow of the application program of the reading after the time threshold.
Preferably, further comprise:
Start mark distribution module, for monitor it is communication device initiated after, for the communication equipment allocation identification of startup
The startup of the secondary startup identifies.
Preferably, the startup mark distribution module includes:Start mark acquiring unit and start mark allocation unit,
Wherein,
Start mark acquiring unit, for monitor it is communication device initiated after, read pre-stored application flow
Record sheet is measured, maximum startup mark in the application rs traffic record sheet is obtained;
Start mark allocation unit, the maximum startup of acquisition is identified as the startup of communication equipment of the secondary startup to be arranged
Mark plus 1.
Preferably, the application rs traffic record sheet includes but not limited to:Application program identification field starts identifier word
Section, the time field of application program the last time operation, application program foreground normal consumption flow field, application program backstage are just
Normal consumed flow field and application program backstage non-normal consumption flow field, wherein application program foreground normal consumption stream
Amount and the normal consumption flow that application program backstage normal consumption flow is application program, application program backstage non-normal consumption stream
Amount is the non-normal consumption flow of application program.
Preferably, the non-normal consumption flow determining module is further used in the non-normal consumption for obtaining application program
It is corresponding to obtain normal consumption flow after flow.
Preferably, the non-normal consumption flow determining module includes:Comparing unit, the first inquiry and updating unit, the
Two inquiries and updating unit and flow determination unit, wherein
Comparing unit is answered for corresponding the application list of more the currently monitored period to be corresponding with previous monitoring cycle
With program listing, application program and pending application program that user uses in the currently monitored period are determined;
First inquiry and updating unit, the application program consumption used in the currently monitored period for inquiring the user
Flow information, the flow information obtained according to inquiry and current startup identify, and update pre-set application rs traffic
Record sheet;
Second inquiry and updating unit, the flow information for inquiring pending application program consumption, obtain according to inquiry
Flow information, current startup mark and pre-set download time threshold value, update pre-set application flow
Measure record sheet;
Flow determination unit, for the corresponding application program of application program in the application rs traffic record sheet of statistical updating
The sum of foreground flow and application program backstage normal consumption flow, as the normal consumption flow of the application program, statistics is more
The corresponding application program backstage non-normal consumption flow of application program in new application rs traffic record sheet applies journey as this
The non-normal consumption flow of sequence.
Preferably, the comparing unit includes:Pointer subelement, traversal subelement, judgment sub-unit, the processing of pointer first
Subelement and pointer second processing subelement, wherein
Pointer subelement, for corresponding the application list of the currently monitored period and last monitoring cycle pair to be arranged
Pointer in the application list answered is respectively directed to top;
Subelement is traversed, for reading the application journey that pointer is directed toward in corresponding the application list of the currently monitored period
Sequence, traversal obtains the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle, and is sequentially compared;
Judgment sub-unit, whether the application program for judging to read is identical, if identical, notice pointer first handles son
Unit, otherwise, notice pointer first handle subelement;
Pointer first handles subelement, for receiving notice, by corresponding the application list middle finger of the currently monitored period
The application program that needle is directed toward is placed in pre-set pending the application list, and by the corresponding application of the currently monitored period
Pointer line down in program listing, notice traversal subelement;
Pointer second processing subelement, for receiving notice, by corresponding the application list middle finger of the currently monitored period
The application program that needle is directed toward is placed in pre-set foreground application list, by the pointer line down, notice traversal
Subelement.
Preferably, the comparing unit further comprises:
Application program deletes subelement, for after monitoring that pointer first handles subelement notice traversal subelement, deleting
Except the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle.
Preferably, first inquiry and updating unit include:Reading subunit, is looked into application flow scale subelement
Ask subelement, update subelement and judgment sub-unit, wherein
Reading subunit, for taking out an application program from the application list of foreground;
Application flow scale subelement, for obtaining the institute recorded in corresponding the application list of the currently monitored period
The flow for having application program to consume, is recorded in application flow scale;
Subelement is inquired, the flow information for inquiring the application program taken out from application flow scale;
Subelement is updated, inquiry application discharge record table is used for, the flow for the application program that inquiry is obtained is believed
It ceases the application program foreground flow field being assigned in application rs traffic record sheet and updates startup identification field;
Judgment sub-unit takes out all application programs for judging whether from the application list of foreground, if so, knot
Otherwise line journey takes out the application program not being read, notice inquiry subelement from the application list of foreground.
Preferably, second inquiry and updating unit include:Take out subelement, application flow scale subelement, the
One inquiry subelement, processing subelement, the second inquiry subelement, third inquiry subelement, the first assignment subelement, calculating are single
Member, the second assignment subelement, third assignment subelement and Ergodic judgement unit, wherein
Subelement is taken out, for taking out an application program from pending the application list;
Application flow scale subelement, for obtaining the institute recorded in corresponding the application list of the currently monitored period
The flow for having application program to consume, is recorded in application flow scale;
First inquiry subelement, the flow letter for inquiring the application program taken out from application flow scale
Breath;
Subelement is handled, inquiry application discharge record table is used for, judges whether the application program of the taking-up
Record, if it does not, the second inquiry subelement is notified, if it does, notice third inquires subelement;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the second inquiry subelement
With in program flow record sheet inquiry obtain record corresponding application program backstage non-normal consumption flow field and update open
Dynamic identification field, notifies Ergodic judgement unit;
Third inquire subelement, for inquire it is described record it is corresponding startup identify whether it is identical as mark is currently up,
If it is not the same, notifying the first assignment subelement, if identical, computation subunit is notified;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the first assignment subelement
With the application program backstage non-normal consumption flow field in program flow record sheet and startup identification field is updated, notice traversal
Judging unit;
Computation subunit calculates current time and records corresponding application program the last time with described for receiving notice
The difference of the time of operation, if difference in pre-set download time threshold value, notifies the second assignment subelement, otherwise,
Notify third assignment subelement;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the second assignment subelement
With the application program backstage normal consumption flow field in program flow record sheet and update startup identification field;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by third assignment subelement
With the application program backstage non-normal consumption flow field in program flow record sheet and update startup identification field;
Ergodic judgement unit, for receiving notice, judge whether to have taken out in pending the application list all answers
It is notified with program if so, otherwise terminating flow reads the application program not being read in pending the application list
Handle subelement.
Preferably, second inquiry and updating unit further comprise:
Application program blacklist subelement, for third inquiry subelement inquiry it is described record corresponding startups and identify be
It is no be currently up after mark differs, which is placed in pre-set application program blacklist.
32, device as claimed in claim 19, the monitoring flow threshold calculation formula are:
In formula,
δavTo monitor flow threshold;
ξ is correction factor;
δtIt is used with last month for flow moon set meal total amount or used last month if user does not customize flow package
Flow substitute a moon set meal total amount;
D is the number of days for the current moon including.
The method and device of monitoring communication equipment non-normal consumption flow according to the present invention, by reading communication equipment behaviour
Make system for recording the application list for starting application program;Obtain the application list currently read and last time
Identical application program in the application list of reading calculates the non-normal consumption flow of the identical application program;;Really
The non-normal consumption flow for determining application program is more than pre-set monitoring flow threshold, according to pre-set processing it is tactful into
Row processing.Thus it solves the relatively low technical problem of flow monitoring accuracy rate, achieves prison of the refinement to non-normal consumption flow
Granularity is surveyed, the accuracy rate of flow monitoring and the advantageous effect of monitoring efficiency are effectively promoted.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention,
And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field
Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the method overall procedure schematic diagram that the embodiment of the present invention monitors communication equipment non-normal consumption flow;
Fig. 2 is the method idiographic flow schematic diagram that the embodiment of the present invention monitors communication equipment non-normal consumption flow;And
Fig. 3 is the apparatus structure schematic diagram that the embodiment of the present invention monitors communication equipment non-normal consumption flow.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Existing flow monitoring method, after reading the application list, the application that shows according to communication equipment display interface
Program in the application list for being currently running foreground application and background application distinguish, pass through judgement
Whether the flow of the background application consumption of record is more than pre-set background traffic threshold value, is corresponded to determining whether to close
Background application, to save user network flow.But this method be easy to cause erroneous judgement so that flow monitoring accuracy rate compared with
It is low, inefficient, influence the regular traffic experience of user;Further, the network behavior for not accounting for user disappears to improper
The monitoring for consuming flow lacks granularity so that carries out respective treated accuracy and reliability according to the non-normal consumption flow of monitoring
It is relatively low.
In the embodiment of the present invention, normal consumption flow refers to the flow and customer acceptance of foreground application normal consumption
The flow of the background application consumption of (mandate), specifically includes:
During user actively uses application program, i.e., opens application program from user and generate application program to exiting
Flow;
The background application that user authorizes, for example, under user sets in the 360 mobile phone assistant application program on foreground
Selection is exited after load task, which continues the flow that task downloads consumption by resident backstage;
And
During communication equipment is run, from the background to keep a small amount of flow for consuming of normal operation function.For example, installation is risen
The grave news thing obtained can be pushed to user in backstage constantly networking when there is grave news event by interrogating news application program
Part to notify user in time.
Non-normal consumption flow refers to the flow of the background application consumption without customer acceptance (mandate), that is, is escaped
Flow, including:
Application program loads and connects network after communication device initiated automatically, and user never used this to apply journey
Sequence, the flow of application program consumption;And
The application program that user uses user selection exit, be more than pre-set download time threshold value after, and consume
Flow be more than it is pre-set monitoring flow threshold flow.
In the embodiment of the present invention, the network behavior of user is considered, the network behavior of user is analyzed, in conjunction with each application
Program is monitored flow in the statistics on foreground and backstage consumed flow, to accurately distinguish out the non-of background application
Normal consumption flow, and closing application program is determined the need for according to monitoring result, avoid user from being lost because of flow excess
Telephone expenses promote the accuracy rate and monitoring efficiency of flow monitoring, and refine the monitoring granularity to non-normal consumption flow.
Fig. 1 is the method overall procedure schematic diagram that the embodiment of the present invention monitors communication equipment non-normal consumption flow.Referring to
Fig. 1, the flow include:
Step 01, communication equipment operating system is read to be used to record the application list for starting application program;
In this step, for communication equipment after starting up each time, communication equipment operating system all can be pre-set
The application program of startup is recorded in the application list, the application program of startup can be that user starts, and can also be communication
Self-starting after device power-up.
As alternative embodiment, can in real time, not timing or read Application Column according to pre-set monitoring cycle
Table.
Step 02, it obtains identical in the application list currently read and last the application list read
Application program;
In this step, if the application program in the application list currently read and the last application journey read
Any application program in sequence table differs, then it is assumed that is the application journey that user starts within the front and back twi-read time
The flow of sequence, consumption is normal consumption flow.
As alternative embodiment, this method further comprises:
Pending the application list is generated according to obtained identical application program.
Step 03, the non-normal consumption flow of the identical application program is calculated;
In this step, as alternative embodiment, an application program can be read from pending the application list, and really
More than after pre-set time threshold, the calculating identical application program exists the application program run time of the fixed reading
Non-normal consumption flow after the time threshold.One is read from described pending the application list described applies journey
After sequence, before the non-normal consumption flow for calculating the identical application program, the method further includes:
Determine that the application program run time of the reading is more than pre-set time threshold;
The non-normal consumption flow is consumed flow of the application program of the reading after the time threshold.
In the embodiment of the present invention, the application program started in current slot for being not determined as user, for example, with
The application program of self-starting, is arranged these and answers after application program and the communication equipment booting that family starts before current slot
It uses program to run the flow of consumption in pre-set period threshold value as normal consumption flow, will be more than pre-set
The flow of period threshold value operation consumption is as non-normal consumption flow.
As alternative embodiment, when can identify the operation to determine application program by the way that startup is arranged for communication equipment
Between.In this way, determining that the application program run time of the reading includes more than pre-set time threshold:
A110, monitor it is communication device initiated, for the startup mark of the communication equipment allocation identification of the startup secondary startup
(BootID);
In this step, the startup each time of communication equipment corresponds to one and uniquely starts mark.
A111, it is corresponding with the application program of the reading of storage to judge that the corresponding startup of the application program read is identified whether
Startup mark it is identical, if it is not the same, executing step A112, otherwise, execute step A113;
A112, the application program using the reading of the corresponding time information renovation storage of the application program of reading is corresponding
Temporal information;
In this step, if the corresponding startup of the application program read identifies whether the application program with the reading of storage
Corresponding startup mark differs, and shows that the application program does not record its also after startup and starts the time, using current time as
The initial calculation time point of period threshold value.
A113, calculate the corresponding temporal information of application program of reading it is corresponding with the application program of the reading of storage when
Between information difference, judge otherwise whether difference, is held more than pre-set period threshold value if it is not greater, not dealing with
Row step A114;
In this step, if difference is not more than pre-set period threshold value, any processing is not made so that storage is somebody's turn to do
The corresponding temporal information of application program of reading is still first time newer temporal information.
A114, the application program using the reading of the corresponding time information renovation storage of the application program of reading is corresponding
Temporal information, updates the flow information of the application program consumption of the reading, and non-normal consumption is arranged for newer flow information
Mark.
In this step, it may be used including application program identification field, start identification field, temporal information field and stream
The application flow scale for measuring information field records above- mentioned information.About application flow scale structure, subsequently carry out again in detail
Description.
In subsequent applications, identified by reading the non-normal consumption of flow information setting of storage, what calculating was currently read
The difference of the corresponding flow information of application program and the flow information of storage, to using the difference as the application journey currently read
Non-normal consumption flow of the sequence after the time threshold.
Step 04, if the non-normal consumption flow of the identical application program is more than pre-set monitoring flow threshold
Value, is handled according to pre-set processing strategy.
Fig. 2 is the method idiographic flow schematic diagram that the embodiment of the present invention monitors communication equipment non-normal consumption flow.Referring to
Fig. 2, the flow include:
Step 101, monitor it is communication device initiated, for the startup mark of the communication equipment allocation identification of the startup secondary startup
(BootID);
In this step, after communication equipment starting up, a startup mark for being only used for identifying the secondary startup is generated
(BootID).In practical application, BootID can be distributed by incremental mode, that is to say, that communication equipment often starts once,
The corresponding BootID of distribution adds 1.For subsequently being distinguished to normal consumption flow and non-normal consumption flow.
In the embodiment of the present invention, by the way that in each communication equipment starting up, one is generated uniquely for communication equipment
ID values (BootID), and ensure booting every time, which will not be identical.Wherein, BootID is for subsequently judging application program
Whether be self-starting non-normal consumption flow foundation.
As alternative embodiment, include for the startup mark of the communication equipment allocation identification secondary startup:
A01, monitors communication device initiated, reads pre-stored application rs traffic record sheet, obtains the application
Maximum startup mark in program flow record sheet;
It in this step, monitors communication device initiated, reads pre-stored application rs traffic record sheet
(AppTrafficRecordList tables) obtains maximum BootId values in AppTrafficRecordList tables.About
AppTrafficRecordList tables, are subsequently described in detail again.
A02, the startup that the communication equipment of the secondary startup is arranged are identified as the maximum startup mark plus 1 of acquisition.
In the embodiment of the present invention, the BootId of this communication equipment booting (startup) is storage
In AppTrafficRecordList tables, maximum BootId's and 1 and.For example, when communication device initiated, if storage
In AppTrafficRecordList tables, maximum BootId is 2, then is the BootId=3 of the communication equipment of secondary startup distribution.
Step 102, it according to pre-set monitoring cycle, reads communication equipment operating system and applies journey for recording to start
Sequence uses the application list recently;
In this step, monitoring cycle can determine according to actual needs, for example, could be provided as 10 seconds, certainly, actually answer
In, 30 seconds or 60 seconds or 2 minutes etc. are may be set to be.
In the embodiment of the present invention, as alternative embodiment, the application list can be to use the application list recently
(Recent Task) can be the application program of user's startup using the application program in the application list recently, can also
It is the application program of self-starting after communication equipment is switched on.Each monitoring cycle reads a Recent Task table, before
The nearest of twi-read uses the application list difference afterwards, so as to judge what user used between monitoring cycle twice
Application program is realized and is distinguished to the intelligence of foreground application.
It should be noted that in the embodiment of the present invention, it is front and back twice and currently with the last time either when previous and
With when the previous adjacent last time, can also be when it is previous and with current time before n times, wherein N is the integer more than 1, this
Inventive embodiments are not restricted this.
In the embodiment of the present invention, the application list is used recently by being arranged in communication equipment operating system, and make
Operating system is by user's most recently used application records in recently using the application list.It is grasped about in communication equipment
Make setting in system and start the nearest using the application list of application program for recording, is with existing operated in communication equipment
The application list being currently running of setting for recording the application program being currently running is similar in system, unlike, most
The use of application program further include closely the application program for running but not running recently currently, detailed description is omitted here.
By taking the communication equipment of Android (Android) operating system as an example, answered when user starts in the communication equipment of startup
After program, the application program will be recorded by Android operation system it is pre-set it is nearest use the application list
In.
In the embodiment of the present invention, it is that user is the most recently used application program to be recorded in Recent Task tables.As can
Embodiment is selected, can application program be the most recently used to user in chronological order and be ranked up, answering in Recent Task tables
It is current foreground application with program.As alternative embodiment, uses be expressed as communication device initiated extremely closing recently
Period, communication equipment break corresponding one recently using the application list, as alternative embodiment, recently use each time
The application list is identified with starting mark.Certainly, it in practical application, can not also be identified with starting mark.Example
Such as, Recent Task tables are as shown in table 1.
Table 1
Youku.com |
Short message |
In table 1, sequentially in time, application program is the most recently used to user, i.e., the application program that user starts into
After row sequence, it is sequentially:Wechat application program, QQ application programs, youku.com's application program and short message application program.
Step 103, using the startup of the secondary startup mark, the currently monitored period it is corresponding it is nearest use Application Column
Table, previous monitoring cycle are corresponding nearest to be answered using the application list and the application rs traffic record sheet of storage, acquisition
With the normal consumption flow and non-normal consumption flow of program;
In this step, the step of obtaining the normal consumption flow of application program is optional step.
For indicating that the situation using the application list recently, the currently monitored period (when previous) are corresponding to start mark
Corresponding with previous monitoring cycle (last time) nearest using the application list using the application list recently, Ke Yixiang
Together, it can also be different.
In the embodiment of the present invention, in communication equipment operating system, application rs traffic record sheet is built in advance
(AppTrafficRecordList), the flow information consumed in each monitoring cycle for storing each application program.
As alternative embodiment, application rs traffic record sheet includes but not limited to:Application program identification field starts mark
After section, the time field of application program the last time operation, application program foreground normal consumption flow field, the application program of becoming literate
Platform normal consumption flow field and application program backstage non-normal consumption flow field, wherein application program foreground normally disappears
Flow and application program backstage normal consumption flow are consumed for the normal consumption flow of application program, as alternative embodiment, application
Program flow record sheet structure is as shown in table 2.
Table 2
Uid | BootId | LastUseTime | FgTraffic | BgVTraffic | BgITraffic |
In table 2,
Uid is application program identification field, i.e. unique mark of the application program in communication equipment operating system;
BootId is that the startup of communication equipment identifies (field), i.e., communication equipment opens when application program the last time runs
Dynamic mark;
LastUseTime is the time field of application program the last time operation, i.e. application program the last time operation (packet
Self-starting and user is included to start) temporal information field;
FgTraffic is application program foreground normal consumption flow field, i.e. application program is generated in front stage operation
Flow;
BgVTraffic be application program backstage normal consumption flow field, i.e., application program backstage it is pre-set under
The flow generated in time threshold is carried subsequently to be described in detail again about download time threshold value;
BgITraffic is application program backstage non-normal consumption flow field, i.e., application program is in backstage download time threshold
The flow that period outside value generates.
As alternative embodiment, applied using the startup mark of the secondary startup, corresponding nearest use of the currently monitored period
Program listing, previous monitoring cycle are corresponding nearest using the application list and the application rs traffic record sheet of storage,
Obtain application program normal consumption flow and non-normal consumption flow include:
A11', more the currently monitored period are corresponding nearest corresponding with previous monitoring cycle most using the application list
The application list is closely used, determines the application program and pending application program that user uses in the currently monitored period;
In this step, by the way that monitoring cycle corresponds to the Recent Task tables read twice before and after comparison, it can search and true
User is determined within the currently monitored period, which application program used, i.e., what user actively started within the currently monitored period answers
Use program.
As alternative embodiment, this step specifically includes:
B11, is arranged corresponding nearest use the application list of the currently monitored period and last monitoring cycle corresponds to
Be respectively directed to top using the pointer in the application list recently;
In this step, it is oldList, the currently monitored period that the corresponding Recent Task tables of last monitoring cycle, which are arranged,
Corresponding Recent Task tables are newList, and the application records that subsequently determining user is used are in foreground application
In list (newLaunchAppList), application records that whether user uses will not can determine that in pending application program
In list.And set the top that pointer in newList (newIndex) is directed toward newList, pointer (oldIndex) in oldList
It is directed toward the top of oldList.
B12 reads the corresponding nearest application program being directed toward using pointer in the application list of the currently monitored period, time
It goes through and obtains the corresponding nearest application program being directed toward using pointer in the application list of a upper monitoring cycle, and sequentially compared
Compared with;
In this step, corresponding application program newApp and oldApp is taken out from newIndex and oldIndex.If
NewIndex has arrived at bottom, i.e. in newList without application program, exit the flow.
B13 judges whether the application program read is identical, if identical, executes step B14, otherwise, executes step B15;
In this step, judge from the newApp read in newList the and oldApp that is read from oldIndex whether phase
Together, that is, judge whether identical as any oldApp in oldIndex from the newApp read in newList.
The corresponding nearest application program being directed toward using pointer in the application list of the currently monitored period is placed in by B14
In pre-set pending the application list, and by the currently monitored period it is corresponding it is nearest use the application list middle finger
Needle line down, returns to step B12;
In this step, if newApp is identical as oldApp, newApp is placed in pending the application list, is terminated
A upper monitoring cycle it is corresponding it is nearest using the application list in pointer traversing operation, and newIndex is moved down
A line returns to step B12.
As alternative embodiment, in order to effectively reduce the whether identical workload of postorder traversal inquiry application, reduce
Time needed for inquiry, after the application program for judging to read is identical, this method further comprises:
Delete the corresponding nearest application program being directed toward using pointer in the application list of a upper monitoring cycle.
The corresponding nearest application program being directed toward using pointer in the application list of the currently monitored period is placed in by B15
In pre-set foreground application list, by the pointer line down, B12 is returned to step.
In this step, if newApp is differed with oldApp, in foreground application list (newLaunchAppList
Table) in newApp is added, and newIndex is moved down into a line, returns to step B12.
In the embodiment of the present invention, exist in newList and do not applied existing for oldlist, is added
NewLaunchAppList, for the application program that user in the current polling cycle uses, newList exist and
Application program existing for oldlist not can determine that the application program application program that be user use in a upper monitoring cycle also
It is the application program loaded automatically when communication device initiated, by the application records in pending the application list,
With for further analysis in follow-up process, to realize the differentiation of the flow consumed to the application program.
A12 inquires the flow information for the application program consumption that the user used in the currently monitored period, according to inquiring
The flow information arrived and current startup mark, update pre-set application rs traffic record sheet;
In this step, in AppTrafficRecordList tables, it is corresponding that increase is currently up mark
The flow information of application program in newLaunchAppList tables.Including:According to foreground application list to application program
Discharge record table is updated, that is, inquires the flow information that the application program that the user uses in the currently monitored period consumes,
The flow information obtained according to inquiry and current startup mark, update pre-set application rs traffic record sheet, with
And application rs traffic record sheet is updated according to pending the application list.Wherein,
The flow information that the application program that the user uses in the currently monitored period consumes is inquired, is obtained according to inquiry
Flow information and current startup mark, updating pre-set application rs traffic record sheet is specially:
C11 takes out an application program from the application list of foreground;
In this step, one application program of random read take from newLaunchAppList tables.
C12, obtain the currently monitored period corresponding nearest is disappeared using all application programs recorded in the application list
The flow of consumption is recorded in application flow scale;
In this step, obtain application program consumption flow be known technology, for example, can by read operation system/
Proc/uid_stat files, or by calling INetworkStatsService functions to obtain the flow of application program consumption, make
For alternative embodiment, communication equipment operating system is being communicated with breaking the flow consumed for periodic recording application program each time
After equipment is closed, the flow information of record is zeroed out, is no longer described herein.
In the embodiment of the present invention, will be obtained from operating system recently using each application program in the application list
Consumed flow information is recorded in application flow scale (UidTrafficSet tables).As alternative embodiment,
UidTrafficSet table structures are as shown in table 3.
Table 3
Uid | Traffic |
10020 | 589 |
… | … |
10027 | 4096 |
C13 inquires the flow information for the application program taken out from application flow scale;
In this step, from UidTrafficSet tables, the flow information for the application program taken out is inquired, is denoted as
appTraffic。
The flow information for the application program that inquiry obtains is assigned to application by C14, inquiry application discharge record table
Application program foreground flow field in program flow record sheet simultaneously updates startup identification field.
In this step, AppTrafficRecordList tables are inquired, this is found from AppTrafficRecordList tables
The flow value of appTraffic is assigned to the FgTraffic in AppTrafficRecordList tables by the record of application program
Field.
As alternative embodiment, can also in AppTrafficRecordList tables BootId fields and
LastUseTime fields are updated, for example, using current time as LastUseTime, and empty BgVTraffic and
BgITraffic fields.
In the embodiment of the present invention, if not finding the note of the application program from AppTrafficRecordList tables
Record then increases the record of the application program newly in AppTrafficRecordList tables, and the flow value of appTraffic is assigned
It is worth to the FgTraffic fields in AppTrafficRecordList tables, in AppTrafficRecordList tables
BootId fields and LastUseTime fields are updated, and empty BgVTraffic and BgITraffic fields.
C15 judges whether to take out all application programs from the application list of foreground, if so, terminate flow, it is no
Then, the application program not being read is taken out from the application list of foreground, returns to step C13.
In this step, judge whether to have taken out all application programs in newLaunchAppList tables, if so, terminating
Otherwise flow reads the application program not being read in newLaunchAppList tables, returns to step C13.
It is the used application program of each user in application rs traffic record sheet in the embodiment of the present invention, it is raw
At a discharge record, for example, as shown in table 4.
Table 4
Uid | BootId | LastUseTime | FgTraffic | BgVTraffic | BgITraffic |
10020 | 1 | 2014/5/1516:12:37 | 350 | 360 | 0 |
10021 | 1 | 2014/5/1516:55:32 | 0 | 0 | 0 |
10022 | 2 | 2014/5/1516:56:31 | 100 | 0 | 0 |
In table 4, it is identified as in 1 corresponding run time section in the startup of communication equipment, user starts and used two
Application program, corresponding application program identification are respectively 10020 and 10021, and it is corresponding to be identified as 2 in the startup of communication equipment
In run time section, it is 10022 that user, which starts and used an application program, corresponding application program identification, wherein
The application program that application program identification is 10020, the last time temporal information of operation is 2014/5/1516:12:
37, the flow that when front stage operation generates is 350, and the flow generated in the download time threshold value of backstage is 360, when backstage is downloaded
Between the flow that generates of period outside threshold value be 0;
The application program that application program identification is 10021, the last time temporal information of operation is 2014/5/1516:55:
32, the flow that when front stage operation generates is 0, and the flow generated in the download time threshold value of backstage is 0, in backstage download time threshold
The flow that period outside value generates is 0;
The application program that application program identification is 10022, the last time temporal information of operation is 2014/5/1516:56:
31, the flow that when front stage operation generates is 100, and the flow generated in the download time threshold value of backstage is 0, in backstage download time
The flow that period outside threshold value generates is 0.
In practical application, time interval (within monitoring cycle, such as 1 second and 1 second) that can also be shorter ceaselessly checks
Current foreground application, for example, by the Recent Task tables of operating system, first is current foreground application journey
Sequence;Alternatively, by the RunningAppProcess tables of extract operation system, before being judged using the importance attributes in table
Platform application program etc..Because the time interval checked is very short, user can not possibly use multiple application programs within this time, because
This, the foreground application that counting user uses may be implemented in this scheme.
A13 inquires the flow information of pending application program consumption, and the flow information that is obtained according to inquiry current opens
Dynamic mark and pre-set download time threshold value, update pre-set application rs traffic record sheet;
This step specifically includes:
D11 takes out an application program from pending the application list;
In this step, an application program is read from pending the application list to be consumed to the application program flow
Whether it is that normal consumption flow distinguishes.
D12, obtain the currently monitored period corresponding nearest is disappeared using all application programs recorded in the application list
The flow of consumption is recorded in application flow scale;
This step is identical as step C12.
D13 inquires the flow information for the application program taken out from application flow scale;
In this step, from UidTrafficSet tables, the flow information for the application program taken out is inquired, is denoted as
appTraffic。
As alternative embodiment, pending application program consumed flow table can be built, for recording each pending application
The consumed flow of program.Preferably, in the pending application program consumed flow table of structure, records application program by date
Consumed flow, such as table 5.
Table 5
Uid | Date | Traffic |
In table 5,
Uid is application program identification field;
Date is the time field of records application program consumed flow;
Traffic is consumed flow field of the application program in the time field of record.
For example, the pending application program consumed flow table of physical record is as described in Table 6.
Table 6
Uid | Date | Traffic |
10020 | 2014-5-15 | 58 |
10020 | 2014-5-16 | 458 |
… | … | … |
10025 | 2014-5-15 | 600 |
In table 4, the application program that application program identification is 10020, in 2014-5-15, consumed flow 58, in 2014-
5-16, consumed flow 458;The application program that application program identification is 10025, in 2014-5-15, consumed flow 600.
D14, inquiry application discharge record table, judges whether the record of the application program of the taking-up, if not
In the presence of execution step D15, if it does, executing step D16;
In this step, what lookup was taken out from pending the application list in AppTrafficRecordList tables answers
With the record of program, it is denoted as appTrafficRecord.
It should be noted that there is no points of sequencing by step D13 and D14.
The flow information for the application program that inquiry obtains is assigned in application rs traffic record sheet and inquires by D15
To record corresponding application program backstage non-normal consumption flow field and update startup identification field, execute step D21;
In this step, if not finding the record of the application program in AppTrafficRecordList tables, show
User did not always use the application program, thus, what the flow of application program consumption was likely to escape.This is recorded to answer
It escapes traffic behavior, the flow of consumption is all regarded as flow of escaping.
Further, which can also be placed in pre-set application program blacklist.In subsequent applications,
After obtaining pending the application list, described pending the application list is matched with application program blacklist,
Judge application program in pending the application list whether with the application program in application program blacklist set by user
It is identical, if so, can be handled according to pre-set processing strategy, otherwise, then execute step D11.
D16, inquiry it is described record it is corresponding startup identify whether it is identical as mark is currently up, if it is not the same, execution
Step D17 executes step D18 if identical;
In this step, compare appTrafficRecord in AppTrafficRecordList tables BootID fields whether
Whether the BootID started with current communication devices is identical.
D17, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage non-normal consumption flow field simultaneously updates startup identification field, executes step D21;
In this step, if BootID is different, show that user had never used the application program since the booting, i.e., this is answered
It is self-starting with program, the flow of consumption is also likely to be to escape.The behavior of escaping of the application program is recorded, consumption
Flow is all regarded as the flow escaped.
D18 calculates the difference of current time and the time for recording corresponding application program the last time operation, if
Difference executes step D19 in pre-set download time threshold value, otherwise, executes step D20;
In this step, compare LastUseTime fields and the current time in appTrafficRecord, if when current
Between in the application program backstage during normal operation (download time threshold value), then the discharge record in appTraffic tables is arrived
BgVTraffic fields.The flow consumed during this belongs to the flow that backstage consumes during normal operation.
In the embodiment of the present invention, the run time of the background application of download time threshold value, that is, user's license, using journey
Sequence is run in the download time threshold value, and the flow of consumption is normal consumption flow.
D19, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage normal consumption flow field simultaneously updates startup identification field;
In this step, LastUseTime fields are not updated.
D20, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage non-normal consumption flow field simultaneously updates startup identification field;
In this step, LastUseTime fields are not updated.
It should be noted that for the LastUseTime fields in appTrafficRecordList tables, only for the first time
When determining that the flow of application program consumption is application program backstage normal consumption flow, LastUseTime fields are updated, and rear
It is continuous to determine that the flow of application program consumption is application program backstage normal consumption flow or application program backstage non-normal consumption
After flow, all it is not necessarily to be updated LastUseTime fields.If it is determined that the flow of application program consumption is before application program
Platform flow can be updated LastUseTime fields.
It, will if current time alreadys exceed application backstage during normal operation in the embodiment of the present invention
Discharge record in appTraffic is to BgITraffic fields.The traffic behavior of escaping of the application is recorded, the consumption of this part
Flow is considered as flow of escaping.
D21 judges whether to have taken out all application programs in pending the application list, if so, terminate flow,
Otherwise, the application program not being read in pending the application list is read, D13 is returned to step.
In this step, judge whether to have taken out all application programs in UidTrafficSet tables, if so, terminating stream
Otherwise journey reads the application program not being read in UidTrafficSet tables, returns to step D12.
A14, in the application rs traffic record sheet of statistical updating the corresponding application program foreground flow of application program and
The sum of application program backstage normal consumption flow, as the normal consumption flow of the application program, the application program of statistical updating
The corresponding application program backstage non-normal consumption flow of application program, improper as the application program disappear in discharge record table
Consume flow.
In this way, realize to the flow of application program whether be normal consumption flow and non-normal consumption flow particulate
Degree is distinguished.
Step 104, determine that the non-normal consumption flow of application program is more than pre-set monitoring flow threshold, according to pre-
The processing strategy being first arranged is handled.
In this step, judge whether the non-normal consumption flow of application program is more than pre-set monitoring flow threshold,
If it is, being handled according to pre-set processing strategy.
The threshold value for monitoring the consumption of flow threshold, that is, flow, for judge the consumption of application program backstage flow whether be it is non-just
Normal consumed flow.Wherein,
Download time threshold value (run time of the background application of user's license) can determine, example according to actual needs
Such as, 2 hours, be the normal run time of background application.That is, after application program goes to running background, it is small 2
When run time section in, the flow of consumption is normal consumption flow, and the flow that application program operation generates after 2 hours,
If beyond monitoring flow threshold, it is recorded as non-normal consumption flow.
In the embodiment of the present invention, can judge according to the network behavior of user application program consumption flow whether be it is non-just
Normal consumed flow:
Disappear if application program (exits the application program from user launches application to user) during use in user
The flow of consumption is normal consumption flow;
The application program that user uses is exited in user's selection, in pre-set download time threshold value or time threshold
Interior, the flow of consumption is normal consumption flow;For example, having the application of download function for Online Video or mobile phone assistant etc.
Program, within a period of time after exiting, for example, in hour after exiting, due to executing downloading task, the flow of consumption
Belong to normal consumption flow.
The application program that user uses is exited in user's selection, after pre-set download time threshold value, the stream of consumption
Amount is non-normal consumption flow;
After communication equipment booting, user is from original application program, for example, automatic running after communication device initiated
The flow of background application consumption is non-normal consumption flow.For non-normal consumption flow, call user's attention is needed.
As alternative embodiment, monitoring flow threshold can be determined by following methods:
In the embodiment of the present invention, for being custom made with for moon user of set meal total amount, it is generally desirable to the flows of same day consumption
No more than per day consumed flow.Thus, as alternative embodiment, set meal total amount and can be used last month according to the moon of user
Flow calculate the threshold value (monitoring flow threshold) of background traffic consumption, calculation formula is as follows:
In formula,
δavTo monitor flow threshold;
ξ is correction factor, can be arranged according to actual needs, for example, monitoring cycle that can be according to setting and download time
Threshold value is configured;
δtIt is used with last month for flow moon set meal total amount or used last month if user does not customize flow package
Flow substitute a moon set meal total amount.
D is the number of days for the current moon including.
In this way, the threshold value of background traffic consumption according to the set meal total amount of user, the flow used and can include monthly
The variation of number of days and change.
By previous step, each application program has been counted in the flow escaped from the background, but this partial discharge is a bit
What user can tolerate, such as some application programs irregular can check whether there is version updating, the flow of consumption from the background
Seldom, flow of escaping can be recorded as by this programme.Therefore, according to determining flow threshold of escaping, the flow only escaped is (non-just
Normal consumed flow) application program beyond the monitoring flow threshold, user can will be just showed, shows that these apply journey by date
The flow that sequence is escaped.
As alternative embodiment, according to pre-set processing strategy carry out processing include one kind in following manner or its
Arbitrary combination:
Unload the application program that non-normal consumption flow is more than pre-set monitoring flow threshold;
In this step, after user selects unloading application program, the unloading application module of communication equipment operating system, warp are called
User unloads the application program after confirming.
Share the application program that non-normal consumption flow is more than pre-set monitoring flow threshold;
In this step, user the application program can be escaped flow information pass through SNS apply (such as wechat, QQ, microblogging
Deng) it is shared with the good friend of oneself, remind good friend to pay attention to the application program.
Networking non-normal consumption flow in limitation backstage is more than the application program of pre-set monitoring flow threshold;
In this step, user selection after, when the application program enter backstage, and currently be data network when, forbid its connection
Net permission.
The application program that non-normal consumption flow is more than pre-set monitoring flow threshold is closed when backstage;
In this step, after user's selection, when the application program enters from the background, then by the closing application program.
Check that non-normal consumption flow is more than the application program details of pre-set monitoring flow threshold.
In this step, after user's selection, the detail information of the application program is set into operating system, and user can be arranged
Detail information in select positive closing or unloading etc..
In this way, in the embodiment of the present invention, the network behavior of user is considered, by the determination normal running background time with after
The threshold value of platform flow consumption, analyzes the network behavior of user, is inquiry week with specified time interval (such as 20 seconds)
Phase continues usage behavior and the consumption of front and back flow of counting user, in conjunction with each application program on foreground and backstage consumed flow
Statistics, flow is monitored, to accurately distinguish out the non-normal consumption flow of background application, and is tied according to monitoring
Fruit determines the need for closing application program, solves the unnecessary flow consumption of application program in communication equipment, it is possible to find after
Platform is escaped the application program of flow, and user can be further processed these application programs and (such as unload, closes), avoid stream
Amount waste, saves the expense caused by flow excess.Further, by comparing the corresponding nearest use of front and back monitoring cycle
The application list can distinguish the application program that user actively starts, and be identified by recording the unique startup being switched on every time, can
The application program that backstage starts automatically is distinguished, can more accurately judge whether the flow of application program consumption is non-normal consumption
Flow is realized and is monitored to the fine granularity of flow.
Fig. 3 is the apparatus structure schematic diagram that the embodiment of the present invention monitors communication equipment non-normal consumption flow.Referring to Fig. 3,
The device includes:Start mark distribution module, the application list read module, non-normal consumption flow determining module and answers
With program processing module, wherein
Start mark distribution module, for monitor it is communication device initiated after, for the communication equipment allocation identification of startup
The startup of the secondary startup identifies;
In the embodiment of the present invention, it is optional module to start mark distribution module.
As alternative embodiment, starting mark distribution module includes:Start mark acquiring unit and starts mark distribution
Unit (not shown), wherein
Start mark acquiring unit, for monitor it is communication device initiated after, read pre-stored application flow
Record sheet is measured, maximum startup mark in the application rs traffic record sheet is obtained;
Start mark allocation unit, the maximum startup of acquisition is identified as the startup of communication equipment of the secondary startup to be arranged
Mark plus 1.
The application list read module starts answering for application program for reading communication equipment operating system for recording
Use program listing;
In the embodiment of the present invention, the application list read module can also be read according to pre-set monitoring cycle
Communication equipment operating system is used to record the application list for starting application program.As alternative embodiment, Application Column
Table is to use the application list recently.
In the embodiment of the present invention, application rs traffic record sheet is built in advance in the application list read module, use
In the flow information that each application program of storage consumes in each monitoring cycle.
As alternative embodiment, application rs traffic record sheet includes but not limited to:Application program identification field starts mark
After section, the time field of application program the last time operation, application program foreground normal consumption flow field, the application program of becoming literate
Platform normal consumption flow field and application program backstage non-normal consumption flow field, wherein application program foreground normally disappears
Flow and application program backstage normal consumption flow are consumed for the normal consumption flow of application program, and application program backstage is improper to disappear
Consume the non-normal consumption flow that flow is application program.
Preferably, the application list be identified with to start mark and user is crossed in chronological order application program into
Row sequence.
Non-normal consumption flow determining module, for obtaining the application list currently read and last reading
Identical application program in the application list calculates the non-normal consumption flow of the identical application program;
In the embodiment of the present invention, non-normal consumption flow determining module is identified using the startup of the secondary startup, is the currently monitored
Period corresponding nearest use the application list, previous monitoring cycle corresponding nearest use the application list and storage
Application rs traffic record sheet, obtain the non-normal consumption flow of application program.
In the embodiment of the present invention, as alternative embodiment, non-normal consumption flow determining module is further used for obtaining
It is corresponding to obtain normal consumption flow after the non-normal consumption flow of application program.
As another alternative embodiment, the non-normal consumption flow determining module is further used for:It is identical obtaining
After application program, pending the application list is generated, and reads one from described pending the application list and applies journey
Sequence executes the flow for the non-normal consumption flow for calculating the identical application program.
As yet another alternative embodiment, the non-normal consumption flow determining module is further used for:
Determine the reading application program run time be more than pre-set time threshold, calculating it is described improper
Consumed flow is consumed flow of the application program of the reading after the time threshold.
Non-normal consumption flow determining module includes:Comparing unit, the first inquiry and updating unit, the second inquiry and update
Unit and flow determination unit (not shown), wherein
Comparing unit, for corresponding nearest use the application list of more the currently monitored period and previous monitoring cycle
It is corresponding nearest using the application list, determine the application program and pending application that user uses in the currently monitored period
Program;
In the embodiment of the present invention, as an alternative embodiment, comparing unit includes:Pointer subelement, is sentenced traversal subelement
Disconnected subelement, pointer first handle subelement and pointer second processing subelement, wherein
Pointer subelement, for corresponding nearest use the application list of the currently monitored period and last prison to be arranged
It surveys the period corresponding nearest pointer using in the application list and is respectively directed to top;
Subelement is traversed, it is corresponding nearest using pointer direction in the application list for reading the currently monitored period
Application program, traversal obtain the corresponding nearest application program being directed toward using pointer in the application list of a upper monitoring cycle,
And it is sequentially compared;
Judgment sub-unit, whether the application program for judging to read is identical, if identical, notice pointer first handles son
Unit, otherwise, notice pointer first handle subelement;
Pointer first handle subelement, for receive notice, by the currently monitored period it is corresponding it is nearest use application program
The application program that pointer is directed toward in list is placed in pre-set pending the application list, and by the currently monitored period pair
That answers uses pointer line down in the application list, notice traversal subelement recently;
Pointer second processing subelement, for receive notice, by the currently monitored period it is corresponding it is nearest use application program
The application program that pointer is directed toward in list is placed in pre-set foreground application list, by the pointer line down,
Notice traversal subelement.
As another alternative embodiment, comparing unit further comprises:
Application program deletes subelement, for after monitoring that pointer first handles subelement notice traversal subelement, deleting
Except the corresponding nearest application program being directed toward using pointer in the application list of a upper monitoring cycle.
First inquiry and updating unit, the application program consumption used in the currently monitored period for inquiring the user
Flow information, the flow information obtained according to inquiry and current startup identify, and update pre-set application rs traffic
Record sheet;
In the embodiment of the present invention, as alternative embodiment, the first inquiry and updating unit include:Reading subunit, application
Program flowmeter subelement, inquiry subelement, update subelement and judgment sub-unit, wherein
Reading subunit, for taking out an application program from the application list of foreground;
Application flow scale subelement, it is corresponding nearest using in the application list for obtaining the currently monitored period
The flow of all application programs consumption of record, is recorded in application flow scale;
Subelement is inquired, the flow information for inquiring the application program taken out from application flow scale;
Subelement is updated, inquiry application discharge record table is used for, the flow for the application program that inquiry is obtained is believed
It ceases the application program foreground flow field being assigned in application rs traffic record sheet and updates startup identification field;
Judgment sub-unit takes out all application programs for judging whether from the application list of foreground, if so, knot
Otherwise line journey takes out the application program not being read, notice inquiry subelement from the application list of foreground.
Second inquiry and updating unit, the flow information for inquiring pending application program consumption, obtain according to inquiry
Flow information, current startup mark and pre-set download time threshold value, update pre-set application flow
Measure record sheet;
In the embodiment of the present invention, as alternative embodiment, the second inquiry and updating unit include:Take out subelement, application
Program flowmeter subelement, the first inquiry subelement, processing subelement, the second inquiry subelement, third inquiry subelement, first
Assignment subelement, computation subunit, the second assignment subelement, third assignment subelement and Ergodic judgement unit, wherein
Subelement is taken out, for taking out an application program from pending the application list;
Application flow scale subelement, it is corresponding nearest using in the application list for obtaining the currently monitored period
The flow of all application programs consumption of record, is recorded in application flow scale;
First inquiry subelement, the flow letter for inquiring the application program taken out from application flow scale
Breath;
Subelement is handled, inquiry application discharge record table is used for, judges whether the application program of the taking-up
Record, if it does not, the second inquiry subelement is notified, if it does, notice third inquires subelement;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the second inquiry subelement
With in program flow record sheet inquiry obtain record corresponding application program backstage non-normal consumption flow field and update open
Dynamic identification field, notifies Ergodic judgement unit;
Third inquire subelement, for inquire it is described record it is corresponding startup identify whether it is identical as mark is currently up,
If it is not the same, notifying the first assignment subelement, if identical, computation subunit is notified;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the first assignment subelement
With the application program backstage non-normal consumption flow field in program flow record sheet and startup identification field is updated, notice traversal
Judging unit;
Computation subunit calculates current time and records corresponding application program the last time with described for receiving notice
The difference of the time of operation, if difference in pre-set download time threshold value, notifies the second assignment subelement, otherwise,
Notify third assignment subelement;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the second assignment subelement
With the application program backstage normal consumption flow field in program flow record sheet and update startup identification field;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by third assignment subelement
With the application program backstage non-normal consumption flow field in program flow record sheet and update startup identification field;
Ergodic judgement unit, for receiving notice, judge whether to have taken out in pending the application list all answers
It is notified with program if so, otherwise terminating flow reads the application program not being read in pending the application list
Handle subelement.
As another alternative embodiment, the second inquiry and updating unit further comprise:
Application program blacklist subelement, for third inquiry subelement inquiry it is described record corresponding startups and identify be
It is no be currently up after mark differs, which is placed in pre-set application program blacklist.Subsequent applications
In, after obtaining pending the application list, by described pending the application list and the progress of application program blacklist
Match, judge application program in pending the application list whether with the application journey in application program blacklist set by user
Sequence is identical, if so, can be handled according to pre-set processing strategy.
Flow determination unit, for the corresponding application program of application program in the application rs traffic record sheet of statistical updating
The sum of foreground flow and application program backstage normal consumption flow, as the normal consumption flow of the application program, statistics is more
The corresponding application program backstage non-normal consumption flow of application program in new application rs traffic record sheet applies journey as this
The non-normal consumption flow of sequence.
Application program processing module, for determining that the non-normal consumption flow of application program is flowed more than pre-set monitoring
Threshold value is measured, is handled according to pre-set processing strategy.
In the embodiment of the present invention, as alternative embodiment, monitoring flow threshold calculation formula is:
In formula,
δavTo monitor flow threshold;
ξ is correction factor, can be arranged according to actual needs, for example, monitoring cycle that can be according to setting and download time
Threshold value is configured;
δtIt is used with last month for flow moon set meal total amount or used last month if user does not customize flow package
Flow substitute a moon set meal total amount.
D is the number of days for the current moon including.
As alternative embodiment, according to pre-set processing strategy carry out processing include one kind in following manner or its
Arbitrary combination:
Unload the application program that non-normal consumption flow is more than pre-set monitoring flow threshold;
Share the application program that non-normal consumption flow is more than pre-set monitoring flow threshold;
Networking non-normal consumption flow in limitation backstage is more than the application program of pre-set monitoring flow threshold;
The application program that non-normal consumption flow is more than pre-set monitoring flow threshold is closed when backstage;
Check that non-normal consumption flow is more than the application program details of pre-set monitoring flow threshold.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors
Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) realize monitoring communication equipment non-normal consumption according to the ... of the embodiment of the present invention
The some or all functions of some or all components in the device of flow.The present invention is also implemented as executing this
In described method some or all equipment or program of device (for example, computer program and computer program
Product).It is such realize the present invention program can may be stored on the computer-readable medium, can either have there are one or it is more
The form of a signal.Such signal can be downloaded from Internet site server and be obtained, or be provided on carrier signal,
Or it provides in any other forms.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch
To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of methods of monitoring communication equipment non-normal consumption flow, including:
Communication equipment operating system is read to be used to record the application list for starting application program;
It obtains identical using journey in the application list currently read and last the application list read
Sequence;According to the identical application program respectively in current and upper primary consumed flow, calculate described identical using journey
The non-normal consumption flow of sequence;
If the non-normal consumption flow of the identical application program is more than pre-set monitoring flow threshold, according to
Pre-set processing strategy is handled.
A2. the method according to A1 calculates the identical application program after obtaining identical application program
Before non-normal consumption flow, the method further includes:
Pending the application list is generated, an application program is read from described pending the application list.
A3. the method according to A2, it is described read from described pending the application list an application program it
Afterwards, before the non-normal consumption flow for calculating the identical application program, the method further includes:
Determine that the application program run time of the reading is more than pre-set time threshold;
The non-normal consumption flow is consumed flow of the application program of the reading after the time threshold.
A4. the method according to A1 is used to record startup application program in the reading communication equipment operating system
Before the application list, the method further includes:
Monitor it is communication device initiated, for the startup mark of the communication equipment allocation identification of the startup secondary startup.
A5. the method according to A4, the startup of the allocation identification secondary startup, which identifies, includes:
It monitors communication device initiated, reads pre-stored application rs traffic record sheet, obtain the application program
Maximum startup mark in discharge record table;
The startup that the communication equipment of the secondary startup is arranged is identified as the maximum startup mark plus 1 of acquisition.
A6. the method according to A5, the application rs traffic record sheet include but not limited to:Application program identification word
Section, start identification field, application program the last time operation time field, application program foreground normal consumption flow field,
Application program backstage normal consumption flow field and application program backstage non-normal consumption flow field, wherein application program
Foreground normal consumption flow and the normal consumption flow that application program backstage normal consumption flow is application program.
A7. the method according to A5, the non-normal consumption flow for calculating the identical application program include:
The flow information that the application program that the user uses in the currently monitored period consumes is inquired, is obtained according to inquiry
Flow information and current startup mark, update pre-set application rs traffic record sheet;
Inquire the flow information of pending application program consumption, flow information, the current startup mark obtained according to inquiry
Knowledge and pre-set download time threshold value, update pre-set application rs traffic record sheet;
The corresponding application program foreground flow of application program and application in the application rs traffic record sheet of statistical updating
The sum of program backstage normal consumption flow, as the normal consumption flow of the application program, the application rs traffic of statistical updating
The corresponding application program backstage non-normal consumption flow of application program in record sheet, the non-normal consumption stream as the application program
Amount.
A8. the method according to A7, the method further includes:
More the currently monitored period corresponding the application list the application list corresponding with previous monitoring cycle, really
Determine the application program and pending application program that user uses in the currently monitored period.
A9. the method according to A8, described more the currently monitored period corresponding the application list and previous monitoring
Period corresponding the application list determines application program and pending application program that user uses in the currently monitored period
Including:
B11, is arranged corresponding the application list of the currently monitored period and last monitoring cycle is corresponding using journey
Pointer in sequence table is respectively directed to top;
B12 reads the application program that pointer is directed toward in corresponding the application list of the currently monitored period, traverses on obtaining
The application program that pointer is directed toward in the corresponding the application list of one monitoring cycle, and be sequentially compared;
B13 judges whether the application program read is identical, if identical, executes step B14, otherwise, executes step B15;
The application program that pointer in corresponding the application list of the currently monitored period is directed toward is placed in and pre-sets by B14
Pending the application list in, and by pointer line down in corresponding the application list of the currently monitored period, return
Execute step B12;
The application program that pointer in corresponding the application list of the currently monitored period is directed toward is placed in and pre-sets by B15
Foreground application list in, by the pointer line down, return to step B12.
A10. the method according to A9, the method further includes:
Delete the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle.
A11. the method according to A9, the application program consumption that the inquiry user uses in the currently monitored period
Flow information, identified according to the obtained flow information of inquiry and current startup, update pre-set application flow
Measuring record sheet includes:
C11 takes out an application program from the application list of foreground;
C12 obtains the flow of all application programs consumption recorded in corresponding the application list of the currently monitored period,
It is recorded in application flow scale;
C13 inquires the flow information for the application program taken out from application flow scale;
The flow information for the application program that inquiry obtains is assigned to application by C14, inquiry application discharge record table
Application program foreground flow field in program flow record sheet simultaneously updates startup identification field.
C15 judges whether to take out all application programs from the application list of foreground, if so, terminate flow, it is no
Then, the application program not being read is taken out from the application list of foreground, returns to step C13.
A12. the method according to A9, the flow information of the inquiry pending application program consumption, according to inquiring
Flow information, current startup mark and the pre-set download time threshold value arrived, updates pre-set application program
Discharge record table includes:
D11 takes out an application program from pending the application list;
D12 obtains the flow of all application programs consumption recorded in corresponding the application list of the currently monitored period,
It is recorded in application flow scale;
D13 inquires the flow information for the application program taken out from application flow scale;
D14, inquiry application discharge record table, judges whether the record of the application program of the taking-up, if not
In the presence of execution step D15, if it does, executing step D16;
The flow information for the application program that inquiry obtains is assigned in application rs traffic record sheet and inquires by D15
To record corresponding application program backstage non-normal consumption flow field and update startup identification field, execute step D21;
D16, inquiry it is described record it is corresponding startup identify whether it is identical as mark is currently up, if it is not the same, execution
Step D17 executes step D18 if identical;
D17, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage non-normal consumption flow field simultaneously updates startup identification field, executes step D21;
D18 calculates the difference of current time and the time for recording corresponding application program the last time operation, if
Difference executes step D19 in pre-set download time threshold value, otherwise, executes step D20;
D19, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage normal consumption flow field simultaneously updates startup identification field;
D20, the application flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Program backstage non-normal consumption flow field simultaneously updates startup identification field;
D21 judges whether to have taken out all application programs in pending the application list, if so, terminate flow,
Otherwise, the application program not being read in pending the application list is read, D13 is returned to step.
A13. the method according to A12 judges the application there is no the taking-up in inquiry application discharge record table
After the record of program, the method further includes:
The application program is placed in pre-set application program blacklist.
A14. the method according to A1, the monitoring flow threshold calculation formula are:
In formula,
δavTo monitor flow threshold;
ξ is correction factor;
δtIt is used with last month for flow moon set meal total amount or used last month if user does not customize flow package
Flow substitute a moon set meal total amount;
D is the number of days for the current moon including.
A15. the method according to A1, it is described according to pre-set processing strategy carry out processing include:
Unload the application program that non-normal consumption flow is more than pre-set monitoring flow threshold.
A16. the method according to A1, it is described according to pre-set processing strategy carry out processing include:
Share the application program that non-normal consumption flow is more than pre-set monitoring flow threshold.
A17. the method according to A16, by sharing described in SNS application progress.
A18. the method according to A1, it is described according to pre-set processing strategy carry out processing include:
Networking non-normal consumption flow in limitation backstage is more than the application program of pre-set monitoring flow threshold;Or, limit
Non-normal consumption flow processed is more than the permission of the application program of pre-set monitoring flow threshold.
A19. a kind of device of monitoring communication equipment non-normal consumption flow, the device include:The application list is read
Module, non-normal consumption flow determining module and application program processing module, wherein
Recently use the application list read module, for read communication equipment operating system for record start apply
The application list of program;
Non-normal consumption flow determining module, for obtaining the application list currently read and last reading
Identical application program in the application list calculates the non-normal consumption flow of the identical application program;
Application program processing module, for determining that the non-normal consumption flow of application program is flowed more than pre-set monitoring
Threshold value is measured, is handled according to pre-set processing strategy.
A20. the device according to A19, the non-normal consumption flow determining module are further used for:It is identical obtaining
Application program after, generate pending the application list, and an application is read from described pending the application list
Program executes the flow for the non-normal consumption flow for calculating the identical application program.
A21. the device according to A20, the non-normal consumption flow determining module are further used for:
Determine the reading application program run time be more than pre-set time threshold, calculating it is described improper
Consumed flow is consumed flow of the application program of the reading after the time threshold.
A22. the device according to A19, further comprises:
Start mark distribution module, for monitor it is communication device initiated after, for the communication equipment allocation identification of startup
The startup of the secondary startup identifies.
A23. the device according to A22, the startup mark distribution module include:Start mark acquiring unit and opens
Dynamic mark allocation unit, wherein
Start mark acquiring unit, for monitor it is communication device initiated after, read pre-stored application flow
Record sheet is measured, maximum startup mark in the application rs traffic record sheet is obtained;
Start mark allocation unit, the maximum startup of acquisition is identified as the startup of communication equipment of the secondary startup to be arranged
Mark plus 1.
A24. the device according to A23, the application rs traffic record sheet include but not limited to:Application program identification
Field starts identification field, the time field of application program the last time operation, application program foreground normal consumption flow word
Section, application program backstage normal consumption flow field and application program backstage non-normal consumption flow field, wherein apply journey
Sequence foreground normal consumption flow and the normal consumption flow that application program backstage normal consumption flow is application program, application program
Backstage non-normal consumption flow is the non-normal consumption flow of application program.
A25. the device according to A19, the non-normal consumption flow determining module are further used for obtaining application
It is corresponding to obtain normal consumption flow after the non-normal consumption flow of program.
A26. the device according to A25, the non-normal consumption flow determining module include:Comparing unit, first are looked into
Inquire about updating unit, the second inquiry and updating unit and flow determination unit, wherein
Comparing unit is answered for corresponding the application list of more the currently monitored period to be corresponding with previous monitoring cycle
With program listing, application program and pending application program that user uses in the currently monitored period are determined;
First inquiry and updating unit, the application program consumption used in the currently monitored period for inquiring the user
Flow information, the flow information obtained according to inquiry and current startup identify, and update pre-set application rs traffic
Record sheet;
Second inquiry and updating unit, the flow information for inquiring pending application program consumption, obtain according to inquiry
Flow information, current startup mark and pre-set download time threshold value, update pre-set application flow
Measure record sheet;
Flow determination unit, for the corresponding application program of application program in the application rs traffic record sheet of statistical updating
The sum of foreground flow and application program backstage normal consumption flow, as the normal consumption flow of the application program, statistics is more
The corresponding application program backstage non-normal consumption flow of application program in new application rs traffic record sheet applies journey as this
The non-normal consumption flow of sequence.
A27. the device according to A26, the comparing unit include:Pointer subelement, judges that son is single at traversal subelement
Member, pointer first handle subelement and pointer second processing subelement, wherein
Pointer subelement, for corresponding the application list of the currently monitored period and last monitoring cycle pair to be arranged
Pointer in the application list answered is respectively directed to top;
Subelement is traversed, for reading the application journey that pointer is directed toward in corresponding the application list of the currently monitored period
Sequence, traversal obtains the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle, and is sequentially compared;
Judgment sub-unit, whether the application program for judging to read is identical, if identical, notice pointer first handles son
Unit, otherwise, notice pointer first handle subelement;
Pointer first handles subelement, for receiving notice, by corresponding the application list middle finger of the currently monitored period
The application program that needle is directed toward is placed in pre-set pending the application list, and by the corresponding application of the currently monitored period
Pointer line down in program listing, notice traversal subelement;
Pointer second processing subelement, for receiving notice, by corresponding the application list middle finger of the currently monitored period
The application program that needle is directed toward is placed in pre-set foreground application list, by the pointer line down, notice traversal
Subelement.
A28. the device according to A27, the comparing unit further comprise:
Application program deletes subelement, for after monitoring that pointer first handles subelement notice traversal subelement, deleting
Except the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle.
A29. the device according to A26, first inquiry and updating unit include:Reading subunit, application program
Flowmeter subelement, inquiry subelement, update subelement and judgment sub-unit, wherein
Reading subunit, for taking out an application program from the application list of foreground;
Application flow scale subelement, for obtaining the institute recorded in corresponding the application list of the currently monitored period
The flow for having application program to consume, is recorded in application flow scale;
Subelement is inquired, the flow information for inquiring the application program taken out from application flow scale;
Subelement is updated, inquiry application discharge record table is used for, the flow for the application program that inquiry is obtained is believed
It ceases the application program foreground flow field being assigned in application rs traffic record sheet and updates startup identification field;
Judgment sub-unit takes out all application programs for judging whether from the application list of foreground, if so, knot
Otherwise line journey takes out the application program not being read, notice inquiry subelement from the application list of foreground.
A30. the device according to A26, second inquiry and updating unit include:Take out subelement, application program
Flowmeter subelement, the first inquiry subelement, processing subelement, the second inquiry subelement, third inquiry subelement, the first assignment
Subelement, computation subunit, the second assignment subelement, third assignment subelement and Ergodic judgement unit, wherein
Subelement is taken out, for taking out an application program from pending the application list;
Application flow scale subelement, for obtaining the institute recorded in corresponding the application list of the currently monitored period
The flow for having application program to consume, is recorded in application flow scale;
First inquiry subelement, the flow letter for inquiring the application program taken out from application flow scale
Breath;
Subelement is handled, inquiry application discharge record table is used for, judges whether the application program of the taking-up
Record, if it does not, the second inquiry subelement is notified, if it does, notice third inquires subelement;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the second inquiry subelement
With in program flow record sheet inquiry obtain record corresponding application program backstage non-normal consumption flow field and update open
Dynamic identification field, notifies Ergodic judgement unit;
Third inquire subelement, for inquire it is described record it is corresponding startup identify whether it is identical as mark is currently up,
If it is not the same, notifying the first assignment subelement, if identical, computation subunit is notified;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the first assignment subelement
With the application program backstage non-normal consumption flow field in program flow record sheet and startup identification field is updated, notice traversal
Judging unit;
Computation subunit calculates current time and records corresponding application program the last time with described for receiving notice
The difference of the time of operation, if difference in pre-set download time threshold value, notifies the second assignment subelement, otherwise,
Notify third assignment subelement;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by the second assignment subelement
With the application program backstage normal consumption flow field in program flow record sheet and update startup identification field;
The flow information for the application program that inquiry obtains is assigned to and answers for receiving notice by third assignment subelement
With the application program backstage non-normal consumption flow field in program flow record sheet and update startup identification field;
Ergodic judgement unit, for receiving notice, judge whether to have taken out in pending the application list all answers
It is notified with program if so, otherwise terminating flow reads the application program not being read in pending the application list
Handle subelement.
A31. the device according to A30, second inquiry and updating unit further comprise:
Application program blacklist subelement, for third inquiry subelement inquiry it is described record corresponding startups and identify be
It is no be currently up after mark differs, which is placed in pre-set application program blacklist.
A32. the device according to A19, the monitoring flow threshold calculation formula are:
In formula,
δavTo monitor flow threshold;
ξ is correction factor;
δtIt is used with last month for flow moon set meal total amount or used last month if user does not customize flow package
Flow substitute a moon set meal total amount;
D is the number of days for the current moon including.
Claims (30)
1. a kind of method of monitoring communication equipment non-normal consumption flow, including:
Communication equipment operating system is read to be used to record the application list for starting application program;
Obtain identical application program in the application list currently read and last the application list read;Root
According to the identical application program respectively in current and upper primary consumed flow, the non-of the identical application program is calculated
Normal consumption flow, the non-normal consumption flow are authorized without user;Wherein, described to calculate the identical application program
Non-normal consumption flow includes:The flow information for the application program consumption that inquiry user used in the currently monitored period, according to looking into
Obtained flow information and current startup mark are ask, pre-set application rs traffic record sheet is updated;It inquires and waits locating
Manage application program consumption flow information, according to inquiry obtain flow information, current startup mark and it is pre-set
Download time threshold value updates pre-set application rs traffic record sheet;In the application rs traffic record sheet of statistical updating
The sum of the corresponding application program foreground flow of application program and application program backstage normal consumption flow, as the application program
Normal consumption flow, the corresponding application program backstage of application program is improper in the application rs traffic record sheet of statistical updating
Consumed flow, the non-normal consumption flow as the application program;
If the non-normal consumption flow of the identical application program is more than pre-set monitoring flow threshold, according to advance
The processing strategy of setting is handled.
2. the method as described in claim 1 calculates the identical application program after obtaining identical application program
Before non-normal consumption flow, the method further includes:
Pending the application list is generated, an application program is read from described pending the application list.
3. method as claimed in claim 2, it is described read from described pending the application list an application program it
Afterwards, before the non-normal consumption flow for calculating the identical application program, the method further includes:
Determine that the application program run time of the reading is more than pre-set download time threshold value;
The non-normal consumption flow is consumed flow of the application program of the reading after the download time threshold value.
4. the method as described in claim 1 is used to record startup application program in the reading communication equipment operating system
Before the application list, the method further includes:
Monitor it is communication device initiated, for the startup mark of the communication equipment allocation identification of the startup secondary startup.
5. the startup mark of method as claimed in claim 4, the allocation identification secondary startup includes:
It monitors communication device initiated, reads pre-stored application rs traffic record sheet, obtain the application rs traffic
Maximum startup mark in record sheet;
The startup that the communication equipment of the secondary startup is arranged is identified as the maximum startup mark plus 1 of acquisition.
6. method as claimed in claim 5, the application rs traffic record sheet include but not limited to:Application program identification word
Section, start identification field, application program the last time operation time field, application program foreground normal consumption flow field,
Application program backstage normal consumption flow field and application program backstage non-normal consumption flow field, wherein application program
Foreground normal consumption flow and the normal consumption flow that application program backstage normal consumption flow is application program.
7. the method as described in claim 1, the method further includes:
More the currently monitored period corresponding the application list the application list corresponding with previous monitoring cycle, determines and uses
The application program and pending application program that family uses in the currently monitored period.
8. the method for claim 7, corresponding the application list of the more the currently monitored period and previous monitoring
Period corresponding the application list determines application program and pending application program that user uses in the currently monitored period
Including:
Corresponding the application list of the currently monitored period and the corresponding Application Column of last monitoring cycle is arranged in B11
Pointer in table is respectively directed to top;
B12, reads the application program that pointer is directed toward in corresponding the application list of the currently monitored period, and traversal obtains a upper prison
The application program that pointer is directed toward in period corresponding the application list is surveyed, and is sequentially compared;
B13 judges whether the application program read is identical, if identical, executes step B14, otherwise, executes step B15;
The application program that pointer in corresponding the application list of the currently monitored period is directed toward is placed in pre-set wait for by B14
It handles in the application list, and by pointer line down in corresponding the application list of the currently monitored period, returns and execute
Step B12;
B15, by corresponding the application list of the currently monitored period pointer be directed toward application program be placed in it is pre-set before
In platform the application list, by the pointer line down, B12 is returned to step.
9. method as claimed in claim 8, the method further includes:
Delete the application program that pointer is directed toward in the corresponding the application list of a upper monitoring cycle.
10. method as claimed in claim 8, the application program consumption that the inquiry user uses in the currently monitored period
Flow information, identified according to the obtained flow information of inquiry and current startup, update pre-set application flow
Measuring record sheet includes:
C11 takes out an application program from the application list of foreground;
C12 obtains the flow of all application programs consumption recorded in corresponding the application list of the currently monitored period, record
In application flow scale;
C13 inquires the flow information for the application program taken out from application flow scale;
The flow information for the application program that inquiry obtains is assigned to application program by C14, inquiry application discharge record table
Application program foreground flow field in discharge record table simultaneously updates startup identification field;
C15 judges whether to take out all application programs from the application list of foreground, if so, terminate flow, otherwise, from
The application program not being read is taken out in foreground application list, returns to step C13.
11. method as claimed in claim 8, the flow information of the pending application program consumption of inquiry, according to inquiring
Flow information, current startup mark and the pre-set download time threshold value arrived, updates pre-set application program
Discharge record table includes:
D11 takes out an application program from pending the application list;
D12 obtains the flow of all application programs consumption recorded in corresponding the application list of the currently monitored period, record
In application flow scale;
D13 inquires the flow information for the application program taken out from application flow scale;
D14, inquiry application discharge record table, judges whether the record of the application program of the taking-up, if it does not,
Step D15 is executed, if it does, executing step D16;
The flow information for the application program that inquiry obtains is assigned to what inquiry in application rs traffic record sheet obtained by D15
It records corresponding application program backstage non-normal consumption flow field and updates startup identification field, execute step D21;
D16, inquiry it is described record it is corresponding startup identify whether it is identical as mark is currently up, if it is not the same, execution step
D17 executes step D18 if identical;
D17, the application program flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Backstage non-normal consumption flow field simultaneously updates startup identification field, executes step D21;
D18 calculates the difference of current time and the time for recording corresponding application program the last time operation, if difference
In pre-set download time threshold value, step D19 is executed, otherwise, executes step D20;
D19, the application program flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Backstage normal consumption flow field simultaneously updates startup identification field;
D20, the application program flow information for the application program that inquiry obtains being assigned in application rs traffic record sheet
Backstage non-normal consumption flow field simultaneously updates startup identification field;
D21 judges whether to have taken out all application programs in pending the application list, if so, terminate flow, it is no
Then, the application program not being read in pending the application list is read, D13 is returned to step.
12. method as claimed in claim 11 judges the application there is no the taking-up in inquiry application discharge record table
After the record of program, the method further includes:
The application program is placed in pre-set application program blacklist.
13. the method as described in claim 1, the monitoring flow threshold calculation formula are:
In formula,
δavTo monitor flow threshold;
ξ is correction factor;
δtFor flow moon set meal total amount or used last month, if user does not customize flow package, the flow that is used with last month
To substitute a moon set meal total amount;
D is the number of days for the current moon including.
It is described to carry out processing according to pre-set processing strategy and include 14. the method as described in claim 1:
Unload the application program that non-normal consumption flow is more than pre-set monitoring flow threshold.
It is described to carry out processing according to pre-set processing strategy and include 15. the method as described in claim 1:
Share the application program that non-normal consumption flow is more than pre-set monitoring flow threshold.
16. method as claimed in claim 15, by sharing described in SNS application progress.
It is described to carry out processing according to pre-set processing strategy and include 17. the method as described in claim 1:
Networking non-normal consumption flow in limitation backstage is more than the application program of pre-set monitoring flow threshold;Or, limitation is non-
Normal consumption flow is more than the permission of the application program of pre-set monitoring flow threshold.
18. a kind of device of monitoring communication equipment non-normal consumption flow, the device include:The application list read module,
Non-normal consumption flow determining module and application program processing module, wherein
Recently use the application list read module, for read communication equipment operating system for record startup application program
The application list;
Non-normal consumption flow determining module, for obtaining the application list currently read and the last application read
Identical application program in program listing, calculates the non-normal consumption flow of the identical application program, described improper to disappear
Flow is consumed to authorize without user;The non-normal consumption flow determining module includes:Comparing unit, the first inquiry and update are single
Member, the second inquiry and updating unit and flow determination unit, wherein comparing unit is corresponded to for the more the currently monitored period
The application list the application list corresponding with previous monitoring cycle, determine user in answering of using of the currently monitored period
With program and pending application program;First inquiry and updating unit, make for inquiring the user in the currently monitored period
The flow information of application program consumption, the flow information obtained according to inquiry and current startup identify, and update is advance
The application rs traffic record sheet of setting;Second inquiry and updating unit, the flow for inquiring pending application program consumption
Information, the flow information obtained according to inquiry, current startup mark and pre-set download time threshold value, update are advance
The application rs traffic record sheet of setting;Flow determination unit, for being applied in the application rs traffic record sheet of statistical updating
The sum of the corresponding application program foreground flow of program and application program backstage normal consumption flow, just as the application program
Normal consumed flow, the corresponding application program backstage non-normal consumption of application program in the application rs traffic record sheet of statistical updating
Flow, the non-normal consumption flow as the application program;
Application program processing module, for determining that the non-normal consumption flow of application program is more than pre-set monitoring flow threshold
Value, is handled according to pre-set processing strategy.
19. device as claimed in claim 18, the non-normal consumption flow determining module is further used for:It is identical obtaining
Application program after, generate pending the application list, and an application is read from described pending the application list
Program executes the flow for the non-normal consumption flow for calculating the identical application program.
20. device as claimed in claim 19, the non-normal consumption flow determining module is further used for:
Determine the reading application program run time be more than pre-set download time threshold value, calculating it is described improper
Consumed flow is consumed flow of the application program of the reading after the download time threshold value.
21. device as claimed in claim 18, further comprises:
Start mark distribution module, for monitor it is communication device initiated after, for this time of the communication equipment allocation identification of startup
The startup of startup identifies.
22. device as claimed in claim 21, the startup mark distribution module include:Start mark acquiring unit and opens
Dynamic mark allocation unit, wherein
Start mark acquiring unit, for monitor it is communication device initiated after, read pre-stored application rs traffic note
Table is recorded, maximum startup mark in the application rs traffic record sheet is obtained;
Start mark allocation unit, maximum start that acquisition is identified as the startup of communication equipment of the secondary startup to be arranged identifies
Add 1.
23. device as claimed in claim 22, the application rs traffic record sheet include but not limited to:Application program identification
Field starts identification field, the time field of application program the last time operation, application program foreground normal consumption flow word
Section, application program backstage normal consumption flow field and application program backstage non-normal consumption flow field, wherein apply journey
Sequence foreground normal consumption flow and the normal consumption flow that application program backstage normal consumption flow is application program, application program
Backstage non-normal consumption flow is the non-normal consumption flow of application program.
24. device as claimed in claim 18, the non-normal consumption flow determining module is further used for obtaining application
It is corresponding to obtain normal consumption flow after the non-normal consumption flow of program.
25. device as claimed in claim 18, the comparing unit include:Pointer subelement, judges that son is single at traversal subelement
Member, pointer first handle subelement and pointer second processing subelement, wherein
Pointer subelement, it is corresponding for corresponding the application list of the currently monitored period and last monitoring cycle to be arranged
Pointer in the application list is respectively directed to top;
Subelement is traversed, for reading the application program that pointer is directed toward in corresponding the application list of the currently monitored period, time
The application program for obtaining that pointer is directed toward in the corresponding the application list of a upper monitoring cycle is gone through, and is sequentially compared;
Judgment sub-unit, whether the application program for judging to read is identical, if identical, notice pointer first handles sub single
Otherwise member notifies pointer second processing subelement;
Pointer first handles subelement, and for receiving notice, pointer in corresponding the application list of the currently monitored period is referred to
To application program be placed in pre-set pending the application list, and by corresponding application program of the currently monitored period
Pointer line down in list, notice traversal subelement;
Pointer second processing subelement refers to pointer in corresponding the application list of the currently monitored period for receiving notice
To application program be placed in pre-set foreground application list, by the pointer line down, notice traversal is single
Member.
26. device as claimed in claim 25, the comparing unit further comprises:
Application program delete subelement, for monitor pointer first handle subelement notice traversal subelement after, in deletion
The application program that pointer is directed toward in the corresponding the application list of one monitoring cycle.
27. device as claimed in claim 18, first inquiry and updating unit include:Reading subunit, application program
Flowmeter subelement, inquiry subelement, update subelement and judgment sub-unit, wherein
Reading subunit, for taking out an application program from the application list of foreground;
Application flow scale subelement is answered for obtaining recorded in corresponding the application list of the currently monitored period all
The flow consumed with program, is recorded in application flow scale;
Subelement is inquired, the flow information for inquiring the application program taken out from application flow scale;
Subelement is updated, inquiry application discharge record table is used for, the flow information for the application program that inquiry is obtained is assigned
It is worth to the application program foreground flow field in application rs traffic record sheet and updates startup identification field;
Judgment sub-unit takes out all application programs for judging whether from the application list of foreground, if so, terminating stream
Otherwise journey takes out the application program not being read, notice inquiry subelement from the application list of foreground.
28. device as claimed in claim 18, second inquiry and updating unit include:Take out subelement, application program
Flowmeter subelement, the first inquiry subelement, processing subelement, the second inquiry subelement, third inquiry subelement, the first assignment
Subelement, computation subunit, the second assignment subelement, third assignment subelement and Ergodic judgement unit, wherein
Subelement is taken out, for taking out an application program from pending the application list;
Application flow scale subelement is answered for obtaining recorded in corresponding the application list of the currently monitored period all
The flow consumed with program, is recorded in application flow scale;
First inquiry subelement, the flow information for inquiring the application program taken out from application flow scale;
Subelement is handled, inquiry application discharge record table is used for, judges whether the record of the application program of the taking-up,
If it does not, the second inquiry subelement is notified, if it does, notice third inquires subelement;
The flow information for the application program that inquiry obtains is assigned to using journey by the second inquiry subelement for receiving notice
What inquiry obtained in sequence discharge record table records corresponding application program backstage non-normal consumption flow field and updates startup mark
Character learning section, notifies Ergodic judgement unit;
Third inquire subelement, for inquire it is described record it is corresponding startup identify whether it is identical as mark is currently up, if
It differs, notifies the first assignment subelement, if identical, notify computation subunit;
The flow information for the application program that inquiry obtains is assigned to using journey by the first assignment subelement for receiving notice
Application program backstage non-normal consumption flow field in sequence discharge record table simultaneously updates startup identification field, notifies Ergodic judgement
Unit;
Computation subunit calculates current time and records corresponding application program the last time operation with described for receiving notice
Time difference, if difference in pre-set download time threshold value, notifies the second assignment subelement, otherwise, notice
Third assignment subelement;
The flow information for the application program that inquiry obtains is assigned to using journey by the second assignment subelement for receiving notice
Application program backstage normal consumption flow field in sequence discharge record table simultaneously updates startup identification field;
The flow information for the application program that inquiry obtains is assigned to using journey by third assignment subelement for receiving notice
Application program backstage non-normal consumption flow field in sequence discharge record table simultaneously updates startup identification field;
Ergodic judgement unit judges whether to have taken out all using journey in pending the application list for receiving notice
Sequence, if so, otherwise terminating flow reads the application program not being read in pending the application list, notifier processes
Subelement.
29. device as claimed in claim 28, second inquiry and updating unit further comprise:
Application program blacklist subelement, for third inquiry subelement inquiry it is described record it is corresponding startup identify whether with
It is currently up after mark differs, which is placed in pre-set application program blacklist.
30. device as claimed in claim 18, the monitoring flow threshold calculation formula are:
In formula,
δavTo monitor flow threshold;
ξ is correction factor;
δtFor flow moon set meal total amount or used last month, if user does not customize flow package, the flow that is used with last month
To substitute a moon set meal total amount;
D is the number of days for the current moon including.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410332545.2A CN105337783B (en) | 2014-07-14 | 2014-07-14 | Monitor the method and device of communication equipment non-normal consumption flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410332545.2A CN105337783B (en) | 2014-07-14 | 2014-07-14 | Monitor the method and device of communication equipment non-normal consumption flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105337783A CN105337783A (en) | 2016-02-17 |
CN105337783B true CN105337783B (en) | 2018-09-04 |
Family
ID=55288096
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410332545.2A Active CN105337783B (en) | 2014-07-14 | 2014-07-14 | Monitor the method and device of communication equipment non-normal consumption flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105337783B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108243271A (en) * | 2016-12-23 | 2018-07-03 | 北京安云世纪科技有限公司 | A kind of method, apparatus for carrying out flow control and mobile equipment |
CN108322354B (en) * | 2017-01-18 | 2020-10-23 | 中国移动通信集团河南有限公司 | Method and device for identifying running-stealing flow account |
WO2018145236A1 (en) * | 2017-02-07 | 2018-08-16 | 廖建强 | Flow control method and device |
CN107770092A (en) * | 2017-11-06 | 2018-03-06 | 珠海市魅族科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
CN109743755A (en) * | 2018-12-19 | 2019-05-10 | Oppo广东移动通信有限公司 | Link aggregation right management method and Related product |
CN112732356A (en) * | 2021-01-11 | 2021-04-30 | 江西中瑞防雷技术有限公司 | Data monitoring management system of intelligent platform system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041A (en) * | 2011-12-14 | 2012-06-27 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN103209439A (en) * | 2013-03-14 | 2013-07-17 | 北京小米科技有限责任公司 | Method, apparatus and device for monitoring data traffic |
CN103885803A (en) * | 2014-03-17 | 2014-06-25 | 可牛网络技术(北京)有限公司 | Method and device for managing procedures in mobile terminal and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120005602A1 (en) * | 2010-07-02 | 2012-01-05 | Nokia Corporation | Methods and apparatuses for facilitating task switching |
-
2014
- 2014-07-14 CN CN201410332545.2A patent/CN105337783B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102521041A (en) * | 2011-12-14 | 2012-06-27 | 华为终端有限公司 | Method for processing application program and wireless handheld device |
CN103209439A (en) * | 2013-03-14 | 2013-07-17 | 北京小米科技有限责任公司 | Method, apparatus and device for monitoring data traffic |
CN103885803A (en) * | 2014-03-17 | 2014-06-25 | 可牛网络技术(北京)有限公司 | Method and device for managing procedures in mobile terminal and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105337783A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105337783B (en) | Monitor the method and device of communication equipment non-normal consumption flow | |
CN105227626B (en) | Content pushing method and device and terminal | |
JP7304887B2 (en) | Virtual machine scheduling method and apparatus | |
CN106547578B (en) | Loading method and device of terminal application APP | |
CN107911487B (en) | Information pushing method and device, server and readable storage medium | |
EP2996366B1 (en) | Application recommendation method, system and server | |
CN109597685A (en) | Method for allocating tasks, device and server | |
CN106874273B (en) | Channel information statistical method, device and system | |
US8611852B2 (en) | Advice of promotion for usage based subscribers | |
US10305974B2 (en) | Ranking system | |
CN108243032B (en) | Method, device and equipment for acquiring service level information | |
CN108762885B (en) | Virtual machine creating method and device, management equipment and terminal equipment | |
CN110222264B (en) | Application program maintenance control method, device, terminal, server and storage medium | |
CN113485833B (en) | Resource prediction method and device | |
CN104461741B (en) | Graphics device interface based computing device optimizing method and device | |
CN109445911A (en) | Method of adjustment, device, cloud platform and the server of CVM example | |
CN110674434B (en) | Method and device for releasing browsing resources | |
CN109960572B (en) | Equipment resource management method and device and intelligent terminal | |
CN112669091B (en) | Data processing method, device and storage medium | |
CN113051526A (en) | Quantization evaluation method and device | |
CN107870811B (en) | Application cleaning method and device, storage medium and electronic equipment | |
CN110659125A (en) | Analysis task execution method, device and system and electronic equipment | |
CN105591980B (en) | A kind of bandwidth consumption management method and device | |
CN107729028A (en) | The method and apparatus of application program launching based on Android system | |
CN111611123B (en) | Data processing method, data processing system and equipment |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220727 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |