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

Multi-process data sharing system and method

A technology for sharing data and sharing data structures, applied in the field of data sharing, can solve problems such as inability to achieve fine-grained authority control, not easy to find, and no correctness verification of shared memory data structures, so as to ensure operational security and improve Development efficiency and security effects

Active Publication Date: 2021-09-03
湖北微源卓越科技有限公司
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the other hand, in a multi-service and multi-process business scenario, the data needs to be shared with applications of multiple companies, but only the specified A process is allowed to modify the data, and the specified B process can only read the data, preventing the B process from Misoperation will affect the data. The current shared memory management mechanism is too simple to achieve fine-grained permission control.
At the same time, in the current shared memory management mechanism, the correctness of important data structures in the shared memory is not verified. If data is written out of bounds, it is not easy to find out.

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
  • Multi-process data sharing system and method
  • Multi-process data sharing system and method
  • Multi-process data sharing system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0022] like figure 1 and figure 2 As shown, the embodiment of the present invention provides a system for sharing data among multiple processes, which includes a shared Hash table module, a shared linked list module, a shared memory pool module, and a shared memory block module. like figure 1 As shown, the shared Hash table module, the shared linked list module, the shared memory pool module, and the shared memory block module all include the following functional units:

[0023] The initialization unit is used to create a shared data structure and initialize the shared data structure; ...

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 multi-process data sharing system and method. The system comprises a shared Hash table module, a shared chain table module, a shared memory pool module and a shared memory block module, and each module comprises an initialization unit, a process synchronization unit, a data verification unit, a process access control unit, a data operation unit and a storage unit. Through the data verification unit used for verifying whether the CRC value of the memory occupied by the shared data structure is correct or not, a border crossing detection mechanism is added to the shared memory, and the correctness of data access is guaranteed; meanwhile, the process access control unit is used for detecting the operation authority of the process when the process operates the shared data structure, so that the operation safety of the shared data and the safety of the data are guaranteed; and meanwhile, the operation of sharing a Hash table, a shared chain table, a shared memory pool and a shared memory block in multiple processes is greatly simplified, and the development efficiency and the data sharing efficiency are improved.

Description

technical field [0001] The invention relates to the technical field of data sharing, in particular to a system and method for sharing data by multiple processes. Background technique [0002] In common IT business systems, for modular design, different processes perform different functions, and at the same time, data sharing among processes is also required. At present, the commonly used data sharing method is to use shared memory. This method is very convenient for the sharing of continuous memory data, but for structured data, especially the implementation device and application of the shared hash table are very lacking, making inter-process access The communication efficiency of the same Hash table cannot be brought into full play and utilized. On the other hand, in a multi-service and multi-process business scenario, the data needs to be shared with applications of multiple companies, but only the specified A process is allowed to modify the data, and the specified B pr...

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): G06F16/22G06F9/54G06F9/52G06F11/10G06F21/10
CPCG06F16/2255G06F9/544G06F9/526G06F11/1004G06F21/105Y02D10/00
Inventor 曾祥刚刘锋谈子琪
Owner 湖北微源卓越科技有限公司