Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Inter-process communication method and device and electronic equipment

A technology for inter-process communication and pending communication, applied in the field of inter-process communication methods, devices and electronic equipment, can solve the problems of repeated key values, difficulty in obtaining target key values, difficulty in sharing message channels, etc., and achieves the effect of facilitating identification and management

Pending Publication Date: 2022-05-10
XIAMEN KECAN INFORMATION TECH +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the key values ​​of Linux message queues mostly use fixed numbers. On the one hand, the key values ​​in the fixed number form make it difficult for different processes to obtain the target key value, making it difficult to share message channels between different processes; on the other hand, the fixed number The key value in the form, the key value may be repeated, so that the message channels between different processes cannot be mutually exclusive

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 device and electronic equipment
  • Inter-process communication method and device and electronic equipment
  • Inter-process communication method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0023] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B may mean A or B. The "and / or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and / or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone These three si...

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 provides an inter-process communication method and device and electronic equipment. The inter-process communication method comprises the following steps: acquiring a unique identifier of a to-be-communicated message; obtaining a message queue mark value according to the unique identifier, and searching whether a target message queue marked by the message queue mark value exists or not; if not, creating a target message queue, so that other processes establish communication with the target message queue based on the message queue mark value; and if yes, establishing communication with the target message queue based on the message queue flag value. According to the invention, sharing and mutual exclusion of message channels among different processes can be realized during inter-process communication.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an inter-process communication method, device and electronic equipment. Background technique [0002] Inter-process communication is a communication transfer technology, which is mainly used in message transfer between different processes in a computer system. At present, there are mainly mechanisms such as pipeline communication, Socket, shared memory and message queue. [0003] The message queue has the advantages of large amount of transmitted data, unlimited data format and buffer size, etc., and can be widely used. However, message channels between different processes based on message queues have the problems of sharing difficulties and mutual exclusion. For example, in a Linux operating system, a Linux message queue is identified by a key value, that is, a Linux message queue is created or identified by a key value. At present, the key values ​​of Linux message...

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/50
CPCG06F9/546G06F9/5027
Inventor 洪金追徐晓翔池毓贵
Owner XIAMEN KECAN INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products