Inter-process communication method and system

A communication method and multi-process technology, applied in the direction of inter-program communication, multi-program device, program control design, etc., can solve problems that affect the efficiency of process operation

Inactive Publication Date: 2020-06-19
SZ DJI TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned solution in the prior art is to apply for shared memory when the process is running, which will affect the running efficiency of the process

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
  • Inter-process communication method and system
  • Inter-process communication method and system
  • Inter-process communication method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0025] It should be noted that when a component is said to be "fixed" to another component, it can be directly on the other component or there can also be an intervening component. When a component is said to be "connected" to another component, it may be directly connected to the other component or there may be intervening components at the same ...

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 embodiments of the present invention provide an inter-process communication method and system. Said method comprises: in a linking stage of processes, reserving the same virtual address space fora plurality of processes, mapping the same virtual address space to the same physical memory, and allocating, from the physical memory, at least one first memory block to a first process, the first process being any process among the plurality of processes; storing, in the first memory block, the data that the first process needs to share with at least one second process, the first process and said at least one second process being processes among the plurality of processes; and sending a notification message to said at least one second process, so as to indicate the address of the data storedin the first memory block, so that each of the second processes acquires the data according to the address. The present invention avoids affecting resources during process running, improving the process running efficiency, and realizes zero copy transmission of data between multiple processes, improving the inter-process communication efficiency.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular to a communication method and system among multiple processes. Background technique [0002] When a software system (for example: unmanned driving system, robot system, etc.) works, it needs multiple processes to cooperate with each other. In the process of cooperating with each other, multiple processes will involve the transmission of data between multiple processes. Taking the unmanned driving system as an example, the unmanned driving system runs on the drone, which is equipped with multiple cameras, radar and other sensors. The image data collected by the camera or the sensing data collected by the radar require Transmission between different processes, so that each process can be processed. [0003] In the prior art, the process of data transmission between different processes is as follows: during the process running, process A applies fo...

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/54G06F9/50G06F12/10
CPCG06F9/5016G06F9/544G06F12/10G06F2209/5018G06F9/50G06F9/54
Inventor 王斌周青松晋文科
Owner SZ DJI TECH CO LTD
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