CN107231386A - Application state conversion method, device and mobile terminal - Google Patents
Application state conversion method, device and mobile terminal Download PDFInfo
- Publication number
- CN107231386A CN107231386A CN201610167883.4A CN201610167883A CN107231386A CN 107231386 A CN107231386 A CN 107231386A CN 201610167883 A CN201610167883 A CN 201610167883A CN 107231386 A CN107231386 A CN 107231386A
- Authority
- CN
- China
- Prior art keywords
- application
- state
- wake
- operating system
- timed task
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
-
- 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/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of application state conversion method, device and mobile terminal, belong to field of terminal technology.Methods described includes:Start application, the VoIP back office interfaces that the application is provided by operating system configure voice over ip feature;When it is determined that application starts from running status to off-duty State Transferring, the application is restarted before converting, running status includes foreground state or background state;Timed task is registered to operating system during application is restarted, timed task is used for the application for indicating that operating system periodic wakeup is in suspended state;According to the timed task, periodic wakeup is in the application of suspended state, and the application after wake-up is in background state.The present invention, which is solved, to be killed using by iOS or exits into off-duty state, the problem of causing using that can not be resided on backstage.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of application state conversion method, device and movement
Terminal.
Background technology
With continuing to develop for Mobile operating system, the application (application) in Mobile operating system is to rear
The demand of platform operation is also increasing.In order to enable an application in running background, Mobile operating system needs to carry
Application call is supplied for corresponding backstage technical interface.
In correlation technique, the backstage technical interface bag of Mobile operating system (iOS) offer of Apple Inc.'s exploitation
Include voice-over-net phone (English:Voice over Internet Protocol;Referred to as:VoIP) back office interface,
Music back office interface, positioning service back office interface and background task application interface, using by calling
Corresponding background task interface is that may be implemented under background state (background) to run.
Currently, the application run under background state due to a variety of causes (for example because frequently be waken up and by
IOS is killed, or is exited more than setting duration by iOS) off-duty state (not running) will be entered,
Causing to apply can not reside on backstage.
The content of the invention
In order to solve to apply in correlation technique by iOS kills or exit into off-duty state, cause application
Can not the problem of backstage is resident, the embodiments of the invention provide a kind of application state conversion method, device and
Mobile terminal.The technical scheme is as follows:
First aspect is there is provided a kind of application state conversion method, in mobile terminal, the mobile terminal
In be provided with operating system, and operating system at least one application be installed, this method includes:
Start the application, the VoIP back office interfaces that the application is provided by the operating system configure VoIP
Function;
When it is determined that the application starts from running status to off-duty State Transferring, before described convert
Restart the application, the running status includes foreground state or background state;
Timed task is registered to the operating system during the application is restarted, the timed task is used
The application of suspended state is in the instruction operating system periodic wakeup;
According to the timed task, periodic wakeup is in the application of the suspended state, after wake-up
The application is in background state.
By being in advance application configuration voice over ip feature, make to deposit when applying from running status to off-duty State Transferring
In one section of phase buffer, using being restarted automatically using this section of phase buffer and registering timed task to operating system, make
Operating system can be restarted according to timed task periodic wakeup after be in the application of suspended state so that real
Show and applied in the resident of backstage.
With reference in a first aspect, in the first possible embodiment of first aspect, when the application is in
During the foreground state, methods described also includes:
It is the suspended state by described apply from the foreground State Transferring when detecting scheduled operation;
By scheduling wake-up mode, the application in the suspended state is waken up;The scheduling wake-up side
Formula includes at least one of data-pushing wake-up mode or timed task wake-up mode.
When user has carried out specific operation to mobile terminal so that application is suspended state by foreground State Transferring
When, it will be applied and be waken up from suspended state by data-pushing wake-up mode or timed task wake-up mode, it is real
Reside on the backstage for having showed application.
With reference to the first possible embodiment of first aspect, in second of possible implementation of first aspect
It is described by scheduling wake-up side when waking up the application by the data-pushing wake-up mode in mode
Formula, wakes up the application in the suspended state, including:
When receiving the data that application server is pushed to the application, wake up in the suspended state
The application.
Be configured with voice over ip feature application be in suspended state when, terminal adapter should be applied to application server it
Between connection, when receive application server transmission data when, that is, wake up in suspended state application,
It ensure that and apply and can handle in time receiving data.
With reference to the first possible embodiment of first aspect, in the third possible implementation of first aspect
In mode, when waking up the application by the timed task wake-up mode, the startup application,
Including:
During the application is started the timed task is registered to the operating system;
It is described that the application in the suspended state is waken up by scheduling wake-up mode, including:
According to the timed task, periodic wakeup is in the application of the suspended state.
In order to avoid application because long-time is killed or exited by operating system in suspended state, apply
Startup stage is registration timed task, when in suspended state, by operating system according to timed task timing
The application is waken up, it is to avoid the application is killed or exited by operating system, so as to realize that the backstage of application is resided.
Second of the first possible embodiment, first aspect with reference to first aspect, first aspect can
The embodiment of energy or the third possible embodiment of first aspect, in the 4th kind of possibility of first aspect
Embodiment in, the application after wake-up is converted to again after maintaining the background state of the first duration
The suspended state.
Applying after wake-up reenters suspended state after the background state of a period of time is maintained, and not only ensures
Application can be in running background, while avoiding in response to the process resource for taking backstage with long-time and causing
It is in short supply.
Second of possible embodiment party of the first possible embodiment, first aspect with reference to first aspect
The third possible embodiment of formula or first aspect, in the 5th kind of possible embodiment of first aspect
In, described to be applied described after preceding mesa-shaped state is converted to the suspended state, methods described also includes:
The background task application sent during the application is transformed into background state from preceding mesa-shaped state is received,
The background task application be used to asking the operating system allow the application maintain the second duration it is described after
Mesa-shaped state;
At the end of second duration, the application is converted into the suspended state from the background state.
Wherein, using the running background time of the second duration of application, and active when being up to the second duration shortly
Stop code is performed, so, and described apply from background state can be converted to suspended state by operating system.
To apply and avoided while the extra running background time is obtained because being killed beyond limitation by operating system
Extremely, apply resident on backstage so as to ensure that.
Second aspect includes at least one unit there is provided a kind of application state conversion equipment, the device, should
At least one unit is used to realize provided in the possible embodiment of above-mentioned first aspect or first aspect
Application state conversion method, the application state conversion equipment includes:
Start unit, for starting the application, the network language that the application is provided by the operating system
Sound call VoIP back office interface configuration voice over ip features;
Restart unit, for when it is determined that the application starts from running status to off-duty State Transferring,
It is described convert before restart the application, the running status includes foreground state or background state;
Registering unit, timed task is registered during the application is restarted to the operating system, described
Timed task is used for the application for indicating that the operating system periodic wakeup is in suspended state;
Wakeup unit, for according to the timed task, periodic wakeup to be in the described of the suspended state
Using the application after wake-up is in the background state.
By being in advance application configuration voice over ip feature, make to deposit when applying from running status to off-duty State Transferring
In one section of phase buffer, using being restarted automatically using this section of phase buffer and registering timed task to operating system, make
Operating system can be restarted according to timed task periodic wakeup after be in the application of suspended state so that real
Show and applied in the resident of backstage.
With reference to second aspect, in the first possible embodiment of second aspect, described device, including:
Converting unit, for when detecting scheduled operation, being from the foreground State Transferring by the application
The suspended state;
The wakeup unit, is additionally operable to by scheduling wake-up mode, wakes up described in the suspended state
Using;The scheduling wake-up mode is included in data-pushing wake-up mode or timed task wake-up mode at least
It is a kind of.
When user has carried out specific operation to mobile terminal so that application is suspended state by foreground State Transferring
When, it will be applied and be waken up from suspended state by data-pushing wake-up mode or timed task wake-up mode, it is real
Reside on the backstage for having showed application.
With reference to the first possible embodiment of second aspect, in second of possible implementation of second aspect
In mode, when waking up the application by the data-pushing wake-up mode, the wakeup unit is used for
When receiving the data that application server is pushed to the application, wake up described in the suspended state
Using.
Be configured with voice over ip feature application be in suspended state when, terminal adapter should be applied to application server it
Between connection, when receive application server transmission data when, that is, wake up in suspended state application,
It ensure that and apply and can handle in time receiving data.
With reference to the first possible embodiment of second aspect, in the third possible implementation of second aspect
In mode, when waking up the application by the timed task wake-up mode;The start unit, is also used
In registering the timed task to the operating system during the application is started;
The wakeup unit, is additionally operable to according to the timed task, periodic wakeup is in the suspended state
The application.
In order to avoid application because long-time is killed or exited by operating system in suspended state, apply
Startup stage is registration timed task, when in suspended state, by operating system according to timed task timing
The application is waken up, it is to avoid the application is killed or exited by operating system, so as to realize that the backstage of application is resided.
Second of the first possible embodiment, second aspect with reference to second aspect, second aspect can
The embodiment of energy or the third possible embodiment of second aspect, in the 4th kind of possibility of second aspect
Embodiment in, the application after wake-up is converted to again after maintaining the background state of the first duration
The suspended state.
Applying after wake-up reenters suspended state after the background state of a period of time is maintained, and not only ensures
Application can be in running background, while avoiding in response to the process resource for taking backstage with long-time and causing
It is in short supply.
Second of possible embodiment party of the first possible embodiment, second aspect with reference to second aspect
The third possible embodiment of formula or second aspect, in the 5th kind of possible embodiment of second aspect
In, described device, in addition to:
Receiving unit, for receiving what is sent during the application is transformed into background state from preceding mesa-shaped state
Background task application, the background task application is used to asking the operating system to allow the application to maintain the
The background state of two durations;
The converting unit, is additionally operable at the end of second duration, is applied described from the rear mesa-shaped
State is converted to the suspended state.
Wherein, using the running background time of the second duration of application, and active when being up to the second duration shortly
Stop code is performed, so, and described apply from background state can be converted to suspended state by operating system.
To apply and avoided while the extra running background time is obtained because being killed beyond limitation by operating system
Extremely, apply resident on backstage so as to ensure that.
The third aspect includes there is provided a kind of mobile terminal, the mobile terminal:Processor and with it is described
The connected memory of processor, wherein, the memory is used to store one or more than one instruction,
The instruction is configured to by the computing device;The processor is by performing the finger in the memory
Make the application state conversion side provided in the possible embodiment to realize first aspect or first aspect
Method, the processor, is used for:
Start the application, the VoIP back office interfaces that the application is provided by the operating system configure VoIP
Function;
When it is determined that the application starts from running status to off-duty State Transferring, before described convert
Restart the application, the running status includes foreground state or background state;
Timed task is registered to the operating system during the application is restarted, the timed task is used
The application of suspended state is in the instruction operating system periodic wakeup;
According to the timed task, periodic wakeup is in the application of the suspended state, after wake-up
The application is in background state.
By being in advance application configuration voice over ip feature, make to deposit when applying from running status to off-duty State Transferring
In one section of phase buffer, using being restarted automatically using this section of phase buffer and registering timed task to operating system, make
Operating system can be restarted according to timed task periodic wakeup after be in the application of suspended state so that real
Show and applied in the resident of backstage.
With reference to the third aspect, in the first possible embodiment of the third aspect, when the application is in
During the foreground state, the processor is additionally operable to:
It is the suspended state by described apply from the foreground State Transferring when detecting scheduled operation;
By scheduling wake-up mode, the application in the suspended state is waken up;The scheduling wake-up side
Formula includes at least one of data-pushing wake-up mode or timed task wake-up mode.
When user has carried out specific operation to mobile terminal so that application is suspended state by foreground State Transferring
When, it will be applied and be waken up from suspended state by data-pushing wake-up mode or timed task wake-up mode, it is real
Reside on the backstage for having showed application.
With reference to the first possible embodiment of the third aspect, in second of possible implementation of the third aspect
In mode, when waking up the application by the data-pushing wake-up mode, the processor is used for:
When receiving the data that application server is pushed to the application, wake up in the suspended state
The application.
Be configured with voice over ip feature application be in suspended state when, terminal adapter should be applied to application server it
Between connection, when receive application server transmission data when, that is, wake up in suspended state application,
It ensure that and apply and can handle in time receiving data.
With reference to the first possible embodiment of the third aspect, in the third possible implementation of the third aspect
In mode, when waking up the application by the timed task wake-up mode, the processor is used for:
During the application is started the timed task is registered to the operating system;
The processor, is additionally operable to:
According to the timed task, periodic wakeup is in the application of the suspended state.
In order to avoid application because long-time is killed or exited by operating system in suspended state, apply
Startup stage is registration timed task, when in suspended state, by operating system according to timed task timing
The application is waken up, it is to avoid the application is killed or exited by operating system, so as to realize that the backstage of application is resided.
Second of the first possible embodiment, the third aspect with reference to the third aspect, the third aspect can
The embodiment of energy or the third possible embodiment of the third aspect, in the 4th kind of possibility of the third aspect
Embodiment in, the application after wake-up is converted to again after maintaining the background state of the first duration
The suspended state.
Applying after wake-up reenters suspended state after the background state of a period of time is maintained, and not only ensures
Application can be in running background, while avoiding in response to the process resource for taking backstage with long-time and causing
It is in short supply.
Second of possible embodiment party of the first possible embodiment, the third aspect with reference to the third aspect
The third possible embodiment of formula or the third aspect, in the 5th kind of possible embodiment of the third aspect
In, described to be applied described after preceding mesa-shaped state is converted to the suspended state, the processor is additionally operable to:
The background task application sent during the application is transformed into background state from preceding mesa-shaped state is received,
The background task application be used to asking the operating system allow the application maintain the second duration it is described after
Mesa-shaped state;
At the end of second duration, the application is converted into the suspended state from the background state.
Wherein, using the running background time of the second duration of application, and active when being up to the second duration shortly
Stop code is performed, so, and described apply from background state can be converted to suspended state by operating system.
To apply and avoided while the extra running background time is obtained because being killed beyond limitation by operating system
Extremely, apply resident on backstage so as to ensure that.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to embodiment
The accompanying drawing needed to use is briefly described.
Fig. 1 is foreground state, background state, suspended state and the off-duty shape applied in the embodiment of the present invention
The schematic diagram of transformational relation between state;
Fig. 2A shows a kind of application state conversion method schematic flow sheet provided in an embodiment of the present invention;
Fig. 2 B are the schematic diagrames of transformational relation between different conditions in application state conversion method shown in Fig. 2A;
Fig. 3 A show the schematic flow sheet of another application state conversion method provided in an embodiment of the present invention;
Fig. 3 B show the schematic flow sheet of another application state conversion method provided in an embodiment of the present invention;
Fig. 4 A are to realize the schematic diagram that message is pushed using APNS Push Services;
Fig. 4 B are to realize the schematic diagram that message is pushed using the service that is locally pushed;
Fig. 5 shows a kind of block diagram of application state conversion equipment provided in an embodiment of the present invention;
Fig. 6 shows the block diagram of another application state conversion equipment provided in an embodiment of the present invention;
Fig. 7 shows the structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Embodiment is described in further detail.
Understand for convenience, the noun being related in the embodiment of the present invention is explained below.
1st, foreground state:Indicate to apply the state in operating system front stage operation.Under normal circumstances, Yong Huqi
After application in dynamic system, the application is in foreground state.
2nd, background state:Indicate that application is in operating system backstage and the state being currently running, in rear mesa-shaped
Applying under state performs application code in system background.
3rd, suspended state:Indicate that application is in operating system backstage but is not carried out the state of code.
4th, off-duty state:Indicate to apply state that is not actuated or being run by system closure in the process of running.
5th, VoIP background tasks interface:A kind of backstage technical interface that iOS is provided.Use the application of the interface
In suspended state after into iOS backstages, the connection between iOS adapters iOS device and application server,
When iOS device, which receives application server, is sent to the data of the application, iOS is by the application under suspended state
Wake up, it is handled the data received.
6th, background task application interface:A kind of backstage technical interface that iOS is provided.Use the application of the interface
The running background time of certain time length can be applied for iOS, it is generally the case that application is by using the interface
The running background time of most applications 3 minutes.
Fig. 1 is refer to, it illustrates the foreground state of application, background state, suspended state and off-duty state
Between transformational relation.Describe, illustrated in the present embodiment so that operating system is iOS as an example for convenience,
The present invention is not constituted and limited.
When user clicks on application icon, iOS is to start the corresponding application of the application icon, accordingly, should be answered
With i.e. in foreground state.
When user performs scheduled operation, such as when pressing homepage (Home) key of iOS device, before being in
The application of mesa-shaped state is converted to suspended state (conversion 101 in Fig. 1), no longer performs application code;When with
When the application icon of the application is clicked at family again, the application is converted to foreground state by suspended state again.
For the application of the classes of VoIP mono-, operation is remained at operating system backstage in order that applying, when iOS is set
When standby Home key is pressed, using from preceding mesa-shaped state being converted to background state (i.e. conversion in Fig. 1
102);Simultaneously in order to avoid application is in prolonged background state, when application maintains background state to reach one
After timing is long, using being converted to suspended state (i.e. conversion 103 in Fig. 1) by background state automatically.
Due to reasons such as aacode defects, the application in foreground state can collapse and switch to off-duty state (i.e.
Conversion 104 in Fig. 1);Similar, applying in background state also can when being killed or being exited by iOS
Switch to off-duty state (i.e. conversion 105 in Fig. 1).Using entering after off-duty state, if the non-hand of user
Dynamic point hits application icon and restarts application, and the application will keep off-duty state, it is impossible to which realization applies normal on backstage
Stay, for some need to carry out the application of backstage push, the instantaneity of PUSH message will be influenceed.
Apply resident on operating system backstage to realize, turn the embodiments of the invention provide a kind of application state
Method is changed, can make to apply by this method and restart automatically on backstage, realizes that the backstage of application is resided, below
Illustrated using exemplary embodiment.
Fig. 2A is refer to, it illustrates a kind of flow of application state conversion method provided in an embodiment of the present invention
Schematic diagram.The present embodiment is applied to be provided with exemplified by iOS equipment in this way to illustrate, this method bag
Include:
Step 202, application is started, the VoIP back office interfaces that the application is provided by operating system configure VoIP
Function.
When configuring the project file of iOS applications, configured by using the iOS VoIP back office interfaces provided
Voice over ip feature, using unlatching VoIP when starting.
Step 204, when it is determined that the application starts from running status to off-duty State Transferring, converting
Before restart the application, running status includes foreground state or background state.
Unlatching VoIP's applies when being off-duty state from running state conversion, there is the buffering of certain time length
Phase, for example, the application needs 2 to 3 seconds (being properly termed as phase buffer) could be from running state conversion to not
Running status, operating system can restart application automatically using the phase buffer.
Step 206, timed task is registered to operating system during application is restarted, timed task is used to refer to
Show that operating system periodic wakeup is in the application of suspended state.
Step 208, according to the timed task, periodic wakeup is in the application of suspended state, answering after wake-up
With in background state.
The timed task that iOS is registered according to application, it is ensured that wake up to be within the cycle that timed task is indicated and hang up
The application of state, makes it into background state.Application into background state was maintained after a period of time, again
Into suspended state.
As shown in Figure 2 B, on the basis of State Transferring shown in Fig. 1, by using enter off-duty state it
Preceding phase buffer restarts application, makes it into suspended state (i.e. conversion 106 in Fig. 2 B);And according to restarting
During the timed task periodic wakeup registered be in application (the i.e. conversion in Fig. 2 B of suspended state
107), applied so as to realize in the resident of backstage.
In summary, the application state conversion method that the present embodiment is provided, by using application from running status
Phase buffer before into off-duty state restarts application, makes it into suspended state, and according to restarting process
The timed task periodic wakeup of middle registration is in the application of suspended state;Solve using due to being killed by iOS
It is dead or exit into off-duty state, cause using can not be the problem of backstage is resident;Reach using certainly
Move to restart and apply the effect resided on backstage with timing wake-up mechanism, realization.
(Home is such as clicked on when user is performed when some operations cause application to enter suspended state by foreground state
Key), if the application is in suspended state for a long time, operating system can be killed or exited automatically, and causing should
With can not be resident on backstage.On the basis of Fig. 2A illustrated embodiments, the timing wake-up mechanism cycle can be passed through
Property wake up the application in suspended state, make it resident on backstage, illustrated below using one embodiment.
Fig. 3 A are refer to, it illustrates the stream of another application state conversion method provided in an embodiment of the present invention
Journey schematic diagram.The present embodiment is applied to be provided with exemplified by iOS equipment in this way to illustrate, this method
Including:
Step 301, application is started, the VoIP back office interfaces that the application is provided by operating system configure VoIP
Function.
When configuring the project file of iOS applications, configured by using the iOS VoIP back office interfaces provided
Voice over ip feature, using unlatching VoIP when starting.It should be noted that being configured with the application of voice over ip feature
VoIP class applications are not limited to, the application can also be the application with message push function, such as mail
Using.
I.e. mesa-shaped state operation in the past after the application starts, and when receiving the data of application server transmission,
The data are handled.Such as, so that the application is mail applications as an example, when user starts in iOS device
Mail applications when, mail applications are i.e. in front stage operation, when mail server is to the mail applications delivery email
When, the mail applications in foreground state are shown to the mail received.
Step 302, when detecting scheduled operation, it will apply and be converted to suspended state from preceding mesa-shaped state.
More application is usually mounted with iOS device, when user switches different applications, foreground is currently at
Application need to be moved to backstage;Also, influence iOS processing in running background in order to avoid widely applying
Performance, being moved to the application on backstage needs to be converted to suspended state.Therefore, when detecting scheduled operation,
Pressing operation of the user to Home key is such as detected, using by foreground state entering suspended state.
Step 303, by scheduling wake-up mode, the application in suspended state is waken up;Scheduling wake-up mode bag
Include at least one of data-pushing wake-up mode or timed task wake-up mode.
Applying in backstage not operation code in suspended state, it is impossible to realize that real backstage is resided, because
This, iOS needs to wake up the application under suspended state, background state is made it into, so as to realize real backstage
It is resident.
In a kind of possible embodiment, because application opens VoIP, under suspended state, iOS will
The connection taken between the application and application server.Sent when iOS receives application server to the application
Data when, iOS be wake up in suspended state application.Application after wake-up maintains the backstage of the first duration
State, and the data that operation code and processing are received under background state, should when reaching the first duration
Using being converted to suspended state again.Such as, the first duration can be 10 seconds, i.e., after application is waken up by iOS,
10 seconds background states are maintained, and suspended state is reentered after reaching 10 seconds.It should be noted that being
IOS is avoided frequently to wake up application, iOS is needed within the unit interval to being waken up using data-pushing wake-up mode
The number of times of application is limited, such as, and it is at most 15 times that can set and the number of times of application is waken up in 5 minutes,
When beyond the limitation, iOS is to kill the application.
In alternatively possible embodiment, apply and register timed task to iOS in startup stage, should
Timed task is used for the application for indicating that iOS periodic wakeups are in suspended state.Accordingly, iOS is according to application
The timed task of registration, periodically wakes up the application under suspended state.Application after wake-up maintains first
The background state of duration, and when reaching the first duration, suspended state is converted to again.Such as, the timing
The timed task cycle of task can be configured to 600 seconds, and the first duration can be 10 seconds, i.e. iOS ensures
The second wakes up the application for being once in suspended state in 600, and the application after wake-up is maintained after 10 seconds background states
Reenter suspended state.Application is waken up by the way of timing wake-up, can be prevented effectively from using because it is long when
Between in suspended state and by iOS kill or exit.
It should be noted is that, iOS can be according to central processing unit (English:Central Processing Unit;
Referred to as:CPU) or internal memory utilization rate determine it is adjacent twice wake up between time interval, i.e., it is adjacent twice
Time interval between wake-up is less than the timed task cycle, and is not definite value.Such as, determining with timed task
When duty cycle be 600 seconds exemplified by, when CPU or internal memory utilization rate be more than threshold value when, iOS can away from
Last time wakes up application again after waking up 580 seconds;When the utilization rate of CPU or internal memory is less than threshold value, iOS can
To wake up application again after being waken up 500 seconds away from last time.
Need explanation on the other hand, in order to avoid iOS frequently wakes up application, iOS is needed to timed task
The timed task cycle is limited, such as, can be limited the timed task cycle and is at least 600 seconds, if registration
Timed task the timed task cycle be more than or equal to 600 seconds, then timed task succeeds in registration;If registration
The timed task cycle of timed task is less than 600 seconds, then timed task registration failure.
Step 304, when it is determined that application starts from running status to off-duty State Transferring, before converting
Restart application, running status includes foreground state or background state.
Cause apply enter off-duty state the reason for it is varied, such as, and the application in foreground state by
It is off-duty state using by foreground condition conversion when aacode defect causes collapse;Again such as, place is worked as
When the application of background state is awakened as frequently as those utilized in conventional solutions, the application is killed or exited by iOS so that application is by rear mesa-shaped
State enters position running status.Make it should be noted that the embodiment of the present invention exits to apply manually not to user
Discussed using the situation for entering off-duty state.
Application for opening VoIP, applies before off-duty state is converted to, can pass through certain time length
In phase buffer, the present embodiment, using i.e. restarted using the phase buffer, and after restart enter hang-up shape
State.
Step 305, timed task is registered to operating system during application is restarted;Timed task is used to refer to
Show that operating system periodic wakeup is in the application of suspended state.
Apply in restarting process, timed task is registered to iOS, indicate that iOS periodic wakeups are in and hang up
The application of state.If the timed task cycle of the timed task of registration reaches preset duration, succeed in registration;
If the timed task cycle of the timed task of registration is not up to preset duration, wherein registration failure, the timing
Duty cycle can be 600 seconds.
Step 306, according to timed task, periodic wakeup is in the application of suspended state;Application after wake-up
In background state.
After application success registration timed task, operating system is the timed task cycle set according to timed task,
Periodically wake up the application in suspended state.Application after wake-up maintains the background state of the first duration,
And when reaching the first duration, suspended state is converted to again.
In summary, the application state conversion method that the present embodiment is provided, by using application from running status
Phase buffer before into off-duty state restarts application, makes it into suspended state, and according to restarting process
The timed task periodic wakeup of middle registration is in the application of suspended state;Solve using due to being killed by iOS
It is dead or exit into off-duty state, cause using can not be the problem of backstage is resident;Reach using certainly
Move to restart and apply the effect resided on backstage with timing wake-up mechanism, realization.
In the present embodiment, by being configured in advance to the project file of application, and wake-up mechanism is set, when
During using in suspended state, iOS can be waken up by data-pushing wake-up mode or timed task wake-up mode
Using;When application enters off-duty state, it can realize that application is restarted automatically by automatic Restart mechanisms,
And background state is entered by iOS timing wake-ups after restart, realize that application backstage truly is resided.
On the basis of Fig. 3 A illustrated embodiments, when iOS indicates that application is suspended state by foreground State Transferring
When, the background task application interface that the application can be provided by iOS applies for the extra running background time,
So as to which further extension application is in the time of background state.As shown in Figure 3 B, after above-mentioned steps 302,
It can also comprise the following steps.
Step 307, the background task Shen sent during application is transformed into background state from preceding mesa-shaped state is received
Please, background task application is used for the background state for asking operating system to allow the application to maintain the second duration.
When the Home key of iOS device is pressed, the application in foreground state passes through background task Shen
Please interface send background task application to iOS, application maintains the background state of the second duration, wherein, this
Two durations can be 3 minutes.
By this background task application mechanism, after the Home key of iOS device is pressed, using will not be direct
Suspended state is converted to from preceding mesa-shaped state, but can continue to maintain the background state of a period of time, and rear
Code is performed under mesa-shaped state and the data received are handled, it is possible to increase application is received and processing data
It is ageing.
It should be noted that to iOS transmission background task applications, this mechanism is needed when Home key is pressed
To be configured in advance in the project file of application.
Step 308, at the end of the second duration, the application is converted into suspended state from background state.
In order to avoid application is killed because being limited beyond backstage by iOS, apply after Home key is pressed
Background state and operation code are maintained in second duration, and at the end of close to the second duration, is automatically stopped fortune
Line code, iOS is detected using after code out of service, making using entering suspended state, after preventing because exceeding
Platform limitation is killed or exited by iOS.It should be noted that actively code out of service can be by adjusting for application
The corresponding interface for being there is provided with iOS realizes that the present embodiment will not be repeated here.
In the present embodiment, during background state is entered by foreground state, pass through background task application
The interface application extra running background time, further extend using the time in background state, for
Instantaneity is required for higher application, it is possible to increase application receive and processing data it is ageing.
The application state conversion method that above-described embodiment is provided, can be used for having message to push in the application of demand,
Schematically illustrated below so that the application state conversion method is used for mail applications as an example.
As shown in Figure 4 A, when the mail applications in iOS are not pre-configured with by the above method, postal
, it is necessary to first send a message to apple during mail applications PUSH message of the part server 41 into iOS device 42
Fruit sending out notice service (English:Apple Push Notification Service;Referred to as:APNS) server
43, the facility information of the iOS device carried in the message is parsed by APNS servers 43, then this is disappeared
Breath is forwarded in corresponding iOS device 42, and is finally pushed to mail applications, it is clear that pushed away using APNS
Take needs to rely on APNS servers when business receives the message pushed.
Message is received using the service of being locally pushed if not using APNS Push Services, APNS need not be relied on
Server, but require that the mail applications in iOS device reside backstage, and answering for above-described embodiment offer is provided
It can just realized and resided using backstage with state transition method.
In the application project file configuration stage, when developer is that mail applications configure application project file, open
Open voice over ip feature;Startup stage is being applied, mail applications register timed task to iOS, indicating the iOS cycles
Property wake up answer mail applications, it is to avoid backed off after random is killed by iOS in suspended state mail applications for a long time;Postal
Part is applied during front stage operation, and when user presses Home key, mail applications call what iOS was provided
Background task application interface maintains the extra background state of 3 minutes (the second duration), and close to 3 minutes
When stop performing code, will be using being transformed into suspended state when iOS is detected using stopping performing code;
Under suspended state, because mail applications open voice over ip feature, iOS adapters mail applications and mail server it
Between connection, and receive mail server push message when, wake up mail applications processing push disappear
Breath, realizes that the backstage of mail applications is resided.
When mail applications enter off-duty state by foreground state or background state, mail applications utilize entrance
Phase buffer before off-duty state restarts application, and registers timed task to iOS when restarting.After restarting
Mail applications iOS backstages be in suspended state, until iOS according to timed task periodically waken up,
Into background state, so as to realize that the backstage of application is resided.
As shown in Figure 4 B, the application state conversion method provided by above-described embodiment can realize mail applications
Resident on backstage, mail applications can be using the message that service receipt mail server is pushed be locally pushed, i.e.,
Mail server 41 can directly into iOS device 42 mail applications PUSH message, it is to avoid to APNS
The dependence of server.
Fig. 5 is refer to, it illustrates a kind of block diagram of application state conversion equipment provided in an embodiment of the present invention.
The application state conversion equipment being implemented in combination with as mobile terminal by software, hardware or both
All or part.The application state conversion equipment can include:Start unit 510, restart unit 520,
Registering unit 530 and wakeup unit 540.
Start unit 510, for starting application, matches somebody with somebody using the VoIP back office interfaces provided by operating system
Put voice over ip feature;
Unit 520 is restarted, for when it is determined that application starts from running status to off-duty State Transferring, turning
Change and application is restarted before completion, running status includes foreground state or with background state;
Registering unit 530, for registering timed task to operating system during application is restarted, timing is appointed
It is engaged in for indicating that operating system periodic wakeup is in the application of suspended state;
Wakeup unit 540, for according to timed task, periodic wakeup to be in the application of suspended state, wakes up
Application afterwards is in background state.
In summary, the application state conversion equipment that the present embodiment is provided, by using application from running status
Phase buffer before into off-duty state restarts application, makes it into suspended state, and according to restarting process
The timed task periodic wakeup of middle registration is in the application of suspended state;Solve using due to being killed by iOS
It is dead or exit into off-duty state, cause using can not be the problem of backstage is resident;Reach using certainly
Move to restart and apply the effect resided on backstage with timing wake-up mechanism, realization.
Fig. 6 is refer to, it illustrates the frame of another application state conversion equipment provided in an embodiment of the present invention
Figure.The application state conversion equipment can be implemented in combination with turning into movement eventually by software, hardware or both
The all or part at end.On the basis of shown in Fig. 5, the application state conversion equipment can be further
Including:
Converting unit 550, for that when detecting scheduled operation, will apply and be converted to hang-up shape from preceding mesa-shaped state
State;
Wakeup unit 540, is additionally operable to, by scheduling wake-up mode, wake up the application in suspended state;It is predetermined
Wake-up mode includes at least one of data-pushing wake-up mode or timed task wake-up mode.
In a kind of possible embodiment, when being applied by the wake-up of data-pushing wake-up mode;
Wakeup unit 540, for when receiving the data that application server is pushed to application, waking up in extension
The application for the state of rising.
In a kind of possible embodiment, when being applied by the wake-up of timed task wake-up mode;
Start unit 510, is additionally operable to register timed task to operating system during application is started;
Wakeup unit 540, is additionally operable to according to timed task, periodic wakeup is in the application of suspended state.
In a kind of possible embodiment, after the background state of application the first duration of maintenance after wake-up again
Be converted to suspended state.
In a kind of possible embodiment, the device, in addition to:
Receiving unit 560, sends for receiving during the application is transformed into background state from preceding mesa-shaped state
Background task application, the background task application is used to ask the operating system to allow the application to maintain
The background state of second duration.
The converting unit 550, is additionally operable at the end of second duration, is applied described from the backstage
State Transferring is the suspended state.
In summary, the application state conversion equipment that the present embodiment is provided, by using application from running status
Phase buffer before into off-duty state restarts application, makes it into suspended state, and according to restarting process
The timed task periodic wakeup of middle registration is in the application of suspended state;Solve using due to being killed by iOS
It is dead or exit into off-duty state, cause using can not be the problem of backstage is resident;Reach using certainly
Move to restart and apply the effect resided on backstage with timing wake-up mechanism, realization.
In the present embodiment, by being configured in advance to the project file of application, and wake-up mechanism is set, when
During using in suspended state, iOS can be waken up by data-pushing wake-up mode or timed task wake-up mode
Using;When application enters off-duty state, it can realize that application is restarted automatically by automatic Restart mechanisms,
And background state is entered by iOS timing wake-ups after restart, realize that application backstage truly is resided.
In the present embodiment, during background state is entered by foreground state, pass through background task application
The interface application extra running background time, further extend using the time in background state, for
Instantaneity is required for higher application, it is possible to increase application receive and processing data it is ageing.
Fig. 7 is refer to, it illustrates the structural representation of mobile terminal 700 provided in an embodiment of the present invention.Should
Mobile terminal 700 can be smart mobile phone, tablet personal computer, E-book reader or the MP4 for being provided with iOS
(English:Moving Picture Experts Group Audio Layer IV, referred to as:MP4) player etc..
Mobile terminal 700 can include:The parts such as processor 710, memory 720 and display screen 730.This
Art personnel are appreciated that the structure of the mobile terminal 700 shown in Fig. 7 is not constituted to mobile whole
The restriction at end, can include than illustrating more or less parts, either combine some parts or difference
Part arrangement.Wherein:
Processor 710 is the control centre of mobile terminal 700, is entirely moved using various interfaces and connection
The various pieces of dynamic terminal, software program and/or module in memory 720 are stored in by operation or execution,
And the data being stored in memory 720 are called, perform the various functions and processing number of mobile terminal 700
According to so as to carry out overall control to mobile terminal 700.Optionally, processor 710 may include one or many
Individual processing core;Optionally, processor 710 can integrated application processor, modem processor and association
Processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation
Demodulation processor mainly handles radio communication, and coprocessor is used to handle sensing data or touch screen data,
Such as, coprocessor includes touch-control integrated circuit.It is understood that above-mentioned modem processor and association
Processor can not also be integrated into processor 710, and is existed with independent processor.
Memory 720 can be used for storage software program and module.Processor 710 is stored in by operation
The software program and module of reservoir 720, so as to perform various function application and data processing.Memory
720 can mainly include storing program area and storage data field, wherein, storing program area can storage program area
721st, registering unit 722, wakeup unit 723 and at least one application program 724;Storage data field can be deposited
Storage uses created data (such as voice data, phone directory etc.) etc. according to mobile terminal 700.This
Outside, memory 720 can be by any kind of volatibility or non-volatile memory device or combinations thereof
Realize, such as static RAM (English:Static Random Access Memory, referred to as:
SRAM), Electrically Erasable Read Only Memory (English:Electrically Erasable Programmable
Read-Only Memory, referred to as:EEPROM), Erasable Programmable Read Only Memory EPROM (English:Erasable
Programmable Read Only Memory, referred to as:EPROM), programmable read only memory (English:
Programmable Read-Only Memory, referred to as:PROM), read-only storage (English:Read Only
Memory, referred to as:ROM), magnetic memory, flash memory, disk or CD.Correspondingly, store
Device 720 can also include Memory Controller, to provide access of the processor 710 to memory 720.
Display screen 730 is the display module with display function, and the display screen 730 can be touch-screen or non-
Touch-screen.
Mobile terminal 700 also includes the power supply (not shown) powered to all parts, it is preferred that power supply
Can be logically contiguous by power-supply management system and processor 710, managed so as to be realized by power-supply management system
The functions such as reason charging, electric discharge and power managed.Power supply can also include one or more direct current
Or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply
The random components such as positioning indicator.
Although not shown, mobile terminal 700 can also include camera, bluetooth module etc., no longer go to live in the household of one's in-laws on getting married herein
State.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing all or part of step of above-described embodiment can pass through
Hardware is completed, and the hardware of correlation can also be instructed to complete by program, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage, disk or
CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all the present invention's
Within spirit and principle, any modification, equivalent substitution and improvements made etc. should be included in the present invention's
Within protection domain.
Claims (18)
1. a kind of application state conversion method, it is characterised in that in mobile terminal, the mobile terminal
In be provided with operating system, and the operating system at least one application be installed, methods described includes:
Start the application, the voice-over-net call VoIP backstages that the application is provided by the operating system
Interface configures voice over ip feature;
When it is determined that the application starts from running status to off-duty State Transferring, before described convert
Restart the application, the running status includes foreground state or background state;
Timed task is registered to the operating system during the application is restarted, the timed task is used
The application of suspended state is in the instruction operating system periodic wakeup;
According to the timed task, periodic wakeup is in the application of the suspended state, after wake-up
The application is in the background state.
2. according to the method described in claim 1, it is characterised in that when the application is in the preceding mesa-shaped
During state, methods described also includes:
It is the suspended state by described apply from the foreground State Transferring when detecting scheduled operation;
By scheduling wake-up mode, the application in the suspended state is waken up;The scheduling wake-up side
Formula includes at least one of data-pushing wake-up mode or timed task wake-up mode.
3. method according to claim 2, it is characterised in that when passing through the data-pushing wake-up side
When formula wakes up the application, described by scheduling wake-up mode, wake-up is in the described of the suspended state should
With, including:
When receiving the data that application server is pushed to the application, wake up in the suspended state
The application.
4. method according to claim 2, it is characterised in that when passing through the timed task wake-up side
When formula wakes up the application, the startup application, including:
During the application is started the timed task is registered to the operating system;
It is described that the application in the suspended state is waken up by scheduling wake-up mode, including:
According to the timed task, periodic wakeup is in the application of the suspended state.
5. according to any described method of Claims 1-4, it is characterised in that the application after wake-up
The suspended state is converted to again after the background state for maintaining the first duration.
6. according to any described method of claim 2 to 4, it is characterised in that methods described also includes:
The background task application sent during the application is transformed into background state from preceding mesa-shaped state is received,
The background task application be used to asking the operating system allow the application maintain the second duration it is described after
Mesa-shaped state;
At the end of second duration, the application is converted into the suspended state from the background state.
7. a kind of application state conversion equipment, it is characterised in that described device is used in mobile terminal, described
It is provided with mobile terminal in operating system, and the operating system and at least one application, the dress is installed
Put including:
Start unit, for starting the application, the network language that the application is provided by the operating system
Sound call VoIP back office interface configuration voice over ip features;
Restart unit, for when it is determined that the application starts from running status to off-duty State Transferring,
It is described convert before restart the application, the running status includes foreground state or background state;
Registering unit, timed task is registered during the application is restarted to the operating system, described
Timed task is used for the application for indicating that the operating system periodic wakeup is in suspended state;
Wakeup unit, for according to the timed task, periodic wakeup to be in the described of the suspended state
Using the application after wake-up is in the background state.
8. device according to claim 7, it is characterised in that described device, including:
Converting unit, for when detecting scheduled operation, being from the foreground State Transferring by the application
The suspended state;
The wakeup unit, is additionally operable to by scheduling wake-up mode, wakes up described in the suspended state
Using;The scheduling wake-up mode is included in data-pushing wake-up mode or timed task wake-up mode at least
It is a kind of.
9. device according to claim 8, it is characterised in that when passing through the data-pushing wake-up side
When formula wakes up the application, the wakeup unit is pushed for that ought receive application server to the application
Data when, wake up in the suspended state the application.
10. device according to claim 8, it is characterised in that waken up when by the timed task
When mode wakes up the application;The start unit, is additionally operable to during the application is started to described
Operating system registers the timed task;
The wakeup unit, is additionally operable to according to the timed task, periodic wakeup is in the suspended state
The application.
11. according to any described device of claim 7 to 10, it is characterised in that described after wake-up should
With maintain the first duration the background state after be converted to the suspended state again.
12. according to any described device of claim 8 to 10, it is characterised in that described device, also wrap
Include:
Receiving unit, for receiving what is sent during the application is transformed into background state from preceding mesa-shaped state
Background task application, the background task application is used to asking the operating system to allow the application to maintain the
The background state of two durations;
The converting unit, is additionally operable at the end of second duration, is applied described from the rear mesa-shaped
State is converted to the suspended state.
13. a kind of mobile terminal, it is characterised in that the mobile terminal includes:Processor and with it is described
The connected memory of processor, wherein, the memory is used to store one or more than one instruction,
The instruction is configured to by the computing device, and the mobile terminal is provided with operating system, the place
Device is managed, is used for:
Start the application, the voice-over-net call VoIP backstages that the application is provided by the operating system
Interface configures voice over ip feature;
When it is determined that the application starts from running status to off-duty State Transferring, before described convert
Restart the application, the running status includes foreground state or background state;
Timed task is registered to the operating system during the application is restarted, the timed task is used
The application of suspended state is in the instruction operating system periodic wakeup;
According to the timed task, periodic wakeup is in the application of the suspended state, after wake-up
The application is in the background state.
14. mobile terminal according to claim 13, it is characterised in that described in being in when the application
During the state of foreground, the processor is additionally operable to:
It is the suspended state by described apply from the foreground State Transferring when detecting scheduled operation;
By scheduling wake-up mode, the application in the suspended state is waken up;The scheduling wake-up side
Formula includes at least one of data-pushing wake-up mode or timed task wake-up mode.
15. mobile terminal according to claim 14, it is characterised in that when passing through the data-pushing
When wake-up mode wakes up the application, the processor is used for:
When receiving the data that application server is pushed to the application, wake up in the suspended state
The application.
16. mobile terminal according to claim 14, it is characterised in that when passing through the timed task
When wake-up mode wakes up the application, the processor is used for:
During the application is started the timed task is registered to the operating system;
The processor, is additionally operable to:
According to the timed task, periodic wakeup is in the application of the suspended state.
17. according to any described mobile terminal of claim 13 to 16, it is characterised in that after wake-up
The application is converted to the suspended state again after maintaining the background state of the first duration.
18. according to any described mobile terminal of claim 14 to 16, it is characterised in that the processing
Device, is additionally operable to:
The background task application sent during the application is transformed into background state from preceding mesa-shaped state is received,
The background task application be used to asking the operating system allow the application maintain the second duration it is described after
Mesa-shaped state;
At the end of second duration, the application is converted into the suspended state from the background state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610167883.4A CN107231386B (en) | 2016-03-23 | 2016-03-23 | Application state conversion method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610167883.4A CN107231386B (en) | 2016-03-23 | 2016-03-23 | Application state conversion method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107231386A true CN107231386A (en) | 2017-10-03 |
CN107231386B CN107231386B (en) | 2020-07-07 |
Family
ID=59931587
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610167883.4A Active CN107231386B (en) | 2016-03-23 | 2016-03-23 | Application state conversion method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107231386B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052258A (en) * | 2017-12-28 | 2018-05-18 | 维沃移动通信有限公司 | A kind of processing method of terminal task, Task Processing Unit and mobile terminal |
CN108062190A (en) * | 2017-12-28 | 2018-05-22 | 维沃移动通信有限公司 | A kind of application operation condition control method and mobile terminal |
CN109708634A (en) * | 2018-12-12 | 2019-05-03 | 平安科技(深圳)有限公司 | Judge automatically method, apparatus, storage medium and the electronic equipment of driving behavior |
CN110650259A (en) * | 2019-08-26 | 2020-01-03 | 中移(杭州)信息技术有限公司 | Call request response method, device, server, terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369641A (en) * | 2012-04-01 | 2013-10-23 | 北京百度网讯科技有限公司 | Method and device for receiving pushed messages by mobile terminal, and mobile terminal |
CN103491175A (en) * | 2013-09-25 | 2014-01-01 | 北京网秦天下科技有限公司 | Method and terminal for application program management |
CN104426893A (en) * | 2013-09-09 | 2015-03-18 | 中国移动通信集团公司 | Method, device and system for awakening mobile terminal |
WO2015188761A1 (en) * | 2014-06-12 | 2015-12-17 | Tencent Technology (Shenzhen) Company Limited | Traffic acquiring method and apparatus based on operating system |
-
2016
- 2016-03-23 CN CN201610167883.4A patent/CN107231386B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369641A (en) * | 2012-04-01 | 2013-10-23 | 北京百度网讯科技有限公司 | Method and device for receiving pushed messages by mobile terminal, and mobile terminal |
CN104426893A (en) * | 2013-09-09 | 2015-03-18 | 中国移动通信集团公司 | Method, device and system for awakening mobile terminal |
CN103491175A (en) * | 2013-09-25 | 2014-01-01 | 北京网秦天下科技有限公司 | Method and terminal for application program management |
WO2015188761A1 (en) * | 2014-06-12 | 2015-12-17 | Tencent Technology (Shenzhen) Company Limited | Traffic acquiring method and apparatus based on operating system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052258A (en) * | 2017-12-28 | 2018-05-18 | 维沃移动通信有限公司 | A kind of processing method of terminal task, Task Processing Unit and mobile terminal |
CN108062190A (en) * | 2017-12-28 | 2018-05-22 | 维沃移动通信有限公司 | A kind of application operation condition control method and mobile terminal |
CN109708634A (en) * | 2018-12-12 | 2019-05-03 | 平安科技(深圳)有限公司 | Judge automatically method, apparatus, storage medium and the electronic equipment of driving behavior |
CN110650259A (en) * | 2019-08-26 | 2020-01-03 | 中移(杭州)信息技术有限公司 | Call request response method, device, server, terminal and storage medium |
CN110650259B (en) * | 2019-08-26 | 2021-08-17 | 中移(杭州)信息技术有限公司 | Call request response method, device, server, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107231386B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101673216B (en) | Closing application program method and apparatus | |
CN102970155B (en) | Keep activity management | |
EP2830044B1 (en) | Instruction processing method, apparatus, and system | |
CN105159816B (en) | A kind of method, mobile terminal and system reducing equipment power dissipation | |
WO2016041468A1 (en) | Wakeup method, device and terminal | |
JP6385276B2 (en) | Startup pattern management | |
CN107231386A (en) | Application state conversion method, device and mobile terminal | |
US9904345B2 (en) | Data processing method, modem, and terminal | |
CN106569585B (en) | A kind of method and terminal managing program process | |
CN103546951A (en) | Mobile device and sleeping managing method thereof | |
WO2010139169A1 (en) | Electricity-saving method and device for terminal | |
CN105893129A (en) | Processing method and device for application programs in terminal | |
CN107450952B (en) | Using management-control method, device, storage medium and electronic equipment | |
TWI540920B (en) | Method for managing data traffic of software and portable electronic apparatus using the same | |
CN102236403A (en) | Automatic online and offline device and method for financial tape reading software of mobile device | |
CN105281965B (en) | Traffic acquisition method and device based on IOS (input/output system) | |
CN109545211A (en) | Voice interactive method and system | |
WO2016045525A1 (en) | Method and apparatus for processing state of terminal | |
CN103546804A (en) | Power management method and device of digital set-top box | |
TWI407765B (en) | Mobile device, power saving method and computer executable medium | |
CN105676999B (en) | A kind of method and system of processing terminal application | |
CN107436674A (en) | terminal control method, device and non-transitory computer-readable medium | |
CN108459838B (en) | Information processing method and electronic equipment | |
CN103391379B (en) | The home gateway supported with standby mode | |
CN111381888A (en) | Electronic terminal use control method and device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |