Double CPU communication method based on shared memory
A technology of shared memory and communication method, which is applied in the field of dual-CPU communication based on shared memory, which can solve the problems that the receiver cannot calculate the number of messages, the length difference of message packets is large, and the read and write pointers are disordered, so as to improve data throughput. and processing speed, reducing the number of interrupts or queries, and reducing the effect of waiting time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] The method of the present invention will be further described below in combination with specific embodiments.
[0042] The dual-CPU communication method based on shared memory of the present invention, as shown in Figure 3 and Figure 4, for the convenience of description, the channel that CPU1 sends and CPU2 receives is defined as the forward channel, and the channel that CPU2 sends and CPU1 receives is the reverse channel . The forward channel and the reverse channel each use two circular queues, one for storing the message index and one for storing the message entity; the message index is a pointer to the message entity with a fixed size of 4 bytes, and the size of the message entity is variable .
[0043] Each circular queue is managed by a read-write pointer stored in the mailbox. The write pointer indicates that the sender can write and the receiver can only read. The read pointer indicates that the sender can only read and the receiver can write. Using mirror p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com