CN106102143A - A kind of application processing method and device - Google Patents
A kind of application processing method and device Download PDFInfo
- Publication number
- CN106102143A CN106102143A CN201610383694.0A CN201610383694A CN106102143A CN 106102143 A CN106102143 A CN 106102143A CN 201610383694 A CN201610383694 A CN 201610383694A CN 106102143 A CN106102143 A CN 106102143A
- Authority
- CN
- China
- Prior art keywords
- network
- quality parameters
- network quality
- application
- parameter acquiring
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 22
- 230000001143 conditioned effect Effects 0.000 claims abstract description 29
- 230000000052 comparative effect Effects 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000010247 heart contraction Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 20
- 230000008569 process Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 7
- 241000208340 Araliaceae Species 0.000 description 6
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 6
- 235000003140 Panax quinquefolius Nutrition 0.000 description 6
- 235000008434 ginseng Nutrition 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 238000005303 weighing Methods 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 2
- 244000097202 Rathbunia alamosensis Species 0.000 description 1
- 235000009776 Rathbunia alamosensis Nutrition 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/08—Current supply arrangements for telephone systems with current supply sources at the substations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/73—Battery saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0274—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
- H04W52/028—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of application processing method and device, the embodiment of the present invention uses when being in holding state and connecting network, reception parameter acquiring is asked, then, according to the network quality parameters that this this network of parameter acquiring acquisition request is corresponding, judge whether this network quality parameters meets pre-conditioned, the most then close the intended application being currently running and using network;The program can close the intended application being currently running and using network based on current connection network of network mass parameter;The program can reduce the power consumption of terminal and the electric quantity consumption of terminal.
Description
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind of application processing method and device.
Background technology
Along with the development of intelligent terminal, intelligent terminal can compatible function get more and more, and not only enriches user's life, also
Bring advantage to the user.The most day by day incorporate people's life along with mobile terminal device, application function is gradually improved, and brings to user
Great convenience and improve Consumer's Experience.
In order to realize various function to meet the various demands of user, usual intelligent terminal can install various application
Program (can referred to as be applied).When intelligent terminal is in holding state, some application program also continues at running background, and
And need corresponding server to keep connecting;But, if the network quality that intelligent terminal currently connects changes,
Such as, when network quality variation or step-down, intelligent terminal can turn off continually and reconnect network operation (i.e. disconnection network company
Connect and re-establish the operation that network connects), now, in some application program (application journey such as use network of running background
Sequence) can again initiate the connection to its webserver after network connects recovery;Therefore, some application journey of running background
Sequence also can initiate the connection to its webserver, now, this application continually along with the disconnection continually of network with reconnect
Program can consume substantial amounts of cpu resource in backstage, and the power dissipation ratio causing intelligent terminal is higher, and the power consumption of intelligent terminal is bigger.
Summary of the invention
The embodiment of the present invention provides a kind of application processing method and device, can reduce the power consumption of intelligent terminal.
The embodiment of the present invention provides a kind of application processing method, including:
When being in holding state and connecting network, receive parameter acquiring request;
According to the network quality parameters that network described in described parameter acquiring acquisition request is corresponding;
Judge whether described network quality parameters meets pre-conditioned;
The most then close the intended application being currently running and using network.
Preferably, the step tool of the described network quality parameters corresponding according to network described in described parameter acquiring acquisition request
Body includes:
According to the operation information connected for network in described parameter acquiring acquisition request preset time period, described network is even
Connect as being connected with the network between described network;
According to the network quality parameters that network described in described operation information acquisition is corresponding.
Preferably, described operation information includes: disconnects the disconnection frequency of described network connection and re-establishes described network
The rate of connections connected;
The step of the described network quality parameters corresponding according to network described in described operation information acquisition specifically includes:
Obtain the first comparative result between described disconnection frequency and the first predeterminated frequency, described rate of connections and second pre-
If the second comparative result between frequency;
Obtain, with described second comparative result, the network quality parameters that described network is corresponding according to described first comparative result.
Preferably, the step tool of the described network quality parameters corresponding according to network described in described parameter acquiring acquisition request
Body includes:
Heartbeat packet is sent every preset duration to corresponding server according to the request of described parameter acquiring;
Receive the response bag for responding described heartbeat packet that described server returns;
Obtain quantity forwarded and the received quantity of described response bag of described heartbeat packet in preset time period;
According to quantity forwarded and described received quantity, obtain the network quality parameters that described network is corresponding.
Preferably, described according to quantity forwarded and described received quantity, obtain the network quality ginseng that described network is corresponding
The step of number specifically includes:
Obtain the quantity between described quantity forwarded and described received quantity poor;
Obtain the comparative result between quantity difference and the first predetermined threshold value;
The network quality parameters that described network is corresponding is obtained according to described comparative result.
Preferably, described closedown is currently running and uses the step of intended application of network to specifically include:
From the application that backstage is currently running, corresponding application is chosen, to close as needs according to default application identities set
The intended application closed;
Close described intended application.
Preferably, described judge whether described network quality parameters meets pre-conditioned step and specifically include:
Judge that whether parameter value corresponding to described network quality parameters be more than the second predetermined threshold value;
The most then judge that described network quality parameters meets pre-conditioned;
If it is not, it is pre-conditioned then to judge that described network quality parameters is unsatisfactory for.
Correspondingly, the embodiment of the present invention additionally provides a kind of application processing means, including: receiver module, acquisition module, sentence
Disconnected module and closedown module;
Described receiver module, for when being in holding state and connecting network, receives parameter acquiring request;
Described acquisition module, for the network quality parameters corresponding according to network described in described parameter acquiring acquisition request;
Described judge module, is used for judging whether described network quality parameters meets pre-conditioned;
Described closedown module, for when described judge module is judged as YES, closes the mesh being currently running and using network
Mark application.
Preferably, described acquisition module, specifically for according in described parameter acquiring acquisition request preset time period for
The operation information that network connects, the network that described network is connected as between described network is connected;Obtain according to described operation information
Take the network quality parameters that described network is corresponding.
Preferably, described acquisition module specifically includes: sends submodule, receives submodule and obtain submodule;
Described transmission submodule, for sending to corresponding server every preset duration according to the request of described parameter acquiring
Heartbeat packet;
Described reception submodule, for receiving the response bag for responding described heartbeat packet that described server returns;
Described acquisition submodule, for obtaining the quantity forwarded of described heartbeat packet in preset time period and described response
The received quantity of bag;According to quantity forwarded and described received quantity, obtain the network quality parameters that described network is corresponding.
Preferably, described closedown module is specifically for according to presetting application identities set from the application that backstage is currently running
Choose corresponding application, using as the intended application needing closedown;Close described intended application.
Preferably, described judge module is specifically for judging that parameter value corresponding to described network quality parameters is whether more than the
Two predetermined threshold value;The most then judge that described network quality parameters meets pre-conditioned;If it is not, then judge that described network quality is joined
Number is unsatisfactory for pre-conditioned.
The embodiment of the present invention uses when being in holding state and connecting network, receives parameter acquiring and asks, then, according to
The network quality parameters that this this network of parameter acquiring acquisition request is corresponding, it is judged that whether this network quality parameters meets is preset bar
Part, the most then close the intended application being currently running and using network;The program can connect network of network matter based on current
Amount parameter closes the intended application being currently running and using network;Such as, represent that network quality compares when network quality parameters
During difference, can close the intended application being currently running and using network, the program can be avoided should when network quality is poor
The situation initiating to connect to its webserver continually by program occurs, therefore, it can reduce the resource consumption of application program,
In terms of existing technologies, the power consumption of terminal and the electric quantity consumption of terminal are reduced.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make
Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for
From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings
Figure.
The schematic flow sheet of the application processing method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the application processing method that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the first application processing means that Fig. 3 a embodiment of the present invention three provides;
The structural representation of the second application processing means that Fig. 3 b embodiment of the present invention three provides.
Detailed description of the invention
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
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of application processing method and device.To be described in detail respectively below.
Embodiment one,
The present embodiment will be described from the angle of application processing means, and this application processing means specifically can be integrated in end
In end, this terminal can be the equipment such as smart mobile phone, panel computer.
A kind of application processing method, including: when being in holding state and connecting network, receive parameter acquiring request, so
After, according to the network quality parameters that this this network of parameter acquiring acquisition request is corresponding, it is judged that whether this network quality parameters meets
Pre-conditioned, the most then close the intended application being currently running and using network.
As it is shown in figure 1, application processing method, idiographic flow can be such that
101, when being in holding state and connecting network, parameter acquiring request is received.
Specifically, holding state namely be screen state, the network that terminal is connected can be that data network is (such as 3G, 4G net
Network etc.), it is also possible to being WiFi networks etc., this is not especially limited by the present invention, wherein, receives the side of parameter acquiring request
Formula can have multiple, can be that terminal self triggers reception parameter acquiring request, it is also possible to be that server triggers terminal receives ginseng
Number obtains request;Such as, can be at the integrated intervalometer of terminal, this intervalometer can be integrated in terminal with the form of APP, arranges
Receiving the request of this parameter acquiring every preset time period triggering terminal, this preset time period can set according to the actual requirements
Putting, such as this preset time period could be arranged to 1min, 10min etc., namely step " is being in holding state and is connecting network
Time, receive parameter acquiring request " specifically may include that
When terminal is in and puts out screen state and connect network, timing receipt parameter acquiring is asked.
102, according to the network quality parameters that this this network of parameter acquiring acquisition request is corresponding.
In embodiments of the present invention, this network quality parameters can serve to indicate that the ginseng of terminal current network quality of connection
Number, such as, network quality parameters value the biggest expression network connection quality is the best, or network quality parameters value the least expression network
Quality of connection is the best;Wherein, this network quality parameters can have multiple, and such as, this network quality parameters can be QoS
The key index (such as handling capacity, time delay etc.) of (Quality of Service, service quality), or key based on person Qos
Parameter obtained by index, it is also possible to be that user-defined network quality parameters, such as user are according to current connected net
A self-defining network quality parameters obtained by the performance of network and terminal unit.
Wherein, the method obtaining network quality parameters can have multiple, such as, and can be based on network access mode, network
The factors such as coverage, network signal are strong and weak, cause the operations such as the disconnection, the connection that produce during being connected with this network to believe
Breath, obtains above-mentioned network quality parameters, namely step is " according to the network quality ginseng that this this network of parameter acquiring acquisition request is corresponding
Number " specifically may comprise steps of:
According to the operation information connected for network in parameter acquiring acquisition request preset time period, network is connected as and is somebody's turn to do
Network between network connects;
According to the network quality parameters that this network of this operation information acquisition is corresponding.
In embodiments of the present invention, this operation information can be the disconnection frequency that terminal disconnects with this network, also may be used
To be again to set up, after network disconnects, the rate of connections that network is connected with this network, namely this operation information may include that disconnection
The disconnection frequency that network connects and the rate of connections re-establishing network connection.Wherein, this disconnection frequency and rate of connections are permissible
It is the average frequency in a period of time, it is also possible to be the network disconnection times in the unit interval and network connection number of times.
Specifically, can have multiple according to the mode of network quality parameters corresponding to this network of this operation information acquisition, than
As, can directly using this operation information as network quality parameters;
Alternatively, for the accuracy of parameter of improving network quality, this network quality can be obtained based on this operation information
Parameter, namely above-mentioned steps " according to the network quality parameters that this network of this operation information acquisition is corresponding " idiographic flow can be as
Under:
Obtain the first comparative result, rate of connections and the second predeterminated frequency that disconnect between frequency and the first predeterminated frequency it
Between the second comparative result;
The network quality parameters that this network is corresponding is obtained according to the first comparative result and the second comparative result.
Wherein, the first predeterminated frequency can be to test through many experiments, is used for weighing terminal and disconnects network connection
The standard value of disconnection frequency, it is also possible to be that the practical situations such as performance according to user's request and terminal unit are set voluntarily by user
Fixed numerical value;Similarly, the second predeterminated frequency can be to test through many experiments, is used for weighing terminal and re-establishes net
The standard value of rate of connections that network connects, it is also possible to be that the practical situations such as performance according to user's request and terminal unit are by user
The numerical value of sets itself.
In specific implementation process, this first comparative result can be based on disconnecting between frequency and the first predeterminated frequency
Disconnect frequency-splitting and obtain, or can be compared by the numerical values recited judging both and obtain;Similarly, this first ratio
Relatively result can obtain based on the rate of connections difference between rate of connections and the second predeterminated frequency, or can be by judging
Both numerical values recited compare and obtain.
And when obtaining network quality parameters corresponding to this network according to the first comparative result and the second comparative result, obtain
Mode can also have multiple, such as, the first comparative result and the second comparative result can be weighed, choose network matter
The amount parameter bigger side of impact as obtaining the benchmark of this network quality parameters, then conversed by preset algorithm or rule right
The network quality parameters answered;Or the first comparative result and the second comparative result can be combined, comprehensive as obtaining
Take the benchmark of this network quality parameters, then conversed the network quality parameters of correspondence by preset algorithm or rule.
Another is it is alternatively possible to test current network connection shape by sending probe signal (such as heartbeat packet) to server
State, by the response results of server, to obtain network quality parameters, namely above-mentioned steps " should according to this operation information acquisition
The network quality parameters that network is corresponding " idiographic flow can be such that
Heartbeat packet is sent every preset duration to corresponding server according to parameter acquiring request;
Receive the response bag for responding heartbeat packet that server returns;
Obtain quantity forwarded and the received quantity of response bag of heartbeat packet in preset time period;
According to quantity forwarded and received quantity, obtain the network quality parameters that network is corresponding.
In embodiments of the present invention, can directly the server that receives be returned the received quantity of response bag, make
For network quality parameters.
Preferably, for the accuracy of parameter of improving network quality, can quantity forwarded based on heartbeat packet and response bag
Received quantity between number differences obtain this network quality parameters, namely step " according to quantity forwarded and received quantity,
Obtain the network quality parameters that network is corresponding " specifically may include that
Obtain the quantity between quantity forwarded and received quantity poor;
Obtain the comparative result between quantity difference and the first predetermined threshold value;
The network quality parameters that network is corresponding is obtained according to comparative result.
Specifically, this first predetermined threshold value can be for weighing the transmission number of heartbeat packet through many experiments test
The standard value of the quantity difference size between amount and the received quantity of response bag, after obtaining comparative result, can be by pre-imputation
Method or rule converse the network quality parameters of correspondence.
103, judge whether this network quality parameters meets pre-conditioned;If so, step 104 is performed, if it is not, terminate stream
Journey.
Specifically, this pre-conditioned can as weigh network quality quality condition, can by with default settings
Second predetermined threshold value compares, pre-conditioned to judge whether this network quality parameters meets, and wherein, this second predetermined threshold value is permissible
It is set according to the actual requirements;Namely step " judges whether this network quality parameters meets pre-conditioned " and specifically can wrap
Include:
Judge that whether parameter value corresponding to network quality parameters be more than the second predetermined threshold value;
The most then judge that network quality parameters meets pre-conditioned;
If it is not, then judge that network quality parameters is unsatisfactory for pre-conditioned.
In actual applications, it is determined that when network quality parameters meets pre-conditioned, it may be determined that poor for network quality, exist
Judge when network quality parameters is unsatisfactory for pre-conditioned, it may be determined that preferable for network quality.
104, closedown is currently running and uses the intended application of network.
Specifically, when judging that network quality parameters meets pre-conditioned (i.e. network quality is poor), closedown is currently running
And use the intended application of network, for this programme more hommization, can be set by the user can carry out automatically processing should
Being used as target, by judging the application whether intended application of the current running background connecting network, determining whether should to this
With carrying out shutoff operation, to avoid the problem processed by mistake;Namely the step intended application of network " closedown be currently running and use "
Step specifically may include that
From the application that backstage is currently running, corresponding application is chosen, to close as needs according to default application identities set
The intended application closed;
Close intended application.
In specific implementation process, the space of selection can be provided the user, increase an application processor system, be used for
During network quality difference, the application to running background processes;Such as, this application processor system can be integrated in end with the form of APP
End, it can provide the interface that a user can edit, the application installed, Yong Huke can be set out in all mobile terminals
To choose whether authoring system, the application of mandate is added in default application identities set as default application, in network matter
During amount difference, if detecting there is the application identical with this default set of applications in backstage, then can using this application as intended application,
Automatically closedown process is carried out.
From the foregoing, it will be observed that embodiments provide a kind of application processing method, use and be in holding state and connection
During network, receive parameter acquiring request, then, according to the network quality parameters that this this network of parameter acquiring acquisition request is corresponding,
Judge whether this network quality parameters meets pre-conditioned, the most then close the intended application being currently running and using network;Should
Scheme can close the intended application being currently running and using network based on current connection network of network mass parameter;Ratio
As, when network quality parameters represents that network quality is poor, the intended application being currently running and using network can be closed, should
Scheme can avoid the situation that application program initiates to connect to its webserver continually when network quality is poor to occur,
Therefore, it can reduce the resource consumption of application program, in terms of existing technologies, reduce the power consumption of terminal and terminal
Electric quantity consumption.
Embodiment two,
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, will be described in detail as a example by this application processing means is specifically integrated in mobile terminal.
As in figure 2 it is shown, a kind of application processing method, idiographic flow can be such that
201, when mobile terminal is in holding state and connects network, parameter acquiring request is received.
Specifically, the network that mobile terminal is connected can be the data networks etc. such as 3G, 4G, it is also possible to is wireless WiFi net
Network or Wi-Fi hotspot etc., this is not especially limited by the present invention.
Wherein, the mode receiving parameter acquiring request can have multiple, such as, and can be in the integrated timing of mobile terminal
Device, this intervalometer can be integrated in terminal with the form of APP, and setting receives this parameter acquiring every preset time period triggering terminal please
Asking, this preset time period can be configured according to the actual requirements, and such as this preset time period could be arranged to 1min, 10min
Deng, namely step " be in holding state and connect network time, receive parameter acquiring request " specifically may include that
When mobile terminal is in and puts out screen state and connect network, timing receipt parameter acquiring is asked.
202, mobile terminal is according to network quality parameters corresponding to this this network of parameter acquiring acquisition request.
In embodiments of the present invention, this network quality parameters can serve to indicate that the ginseng of terminal current network quality of connection
Number, such as, network quality parameters value the least expression network connection quality is the best;Wherein, this network quality parameters can have multiple,
Such as, this network quality parameters can be QoS (Quality of Service, service quality) key index (as handling capacity,
Time delay etc.), or the parameter obtained by key index based on person Qos, it is also possible to it is user-defined network quality parameters,
Such as user is according to a self-defining network quality ginseng obtained by the performance of current connected network and terminal unit
Number..
Specifically, when the network quality parameters that this network of acquisition is corresponding, can preset according to parameter acquiring acquisition request
The operation information connected for network in time period, network is connected as being connected with the network between this network, then, according to this behaviour
Making the network quality parameters that this network of acquisition of information is corresponding, wherein, this operation information can include disconnecting the disconnection that network connects
Frequency and the rate of connections re-establishing network connection.
Preferably, this network quality parameters can be obtained based on this operation information, namely above-mentioned steps " is believed according to this operation
Breath obtains network quality parameters corresponding to this network " idiographic flow can be such that
Obtain the first comparative result, rate of connections and the second predeterminated frequency that disconnect between frequency and the first predeterminated frequency it
Between the second comparative result;
The network quality parameters that this network is corresponding is obtained according to the first comparative result and the second comparative result.
Wherein, the first predeterminated frequency can be to test through many experiments, is used for weighing terminal and disconnects network connection
The standard value of disconnection frequency, similarly, the second predeterminated frequency can be to test through many experiments, is used for weighing terminal
Re-establish the standard value of the rate of connections that network connects.
In specific implementation process, this first comparative result can be based on disconnecting between frequency and the first predeterminated frequency
Disconnecting frequency-splitting and obtain, similarly, this first comparative result can be based between rate of connections and the second predeterminated frequency
Rate of connections difference and obtain.The network quality that this network is corresponding is being obtained according to the first comparative result and the second comparative result
During parameter, the first comparative result and the second comparative result can be combined by person, comprehensive as obtaining this network quality
The benchmark of parameter, then the network quality parameters of correspondence is conversed by preset algorithm or rule.
203, mobile terminal judges that whether parameter value corresponding to network quality parameters be more than predetermined threshold value;If so, step is performed
Rapid 204, if it is not, terminate flow process.
In actual applications, the condition that this predetermined threshold value can be fine or not as weighing network quality, this predetermined threshold value is permissible
It is set according to the actual requirements;When judging network quality parameters more than predetermined threshold value, it may be determined that poor for network quality,
Otherwise may determine that as network quality preferable.
204, mobile terminal chooses corresponding application according to default application identities set from the application that backstage is currently running,
Using as the intended application needing closedown.
Specifically, when judging that network quality parameters meets pre-conditioned (i.e. network quality is poor), closedown is currently running
And use the intended application of network, for this programme more hommization, can be set by the user can carry out automatically processing should
Being used as target, by judging the application whether intended application of the current running background connecting network, determining whether should to this
With carrying out shutoff operation, to avoid the problem processed by mistake.
Such as, can be with the form collection of APP in the integrated application processor system of mobile terminal, this application processor system
Becoming at mobile terminal, it can provide the interface that a user can edit, and installation can be set out in all mobile terminals
Application, user can choose whether authoring system, using the application of mandate as above-mentioned intended application, when network quality difference, from
The dynamic application processing mandate, as wechat, QQ licensed to terminal system, when network quality difference, if detecting, backstage has
Wechat, QQ, Sina's microblogging are running, then only wechat, QQ are chosen to be intended application.
205, mobile terminal closes intended application.
Specifically, close intended application specifically can show as thoroughly killing this application, except this application journey can be terminated
Outside the process of sequence, it is also possible to terminate the process tree that this application program is corresponding.
From the foregoing, it will be observed that embodiments provide a kind of application processing method, use and be in standby shape at mobile terminal
When state and connection network, receive parameter acquiring request, then, according to the network matter that this this network of parameter acquiring acquisition request is corresponding
Amount parameter, and judge parameter value corresponding to network quality parameters whether more than predetermined threshold value, if so, according to presetting application identities collection
Close from the application that backstage is currently running, choose corresponding application, using the intended application closed as needs, and close this target
Application;The program can be closed based on current connection network of network mass parameter and is currently running and use the target of network to answer
With;Such as, when network quality parameters represents that network quality is poor, can close and be currently running and use the target of network to answer
With, the program can avoid the application program when network quality is poor to initiate situation about connecting continually to its webserver
Occur, therefore, it can reduce application program resource consumption, in terms of existing technologies, reduce terminal power consumption and
The electric quantity consumption of terminal.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides for a kind of application processing means, and this application processes
Device can integrated in the terminal, this terminal specifically can include the equipment such as mobile phone, panel computer, notebook computer.Such as Fig. 3 a
Shown in, this application processing means may include that receiver module 301, acquisition module 302, judge module 303 and closes module 304,
As follows:
This receiver module 301, for when being in holding state and connecting network, receives parameter acquiring request;
This acquisition module 302, for the network quality parameters corresponding according to this this network of parameter acquiring acquisition request;
This judge module 303, is used for judging whether this network quality parameters meets pre-conditioned;
This closedown module 304, for when this judge module 303 is judged as YES, closes and is currently running and uses network
Intended application.
Preferably, this acquisition module 302, specifically may be used for according to pin in this parameter acquiring acquisition request preset time period
The operation information connecting network, this network is connected as being connected with the network between this network;Should according to this operation information acquisition
The network quality parameters that network is corresponding.
Preferably, as shown in Figure 3 b, this acquisition module 302 specifically includes: sends submodule 3021, receive submodule 3022
With acquisition submodule 3023;
This transmission submodule 3021, for sending to corresponding server every preset duration according to the request of this parameter acquiring
Heartbeat packet;
This reception submodule 3022, for receiving the response bag for responding this heartbeat packet that this server returns;
This acquisition submodule 3023, for obtaining quantity forwarded and this response bag of this heartbeat packet in preset time period
Received quantity;According to quantity forwarded and this received quantity, obtain the network quality parameters that this network is corresponding.
Preferably, this closedown module 304, specifically may be used for according to presetting what application identities set was currently running from backstage
Application is chosen corresponding application, using as the intended application needing closedown;Close this intended application.
Preferably, this judge module 303, specifically may be used for judging that parameter value corresponding to this network quality parameters is the biggest
In the second predetermined threshold value;The most then judge that this network quality parameters meets pre-conditioned;If it is not, then judge that this network quality is joined
Number is unsatisfactory for pre-conditioned.
From the foregoing, it will be observed that the application processing means that the embodiment of the present invention provides, use and be in holding state and connecting network
Time, receiver module 301 receives parameter acquiring and asks, and acquisition module 302 is corresponding according to this this network of parameter acquiring acquisition request
Network quality parameters, it is judged that it is pre-conditioned that module 303 judges whether this network quality parameters meets, the most then by closing module
304 close the intended application being currently running and using network;The program can connect network of network mass parameter based on current
Close the intended application being currently running and using network;Such as, when network quality parameters represents that network quality is poor, can
To close the intended application being currently running and using network, the program can avoid the application program frequency when network quality is poor
The situation initiating to connect to its webserver occurs numerously, therefore, it can reduce the resource consumption of application program, relative to existing
For having technology, reduce the power consumption of terminal and the electric quantity consumption of terminal.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, makees
Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above modules, at this not
Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps can be by program and completes to instruct relevant hardware, and this program can be stored in computer-readable storage medium
In matter, as being stored in the memorizer of terminal, and performed by least one processor in this terminal, can wrap in the process of implementation
Include the flow process of the embodiment such as information issuing method.Wherein, storage medium may include that read only memory (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of application processing method and the device that there is provided the embodiment of the present invention above are described in detail, its each function
Module can be integrated in one and process in chip, it is also possible to be that modules is individually physically present, it is also possible to two or two with
Upper module is integrated in a module.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software
The form of functional module realizes.Principle and the embodiment of the present invention are set forth by specific case used herein, with
The explanation of upper embodiment is only intended to help to understand method and the core concept thereof of the present invention;Technology simultaneously for this area
Personnel, according to the thought of the present invention, the most all will change, in sum, and this theory
Bright book content should not be construed as limitation of the present invention.
Claims (12)
1. an application processing method, it is characterised in that including:
When being in holding state and connecting network, receive parameter acquiring request;
According to the network quality parameters that network described in described parameter acquiring acquisition request is corresponding;
Judge whether described network quality parameters meets pre-conditioned;
The most then close the intended application being currently running and using network.
2. application processing method as claimed in claim 1, it is characterised in that described according to described parameter acquiring acquisition request institute
The step stating network quality parameters corresponding to network specifically includes:
According to the operation information connected for network in described parameter acquiring acquisition request preset time period, described network is connected as
It is connected with the network between described network;
According to the network quality parameters that network described in described operation information acquisition is corresponding.
3. application processing method as claimed in claim 2, it is characterised in that described operation information includes: disconnect described network
The disconnection frequency connected and the rate of connections re-establishing the connection of described network;
The step of the described network quality parameters corresponding according to network described in described operation information acquisition specifically includes:
Obtain the first comparative result between described disconnection frequency and the first predeterminated frequency, described rate of connections and second and preset frequency
The second comparative result between rate;
Obtain, with described second comparative result, the network quality parameters that described network is corresponding according to described first comparative result.
4. application processing method as claimed in claim 1, it is characterised in that described according to described parameter acquiring acquisition request institute
The step stating network quality parameters corresponding to network specifically includes:
Heartbeat packet is sent every preset duration to corresponding server according to the request of described parameter acquiring;
Receive the response bag for responding described heartbeat packet that described server returns;
Obtain quantity forwarded and the received quantity of described response bag of described heartbeat packet in preset time period;
According to quantity forwarded and described received quantity, obtain the network quality parameters that described network is corresponding.
5. application processing method as claimed in claim 4, it is characterised in that described according to quantity forwarded and described reception number
Amount, the step obtaining network quality parameters corresponding to described network specifically includes:
Obtain the quantity between described quantity forwarded and described received quantity poor;
Obtain the comparative result between quantity difference and the first predetermined threshold value;
The network quality parameters that described network is corresponding is obtained according to described comparative result.
6. application processing method as claimed in claim 1, it is characterised in that described closedown is currently running and uses the mesh of network
The step of mark application specifically includes:
From the application that backstage is currently running, corresponding application is chosen, using as needing closedown according to default application identities set
Intended application;
Close described intended application.
7. application processing method as claimed in claim 1, it is characterised in that described judge that described network quality parameters is the fullest
Sufficient pre-conditioned step specifically includes:
Judge that whether parameter value corresponding to described network quality parameters be more than the second predetermined threshold value;
The most then judge that described network quality parameters meets pre-conditioned;
If it is not, it is pre-conditioned then to judge that described network quality parameters is unsatisfactory for.
8. an application processing means, it is characterised in that including: receiver module, acquisition module, judge module and closedown module;
Described receiver module, for when being in holding state and connecting network, receives parameter acquiring request;
Described acquisition module, for the network quality parameters corresponding according to network described in described parameter acquiring acquisition request;
Described judge module, is used for judging whether described network quality parameters meets pre-conditioned;
Described closedown module, for when described judge module is judged as YES, closes and is currently running and uses the target of network to answer
With.
Apply processing means the most as claimed in claim 8, it is characterised in that described acquisition module, specifically for according to described
The operation information connected for network in parameter acquiring acquisition request preset time period, described network be connected as with described network it
Between network connect;According to the network quality parameters that network described in described operation information acquisition is corresponding.
Apply processing means the most as claimed in claim 8, it is characterised in that described acquisition module specifically includes: send submodule
Block, reception submodule and acquisition submodule;
Described transmission submodule, for sending heart beating every preset duration to corresponding server according to the request of described parameter acquiring
Bag;
Described reception submodule, for receiving the response bag for responding described heartbeat packet that described server returns;
Described acquisition submodule, for obtaining in the preset time period quantity forwarded of described heartbeat packet and described response bag
Received quantity;According to quantity forwarded and described received quantity, obtain the network quality parameters that described network is corresponding.
11. apply processing means as claimed in claim 8, it is characterised in that described closedown module, specifically for according to presetting
Corresponding application is chosen in application identities set from the application that backstage is currently running, using as the intended application needing closedown;Close
Close described intended application.
12. apply processing means as claimed in claim 8, it is characterised in that described judge module, described specifically for judging
Whether parameter value corresponding to network quality parameters be more than the second predetermined threshold value;The most then judge that described network quality parameters meets
Pre-conditioned;If it is not, it is pre-conditioned then to judge that described network quality parameters is unsatisfactory for.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610383694.0A CN106102143B (en) | 2016-05-31 | 2016-05-31 | Application processing method and device |
PCT/CN2017/086480 WO2017206883A1 (en) | 2016-05-31 | 2017-05-29 | Application processing method and apparatus, storage medium, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610383694.0A CN106102143B (en) | 2016-05-31 | 2016-05-31 | Application processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106102143A true CN106102143A (en) | 2016-11-09 |
CN106102143B CN106102143B (en) | 2020-01-14 |
Family
ID=57447405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610383694.0A Active CN106102143B (en) | 2016-05-31 | 2016-05-31 | Application processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106102143B (en) |
WO (1) | WO2017206883A1 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107182110A (en) * | 2017-04-07 | 2017-09-19 | 北京安云世纪科技有限公司 | It is a kind of to reduce the method, device and mobile terminal of power consumption |
WO2017206883A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Application processing method and apparatus, storage medium, and electronic device |
CN110381376A (en) * | 2019-07-09 | 2019-10-25 | 青岛海信传媒网络技术有限公司 | Application processing method, device and terminal |
CN110768903A (en) * | 2019-10-28 | 2020-02-07 | 北京字节跳动网络技术有限公司 | Method, device, terminal and storage medium for optimizing network connection |
CN110913424A (en) * | 2019-11-14 | 2020-03-24 | 华为技术有限公司 | Network connection control method and device, terminal and computer storage medium |
CN111064788A (en) * | 2019-12-18 | 2020-04-24 | 深圳前海达闼云端智能科技有限公司 | Signal transmission method, robot, and computer-readable storage medium |
CN112153210A (en) * | 2019-06-28 | 2020-12-29 | 北京智明星通科技股份有限公司 | Automatic closing method and system of game APP |
CN112533268A (en) * | 2019-09-17 | 2021-03-19 | 海信电子科技(深圳)有限公司 | Terminal and processing method thereof |
US20220060922A1 (en) * | 2019-05-16 | 2022-02-24 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Measurement reporting method, electronic device, and storage medium |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245076A (en) * | 2019-05-21 | 2019-09-17 | 深圳壹账通智能科技有限公司 | Method, device and terminal equipment for determining factor influence degree based on function test |
CN114449686B (en) * | 2020-11-03 | 2024-12-10 | 华为技术有限公司 | Wireless network access method and device |
CN114727360B (en) * | 2020-12-22 | 2024-07-09 | 深圳Tcl新技术有限公司 | Network connection device management method and device, terminal device and storage medium |
CN113259759A (en) * | 2021-05-20 | 2021-08-13 | 深圳市雷鸟网络传媒有限公司 | Network connection state evaluation method and device, terminal equipment and storage medium |
CN114173390B (en) * | 2021-12-06 | 2024-01-19 | 深圳Tcl新技术有限公司 | Network control method, device, electronic equipment and storage medium |
CN115665951A (en) * | 2022-09-29 | 2023-01-31 | 深圳市欧瑞博科技股份有限公司 | Intelligent lamp control system, control method and dimming method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917516A (en) * | 2010-08-16 | 2010-12-15 | 宇龙计算机通信科技(深圳)有限公司 | Power-saving processing method and system for mobile terminal, and mobile terminal |
CN103365399A (en) * | 2013-06-26 | 2013-10-23 | 贝壳网际(北京)安全技术有限公司 | Control method and device for application object of mobile terminal |
CN104811930A (en) * | 2015-05-19 | 2015-07-29 | 广东小天才科技有限公司 | Network flow control method and system of mobile terminal |
CN105183132A (en) * | 2015-08-18 | 2015-12-23 | 小米科技有限责任公司 | Energy conservation mode starting method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06311079A (en) * | 1993-04-27 | 1994-11-04 | Sharp Corp | Mobile telephone set with automatic power-off function |
JP5870891B2 (en) * | 2012-10-11 | 2016-03-01 | ソニー株式会社 | Information processing apparatus, wireless communication apparatus, communication system, and information processing method |
CN106102143B (en) * | 2016-05-31 | 2020-01-14 | Oppo广东移动通信有限公司 | Application processing method and device |
-
2016
- 2016-05-31 CN CN201610383694.0A patent/CN106102143B/en active Active
-
2017
- 2017-05-29 WO PCT/CN2017/086480 patent/WO2017206883A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917516A (en) * | 2010-08-16 | 2010-12-15 | 宇龙计算机通信科技(深圳)有限公司 | Power-saving processing method and system for mobile terminal, and mobile terminal |
CN103365399A (en) * | 2013-06-26 | 2013-10-23 | 贝壳网际(北京)安全技术有限公司 | Control method and device for application object of mobile terminal |
CN104811930A (en) * | 2015-05-19 | 2015-07-29 | 广东小天才科技有限公司 | Network flow control method and system of mobile terminal |
CN105183132A (en) * | 2015-08-18 | 2015-12-23 | 小米科技有限责任公司 | Energy conservation mode starting method and apparatus |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206883A1 (en) * | 2016-05-31 | 2017-12-07 | 广东欧珀移动通信有限公司 | Application processing method and apparatus, storage medium, and electronic device |
CN107182110A (en) * | 2017-04-07 | 2017-09-19 | 北京安云世纪科技有限公司 | It is a kind of to reduce the method, device and mobile terminal of power consumption |
US20220060922A1 (en) * | 2019-05-16 | 2022-02-24 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Measurement reporting method, electronic device, and storage medium |
US12167338B2 (en) | 2019-05-16 | 2024-12-10 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Measurement reporting method, electronic device, and storage medium |
CN112153210B (en) * | 2019-06-28 | 2022-03-29 | 北京智明星通科技股份有限公司 | Automatic closing method and system of game APP |
CN112153210A (en) * | 2019-06-28 | 2020-12-29 | 北京智明星通科技股份有限公司 | Automatic closing method and system of game APP |
CN110381376B (en) * | 2019-07-09 | 2022-08-02 | 青岛海信传媒网络技术有限公司 | Application processing method and device and terminal |
CN110381376A (en) * | 2019-07-09 | 2019-10-25 | 青岛海信传媒网络技术有限公司 | Application processing method, device and terminal |
CN112533268A (en) * | 2019-09-17 | 2021-03-19 | 海信电子科技(深圳)有限公司 | Terminal and processing method thereof |
CN110768903A (en) * | 2019-10-28 | 2020-02-07 | 北京字节跳动网络技术有限公司 | Method, device, terminal and storage medium for optimizing network connection |
CN110913424A (en) * | 2019-11-14 | 2020-03-24 | 华为技术有限公司 | Network connection control method and device, terminal and computer storage medium |
CN110913424B (en) * | 2019-11-14 | 2022-04-22 | 华为技术有限公司 | Network connection control method and device, terminal and computer storage medium |
CN111064788A (en) * | 2019-12-18 | 2020-04-24 | 深圳前海达闼云端智能科技有限公司 | Signal transmission method, robot, and computer-readable storage medium |
CN111064788B (en) * | 2019-12-18 | 2022-12-06 | 达闼机器人股份有限公司 | Signal transmission method, robot, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017206883A1 (en) | 2017-12-07 |
CN106102143B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106102143A (en) | A kind of application processing method and device | |
CN113766558B (en) | A network mode control method, terminal and storage medium | |
US9532359B2 (en) | Resource allocation method and device | |
CN103974340B (en) | Adjust the method and device of network configuration | |
CN102438318B (en) | Method, equipment and system for adjusting feedback cycle of channel quality indicator (CQI) | |
CN112118587B (en) | Cell management method and equipment | |
CN107396409A (en) | Wireless terminal frequency band switching method and wireless router | |
CN105392167B (en) | A kind of network switching method, device and communication terminal | |
CN102724770A (en) | Method, device and system for switching state of user equipment | |
WO2017219508A1 (en) | Communication method and apparatus for multi-mode terminal | |
CN107295559A (en) | Terminal roaming management method and access control equipment | |
CN103999514A (en) | User equipment power saving method, apparatus and user equipment | |
CN112714482A (en) | Network switching method, device, terminal and storage medium | |
CN104811965A (en) | Method and apparatus for optimizing network resources of terminal | |
CN105472634A (en) | Carrier aggregation cell processing method, processing device, terminal and base station | |
WO2015018056A1 (en) | Service distribution method, device and system | |
CN103747483A (en) | Regulation and control method, device and terminal for business combining | |
CN107925930A (en) | A kind of acquisition methods, relevant device and the system of customer equipment context information | |
EP2544484B1 (en) | State handover method and network equipment | |
CN104411002A (en) | Data transmission control method and terminal | |
CN102573018B (en) | Electricity-saving method and device for mobile terminal | |
CN109041151A (en) | Method, communication equipment and the computer storage medium of signal switching | |
US20230247464A1 (en) | Information processing method, communication device, and storage medium | |
CN106911442A (en) | Method and terminal for service transmission | |
CN105120472A (en) | Access point and access point management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |