Process communication method and system, terminal equipment and medium

A process communication and process information technology, applied in the field of computer-readable storage media, can solve problems such as reducing process communication efficiency, affecting efficiency, affecting the normal operation of other system processes or user processes, etc., so as to improve process communication efficiency and avoid system stuck. the effect of

Active Publication Date: 2022-06-24
深圳融安网络科技有限公司
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The method of directly intercepting the process on the preloaded dynamic library will cause problems such as database deadlock and system freeze;
[0005] 2. Since there are only 32 available signals provided by the Linux system to users, the use of signal methods will affect the normal operation of other system processes or user processes, which will seriously cause the system to fail to load programs normally when starting;
[0006] 3. The traditional udp / ip and tcp / ip communication methods will occupy the system port, and the network header needs to be added or deleted during the transmission process, the checksum needs to be calculated, the sequence number needs to be generated, and the confirmation message needs to be sent, which affects the efficiency. So it will cause the system to freeze
[0007] To sum up, the existing process communication methods have problems such as database deadlock and system freeze, which reduce the efficiency of process communication

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
  • Process communication method and system, terminal equipment and medium
  • Process communication method and system, terminal equipment and medium
  • Process communication method and system, terminal equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] 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.

[0050] like figure 1 shown, figure 1 It is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0051] It should be noted that the terminal device in this embodiment of the present invention may be a terminal device for implementing process communication, and the terminal device may specifically be a server, a dynamic link library, or the like.

[0052] like figure 1As shown, the device may include: a processor 1001 , eg, a CPU, a network interface 1004 , a user interface 1003 , a memory 1005 , and a communication bus 1002 . Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an inpu...

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 process communication method and system, terminal equipment and a computer readable storage medium, and the process communication method comprises the steps: constructing a local socket file address, and receiving process information sent by a dynamic link library through a mode of monitoring a preset file descriptor based on the local socket file address; judging whether the current process is allowed to run or not according to the process information; and if yes, obtaining a process response result, and sending the process response result to the dynamic link library. Acquiring and packaging process information, and binding a local socket file address generated by the server; the process information is sent to the server through the local socket file address, and a response of the server is waited; and directly exiting after receiving a process response result sent by the server. The process communication efficiency can be improved.

Description

technical field [0001] The present invention relates to the technical field of process communication, and in particular, to a process communication method, system, terminal device and computer-readable storage medium. Background technique [0002] Most of the traditional process interception methods based on LD_PRELOAD preloading generally use dynamic link libraries to intercept directly; or send process information to the main process for processing, and the main process intercepts. When the main process is used for interception, it is often necessary to refer to the communication method. The traditional communication methods include: signal, udp / ip, tcp / ip, etc. [0003] The problems faced by traditional communication mechanisms are as follows: [0004] 1. The method of directly intercepting the process on the preloaded dynamic library will cause problems such as database deadlock and system freeze; [0005] 2. Since there are only 32 available signals provided by the Li...

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/445
CPCG06F9/546G06F9/44521Y02P90/02
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