CN106452946A - Flow control method and terminal - Google Patents

Flow control method and terminal Download PDF

Info

Publication number
CN106452946A
CN106452946A CN201610838800.XA CN201610838800A CN106452946A CN 106452946 A CN106452946 A CN 106452946A CN 201610838800 A CN201610838800 A CN 201610838800A CN 106452946 A CN106452946 A CN 106452946A
Authority
CN
China
Prior art keywords
destination application
modem
terminal
waken
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201610838800.XA
Other languages
Chinese (zh)
Inventor
余超
庞振
李小虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610838800.XA priority Critical patent/CN106452946A/en
Publication of CN106452946A publication Critical patent/CN106452946A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the invention disclose a flow control method and a terminal. The method comprises that in a standby state, a modem receives a data packet of destination application; an inner nuclear layer receives a message that the modem is awakened and reports the message to a framework layer; and if an interface of the framework layer monitors the message, the flow statistical value of the destination application is obtained. According to the embodiment, in the standby state, the modem receives the data packet of the destination application, which means the modem is awakened, the inner nuclear layer receives the message that the modem is awakened and reports the message to the framework layer, and if the interface of the framework layer monitors the message, the flow statistical value of the destination application is obtained. The flow condition of the destination application is timely obtained when the modem is awakened, so that the real-time of obtaining the flow condition is improved.

Description

A kind of flow control methods and terminal
Technical field
The present invention relates to communication technical field, more particularly, to a kind of flow control methods and terminal.
Background technology
With the continuous development of intelligent terminal technology and Internet technology, intelligent terminal can be installed more and more should With program to enrich its function.Wherein, when using application program, the flow how application program being consumed is controlled It is one of emphasis of user's concern.
Content of the invention
The embodiment of the present invention provides a kind of flow control methods and terminal, obtains changes in flow rate situation with real-time.
Embodiments provide a kind of flow control methods, including:
In the standby state, modem receives the packet of destination application;
Inner nuclear layer receives the message that modem is waken up and reports ccf layer, and this message is received according to modem To determine to packet;
If the interface of ccf layer listens to message, obtain the traffic statistics value of destination application.
The embodiment of the present invention additionally provides a kind of terminal, including:
Receiving unit, the packet and modem for receiving destination application in the standby state is waken up Message, this message is according to modem gained;
Reporting unit, for by information reporting to ccf layer;
Acquiring unit, if for ccf layer interface listen to message, obtain destination application traffic statistics value.
The embodiment of the present invention, in the standby state, modem receives the packet of destination application, that is, represent and adjust Modulator-demodulator is waken up, and inner nuclear layer receives the message that modem is waken up and reports ccf layer, if the interface of ccf layer Listen to this message, then obtain the traffic statistics value of destination application.That is, the embodiment of the present invention is waken up in modem The very first time just got the traffic conditions of destination application, improve the real-time obtaining traffic conditions.
Brief description
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required use in embodiment being described below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow diagram of flow control methods first embodiment provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram of flow control methods second embodiment provided in an embodiment of the present invention;
Fig. 3 is the schematic flow diagram of flow control methods 3rd embodiment provided in an embodiment of the present invention;
Fig. 4 is the structural representation of terminal first embodiment provided in an embodiment of the present invention;
Fig. 5 is the structural representation of terminal second embodiment provided in an embodiment of the present invention;
Fig. 6 is the structural representation of terminal 3rd embodiment provided in an embodiment of the present invention;
Fig. 7 is the structural representation of terminal fourth embodiment provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment a part of embodiment that is the present invention, rather than whole embodiments.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " inclusion " and "comprising" indicate The presence of described feature, entirety, step, operation, element and/or assembly, but it is not precluded from one or more of the other feature, whole Body, step, operation, the presence of element, assembly and/or its set or interpolation.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Hereafter clearly indicate other situations, otherwise " one " of singulative, " one " and " being somebody's turn to do " are intended to including plural form.
It will be further appreciated that, used in description of the invention and appended claims, term "and/or" is Refer to any combinations of one or more of the associated item listed and be possible to combine, and include these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if [described condition or event] is detected " can be interpreted to mean according to context " once it is determined that " or " in response to true Fixed " or " once [described condition or event] is detected " or " in response to [described condition or event] is detected ".
In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc is just Portable device.It is to be further understood that in certain embodiments, described equipment not portable communication device, but have tactile Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, describe the terminal including display and touch sensitive surface.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control bar.
Refer to Fig. 1, be that the embodiment of the present invention provides a kind of schematic flow diagram of flow control methods first embodiment, such as Shown in figure, the method may include following steps:
S101, under holding state, modem receives the packet of destination application.Specifically, in holding state Under, modem (modem) can receive the packet that server is pushed, and packet is corresponding with application program.Example As if modem receives the QQ packet that Tengxun's server is pushed, using QQ as destination application.
S102, inner nuclear layer receives the message that modem is waken up and reports ccf layer.This message is according to modulation /demodulation Device receives packet to determine.Specifically, when modem receives packet, just represent modem and be waken up, now, inner nuclear layer connects Receive the message that modem is waken up and report ccf layer.
S103, if the interface of ccf layer listens to message, obtains the traffic statistics value of destination application.Specifically, The information reporting that modem is waken up by inner nuclear layer to ccf layer, persistently can be monitored to inner nuclear layer, works as prison by the interface of ccf layer When hearing the message that modem is waken up, then can start to obtain the traffic statistics value of destination application (as QQ).
In the present embodiment, when terminal is in holding state, waken up by the packet of destination application in modem The very first time in just got the traffic conditions of destination application, improve the real-time obtaining traffic conditions.
Refer to Fig. 2, be that the embodiment of the present invention provides a kind of schematic flow diagram of flow control methods second embodiment, such as Shown in figure, the method may include following steps:
S201, adds to drive waking up node to record whether modem is waken up.Specifically, using kernel Uevent mechanism, adds one and drives wake-up node wakeup to record whether modem is waken up.It should be noted that Uevent Mechanism is a kind of method that kernel notification android has state change, and such as USB line inserts, extracts, battery electric quantity change etc. It is that kernel sends (can pass through socket) character string Deng, its essence, application layer (android) receives and explains this character String is to obtain corresponding information.Drive and wake up the form that node is 64 byte longs, which stores the metadata of a file, Including file size, file owners, file access license method, file type and disk address table.In fact, this step Can simply be interpreted as:Create a file, the effect of this document is used to record whether modem is waken up, when being waken up When, numerical value 1 can be write in file.
S202, in the standby state, modem receives the packet of destination application.Specifically, packet is Data unit in ICP/IP protocol communications.Different application programs is by its corresponding server push correspondingly packet To modem.For example, in the standby state, Tengxun's server can push QQ packet to modem, and modem receives QQ packet, And using QQ as destination application.
S203, if receiving packet, is waken up with recording modem for 1 by driving wake-up node valuation.Tool Body ground, when modem receives the QQ packet that Tengxun's server is pushed, just represents modem and is waken up, now inner nuclear layer Node valuation will be waken up for 1 to driving, in file, write numerical value 1, this numerical value 1 will then represent that modem is waken up.
S204, if the interface of ccf layer listens to current driving wake-up node and is assigned 1, obtains destination application Traffic statistics value.Specifically, the architecture of Android system includes user's space, and user control includes application framework again Layer, application framework layer provides UEventObserver to monitor Uevent.When UEventObserver listens to current driving Wake up node wakeup and be assigned 1, application framework layer just learns that now modem is waken up by packet, start to obtain mesh The traffic statistics value of mark application program (as QQ).
In the present embodiment, make use of the Uevent mechanism of kernel, with the addition of a driving and wake up node wakeup to record Whether modenm is waken up, and by the monitoring to this node, just obtains intended application journey within the very first time that modem is waken up The traffic conditions of sequence, improve the real-time obtaining traffic conditions.
Refer to Fig. 3, be that the embodiment of the present invention provides a kind of schematic flow diagram of flow control methods 3rd embodiment, such as Shown in figure, the method may include following steps:
S301, adds to drive waking up node to record whether modem is waken up.Detailed process is as it was previously stated, here Repeat no more.
S302, in the standby state, modem receives the packet of destination application.For example, in holding state Under, Tengxun's server can push QQ packet to modem, and modem receives QQ packet, and using QQ as destination application.
S303, if receiving packet, is waken up with recording modem for 1 by driving wake-up node valuation.Tool Body ground, when modem receives the QQ packet that Tengxun's server is pushed, just represents modem and is waken up, now inner nuclear layer Node valuation will be waken up for 1 to driving, in file, write numerical value 1, this numerical value 1 will then represent that modem is waken up.
S304, the interface of ccf layer listens to current driving wake-up node and is assigned 1.
S305, obtains the traffic statistics value of destination application.Specifically, the architecture of Android system includes user Space, user control includes application framework layer again, and application framework layer provides UEventObserver to monitor Uevent.When UEventObserver listens to current driving wake-up node wakeup and has been assigned 1, and application framework layer is just learnt now Modem is waken up by packet, starts to obtain the traffic statistics value of destination application (as QQ).
Further, after the interface of ccf layer listens to the message that modem is waken up, first obtain packet corresponding Application program, such as QQ, as target program, and QQ is currently just in terminal operating, then obtains destination application (i.e. QQ) Relevant information, such as obtains RunningAppProcessInfo by the ActivityManager of Android, Uid (ID) information and pid (program identification) information of process, i.e. phase is preserved inside RunningAppProcessInfo Pass information refers to uid information and pid information, is disappeared in preset duration finally according to relevant information statistics destination application The flow of consumption.For example, presetting scheduled duration is 5 minutes, and the start time of this preset duration and finish time can be according to need Specifically set, can also be for different destination applications in addition and set different preset duration, such as QQ is set pre- If when a length of 5 minutes, preset duration is set as 30 minutes to U.S. group.During statistics flow, using the traffic monitoring class of Android TrafficStats just can obtain knows whether certain time (as preset duration) each uid interior has changes in flow rate, these streams Amount change is the increase of the corresponding program flow being led to due to the transmission of packet.For example, count uid pair of QQ in 5 minutes The changes in flow rate answered is 150kB then it represents that the flow that QQ was consumed in 5 minutes is 150kB.
S306, judges whether traffic conditions are abnormal, if so, execution step S307, conversely, execution step S308.Specifically, According to traffic statistics value, ccf layer determines whether the traffic conditions of destination application are abnormal.Specifically, user can be according to oneself Concrete needs inner nuclear layer arrange a white list, include multiple applications in this white list, and give tacit consent to the plurality of application be Trust application it is allowed to it maintains length to be connected with server when terminal (i.e. holding state) in a dormant state.Need explanation It is that the application being in white list is it should meet following condition:When terminal is descended in a dormant state, this application is with server even Connect consumed energy very little, can be ignored.Additionally, user also needs to set a flow threshold in inner nuclear layer, such as 1M.It is necessary to meet following two conditions simultaneously when specifically judging whether traffic conditions are abnormal:(1) destination application be in white In list;(2) flow is not less than flow threshold.If do not meet in above-mentioned two condition simultaneously, judge that traffic conditions are abnormal, Execution step S307, if above-mentioned two condition meets simultaneously, for example, QQ is in white list and the flow 150kB of QQ does not surpass Inflow-rate of water turbine threshold value 1M, then judge that traffic conditions are normal, execution step S308.
S307, ccf layer is disconnected destination application and is connected with the length of server, and forbids destination application standby Set up with server again under state and be connected.Understandably, when traffic conditions are abnormal, except step is adopted to destination application Outside the process of rapid S307, some correlations also can be set and remind, such as terminal is sounded the alarm or carried by the way of lamp flicker Awake user.
S308, is left intact to target program, and return to step S305.
It should be noted that the method in the present embodiment can carry out that differentiation to the networking passage of destination application, 2G, the 4G and WIFI flow for example target program being consumed counts.In the judgement whether follow-up traffic conditions are abnormal During, accordingly the traffic conditions of different networking passages are judged, finally can disconnect destination application and flow The abnormal networking passage of amount, and networking passage Traffic Anomaly not occurring to other does not do disconnection process.For example, when judging QQ When program occurs abnormal by the traffic conditions that 4G is consumed, then disconnect the 4G networking passage of QQ, stop QQ from passing through 4G and service Device connects, but now QQ can be attached with server by 2G or WIFI.Additionally, the present embodiment method and step S305 to S308 In, multiple destination applications can be carried out simultaneously, therefore it is abnormal to realize the traffic conditions to multiple destination applications simultaneously Process.
In the present embodiment, make use of the Uevent mechanism of kernel, with the addition of a driving and wake up node wakeup to record Whether modenm is waken up, and by the monitoring to this node, just obtains intended application journey within the very first time that modem is waken up The traffic conditions of sequence, whether abnormal such that it is able to obtain traffic conditions within the very first time, when abnormal, disconnecting target in time should With the network connection of program, forbid that this destination application is set up with server in the standby state again simultaneously and be connected, realize To the real-time control of flow it is achieved that prevent the purpose that flow is escaped in the standby state, it is to avoid because flow escape to Loss caused by family, also improves Consumer's Experience.
Refer to Fig. 4, be a kind of structural representation of flow control terminal first embodiment provided in an embodiment of the present invention, As illustrated, this terminal may include:
Receiving unit 10, packet and modem for receiving destination application in the standby state are waken up Message;Wherein, according to modem gained, packet is pushed this message by server;Specifically, work as modem When receiving packet, that is, represent modem and be waken up, thus obtaining above-mentioned message;
Reporting unit 11, for by information reporting to ccf layer;
Acquiring unit 12, if for ccf layer interface listen to message, obtain destination application traffic statistics Value.Further, acquiring unit 12 is first used for obtaining the ID of destination application, is used further to according to ID The traffic statistics value of statistics destination application;The concrete handling process of this part describes in detail front, therefore here is no longer superfluous State.
In the present embodiment, when terminal is in holding state, will pass through within the very first time that modem is waken up and connect Receive unit 10 and have received message, then by reporting unit 11 by this information reporting paper frame rack-layer, finally by acquiring unit 12 Listen to above-mentioned message and obtain the traffic statistics value of destination application, improve the real-time obtaining traffic conditions.
Refer to Fig. 5 again, be a kind of structural representation of flow control terminal second embodiment provided in an embodiment of the present invention Figure, as illustrated, on the basis of Fig. 4 terminal, this terminal also includes:
Adding device 23, wakes up node to record whether modem is waken up for adding to drive;
Assignment unit 24, wakes up node valuation for 1 to record modem for upon reception of the data packet, by driving It is waken up.
And, if the acquiring unit in the present embodiment 22 be additionally operable to listen to driving wake up node be assigned 1, obtain mesh The traffic statistics value of mark application program.
It should be noted that the specific workflow of adding device 23 and assignment unit 24 has done in method part in detail State, therefore will not be described here.And, receiving unit 20 in the present embodiment, reporting unit 21 and acquiring unit 22 are real with shown in Fig. 4 Apply receiving unit 10 in example, reporting unit 11 and acquiring unit 12 corresponding, therefore at this, its function is repeated no more.
In the present embodiment, make use of the Uevent mechanism of kernel, a driving be with the addition of by adding device 23 and wake up node Wakeup is to record whether modenm is waken up, and by acquiring unit 22, this node is monitored, and is waken up in modem Just obtain the traffic conditions of destination application in the very first time, improve the real-time obtaining traffic conditions.
Refer to Fig. 6 again, be a kind of structural representation of flow control terminal 3rd embodiment provided in an embodiment of the present invention Figure, as illustrated, on the basis of Fig. 5 terminal, this terminal also includes:
Default unit 35, for preset flow threshold value;Understandably, as described in the method for front, default unit 15 can be additionally used in Default white list;Specific setting up procedure is as it was previously stated, will not be described here;
Determining unit 36, whether the traffic conditions for determining destination application according to traffic statistics value are abnormal;Determine The specific workflow of unit 36 describes in detail in preceding method, therefore will not be described here;
Forbid unit 37, if for traffic conditions abnormal, forbid destination application in the standby state again with clothes Business device is set up and is connected.
It should be noted that receiving unit 30 in the present embodiment, reporting unit 31, acquiring unit 32, adding device 33, Receiving unit 20 in assignment unit 34 and embodiment illustrated in fig. 5, reporting unit 21, acquiring unit 22, adding device 23 and tax Value cell 24 is corresponding, therefore at this, its function is repeated no more.
By the present embodiment it is achieved that the real-time control to flow is it is achieved that prevent in the standby state in the standby state The purpose that fluid stopping amount is escaped, it is to avoid because flow is escaped to the loss caused by user, also improve Consumer's Experience.Additionally, this In embodiment, the workflow of each unit describes in detail in preceding method, therefore will not be described here.
Fig. 7 is a kind of structural representation of the terminal providing in fourth embodiment of the invention, as illustrated, this terminal bag Include:At least one processor 701, such as CPU, at least one user interface 703, memory 704, at least one communication bus 702.Wherein, communication bus 702 is used for realizing the connection communication between these assemblies.Wherein, user interface 703 can include showing Display screen (Display), keyboard (Keyboard), optional user interface 703 can also include the wireline interface of standard, wirelessly connect Mouthful.Memory 704 can be high-speed RAM memory or non-labile memory (non-volatile Memory), for example, at least one magnetic disc store.Memory 704 optionally can also be that at least one is located remotely from aforementioned place The storage device of reason device 701.Wherein processor 701 can store one in conjunction with the terminal described by Fig. 4,5 and 6 in memory 704 Group program code, and processor 701 calls the program code of storage in memory 704, for executing following operation:
In the standby state, modem receives the packet of destination application;
Inner nuclear layer receives the message that modem is waken up and reports ccf layer, and this message is received according to modem To determine to packet;
If the interface of ccf layer listens to message, obtain the traffic statistics value of destination application.
Alternatively, processor 701 is additionally operable to execute following operation:
Inner nuclear layer adds driving and wakes up node to record whether modem is waken up;
If receiving packet, inner nuclear layer is 1 by driving wake-up node valuation, is waken up with recording modem;
If the interface of ccf layer listens to driving, wake-up node is assigned 1, obtains the flow system of destination application Evaluation.
Alternatively, processor 701 is additionally operable to execute following operation:
According to traffic statistics value, ccf layer determines whether the traffic conditions of destination application are abnormal;
If traffic conditions are abnormal, ccf layer forbids that destination application is set up even with server in the standby state again Connect.
Specifically, whether extremely specifically included according to the traffic conditions that traffic statistics value determines destination application:
Inner nuclear layer preset flow threshold value;
If traffic statistics value exceedes flow threshold, ccf layer determines that the traffic conditions of target program are abnormal.
Specifically, the traffic statistics value obtaining destination application specifically includes:
Obtain the ID of destination application;
Count the traffic statistics value of target program according to ID.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description Unit and algorithm steps, can be with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware With the interchangeability of software, generally describe composition and the step of each example in the above description according to function.This A little functions to be executed with hardware or software mode actually, the application-specific depending on technical scheme and design constraint.Specially Industry technical staff can use different methods to each specific application realize described function, but this realization is not It is considered as beyond the scope of this invention.
Additionally, it should be understood that disclosed, terminal and method in several embodiments provided herein, permissible Realize by another way.For example, device embodiment described above is only schematically, for example, described unit Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.In addition, it is shown or beg for By coupling each other or direct-coupling or communication connection can be INDIRECT COUPLING by some interfaces, device or unit Or communication connection or electricity, machinery or other forms connect.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize embodiment of the present invention scheme Purpose.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present or two or more units are integrated in a unit.Above-mentioned integrated Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Step in present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replace Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain requiring is defined.

Claims (10)

1. a kind of flow control methods are it is characterised in that include:
In the standby state, modem receives the packet of destination application;
Inner nuclear layer receives the message that described modem is waken up and reports ccf layer, and described message is according to described modulatedemodulate Device is adjusted to receive described packet to determine;
If the interface of described ccf layer listens to described message, obtain the traffic statistics value of described destination application.
2. the method for claim 1 is it is characterised in that methods described also includes:
Described inner nuclear layer adds driving and wakes up node to record whether described modem is waken up;
If receiving described packet, described driving is waken up node valuation for 1 by described inner nuclear layer, to record described modulation /demodulation Device is waken up;
If the interface of described ccf layer listens to described driving wake-up node and is assigned 1, obtain described destination application Traffic statistics value.
3. the method for claim 1 is it is characterised in that methods described also includes:
According to described traffic statistics value, described ccf layer determines whether the traffic conditions of described destination application are abnormal;
If described traffic conditions are abnormal, described ccf layer forbid described destination application in the standby state again with service Device is set up and is connected.
4. method as claimed in claim 3 is it is characterised in that determine described destination application according to described traffic statistics value Traffic conditions whether extremely specifically include:
Described inner nuclear layer preset flow threshold value;
If described traffic statistics value exceedes described flow threshold, described ccf layer determines that the traffic conditions of described target program are different Often.
5. the method as described in any one of Claims 1-4 is it is characterised in that the flow of destination application as described in obtaining is united Evaluation specifically includes:
Obtain the ID of described destination application;
Count the described traffic statistics value of described target program according to described ID.
6. a kind of terminal is it is characterised in that include:
Receiving unit, what the packet and modem for receiving destination application in the standby state was waken up disappears Breath, described message is according to described modem gained;
Reporting unit, for by described information reporting to ccf layer;
Acquiring unit, if for described ccf layer interface listen to described message, obtain the stream of described destination application Amount statistical value.
7. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
Adding device, wakes up node to record whether described modem is waken up for adding to drive;
Assignment unit, if for receiving described packet, driving that to wake up node valuation be 1 to record described modulatedemodulate by described Device is adjusted to be waken up;
If described acquiring unit be additionally operable to listen to described drive wake up node be assigned 1, obtain described intended application journey The traffic statistics value of sequence.
8. terminal as claimed in claim 6 is it is characterised in that described terminal also includes:
Determining unit, whether the traffic conditions for determining described destination application according to described traffic statistics value are abnormal;
Forbid unit, if for described traffic conditions abnormal, forbid described destination application in the standby state again with Server is set up and is connected.
9. terminal as claimed in claim 8 is it is characterised in that described terminal also includes:
Default unit, for preset flow threshold value;
If described determining unit for described traffic statistics value exceed described flow threshold, determine described destination application Traffic conditions are abnormal.
10. the terminal as described in any one of claim 6-9 is it is characterised in that described acquiring unit is used for obtaining described target The ID of application program and the described traffic statistics value counting described destination application according to described ID.
CN201610838800.XA 2016-09-21 2016-09-21 Flow control method and terminal Withdrawn CN106452946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610838800.XA CN106452946A (en) 2016-09-21 2016-09-21 Flow control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610838800.XA CN106452946A (en) 2016-09-21 2016-09-21 Flow control method and terminal

Publications (1)

Publication Number Publication Date
CN106452946A true CN106452946A (en) 2017-02-22

Family

ID=58165843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610838800.XA Withdrawn CN106452946A (en) 2016-09-21 2016-09-21 Flow control method and terminal

Country Status (1)

Country Link
CN (1) CN106452946A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777679A (en) * 2018-05-22 2018-11-09 深信服科技股份有限公司 Flow access relation generation method, device and the readable storage medium storing program for executing of terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267361A (en) * 2008-05-09 2008-09-17 武汉飞思科技有限公司 A high-speed network data packet capturing method based on zero duplication technology
CN103209439A (en) * 2013-03-14 2013-07-17 北京小米科技有限责任公司 Method, apparatus and device for monitoring data traffic
CN104346137A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Application network management method, system, and computer readable storage medium
CN105281965A (en) * 2014-06-12 2016-01-27 腾讯科技(深圳)有限公司 Traffic acquisition method and traffic acquisition device based on IOS
US20160134500A1 (en) * 2014-11-12 2016-05-12 Acer Incorporated Maintenance method for network connection and computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267361A (en) * 2008-05-09 2008-09-17 武汉飞思科技有限公司 A high-speed network data packet capturing method based on zero duplication technology
CN103209439A (en) * 2013-03-14 2013-07-17 北京小米科技有限责任公司 Method, apparatus and device for monitoring data traffic
CN104346137A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Application network management method, system, and computer readable storage medium
CN105281965A (en) * 2014-06-12 2016-01-27 腾讯科技(深圳)有限公司 Traffic acquisition method and traffic acquisition device based on IOS
US20160134500A1 (en) * 2014-11-12 2016-05-12 Acer Incorporated Maintenance method for network connection and computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108777679A (en) * 2018-05-22 2018-11-09 深信服科技股份有限公司 Flow access relation generation method, device and the readable storage medium storing program for executing of terminal
CN108777679B (en) * 2018-05-22 2021-09-17 深信服科技股份有限公司 Method and device for generating traffic access relation of terminal and readable storage medium

Similar Documents

Publication Publication Date Title
CN102306954B (en) Intelligent power consumption information interactive management system
CN102902583B (en) Managing process under suspended state and executing state
JP2006349483A (en) Electric power consumption monitoring system
EP2795855B1 (en) System and method for using a network to control a power management system
JP2009175159A (en) Electric power consumption monitoring system
CN106372820A (en) Automatic payment reminding method and system
CN105116990B (en) A kind of smart mobile phone running environment Automatic Optimal and power-saving method and system
CN103218307B (en) Internal storage management system and EMS memory management process
CN105700663A (en) Background program cleaning method and system for mobile terminal
CN102520300B (en) A kind of circuit short-circuit fault detection method and system
CN104184884A (en) Device and method for managing and controlling power consumption of mobile terminal and mobile terminal
CN105388991A (en) Timing wake-up processing system and method
CN110489062A (en) A kind of disk expansion method and system based on OpenStack environment
CN102999384A (en) Managing processes within suspend states and execution states
CN109410068A (en) Electronic device, the electric power data Missing Data Filling method based on XGBoost and storage medium
CN107678782A (en) A kind of process protection method, device, equipment and computer-readable recording medium
US8806246B1 (en) Enforcing and complying with a computing device power policy
CN103902011A (en) Electronic device controlling method and electronic device
CN102104847B (en) Short message monitoring method based on flow and call-initiating areas
CN104346563A (en) Information processing method and electronic equipment
CN106293709A (en) The management method of application program, managing device and terminal
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
CN105137779A (en) Information processing method and smart home environment control equipment
CN106452946A (en) Flow control method and terminal
CN106301804B (en) A kind of server that realizing Wake on LAN, system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170222

WW01 Invention patent application withdrawn after publication