Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein, only for description and interpretation the present invention, is not intended to limit the present invention.
Fig. 1 is a kind of terminal equipment flow control methods that the embodiment of the present invention one provides, and the method comprises:
S101, terminal equipment receives the instruction of turn-on flow rate control model.
The instruction of this turn-on flow rate control model can according to system suggestion be selected to trigger by the user, or is triggered by user's active operation.
S102, the network that network connects and retention system is served that disconnects the application of current running background connects.
After terminal equipment is received the instruction of turn-on flow rate control model, enter flow control mode.Under flow control mode, system detects current in the application of front stage operation and the application of running background, and make the application of system service and front stage operation can accesses network, the application of other all running backgrounds all can not accesses network, disconnects network and connects.For example, " account with synchronize setting " in cell phone system service, " downloaded stored ", " media sync ", " location-based service " etc., only allow the above-mentioned system service that these need network to connect and currently just in the application of front stage operation, continue accesses network, and the application of other running backgrounds all can not accesses network.Like this, after entering flow control mode, current just in the application of running background still in operation, but its network connects and is disconnected, thereby makes the application of running background can't accesses network.
In another embodiment, after entering flow control mode, the network that can disconnect current all application connects, and comprises current at front stage operation and in whole application of running background, only allow the system service can accesses network, thereby further prevent the waste of flow.
The embodiment of the present invention one provides a kind of terminal equipment flow control mode, only allow system service and at the application access network of front stage operation under this flow control mode, avoid at other application access networks of running background and consumed flow, perhaps only allow the system service accesses network, in the situation that online set meal residual flow is few, utilize accurately residual flow, prevent that the inessential of data traffic from being used and wasting.
Fig. 2 is a kind of terminal equipment flow control methods that the embodiment of the present invention two provides, and the method comprises:
S201, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S202, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S203, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.
The recovery instruction of this application, the selection that comes from the user triggers, and when the user being detected and selecting to move certain background application or open the window interface of certain background application, triggers the recovery instruction of corresponding application.It can be the operation behavior of selecting or opening in program library that this user's selection triggers, and the operation behavior that yet can in historical record, select or open, do not limit concrete application choice operation here or open the mode at its interface.
When terminal equipment receives the recovery instruction of background application, corresponding application is proceeded to front stage operation.For example, the application of running background comprises application A, application B, these three application of application C, when the user selects to apply A recovery front stage operation, this application A is proceeded to front stage operation.In another embodiment, in the situation that the disposal ability of terminal equipment allows, a plurality of application can be proceeded to front stage operation, for example, application A, application B can be proceeded to front stage operation, even the application of all running backgrounds all be proceeded to front stage operation.
Under flow control mode, to the application that enters front stage operation, can allow its network to connect, now only have the application of system service and front stage operation can accesses network, other application still can't accesses network.
In another embodiment of the present invention, corresponding application is proceeded to front stage operation and also comprise afterwards: detect the network demand of application, if application has the interconnection network demand, allow the network of applying to connect; If application does not have the interconnection network demand, do not allow the network of application to connect.Whether detect the network demand of application, detecting application needs to be connected in the Internet.Application such as some mobile phone games, player, E-book reader, without being connected to the Internet, also can use in this locality, for this class application, under flow control mode, even the user selects operation or opens its interface, make it proceed to front stage operation, do not allow its accesses network yet, only to the open authority of the application that really needs accesses network, application such as browser class, instant messaging class, social class, searching class.
The embodiment of the present invention two provides a kind of terminal equipment flow control mode, only allow system service and in the certain applications accesses network of front stage operation under this flow control mode, avoid at other application access networks of running background and consumed flow, for the application at running background, if described application interface is opened and uses, trigger the recovery instruction for this application, make it proceed to front stage operation can accesses network, thereby in the situation that online set meal residual flow is few, utilize more accurately residual flow, prevent that the inessential of data traffic from being used and wasting.
Fig. 3 is that the present invention is a kind of terminal equipment flow control methods that embodiment tri-provides, and the method comprises:
S301, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S302, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S303, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S304, when terminal equipment receives the return instruction of the application of front stage operation, proceed to running background by corresponding application.
The return instruction of application can trigger from user's selection.For example, thereby the user clicks the interface that the return key of mobile phone has exited the application of front stage operation, trigger the return instruction of application, it should be noted that, what trigger is return instruction rather than exit instruction, be not to close this application or exit this application, just application proceeded to the system running background.Under flow control mode, only allow the network of the application of system service and front stage operation to connect, the network that is proceeded to the application of system running background connects and will be disconnected, and prevents that it is connected to the Internet and carries out transfer of data and waste flow with corresponding server.
When terminal equipment receives the return instruction of foreground application, corresponding application is proceeded to running background.For example, the application of front stage operation comprises application A, application B, these three application of application C, when the user selects to exit the interface of application A and returns to running background, this application A is proceeded to running background.In another embodiment, in the situation that the disposal ability of terminal equipment allows, a plurality of application can be proceeded to running background, for example, application A, application B can be proceeded to running background, even the application of all front stage operations all be proceeded to running background.
The return instruction of application can also be triggered automatically by terminal equipment.For example, any operational order is not received in the application of front stage operation within a certain period of time, and system triggers is for the return instruction of this application and corresponding application is proceeded to running background; Perhaps the interface of the application of front stage operation is not presented at forefront, but the front of the interface display of other application in this application arranged, system triggers is for the return instruction of the application that is not presented at forefront and corresponding application is proceeded to running background, under flow control mode, the network that proceeds to the application of running background connects and will be disconnected, thereby can't accesses network.
The mode that two kinds of terminal equipments trigger the return instruction of application is automatically below described respectively.
A kind of terminal equipment flow control methods as shown in Figure 4, the method comprises:
S401, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S402, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S403, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S404, terminal equipment obtains the nothing operation duration of each application of front stage operation.
For the application that proceeds to front stage operation and allow its network to connect, terminal equipment will obtain the duration of not receiving any operational order of each application of front stage operation, i.e. the nothing operation duration of each application of front stage operation.
S405, when without the operation duration, surpassing the default duration, terminal equipment triggers the return instruction of corresponding application.
The nothing operation duration of the application of terminal equipment accumulative total front stage operation is while surpassing the default duration, as two minutes, any operational order is not received in the application of this front stage operation yet, and terminal equipment triggers the return instruction for the application of corresponding front stage operation automatically.
S406, when terminal equipment receives the return instruction of the application of front stage operation, proceed to running background by corresponding application and disconnect the network connection of applying.
When terminal equipment receives for the return instruction of the application of front stage operation, will be within the default duration without the foreground application of any operation, proceed to running background and disconnect the network connection of this application, make this application can't accesses network, thereby prevent the surfing flow waste.
A kind of terminal equipment flow control methods as shown in Figure 5, the method comprises:
S501, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S502, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S503, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S504, terminal equipment detects the display position of each application interface window of front stage operation.
The application that is proceeded to front stage operation and allow network to connect, up front whether the interfaces windows display position of each application of terminal equipment detection front stage operation.Interfaces windows is presented at top application, and the application that normally user is using or paying close attention to needs the possibility of interconnection network larger.Be not presented at top application for interfaces windows, usually representative of consumer is current does not use or pays close attention to, there is no need to be connected to network, in order to reach the purpose of saving flow, need each the application interface window that detects front stage operation whether to be presented at foremost.
S505, when the application interface window does not show up front, terminal equipment triggers the return instruction of corresponding application.
When terminal equipment detects when the interfaces windows of front stage operation and application that can accesses network is not presented at foremost, judge that corresponding application is current by the user, is not used or pays close attention to, trigger the return instruction for this application.
S506, when terminal equipment receives the return instruction of the application of front stage operation, proceed to running background by corresponding application and disconnect the network connection of applying.
When terminal equipment receives the return instruction of the application of front stage operation, interfaces windows is not presented to the network that top application proceeds to running background and disconnect this application and connects, make this application can't accesses network, thereby avoid waste surfing flow.
Above two kinds are automatically detected and trigger by terminal equipment and also can carry out the method for the return instruction of the application of front stage operation simultaneously.For example, terminal equipment first detects the display position of interfaces windows of the application of front stage operation, if the interfaces windows of the application of certain front stage operation is not presented at foremost, triggers the return instruction of corresponding application; Be presented at top application for interfaces windows, terminal equipment obtains this application without the operation duration, if without operating the default duration that the duration surpasses, trigger the return instruction of corresponding application, if the nothing operation duration of this application does not surpass the default duration, continue to keep this to be applied in front stage operation and allow its network to connect.
The embodiment of the present invention three only allows system service and in the certain applications accesses network of front stage operation under flow control mode, avoid at other application access networks of running background and consumed flow, in the situation that online set meal residual flow is few, utilize more accurately residual flow, prevent that the inessential of data traffic from being used and wasting; For at front stage operation and allow the application of accesses network, while according to user's operation or according to the display position without operation duration and interfaces windows of this application, judging that this application does not need interconnection network, corresponding application is proceeded to running background and disconnect its network connection, thereby avoid waste surfing flow.
Fig. 6 is a kind of terminal equipment flow control methods that the invention process four provides, and the method comprises:
S601, terminal equipment detects the data flow value of accumulative total in default measurement period.
The measurement period of default accumulative total surfing flow in terminal equipment, measurement period can be consistent with the metering period of online set meal, or by the user, measurement period is set voluntarily, for example, by being added up in every day or each week, so that the user accurately controls surfing flow.Cumulative data flow value in the terminal equipment detection statistics cycle, after entering new measurement period by the data flow value zero clearing of accumulative total and restart accumulative total.
S602, when the data flow value of accumulative total surpasses predetermined threshold value, terminal equipment generates and shows that information is with prompting user turn-on flow rate control model.
Predetermined threshold value can be arranged according to the flow standard of online set meal, the flow standard of set meal of for example surfing the Net is 30M per month, predetermined threshold value can be made as 25M, perhaps according to percentage, arranged, the data traffic that accumulative total for example is set arrive the online set meal flow standard 80% the time generate and show information.
In same measurement period, when the data traffic of accumulative total surpasses predetermined threshold value, generate and show information, information is for pointing out user's turn-on flow rate control model, to avoid integrated flow value in the measurement period flow standard over the set meal of surfing the Net.
S603, when terminal equipment receives the confirmation the instruction of information, trigger the instruction of turn-on flow rate control model.
Confirm that the instruction of information comes from user's selection or clicking operation, the user confirms the instruction generated after information, while receiving the instruction of confirming information, triggers the instruction of turn-on flow rate control model.
S604, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S605, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S606, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
Flow control mode also can initiatively be opened by the user, and the user is by clicking initiatively turn-on flow rate control model of corresponding menu item, and as shown in Figure 7, the method comprises corresponding method flow:
S701, terminal equipment is according to turn-on flow rate control model menu instructions, the menu of load traffic control model.
Turn-on flow rate control model menu instructions is from user's setting operation.Terminal equipment is according to the menu of turn-on flow rate control model menu instructions load traffic control model.The system that the menu of flow control mode can be carried in terminal equipment arranges in menu, or is carried in the application library of terminal equipment and shows the user in the mode of menu item or icon.
S702, when terminal equipment receives the confirmation the startup menu item in choice menus, trigger the instruction of turn-on flow rate control model.
Confirm that the startup menu item in choice menus comes from user's selection or clicking operation, the system that user clicks terminal equipment arranges the menu item in menu, or the menu item in the terminal equipment application library or icon.When terminal equipment receives the confirmation the startup menu item in choice menus, trigger the instruction of turn-on flow rate control model.
S703, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S704, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S705, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
Terminal equipment can possess the mode of above-mentioned two kinds of turn-on flow rate control models simultaneously, both can notify user's turn-on flow rate control model by detecting after the integrated flow value reaches predetermined threshold value, also can at any time directly initiatively select the turn-on flow rate control model by the user.
The embodiment of the present invention four only allows system service and in the certain applications accesses network of front stage operation under flow control mode, avoid at other application access networks of running background and consumed flow, in the situation that online set meal residual flow is few, utilize more accurately residual flow, prevent that the inessential of data traffic from being used and wasting; Terminal equipment can be by detecting the integrated flow value and notifying user's turn-on flow rate control model, also can be by user's turn-on flow rate control model initiatively at any time according to actual needs.
Fig. 8 is a kind of terminal equipment flow control methods that the embodiment of the present invention five provides, and the method comprises:
S801, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S802, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S803, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S804, when terminal equipment receives the instruction of closing flow control mode, recover the application network access before of turn-on flow rate control model and arrange.
The instruction of closing flow control mode can operate triggering by the user, and the user clicks the menu item of closing flow control mode; Also can automatically be triggered by terminal equipment, for example terminal equipment was judged and has been entered next traffic statistics during the cycle according to the current time, triggered the instruction of closing flow control mode.
When terminal equipment receives the instruction of closing flow control mode, exit flow control mode, return to the application network access before of turn-on flow rate control model and arrange, no longer only allow the network of the application of system service and front stage operation to connect.
As shown in Figure 9, the method comprises the another kind of terminal equipment flow control methods that the embodiment of the present invention five provides:
S901, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S902, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S903, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S904, when terminal equipment receives the return instruction of the application of front stage operation, proceed to running background by corresponding application.Identical with the S304 implementation procedure, do not do repeat specification at this.
S905, when terminal equipment receives the instruction of closing flow control mode, recover the application network access before of turn-on flow rate control model and arrange.Identical with the S804 implementation procedure, do not do repeat specification at this.
The embodiment of the present invention five only allows system service and in the certain applications accesses network of front stage operation under flow control mode, avoid at other application access networks of running background and consumed flow, in the situation that online set meal residual flow is few, utilize more accurately residual flow, prevent that the inessential of data traffic from being used and wasting; For at front stage operation and allow the application of accesses network, while according to user's operation or according to this application, without the display position of operation duration and interfaces windows, judging that this application does not need interconnection network, corresponding application proceeded to running background and do not allow its accesses network, thereby avoid waste surfing flow, flow control mode can initiatively be closed according to actual needs by the user, also can after judgement enters next measurement period, be closed voluntarily by terminal equipment.
Figure 10 is a kind of mobile phone flow control methods that the embodiment of the present invention six provides, and the method comprises:
S1001, terminal equipment detects the data flow value of accumulative total in default measurement period.Identical with the S601 implementation procedure, do not do repeat specification at this.
S1002, when the data flow value of accumulative total surpasses predetermined threshold value, terminal equipment generates and shows that information is with prompting user turn-on flow rate control model.Identical with the S602 implementation procedure, do not do repeat specification at this.
S1003, when terminal equipment receives the confirmation the instruction of information, trigger the instruction of turn-on flow rate control model.Identical with the S603 implementation procedure, do not do repeat specification at this.
S1004, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S1005, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S1006, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S1007, when terminal equipment receives the return instruction of the application of front stage operation, proceed to running background by corresponding application.Identical with the S304 implementation procedure, do not do repeat specification at this.
S1008, when terminal equipment receives the instruction of closing flow control mode, recover the application network access before of turn-on flow rate control model and arrange.
The instruction of closing flow control mode is triggered automatically by terminal equipment, after when terminal equipment, according to the current time, judgement enters new measurement period, the data on flows value zero clearing of accumulative total is also triggered to the instruction of closing flow control mode, after terminal equipment is closed flow control mode, return to the application network access before of turn-on flow rate control model and arrange, no longer only allow the network of the application process of system service and front stage operation to connect.
The data flow value that the embodiment of the present invention six systems add up by detection is also notified user's turn-on flow rate control model, only allow system service and in the certain applications accesses network of front stage operation under flow control mode, avoid at other application access networks of running background and consumed flow, in the situation that online set meal residual flow is few, utilize more accurately residual flow, prevent that the inessential of data traffic from being used and wasting; For at front stage operation and allow the application of accesses network, judge that according to user's operation or according to the display position of nothing operation duration and interfaces windows this application does not need interconnection network, corresponding application proceeded to running background and do not allow this application access network, thereby avoid waste surfing flow, after terminal equipment was judged and to be entered next measurement period according to the current time, automatically close flow control mode and the application network access that returns to before the turn-on flow rate control model arranges.
Figure 11 is a kind of terminal equipment flow control methods that the embodiment of the present invention seven provides, and the method comprises:
S1101, terminal equipment, according to turn-on flow rate control model menu instructions, loads the menu of described flow control mode.Identical with the S701 implementation procedure, do not do repeat specification at this.
S1102, when terminal equipment receives the confirmation the startup menu item in choice menus, trigger the instruction of turn-on flow rate control model.Identical with the S702 implementation procedure, do not do repeat specification at this.
S1103, terminal equipment receives the instruction of turn-on flow rate control model.Identical with the S101 implementation procedure, do not do repeat specification at this.
S1104, the network that network connects and retention system is served that terminal equipment disconnects the application of current running background connects.Identical with the S102 implementation procedure, do not do repeat specification at this.
S1105, when terminal equipment receives the recovery instruction of the application of running background, proceed to front stage operation by corresponding application.Identical with the S203 implementation procedure, do not do repeat specification at this.
S1106, when terminal equipment receives the return instruction of the application of front stage operation, proceed to running background by corresponding application.Identical with the S304 implementation procedure, do not do repeat specification at this.
S1107, when terminal equipment receives the instruction of closing flow control mode, recover the application network access before of turn-on flow rate control model and arrange.
The instruction of closing flow control mode operates triggering by the user, when the user clicks the menu item close flow control mode or icon, terminal equipment triggers the instruction of closing flow control mode, after closing flow control mode, return to the application network access before of turn-on flow rate control model and arrange, no longer only allow the network of the application of system service and front stage operation to connect.
The embodiment of the present invention seven terminal equipments are according to user's operational order turn-on flow rate control model, the user can be according to actual needs turn-on flow rate control model at any time, only allow system service and in the certain applications accesses network of front stage operation under flow control mode, avoid at other application access networks of running background and consumed flow, in the situation that online set meal residual flow is few, utilize more accurately residual flow, prevent that the inessential of data traffic from being used and wasting; For at front stage operation and allow the application of accesses network, while according to user's operation or according to the display position of nothing operation duration and interfaces windows, judging that this application does not need interconnection network, corresponding application is proceeded to running background and do not allow this application access network, thereby avoid waste surfing flow.Terminal equipment is closed flow control mode according to user's operational order, and the user can close flow control mode according to actual needs at any time, makes the opening and closing of flow control mode more flexible, farthest to meet consumers' demand.
Accordingly, the embodiment of the present invention one provides a kind of terminal equipment volume control device, and as shown in figure 12, this volume control device comprises:
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background.
In another embodiment of the present invention, when describedprocessing module 211 connects for the network of the application that disconnects current running background, the network that disconnects the application of current front stage operation connects.
Accordingly, the embodiment of the present invention two provides a kind of terminal equipment volume control device, and as shown in figure 13, this volume control device comprises:
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation.
In another embodiment of the present invention, as shown in figure 14, this volume control device also comprises:
Demand detection module 224, proceed to after module proceeds to front stage operation by corresponding application for described foreground, detects the network demand of described application; If described application has the interconnection network demand, allow the network of described application to connect; If described application does not have the interconnection network demand, do not allow the network of described application to connect.
Accordingly, the embodiment of the present invention three provides a kind of terminal equipment volume control device, and as shown in figure 15, this volume control device comprises:
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation;
Backstage proceeds tomodule 213, when receiving the return instruction to the application of front stage operation, corresponding application is proceeded to running background.
In another embodiment of the present invention, as shown in figure 16, this volume control device also comprises:
Acquisition module 214, for each application of obtaining front stage operation without the operation duration;
Thefirst trigger module 215, for when the described nothing operation duration surpasses the default duration, trigger the return instruction of corresponding application.
In another embodiment of the present invention, as shown in figure 17, this flow-control module also comprises:
First detection module 216, for detection of the display position of each application interface window of front stage operation;
Thesecond trigger module 217, for not showing when described application interface window, trigger the return instruction of corresponding application up front.
Accordingly, the embodiment of the present invention four provides a kind of terminal equipment volume control device, and as shown in figure 18, this volume control device comprises:
Thesecond detection module 218, for detection of the data flow value of accumulative total in default measurement period;
Remindingmodule 219, while for the data flow value when accumulative total, surpassing predetermined threshold value, generate and show that information is with prompting user turn-on flow rate control model;
The3rd trigger module 220, while receiving the confirmation the instruction of information, trigger the instruction of turn-on flow rate control model;
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation.
The another kind of terminal equipment volume control device that the embodiment of the present invention four provides, as shown in figure 19, this volume control device comprises:
Load-on module 221, for according to turn-on flow rate control model menu instructions, load the menu of described flow control mode;
The 4th trigger module 222, when receiving the confirmation the startup menu item of selecting described menu, trigger the instruction of described turn-on flow rate control model;
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation.
Accordingly, the embodiment of the present invention five provides a kind of terminal equipment volume control device, and as shown in figure 20, this volume control device comprises:
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation;
Recovermodule 223, when receiving the instruction of closing flow control mode, the application network access recovered before the turn-on flow rate control model arranges.
The embodiment of the present invention five provides another kind of terminal equipment volume control device, and as shown in figure 21, this volume control device comprises:
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current running background;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation;
Backstage proceeds tomodule 213, when receiving the return instruction to the application of front stage operation, corresponding application is proceeded to running background;
Recovermodule 223, when receiving the instruction of closing flow control mode, the application network access recovered before the turn-on flow rate control model arranges.
Accordingly, the embodiment of the present invention six provides a kind of terminal equipment volume control device, and as shown in figure 22, this volume control device comprises:
Thesecond detection module 218, for detection of the data flow value of accumulative total in default measurement period;
Remindingmodule 219, while for the data flow value when accumulative total, surpassing predetermined threshold value, generate and show that information is with prompting user turn-on flow rate control model;
The3rd trigger module 220, while receiving the instruction of confirming information, trigger the instruction of turn-on flow rate control model;
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current operation;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation;
Backstage proceeds tomodule 213, when receiving the return instruction to the application of front stage operation, corresponding application is proceeded to running background;
Recovermodule 223, when receiving the instruction of closing flow control mode, the application network access recovered before the turn-on flow rate control model arranges.
Accordingly, the embodiment of the present invention seven provides a kind of terminal equipment volume control device, and as shown in figure 23, this volume control device comprises:
Load-on module 221, for according to turn-on flow rate control model menu instructions, load the menu of described flow control mode;
The 4th trigger module 222, when receiving the confirmation the startup menu item of selecting described menu, trigger the instruction of described turn-on flow rate control model;
Receiver module 210, for receiving the instruction of turn-on flow rate control model;
Processing module 211, connect and the network of retention system service connects for the network of the application that disconnects current operation;
Foreground proceeds tomodule 212, when receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation;
Backstage proceeds tomodule 213, when receiving the return instruction to the application of front stage operation, corresponding application is proceeded to running background;
Recovermodule 223, when receiving the instruction of closing flow control mode, the application network access recovered before the turn-on flow rate control model arranges.
The embodiment of the present invention also proposes a kind of terminal equipment, and Figure 24 is a kind of terminal equipment structural representation that the embodiment of the present invention provides.Referring to Figure 24, the terminal equipment flow control methods that this terminal equipment can provide for implementing above-described embodiment.Preferably, the residing hardware environment of browser of following support running client script (as the javascript script) or support W3C proposition HTML5 standard is example:
Terminal equipment 800 can comprisecommunication unit 110, includes thememory 120 of one or more computer-readable recording mediums,input unit 130,display unit 140,transducer 150,voicefrequency circuit 160,wireless communication unit 170, include the parts such as theprocessor 180 of processing core more than one or one and power supply 190.It will be understood by those skilled in the art that the terminal equipment structure shown in Figure 24 does not form the restriction to terminal equipment, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 110 is the RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, will relate to up data and send to base station.Usually, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, code division multiple access), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, but the required application (such as sound-playing function, image player function etc.) of storage program district storage operation system, at least one function etc.; The data (such as voice data, phone directory etc.) that the use according to terminal equipment 800 creates etc. can be stored in the storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with the user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect the user or near touch operation (use any applicable objects such as finger, stylus or annex such as the user on touch-sensitive surperficial 131 or near the operation touch-sensitive surperficial 131) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
Display unit 140 can be used for demonstration by the information of user's input or offers user's information and the various graphical user interface ofterminal equipment 800, and these graphical user interface can consist of figure, text, icon, video and its combination inany.Display unit 140 can comprisedisplay floater 141, optionally, can adopt LCD(Liquid Crystal Display, liquid crystal display), OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. form configure display floater 141.Further, touch-sensitive surperficial 131 can coverdisplay floater 141, when touch-sensitive surperficial 131 detect thereon or near touch operation after, sendprocessor 180 to determine the type of touch event, withpreprocessor 180, according to the type of touch event, provide corresponding vision output on display floater 141.Although in Figure 24, touch-sensitive surperficial 131 withdisplay floater 141 be as two independently parts realize input and input function, in certain embodiments, can by touch-sensitive surperficial 131 anddisplay floater 141 integrated and realize the input and output function.
Terminal equipment 800 also can comprise at least onetransducer 150, such as optical sensor, motion sensor and other transducers.Optical sensor can comprise ambient light sensor and proximity transducer, wherein, ambient light sensor can be regulated according to the light and shade of ambient light the brightness ofdisplay floater 141, and proximity transducer can, whenterminal equipment 800 moves in one's ear, cut outdisplay floater 141 and/or backlight.A kind of as motion sensor, Gravity accelerometer can detect on all directions the size of the acceleration that (is generally three axles), size and the direction of gravity be can detect when static, application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, knock) of mobile phone attitude etc. can be used for identifying; As forterminal equipment 800 other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 160,loud speaker 161,microphone 162 can provide the audio interface between user and terminal equipment 800.Voicefrequency circuit 160 can be transferred toloud speaker 161 by the signal of telecommunication after the voice data conversion received, and byloud speaker 161, is converted to voice signal output; On the other hand,microphone 162 is converted to the signal of telecommunication by the voice signal of collection, be converted to voice data after being received byvoicefrequency circuit 160, after again voicedata output processor 180 being processed, to send to such as another terminal equipment, or export voice data tomemory 120 in order to further process through RF circuit 110.Voicefrequency circuit 160 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone andterminal equipment 800 to be provided.
In order to realize radio communication, can disposewireless communication unit 170 on this terminal equipment, thiswireless communication unit 170 can be the WiFi module.WiFi belongs to the short range wireless transmission technology,terminal equipment 800 bywireless communication unit 170 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Figure 24 showswireless communication unit 170, be understandable that, it does not belong to must forming ofterminal equipment 800, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 180 is control centres ofterminal equipment 800, utilize the various piece of various interface and the whole mobile phone of connection, be stored in software program and/or the module inmemory 120 by operation or execution, and call the data that are stored inmemory 120, carry out various functions and the deal with data ofterminal equipment 800, thereby mobile phone is carried out to integral monitoring.Optionally,processor 180 can comprise one or more processing cores; Preferably,processor 180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated inprocessor 180.
Terminal equipment 800 also comprises that the power supply 190(powered to all parts is such as battery), preferably, power supply can be connected withprocessor 180 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply managementsystem.Power supply 190 can also comprise one or more direct current or the random component such as AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown,terminal equipment 800 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, terminal equipment adopts the browser browsing page, terminal equipment also includes memory, and one or more than one program, one of them or an above program are stored in memory, and are configured to carry out described one or above program package containing for carrying out the instruction of following operation by one or above processor:
Receive the instruction of turn-on flow rate control model;
The network that network connects and retention system is served that disconnects the application of current running background connects.
In another embodiment of the present invention, when the network that disconnects the application of current running background connects, the network that disconnects the application of current front stage operation connects.。
In another embodiment of the present invention, this instruction also comprises: while receiving the recovery instruction to the application of running background, corresponding application is proceeded to front stage operation.
In another embodiment of the present invention, this instruction also comprises: detect the network demand of described application; If described application has the interconnection network demand, allow the network of described application to connect; If described application does not have the interconnection network demand, do not allow the network of described application to connect.
In another embodiment of the present invention, this instruction also comprises: while receiving the return instruction to the application of front stage operation, corresponding application is proceeded to running background.
In another embodiment of the present invention, this instruction also comprises: the nothing operation duration of obtaining each application of front stage operation; When the described nothing operation duration surpasses the default duration, trigger the return instruction of corresponding application.
In another embodiment of the present invention, this instruction also comprises: the display position that detects each application interface window of front stage operation; When described application interface window does not show, trigger the return instruction of corresponding application up front.
In another embodiment of the present invention, this instruction also comprises: while receiving the instruction of closing flow control mode, recover the application network access before of turn-on flow rate control model and arrange.
In another embodiment of the present invention, this instruction also comprises: the data flow value that detects accumulative total in default measurement period; When the data flow value of accumulative total surpasses predetermined threshold value, generate and show that information is with prompting user turn-on flow rate control model; While receiving the instruction of confirming information, trigger the instruction of turn-on flow rate control model.
In another embodiment of the present invention, this instruction also comprises: according to turn-on flow rate control model menu instructions, load the menu of described flow control mode; While receiving the confirmation the startup menu item of selecting in described menu, trigger the instruction of described turn-on flow rate control model.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to flow chart and/or the block diagram of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out on computer or other programmable devices is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.