Inter-process communication method and device and Linux equipment

An inter-process communication and process technology, which is applied in inter-program communication, multi-programming device, program control design, etc., can solve the problems affecting the operation efficiency of Linux devices, affecting the progress of the process, etc., so as to facilitate unified management and improve operation efficiency. , the effect of improving transmission efficiency
CN112181670APending Publication Date: 2021-01-05XIAN NOVASTAR TECH

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
XIAN NOVASTAR TECH
Publication Date
2021-01-05

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

An embodiment of the invention discloses an inter-process communication method and device and Linux equipment adopting the inter-process communication method. The multi-process communication method comprises the following steps: acquiring a process ID after a target process is started; creating a socket based on the obtained process ID, and binding the socket with a target configuration file; analyzing the target configuration file to obtain a process ID of a session object process contained in the target configuration file, and creating a session structure body corresponding to the process IDof the session object process; when data needs to be sent to the session object process, writing a target data packet into the socket descriptor in the session structure body; when monitoring that the session object process sends the data to the target process, reading the data packet from the socket descriptor in the session structure body. According to the method disclosed in the embodiment ofthe invention, efficient communication among a plurality of application programs in the embedded system can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of embedded devices, in particular to an inter-process communication method, an inter-process communication device and a Linux device. Background technique

[0002] With the continuous advancement of technology and the open source of the Linux system, Linux devices have more and more applications. In a Linux device, different application processes have different divisions of labor, and data transmission is realized through communication between processes, that is, information is propagated or exchanged between processes. If good communication cannot be realized between the processes, the progress of the processes will be affected, and the operating efficiency of the Linux device will be affected. Contents of the invention

[0003] In order to overcome the defects and deficiencies of the prior art, the embodiment of the present invention provides a Linux device and a communication method among multiple pro...

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