Signal-based progress freezing and unfreezing device and signal-based progress freezing and unfreezing method
A signal and process technology, applied in multi-program device, program control design, program startup/switching, etc., can solve problems such as software crash and unresponsive equipment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] Such as image 3 As shown, in this embodiment, a signal-based process freezing and unfreezing device includes:
[0080] A state collection module 10, configured to collect the running state of the first application process through the freezing control center;
[0081] Judgment freezing module 20, used to judge whether the first application process satisfies a preset freezing condition, and if so, freeze all threads in the first application process through the system kernel;
[0082] The process number acquisition module 30 is used for when the second application process sends a communication request to the first application process, the second application process acquires the process number of the first application process, and sends the process number to the system kernel;
[0083] The unfreezing module 40 is used for the system kernel to unfreeze the corresponding first application process according to the process number.
[0084] In this embodiment, all threads in ...
Embodiment 2
[0097] Such as Figure 6 As shown, in this embodiment, a signal-based process freezing and unfreezing device also includes:
[0098] Binder communication module 50 is used for the first application process and the second application process to establish binder communication; the second application process allocates a binder thread to communicate with the first application process, and uses the process number of the first application process Save to the binder thread.
[0099] In this embodiment, the process number acquisition module includes:
[0100] The first obtaining unit is configured to obtain the process number of the first application process by querying a binder thread in the second application process that communicates with the first application process.
[0101]In this embodiment, since the first application process and the second application process will have a communication request, before the first application process freezes, for example, when the first applic...
Embodiment 3
[0108] Such as Figure 7 As shown, in this embodiment, a signal-based process freezing and unfreezing method includes:
[0109] S10. The freezing control center collects the running state of the first application process;
[0110] S20. Judging whether the first application process satisfies the preset freezing condition, if so, proceed to step S30, and freeze all threads in the first application process through the system kernel; otherwise, proceed to step S21, delay until the freezing is satisfied condition and then send a freeze signal to the system kernel;
[0111] S40. When the second application process sends a communication request to the first application process, obtain the process number of the first application process, and send the process number to the system kernel;
[0112] S50. The system kernel unfreezes the corresponding first application process according to the process number.
[0113] In this embodiment, all threads in the application process are all fro...
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