Unlock instant, AI-driven research and patent intelligence for your innovation.

Saving method and device as well as tempering detection method and device for process context

A process context and storage method technology, applied in the field of process context storage, tamper detection methods and devices, can solve the problem of inability to detect whether the process context has been tampered with

Inactive Publication Date: 2012-05-02
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Embodiments of the present invention provide a process context preservation and tampering detection method and device to solve the problem in the prior art that it is impossible to detect whether the process context has been tampered with

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Saving method and device as well as tempering detection method and device for process context
  • Saving method and device as well as tempering detection method and device for process context
  • Saving method and device as well as tempering detection method and device for process context

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] In the first embodiment, three context storage spaces are allocated for the specified process, and the context of the specified process is saved as an example, and the process context tampering detection method proposed in the embodiment of the present invention is described in detail, such as Figure 5 As shown, it specifically includes the following processing steps:

[0050] Step S501: It is determined that a process switch needs to be performed, that is, it needs to switch from the currently executing process to the next process.

[0051] Step S502: For the specified process that needs to be tampered with, obtain the stored process context of the specified process from each of the three context storage spaces allocated for the specified process, and obtain three copies of the specified process in total For the convenience of description, the three context storage spaces are referred to as the first context storage space, the second context storage space and the third cont...

Embodiment 2

[0067] In the current operating system, such as Image 6 As shown, for a process, the context storage space allocated for it includes two parts: one is the process control block, which is used to store the first part of the process context in the process context, including some control information that controls the operation of the process, such as the process identifier , Process current running status and process priority, etc., by storing these external characteristics of the process in it, to describe the process of movement change process, so that the system uses the control information saved in the process control block to control and manage the process; another It is the process stack, used to save the second part of the process context in the process context, that is, other process contexts other than the control information saved in the process control block; and there is also a pointer saved in the process control block that points to the process The allocated process ...

Embodiment 3

[0102] Based on the same inventive concept, according to the process context saving method provided in the above-mentioned embodiment of the present invention, correspondingly, Embodiment 3 of the present invention also provides a process context saving device, the schematic diagram of which is as Picture 11 As shown, specifically including:

[0103] The first obtaining unit 1101 is configured to obtain the process context of the currently executing process when process switching is required;

[0104] The saving unit 1102 is configured to save the acquired process context in at least two context storage spaces allocated for the currently executing process, respectively.

[0105] Preferably, the saving unit 1102 is specifically configured to save the acquired first part of the process context in the process context to the main process control block and the backup process control block allocated for the currently executing process, and to save The acquired second part of the process c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a saving method and device as well as a tempering detection method and device for a process context. The tempering detection method for the process context comprises the following steps of: respectively acquiring the saved process context with the designated process from each context saving space in at least two process context saving spaces allocated for the designated process; and when the acquired at least two parts of process contexts with the designated processes are identical, determining that the saved process contexts with the designated processes are not tempered, and otherwise, determining that the saved process contexts with the designated processes are tempered. By adopting the scheme provided by the embodiment of the invention, whether the process context is tempered or not is detected.

Description

Technical field [0001] The invention relates to the technical field of multi-process operating systems, in particular to a method and device for process context preservation and tampering detection. Background technique [0002] At present, most operating systems support multi-process scheduling, such as windows and linux systems. The advantage of operating system scheduling that supports multi-process scheduling is that from the user side, the operating system can execute multiple applications initiated by the user at the same time, such as Under the windows operating system, users can simultaneously access the Internet, download movies, and perform word editing and other applications. [0003] For an operating system that uses a single-core CPU, only one application can be executed at the same time. In order for the CPU to run multiple applications at the same time, the CPU must execute these multiple applications in turn in different time periods. ,Such as figure 1 As shown, in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/00G06F9/48
Inventor 王龙顺
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD