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

A method, device and system for inter-process communication

A technology of inter-process communication and process, which is applied in the field of inter-process communication methods, devices and systems, and can solve problems such as poor flexibility and low IPC performance

Active Publication Date: 2018-09-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a method for inter-process communication, aiming to solve the problems of low performance and poor flexibility in the processing of IPC in the prior art

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
  • A method, device and system for inter-process communication
  • A method, device and system for inter-process communication
  • A method, device and system for inter-process communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0026] The inter-process communication method provided by the embodiment of the present invention is implemented based on a shared memory mechanism. By monitoring the connection request of the first process, when the first process requests a communication connection with the second process, the process is established according to the identifications of the processes of both communicating parties. The independent shared memory is used to complete inter-process communication, realize the dynamic creation of inter-process communication connections, and realize inter-process communication with high perf...

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 belongs to the technical field of computers and provides a process-to-process communication method, device and system. The process-to-process communication method comprises the steps of building a first shared memory and a second shared memory according to identification of a first process and identification of a second process, wherein the identification is used for uniquely identifying one process; and conducting communication between the first process and the second process through the first shared memory and the second shared memory. The process-to-process communication method is achieved on the basis of a shared memory mechanism, connecting requests of the first process are monitored, when the first process asks for communication connection with the second process, independent shared memories are built according to identification of the process of two communication parties to achieve dynamic creation of the process-to-process communication connection, and the process-to-process communication can be achieved with high performance and high flexibility.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to an interprocess communication (InterProcess Communications, IPC) method, device and system. Background technique [0002] A process is the smallest unit of computer resource allocation. Each process has its own independent resources and is isolated from other processes. In order to enable different processes to access resources and coordinate work, the operating system provides a variety of IPC mechanisms, such as pipes , shared memory, socket, etc. [0003] Under the background of the current continuous development of computer technology, it is common for multiple processes to communicate with a main process at the same time. When the third-party applications and services of various applications and platforms communicate with each other, the communication requirements between multiple processes and the main process are very large, and the performance and flexibili...

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 Patents(China)
IPC IPC(8): G06F9/54
Inventor 游晶彭勇黄奎谢昕虬李临孟昭俊姬鹏李玉宽
Owner TENCENT TECH (SHENZHEN) CO LTD
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