Check patentability & draft patents in minutes with Patsnap Eureka AI!

Inter-process data transmission method, computer equipment and storage medium

A data transmission method and inter-process technology, applied in the field of computer equipment and storage media, inter-process data transmission methods, and devices, and can solve problems such as data loss, system congestion, and only a single task.

Pending Publication Date:
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of communication technology, when data interaction between the main control MCU (micro control module) of the client and the external device of the client often requires cooperation between multiple processes to complete the sending and receiving of data, however, the data is transmitted between processes. In the process of transmission and processing, data loss or system congestion is prone to occur
[0003] In traditional technology, solve above-mentioned problem by introducing semaphore, wait for semaphore in sending process, release semaphore in receiving process, can solve the situation of only single task in sending process, if multiple UARTs (universal Asynchronous transceiver) work independently and at the same time, a semaphore cannot solve the multi-channel problem, if multiple semaphores are referenced, the sending process will always be waiting
When a semaphore is in the waiting state, the sending process will stop working. At this time, if other UARTs need to be processed by the sending process, the system will not respond, which will cause the system to block and cause the system to freeze.

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 data transmission method, computer equipment and storage medium
  • Inter-process data transmission method, computer equipment and storage medium
  • Inter-process data transmission method, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, not to limit the present application.

[0042] The data transmission method between processes provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the data interaction between the client 102 and the client peripheral device 106 is completed through the communication module 104, wherein, the communication module 104 includes a plurality of processes, and there may be data interaction between processes. The implementation of the present application In the example, the data interaction between two processes is taken as an example to illustrate, such as figure 1 It includes...

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 relates to an inter-process data transmission method and device, computer equipment and a storage medium. The method comprises the steps that a first process receives to-be-sent data; the first process searches an idle inter-process buffer area in an idle state from at least two inter-process buffer areas shared by the first process and the second process; the first process stores to-be-sent data in a data buffer area, and the idle inter-process buffer area comprises the data buffer area; and the first process transmits the first address to the second process. By adopting the method, the problem of data loss in inter-process data transmission can be solved.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to an inter-process data transmission method, device, computer equipment and storage medium. Background technique [0002] With the development of communication technology, when data interaction between the main control MCU (micro control module) of the client and the external device of the client often requires cooperation between multiple processes to complete the sending and receiving of data, however, the data is transmitted between processes. In the process of transmission and processing, problems of data loss or system congestion are prone to occur. [0003] In traditional technology, solve above-mentioned problem by introducing semaphore, wait for semaphore in sending process, release semaphore in receiving process, can solve the situation of only single task in sending process, if multiple UARTs (universal Asynchronous transceiver) work independently and...

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
IPC IPC(8): G06F9/54
CPCG06F9/543
Inventor 崔成涛
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More