WO2013181812A1 - 应用程序的管理方法及终端 - Google Patents
应用程序的管理方法及终端 Download PDFInfo
- Publication number
- WO2013181812A1 WO2013181812A1 PCT/CN2012/076538 CN2012076538W WO2013181812A1 WO 2013181812 A1 WO2013181812 A1 WO 2013181812A1 CN 2012076538 W CN2012076538 W CN 2012076538W WO 2013181812 A1 WO2013181812 A1 WO 2013181812A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- terminal
- data
- list
- timer
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000003993 interaction Effects 0.000 claims description 20
- 230000001360 synchronised effect Effects 0.000 claims description 7
- 230000001960 triggered effect Effects 0.000 claims description 7
- 230000007958 sleep Effects 0.000 description 17
- 230000008569 process Effects 0.000 description 10
- 238000007726 management method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000006266 hibernation Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
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/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
- G06F9/4825—Interrupt from clock, e.g. time of day
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
- G06F9/4893—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues taking into account power or heat criteria
-
- 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/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method and a terminal for managing an application. Background technique
- Intelligent terminals generally refer to terminal devices with multimedia functions and strong data processing capabilities, and these terminal devices support the implementation of data services.
- data services within intelligent terminals are increasingly enriched, and these data services include services initiated by various applications that interact with the network.
- the above application runs in the background of the smart terminal, the data generated when interacting with the server-side data is called the background data of the application, and the application synchronizes the background data with the data generated by the server through data interaction.
- the smart terminal when the display screen of the smart terminal is turned off, the smart terminal usually enters a sleep state. If the application is still open on the smart terminal, in order to maintain the background data of the application, a setting may be set for the application.
- the timer when the timer period of the timer arrives, triggers the smart terminal to wake up from the sleep state, and synchronizes the background data of the application with the server.
- the time period set by the device interacts with the data on the server side, so that the background data of all applications is synchronized with the server end, so the terminal needs to wake up from the sleep state according to the time period set by different applications, thereby consuming
- a method for managing an application and a terminal are provided to solve the problem that all applications in the terminal need to perform periodic data interaction, which consumes power of the terminal.
- An application management method comprising:
- the device Determining, when the first application running in the terminal is not in the application list that needs to maintain the background data, suspending the first timer corresponding to the running first application, where the background data is an application
- the device is configured to trigger the first application to synchronize the background data of the first application with the data generated by the server by using the data interaction when the preset timing moment is reached.
- a terminal, the terminal includes:
- An obtaining unit configured to obtain a list of applications that need to maintain background data
- a control unit configured to suspend the running according to an application that is acquired by the acquiring unit and needs to maintain background data, and determines that the first application running in the terminal is not in the application list that needs to maintain background data
- the first application corresponds to the first timer, wherein the background data is data generated when the application interacts with the server-side data when the terminal runs in the background of the terminal, and the first timer is used to arrive in advance.
- the first application is triggered to synchronize the background data of the first application with the data generated by the server by the data interaction.
- the timer of the application that does not need to maintain the background data in the terminal may be suspended. Since the timer is temporarily stopped, the terminal does not perform data interaction between the application and the server because the timer expires. In order to keep the background data of these applications synchronized with the data generated by the server, the number of times the terminal wakes up from the sleep state is reduced, the power consumption and data traffic of the terminal are saved, and the standby time of the terminal is extended accordingly.
- FIG. 1 is a flow chart of a first embodiment of a method for managing an application according to the present invention
- FIG. 2 is a flow chart of a second embodiment of a method for managing an application according to the present invention.
- FIG. 3 is a flow chart of a third embodiment of a method for managing an application according to the present invention.
- FIG. 4 is a flow chart of a fourth embodiment of a method for managing an application according to the present invention.
- Figure 5 is a block diagram of a first embodiment of a terminal of the present invention.
- 6A is a block diagram of a second embodiment of a terminal of the present invention.
- Figure 6B is a block diagram of an embodiment of the control unit of Figure 6A. detailed description
- a flow chart of a first embodiment of a method for managing an application of the present invention is as follows:
- Step 101 Obtain a list of applications in the terminal that need to maintain background data.
- the background data refers to data generated when the application interacts with the server-side data when the terminal runs in the background.
- the data generated by the server can be obtained from the server, and the data generated by the server is used as the background data of the application, so that the background data of the application and the server end.
- the generated data is kept in sync; or the data generated by the server side sent by the server may be received, and the data generated by the server is used as the background data of the application, so that the background data of the application and the data generated by the server are maintained. Synchronize.
- the application in this embodiment is an application that needs to use a network, and therefore the server side that interacts with these applications may refer to various application servers.
- a timer may be set for the application, and when the timer reaches a preset timing, the application is triggered to synchronize data with the server to maintain the application.
- the background data is consistent with the data generated by the server.
- an application in the terminal is a weather forecast. Since the weather forecast is usually updated 24 hours, the application can perform data interaction with the server in one day, that is, the application can be set to not need to maintain the background.
- the application of the data for example, an application in the terminal is gmail.
- the application can be set as an application that needs to maintain the background data; it should be noted that if the user does not You need to receive mail in real time, so you can also set gmail to an application that doesn't need to keep background data.
- the terminal user can select an application in the terminal that needs to maintain background data as needed.
- the terminal may pre-find the application list in the terminal, and create a first list, where the first list is an application list that needs to use the network, and the first list is provided to the user, and the user creates a first list according to the result of the selection of the first list.
- saving a second list which is a list of applications that need to maintain background data.
- the application that needs to maintain the background data in the terminal may be obtained by acquiring the saved second list; or the terminal may also execute the application running in the terminal when receiving the command to close the display screen.
- the ordered list is provided to the user, and the application that needs to maintain the background data is instantly obtained according to the user's selection result of the list.
- an application that needs to maintain background data in the terminal may be acquired.
- Step 102 When it is determined that the application running in the terminal is not in the application list that needs to maintain the background data, the timer of the running application is suspended.
- the application corresponding to the timer is triggered to perform data interaction with the server, so that the background data of the application and the data generated by the server are maintained. Synchronize.
- each application running in the terminal can be searched, and for each application found, it is determined whether the application is in an application list that needs to maintain background data, and when the application is not in an application that needs to maintain background data In the list, the timer corresponding to the application is suspended, and the timer is aborted; the above process is repeated until all the running applications of the terminal are found.
- the terminal may allocate a timer for each application, the timer having an identifier ID, for example, the identifier of the timer assigned to the application A is the identifier of the timer assigned to the application B.
- the ID is b, and the suspend timer means that the timer is stopped at the current timing. At this time, the ID of the timer does not change. Therefore, the suspended timer can be found according to the ID of the timer, and the timer is activated. Work, so that the timer continues to time the same application.
- FIG. 2 it is a flowchart of a second embodiment of a method for managing an application according to the present invention.
- the embodiment shows a management process when an application including a TCP link is established in the terminal:
- Step 201 Pre-find the application list in the terminal to create a first list, which is a list of applications that need to use the network.
- the application list that needs to use the network in the terminal can be traversed to create a first list of applications that need to use the network.
- the application list that needs to use the network in the terminal can be traversed to create a first list of applications that need to use the network.
- Step 202 Create and save a second list of applications including background data to be maintained according to the user's selection result of the first list.
- the background data refers to data generated when the application interacts with the server-side data when the terminal runs in the background.
- the data generated by the server can be obtained from the server, and the data generated by the server is used as the background data of the application, so that the background data of the application and the server end.
- the generated data is kept in sync; or the data generated by the server side sent by the server may be received, and the data generated by the server is used as the background data of the application, so that the background data of the application and the data generated by the server are maintained. Synchronize.
- the application in this embodiment is an application that needs to use a network, and therefore the server side that interacts with these applications may refer to various application servers.
- the user can select an application that needs to maintain the background data from the first list as needed to create a second list.
- the user may select an application that needs to maintain background data from the first list by using a check method, and the terminal saves the application that needs to maintain the background data to the second list according to the selection result of the user, for example, the selection result may be
- the second list form is saved to flash (flash) so that when the display is closed, the saved second list can be retrieved from the flash to determine whether the running application needs to maintain background data.
- an application that needs to maintain background data is saved in a list.
- an application that does not need to maintain background data may be saved in a list, and the embodiment of the present application does not limit the application. As long as the terminal can determine whether each running application needs to maintain background data through the information stored in the list.
- the terminal may also use the application running in the terminal when receiving the command to close the display screen.
- the list is provided to the user, and the application that needs to maintain the background data is instantly obtained according to the user's selection result of the list.
- Step 203 When the display screen of the terminal is closed, the saved second list is obtained.
- the terminal may obtain an application that needs to maintain background data according to the second list saved in step 202.
- Step 204 Traverse the application running inside the terminal.
- Step 205 Determine whether an application that is currently traversed is in the second list, and if yes, execute step 207; otherwise, execute step 206.
- Step 206 Suspend the timer of the application, close the established TCP link, and record the identification information of the TCP link.
- the application corresponding to the timer is triggered to perform data interaction with the server, so that the background data of the application and the data generated by the server are maintained. Synchronize.
- the terminal may allocate a timer for each application, the timer having an identification ID, for example, the identification ID of the timer assigned to the application A is ⁇
- the identification ID of the timer assigned to the application B is b, hanging
- the timer means that the timer is stopped at the current timing. At this time, the ID of the timer does not change. Therefore, the suspended timer can be found according to the ID of the timer, and the timer is activated to operate. The device continues to time the same application.
- an application in a terminal may implement a data service based on a User Datagram Protocol (UDP) or a data service based on a Transmission Control Protocol (TCP), where The data service of TCP needs to establish a TCP link between the terminal and the server, and the data service based on UDP transmits data by broadcasting, so there is no need to establish a special network connection. Therefore, for an application that does not need to maintain background data, if it does not establish a TCP link, it only needs to suspend the timer of the application.
- UDP User Datagram Protocol
- TCP Transmission Control Protocol
- Step 207 Whether all the running applications in the terminal are traversed, and if yes, go to step 208; return to step 204.
- Step 208 Determine whether all applications running in the terminal are not in the second list, and if yes, execute step 209; otherwise, execute step 210.
- Step 209 Close the data link of the terminal.
- Step 210 The terminal enters a sleep state and ends the current process.
- FIG. 3 it is a flowchart of a third embodiment of a method for managing an application according to the present invention.
- the embodiment shows a management process when an application that does not need to maintain background data is an application that performs a download task:
- Step 301 When the display screen of the terminal is turned off, obtain an application list in the terminal that needs to maintain background data.
- the background data refers to data generated when the application interacts with the server-side data when the terminal runs in the background.
- the data generated by the server can be obtained from the server, and the data generated by the server is used as the background data of the application, so that the background data of the application and the server end.
- the generated data is kept in sync; or the data generated by the server side sent by the server may be received, and the data generated by the server is used as the background data of the application, so that the background data of the application and the data generated by the server are maintained. Synchronize.
- the application in this embodiment is an application that needs to use a network, and therefore the server side that interacts with these applications may refer to various application servers.
- a timer can be set for the application.
- the terminal is Wake-up in hibernation, allowing the application to synchronize data with the server to keep the background data of the application consistent with the data on the server.
- an application in the terminal is a weather forecast. Since the weather forecast is usually updated 24 hours, the time interval between the user's display of the terminal being closed and the display of the terminal being turned on is usually no more than 24 hours, so the terminal enters sleep.
- the application can perform data interaction with the server, that is, the application can be set to an application that does not need to maintain background data; for example, an application in the terminal is gmail, since gmail needs to be real-time after being opened.
- the application still needs to perform data interaction with the server side, that is, the application can be set as an application that needs to maintain the background data; it should be noted that if the user does not need to be displayed If you receive a message with the screen closed, you can also set gmail to an application that does not need to maintain background data.
- the terminal user can select an application in the terminal that needs to maintain background data as needed.
- the terminal may pre-find the application list in the terminal, and create a first list, where the first list is an application list that needs to use the network, and the first list is provided to the user, and the user creates a first list according to the result of the selection of the first list.
- saving a second list which is a list of applications that need to maintain background data.
- the application list that needs to maintain the background data in the terminal may be obtained by acquiring the saved second list; or, the terminal may also use the application running in the terminal when receiving the command to close the display screen.
- the list is provided to the user to instantly obtain a list of applications that need to maintain background data based on the user's selection of the list.
- Step 302 Traverse the application running inside the terminal.
- the traversal mode can be used to judge whether the running application needs to maintain the background data one by one.
- Step 303 Determine whether an application currently traversed is in the application list that needs to maintain background data, and if yes, execute step 307; otherwise, execute step 304.
- Step 304 Detect whether the traversed application performs a data download task, and if yes, execute step 305; otherwise, execute step 306.
- the embodiment further detects whether the running application is performing a data download task.
- Step 305 Wait for the data download task to complete.
- the terminal waits for the data download task to complete before performing the subsequent step 306.
- Step 306 Suspend the timer of the application that is currently traversed.
- the terminal may allocate a timer for each application, and the timer has an identifier.
- the suspend timer means that the timer is stopped at the current timing, and the ID of the timer does not change, so The continuation can find the suspended timer according to the ID of the timer, and activate the timer to work, so that the timer continues to time the same application.
- Step 307 Whether to traverse all running applications in the terminal, and if yes, execute step 308; return to step 302.
- Step 308 Determine whether all applications running in the terminal are not in the application list that needs to maintain the background data, and if yes, execute step 309; otherwise, execute step 310.
- the terminal still needs to maintain the established data link to support the terminal to implement data interaction through the data link;
- the application is an application that does not need to open the network, the established data link can be closed to further reduce the energy consumed by the terminal to maintain the data link.
- Step 309 Close the data link of the terminal.
- Step 310 The terminal enters a sleep state and ends the current process.
- FIG. 4 it is a flowchart of a fourth embodiment of a method for managing an application according to the present invention.
- the embodiment shows a management process of an application when the terminal display screen is turned off to on:
- Step 401 The terminal display is closed, and the data link is closed, and the enabled state of the data service switch set by the user is saved in the terminal.
- the terminal usually has a function of performing a voice service and a data service.
- the operation of the application program in the embodiment of the present invention belongs to a part of the data service, and the data service switch can be preset in the terminal, and the data service switch can be provided to the user through an option. Select, the user can choose to set the data service switch as needed.
- the enable state is enabled, the user needs to implement data services on the terminal. If the enable state is off, the user does not need to implement data services on the terminal.
- the enabled state of the data service switch is off, the data link in the terminal needs to be kept closed to ensure that the terminal cannot implement data services according to the data link.
- Step 402 The terminal receives a command to turn on the display.
- This embodiment may be performed after any one of the foregoing second embodiment and the third embodiment of the foregoing method, that is, the foregoing embodiment describes that the terminal turns off the display screen and enters a sleep state, and this embodiment describes that the terminal receives the open display.
- the application management process after the command of the screen.
- Step 403 Determine the enabled state of the data service switch. If yes, go to step 404. If it is off, go to step 405.
- the terminal When the data service switch is enabled, the terminal needs to implement the data service. If the terminal needs to implement the data service, go to step 404 to open the closed data link. When the data service switch is disabled, the terminal does not need to implement data services. So keep the data link off.
- Step 404 Open the closed data link.
- Step 405 Read the timer of the suspended application and activate the read timer.
- the terminal may save a list of the identifier IDs of the timers, and obtain the timers to be activated by reading the identifier IDs in the list. For the timer that has been suspended, the time difference between the time when the timer is stopped and the current time when the display is off may be obtained, and according to the time difference, it is determined whether the timer exceeds a preset time duration, and when the preset time duration is exceeded, The timer is activated to restart timing. When the preset time duration is not exceeded, the timer is activated to continue counting from the current time.
- the enable state of the data service switch When the enable state of the data service switch is enabled, the user needs to implement the data service, and the terminal opens the closed data link after receiving the command to turn on the display. At this time, the activation timer starts timing. When the preset time duration is reached, the application corresponding to the timer can perform data interaction with the server through the open data link, so that the background data of the application is synchronized with the data generated by the server.
- the enabled state of the data service switch When the enabled state of the data service switch is off, it indicates that the user does not need to implement data services after the terminal is set up. After receiving the command to turn on the display, the terminal still keeps the data link closed, so that the application cannot pass the data link. Data interaction with the server, that is, data service cannot be implemented. At this time, the timer can still be activated to start timing, because for an application, when the timer reaches a preset timing, in addition to the trigger involved in the embodiment of the present invention, The application interacts with the server through the data link, and may also trigger the application to perform some network-free operations inside the terminal, for example, updating the application application interface.
- the activation of the timer can ensure that the application performs the normal operation in the terminal; after the user subsequently sets the enabled state of the data service switch to be enabled, and the data link is opened, the timer corresponds to The application can continue to interact with the server side according to the timing of the timer, so that the background data of the application is synchronized with the data generated by the server.
- the suspended timer when the enabled state of the service switch is turned off, the suspended timer is temporarily not activated, and then when the user sets the enabled state of the service switch to be enabled and the data link is opened, the read is performed.
- the suspended timer is taken and activated, and the embodiment of the present invention is not limited.
- Step 406 The terminal wakes up from the sleep state, turns on the display, and ends the current process.
- the embodiment corresponds to the embodiment of the control method for the data service after the terminal closes the display screen.
- the terminal can be enabled when the data service switch is enabled.
- the terminal wakes up from the sleep state by activating the timer, so that the application corresponding to the activated timer can perform data interaction with the server, thereby causing the terminal to enter a normal data service process.
- the present invention also provides an embodiment of a terminal for performing the embodiment of the method.
- FIG. 5 it is a block diagram of a first embodiment of a terminal according to the present invention:
- the terminal includes: an obtaining unit 510 and a control unit 520.
- the obtaining unit 510 is configured to obtain an application list that needs to maintain background data.
- the control unit 520 is configured to: according to the application that is acquired by the acquiring unit 510 and needs to maintain background data, determine that the first application running in the terminal is not in the application list that needs to maintain background data, and suspend a first timer corresponding to the running first application, where the background data is data generated when the application interacts with the server end data when the terminal runs in the background, and the first timer is used to When the preset timing moment is reached, the first application is triggered to synchronize the background data of the first application with the data generated by the server by the data interaction.
- FIG. 6A it is a block diagram of a second embodiment of the terminal of the present invention:
- the terminal includes: a creating unit 610, a saving unit 620, an obtaining unit 630, and a control unit 640.
- the creating unit 610 is configured to search for an application list in the terminal in advance, and create a first list, where the first list is an application list that needs to use a network;
- a saving unit 620 configured to select a result according to a first list created by the user by the creating unit 610, Creating and saving a second list, where the second list is the application list that needs to maintain the background data;
- the obtaining unit 630 is configured to acquire, when the display screen of the terminal is closed, the saved by the saving unit 620 Second list
- the control unit 640 is configured to: according to the second list acquired by the obtaining unit 630, determine that the first application running in the terminal is not in the second list, suspending the corresponding first application of the running a first timer, where the background data is data generated when an application interacts with server-side data when the terminal runs in the background, and the first timer is used to trigger when a preset timing moment is reached.
- the first application synchronizes the background data of the first application with the data generated by the server by the data interaction.
- control unit 640 is further configured to close the data link of the terminal when all applications running in the terminal are not in the application acquired by the acquiring unit 630 and need to maintain background data.
- control unit 640 is further configured to suspend the timer of the running application, if the first application has established a TCP link, close the established TCP link, and record the TCP link.
- the identifier information is used to restore the TCP link of the first application according to the identifier information after the first timer is activated.
- control unit 640 is further configured to: if the first application that detects the running performs a data download task, triggering execution of the application that suspends the running after the data download task is completed Timer.
- control unit 640 is further configured to: when the data link is closed, save an enable state of a data service switch in the terminal, where the enable state is set by a user; when the display screen of the terminal is from When the off state is in the on state, if the enabled state of the data service switch is on, the data link is opened, and if the enabled state of the data service switch is off, the data link is kept off.
- control unit 640 is further configured to: when the display screen of the terminal enters an open state from a closed state, read a timer of the suspended application, and reactivate the timer.
- control unit 640 can activate the timer of the read application when the enabled state of the data service switch is off, and keep the data link closed, to ensure the application by the timing of the timer.
- the operation of the internal operation of the terminal is performed normally.
- the control unit 640 may temporarily disable the suspended timer when the enabled state of the service switch is turned off, and then enable the user to enable the service switch to be enabled and open the data link. After the road is re-read, the suspended timer is read and activated, which is not limited in this embodiment of the present invention.
- step 405 Referring to Figure 6B, a block diagram of one embodiment of the control unit of Figure 6A:
- the control unit 640 can include:
- the application search sub-unit 641 is configured to search for the first application running in the terminal; the application determining sub-unit 642 is configured to determine whether the first application found by the application search sub-unit 641 is in the office
- the acquisition unit 630 acquires the application list that needs to maintain the background data; the timer suspension subunit 643 is configured to: when the application determining subunit 642 determines that the first application is not in the need to maintain background data When the application list is in the list, the first timer corresponding to the first application is suspended.
- the timer of the application that does not need to maintain the background data in the terminal can be suspended. Since the timer is temporarily stopped, the terminal does not cause the application to interact with the server because the timer expires. In order to keep the background data of these applications synchronized with the data generated by the server, the number of times the terminal wakes up from the sleep state is reduced, the power consumption and data traffic of the terminal are saved, and the standby time of the terminal is extended accordingly.
- the techniques in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM. , a disk, an optical disk, etc., including instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
- a computer device which may be a personal computer, server, or network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims
Priority Applications (9)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP23161088.2A EP4220354A1 (en) | 2012-06-06 | 2012-06-06 | Application management method and terminal |
EP12798583.6A EP2728471B1 (en) | 2012-06-06 | 2012-06-06 | Method and terminal for managing application |
CN201711009694.5A CN107818516B (zh) | 2012-06-06 | 2012-06-06 | 应用程序的管理方法及终端 |
PCT/CN2012/076538 WO2013181812A1 (zh) | 2012-06-06 | 2012-06-06 | 应用程序的管理方法及终端 |
JP2014519383A JP2014528109A (ja) | 2012-06-06 | 2012-06-06 | アプリケーション管理方法および端末 |
CN201280000406.9A CN103635881B (zh) | 2012-06-06 | 2012-06-06 | 应用程序的管理方法及终端 |
EP17156166.5A EP3296868A1 (en) | 2012-06-06 | 2012-06-06 | Application management method and terminal |
US13/717,859 US9513955B2 (en) | 2012-06-06 | 2012-12-18 | Application management method and terminal |
US15/340,348 US10091307B2 (en) | 2012-06-06 | 2016-11-01 | Application management method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/076538 WO2013181812A1 (zh) | 2012-06-06 | 2012-06-06 | 应用程序的管理方法及终端 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/717,859 Continuation US9513955B2 (en) | 2012-06-06 | 2012-12-18 | Application management method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013181812A1 true WO2013181812A1 (zh) | 2013-12-12 |
Family
ID=49711285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/076538 WO2013181812A1 (zh) | 2012-06-06 | 2012-06-06 | 应用程序的管理方法及终端 |
Country Status (5)
Country | Link |
---|---|
US (2) | US9513955B2 (zh) |
EP (3) | EP3296868A1 (zh) |
JP (1) | JP2014528109A (zh) |
CN (2) | CN107818516B (zh) |
WO (1) | WO2013181812A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017527133A (ja) * | 2014-05-12 | 2017-09-14 | 華為技術有限公司Huawei Technologies Co.,Ltd. | 消費電力を低減する方法及び装置並びにモバイル端末 |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2876945B1 (en) * | 2013-10-11 | 2018-09-19 | Huawei Device (Dongguan) Co., Ltd. | Method for processing data, modem and terminal |
CN104135571B (zh) * | 2014-08-12 | 2016-05-25 | 中国联合网络通信集团有限公司 | 心跳定时器设置方法、终端和服务器 |
TWI549449B (zh) | 2014-11-12 | 2016-09-11 | 宏碁股份有限公司 | 網路連線維護方法及電腦系統 |
CN105676988B (zh) * | 2014-11-21 | 2019-02-12 | 宏碁股份有限公司 | 网络连接维护方法及电脑系统 |
RU2686673C1 (ru) * | 2015-04-14 | 2019-04-30 | Хуавэй Текнолоджиз Ко., Лтд. | Устройство и способ управления терминалом и терминал |
KR20160143429A (ko) * | 2015-06-05 | 2016-12-14 | 엘지전자 주식회사 | 이동단말기 및 그 제어방법 |
MY197308A (en) | 2015-06-30 | 2023-06-12 | Huawei Tech Co Ltd | Method for interaction between terminal and network device, and terminal |
CN107204999B (zh) * | 2016-03-16 | 2020-10-30 | 阿里巴巴集团控股有限公司 | 一种实现心跳的方法和装置 |
CN107819796A (zh) * | 2016-09-13 | 2018-03-20 | 中兴通讯股份有限公司 | 同步终端实时状态的方法、装置及终端 |
CN107765834B (zh) * | 2017-10-31 | 2020-05-12 | Oppo广东移动通信有限公司 | 应用管理方法、装置、存储介质及电子设备 |
CN110032398B (zh) * | 2018-01-12 | 2022-04-12 | Oppo广东移动通信有限公司 | 应用处理方法和装置、电子设备、计算机可读存储介质 |
US11526587B2 (en) * | 2019-02-26 | 2022-12-13 | One Identity LLC | Privileged access management for applications |
CN112351476A (zh) | 2019-08-06 | 2021-02-09 | 中兴通讯股份有限公司 | 基于网络的应用功耗调控方法、终端及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101403981A (zh) * | 2008-11-07 | 2009-04-08 | 中兴通讯股份有限公司 | 手机应用程序运行状态的管理方法和系统 |
CN101488989A (zh) * | 2008-01-18 | 2009-07-22 | 德信智能手机技术(北京)有限公司 | 一种在手机上管理任务的方法 |
CN101772212A (zh) * | 2009-12-25 | 2010-07-07 | 中兴通讯股份有限公司 | 一种在移动终端上对多应用进行统一管理的方法及装置 |
CN102129287A (zh) * | 2011-03-17 | 2011-07-20 | 宇龙计算机通信科技(深圳)有限公司 | 一种移动终端应用程序电源管理方法和移动终端 |
Family Cites Families (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6477543B1 (en) | 1998-10-23 | 2002-11-05 | International Business Machines Corporation | Method, apparatus and program storage device for a client and adaptive synchronization and transformation server |
JP4276698B2 (ja) * | 1999-04-20 | 2009-06-10 | 富士通株式会社 | データ通信システムおよび記録媒体 |
US7062303B2 (en) * | 2001-07-05 | 2006-06-13 | Intel Corporation | Synchronizing power conservation modes |
US8265057B2 (en) * | 2004-03-31 | 2012-09-11 | Motorola Mobility Llc | Enhanced voice pre-emption of active packet data service |
JP4231041B2 (ja) * | 2005-10-07 | 2009-02-25 | 株式会社東芝 | 情報処理装置および動作制御方法 |
CN101281480B (zh) * | 2008-05-21 | 2010-06-23 | 中兴通讯股份有限公司 | 一种嵌入式系统中实现睡眠功能的方法 |
CN101655808A (zh) * | 2009-09-07 | 2010-02-24 | 宇龙计算机通信科技(深圳)有限公司 | 一种应用程序管理方法及移动通信终端 |
US8688826B2 (en) * | 2009-11-30 | 2014-04-01 | Motorola Mobility Llc | Mobile computing device and method with intelligent pushing management |
US20110153728A1 (en) * | 2009-12-17 | 2011-06-23 | Telefonaktiebolaget Lm Ericsson (Publ) | Synchronization of sporadic web poll traffic |
US8904206B2 (en) * | 2010-01-26 | 2014-12-02 | Motorola Mobility Llc | Mobile computing device and method for maintaining application continuity |
CN101808310B (zh) * | 2010-03-12 | 2013-05-22 | 青岛海信移动通信技术股份有限公司 | 移动终端使用数据业务的管理方法及相关装置 |
US20120023226A1 (en) * | 2010-07-26 | 2012-01-26 | Steve Petersen | Prediction of activity session for mobile network use optimization and user experience enhancement |
KR101691482B1 (ko) * | 2010-10-15 | 2016-12-30 | 삼성전자주식회사 | 적응적 데이터 통신 제어를 수행하는 단말기 및 이의 운용 방법 |
US8886976B2 (en) * | 2011-04-11 | 2014-11-11 | Microsoft Corporation | Management of background tasks |
JP5729146B2 (ja) * | 2011-06-03 | 2015-06-03 | 富士通株式会社 | 情報端末装置、情報端末装置の制御方法およびプログラム |
-
2012
- 2012-06-06 WO PCT/CN2012/076538 patent/WO2013181812A1/zh active Application Filing
- 2012-06-06 CN CN201711009694.5A patent/CN107818516B/zh active Active
- 2012-06-06 EP EP17156166.5A patent/EP3296868A1/en not_active Ceased
- 2012-06-06 CN CN201280000406.9A patent/CN103635881B/zh active Active
- 2012-06-06 EP EP23161088.2A patent/EP4220354A1/en active Pending
- 2012-06-06 JP JP2014519383A patent/JP2014528109A/ja active Pending
- 2012-06-06 EP EP12798583.6A patent/EP2728471B1/en active Active
- 2012-12-18 US US13/717,859 patent/US9513955B2/en active Active
-
2016
- 2016-11-01 US US15/340,348 patent/US10091307B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488989A (zh) * | 2008-01-18 | 2009-07-22 | 德信智能手机技术(北京)有限公司 | 一种在手机上管理任务的方法 |
CN101403981A (zh) * | 2008-11-07 | 2009-04-08 | 中兴通讯股份有限公司 | 手机应用程序运行状态的管理方法和系统 |
CN101772212A (zh) * | 2009-12-25 | 2010-07-07 | 中兴通讯股份有限公司 | 一种在移动终端上对多应用进行统一管理的方法及装置 |
CN102129287A (zh) * | 2011-03-17 | 2011-07-20 | 宇龙计算机通信科技(深圳)有限公司 | 一种移动终端应用程序电源管理方法和移动终端 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2728471A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017527133A (ja) * | 2014-05-12 | 2017-09-14 | 華為技術有限公司Huawei Technologies Co.,Ltd. | 消費電力を低減する方法及び装置並びにモバイル端末 |
US10142928B2 (en) | 2014-05-12 | 2018-11-27 | Huawei Technologies Co., Ltd. | Method and apparatus for reducing power consumption, and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
EP2728471A1 (en) | 2014-05-07 |
US20170048333A1 (en) | 2017-02-16 |
CN107818516B (zh) | 2021-10-19 |
EP4220354A1 (en) | 2023-08-02 |
US10091307B2 (en) | 2018-10-02 |
US20130332589A1 (en) | 2013-12-12 |
JP2014528109A (ja) | 2014-10-23 |
EP2728471B1 (en) | 2017-05-17 |
US9513955B2 (en) | 2016-12-06 |
CN107818516A (zh) | 2018-03-20 |
CN103635881B (zh) | 2017-11-24 |
CN103635881A (zh) | 2014-03-12 |
EP3296868A1 (en) | 2018-03-21 |
EP2728471A4 (en) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013181812A1 (zh) | 应用程序的管理方法及终端 | |
EP2733995B1 (en) | Control method and device for awaking intelligent terminal | |
WO2011153786A1 (zh) | 一种释放内存的控制方法及控制设备 | |
WO2014201990A1 (zh) | 唤醒控制方法、装置和终端设备 | |
CN106055077A (zh) | 一种基于唤醒锁的处理方法及装置 | |
JP2014514813A (ja) | ネットワークアクセス要求の管理 | |
CN104615016B (zh) | 一种基于低功耗蓝牙技术控制主机的方法及装置 | |
WO2016004558A1 (zh) | 一种心跳的调整方法、装置和终端 | |
CN109511133A (zh) | 一种唤醒处理的方法及装置 | |
CN104977979B (zh) | 时钟源切换方法和系统 | |
WO2015192471A1 (zh) | 一种移动终端的省电处理方法和移动终端 | |
US11871342B2 (en) | Wireless event notification system | |
KR101941761B1 (ko) | 소비 전력을 감소하기 위한 방법, 장치 및 모바일 단말기 | |
US20060009981A1 (en) | Resource saving preemption | |
RU2011152006A (ru) | Управление транзакциями | |
CN113393595A (zh) | 车辆监控方法、车载终端及计算机可读存储介质 | |
CN102905245A (zh) | 长期演进系统中小区系统信息更新的方法及装置 | |
TWI750109B (zh) | 硬碟功耗、硬碟功耗管理服務控制方法及裝置 | |
CN107969009B (zh) | 控制终端通信的方法、装置和终端 | |
WO2013139263A1 (zh) | 一种信息传输方法、系统及睡眠功能设备 | |
CN103164015A (zh) | 一种电子设备的控制方法、装置和系统 | |
WO2017071545A1 (zh) | 对齐唤醒的方法、终端和计算机存储介质 | |
CN115529654A (zh) | 用于待机通信的方法、装置、存储介质和中继设备 | |
US11064433B2 (en) | Wireless event notification system having a wireless device configured to communicate at dynamically configurable frequencies | |
CN118152021A (zh) | 挂起保护方法、装置及车辆芯片 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
REEP | Request for entry into the european phase |
Ref document number: 2012798583 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012798583 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2014519383 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12798583 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |