Keep-alive method and device for mobile terminal application program
An application program and mobile terminal technology, applied in the field of communication applications, can solve problems such as application program functions can no longer continue to work
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] see figure 1 , figure 1 It is an implementation flowchart of the keep-alive method of the mobile terminal application program in the embodiment of the present invention, combined with figure 1 It can be obtained that a method for keeping alive a mobile terminal application program of the present invention includes:
[0026] Step S101: When it is detected that the mobile terminal is unlocked, wake up the application program of the mobile terminal.
[0027] Step S102: After the application program is woken up, establish a multi-threaded code execution mode for the SDK of each application program. Thread (thread) is the smallest unit that the operating system can perform operation scheduling. It is included in the process and is the actual operation unit in the process. A thread refers to a single sequential flow of control in a process. Multiple threads can run concurrently in a process, and each thread performs different tasks in parallel.
[0028] Step S103: Put all...
Embodiment 2
[0047] see figure 2 , figure 2 It is a partial structural frame diagram of the keep-alive device of the mobile terminal application program in the embodiment of the present invention, combined with figure 2 It can be obtained that a mobile terminal application keep-alive device 100 of the present invention includes:
[0048] The program wake-up module 110 is configured to wake up the application program of the mobile terminal when it is detected that the mobile terminal is unlocked.
[0049] The thread establishment module 120 is used for establishing a multi-threaded code execution mode for the SDK of each application program after the application program is awakened.
[0050] The resource processing module 130 is configured to put all the resource consumption codes corresponding to the SDK of the application into a single thread of the multi-thread.
[0051] In the embodiment of the present invention, after detecting that the mobile terminal is unlocked, the applicatio...
Embodiment 3
[0053] see image 3 ,refer to image 3 It can be seen that a computer-readable storage medium 10 in the embodiment of the present invention, the computer-readable storage medium 10, such as: ROM / RAM, magnetic disk, optical disk, etc., has a computer program 11 stored thereon, the described When the computer program 11 is executed, the method for keeping alive the application program of the mobile terminal as described in the first embodiment is implemented. Since the keep-alive method of the mobile terminal application program has been described in detail in Embodiment 1, the description will not be repeated here.
[0054] The method for keeping alive the application program of the mobile terminal implemented in the embodiment of the present invention wakes up the application program of the mobile terminal after detecting that the mobile terminal is unlocked, and when the application program is woken up, for each The SDK of the application program establishes a multi-thread ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com