Method and device for realizing data interaction access among processes

A data interaction and inter-process technology, applied in the direction of multi-program device, inter-program communication, etc., can solve the problems of inability to share memory utilization, inability to provide real-time interactive access to inter-process data, etc., and achieve the effect of efficient management

Active Publication Date: 2013-07-10
阿里巴巴(深圳)技术有限公司
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the current schemes for inter-process cooperation can neither provide direct real-time interactive access to inter-process data, nor can they efficiently utilize shared memory.

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
  • Method and device for realizing data interaction access among processes
  • Method and device for realizing data interaction access among processes
  • Method and device for realizing data interaction access among processes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The following will combine Figure 1-Figure 5 Describe this application in detail, which combines Figure 1-Figure 3 Will describe how this application efficiently manages shared memory, combining Figure 4-Figure 5 It will describe how this application implements data interactive access between processes.

[0017] Figure 1-Figure 3 The described efficient management of shared memory is based on any operating system platform that adopts the buddy memory allocation principle to a certain extent, such as the Linux operating system platform.

[0018] Take any user process running on the Linux operating system platform as an example, figure 1 Illustratively shows a schematic diagram of an embodiment in which a process acquires shared memory in the method for implementing data interactive access between processes of the present application.

[0019] First, the user class (User Class) 100 corresponding to the user process registers the name and size of the shared memory to be 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
Login to view more

PUM

No PUM Login to view more

Abstract

A method for realizing data interaction access among processes comprises the following steps: step 1, a plurality of processes required to perform interaction access are connected to the same sharing internal memory segment; and step 2, data structures required to be shared in the plurality of processes are distributed to the sharing internal memory segment so as to enable the plurality of processes to share member variable status relationships included in the data structures, and / or relationships between the member variable status relationships and resulting data generated by the data structures. A device for realizing data interaction access among the processes comprises a connecting module used for connecting the plurality of processes required to perform interaction access to the same sharing internal memory segment and a distribution module used for distributing the data structures required to be shared in the plurality of processes so as to enable the plurality of processes to share the member variable status relationships included in the data structures, and / or the relationships between the member variable status relationships and the resulting data generated by the data structures.

Description

Technical field [0001] This application relates to inter-process data access, and more particularly to a method and device for implementing data interactive access between processes. Background technique [0002] In practical applications, in order to improve the equipment's ability and speed to process complex data, it is often necessary for processes to cooperate with each other to complete tasks together, such as completing specific data transmission, data sharing, event notification, resource sharing, process control and other tasks. [0003] In the known technology, because the user space of each process (that is, the private virtual memory address space of each process) is independent of each other and cannot directly access each other, the common way to exchange data between processes is only through shared files and anonymous pipes. , Semaphores, message queues, shared memory and other technical means. The data exchange methods they use are all by one process writing data t...

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): G06F9/54
Inventor 李晓波李永亮
Owner 阿里巴巴(深圳)技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products