Virtualization technology-based method of saving process state in client machine in real time
A virtualization technology and process state technology, which is applied in the field of process state preservation transparent to clients, and can solve problems such as lack of process state consistency and large space overhead.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] In order to back up the state of a specific process, a fork system call is injected into the process. When the client resumes execution, this system call will be executed to automatically create a child process. Here, this child process is used as a backup process, while the parent process executes normally. After the parent process calls the child process created by fork, it also needs to call the wait function to wait for the state of the child process to change. The wait function will block the parent process. When the child process finishes running, the wait function returns, and the parent process receives the child process completion notification Reclaim resources for the child process after the signal. If the parent process does not call the wait function to wait for the running state of the child process to change, the resources will not be recovered after the child process finishes running and it will become a zombie process. However, if the parent process fini...
Embodiment 2
[0031] In order to achieve process state backup, the created process should be suspended in this state and should not be scheduled for execution. Process such as figure 2 shown. In order to prevent the process from being scheduled, the sched_yield system call is injected to make the process sleep. The injection method is the same as fork, that is, modify the eax register to the sched_yield system call number, and modify the eip register to point to the int80 instruction address. If it is detected that the backup process is scheduled, inject sched_yield until the process needs to be resumed.
[0032] If the VMM receives the process state recovery signal, when the backup process is stuck, it needs to resume its operation. At this time, it is not necessary to continue to inject the sched_yield system call, but to restore the modified code content. However, there is more than one process in the sleep state at this time, and there may be other backup processes that need to be r...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com


