Asynchronous Data Transmission Memory Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing message queues based on shared memory communication in middleware systems can lead to mutual blocking of transmitter and receiver, and require both to have read and write access to shared memory, which can result in reduced data transmission speed and increased risk of collisions.
Innovation Solution
A method utilizing three data-transmission memories with separate access reservations for the data-transmitting and data-receiving modules, allowing for asynchronous communication without shared read-write memory, ensuring that the data-receiving module always receives the most up-to-date data without interruption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If shared memory communication is used for data transmission between modules, then memory access is simplified and computing power is reduced, but mutual blocking occurs between transmitter and receiver and collision risks increase
Solution Approach 1:
The shared memory is segmented into three separate data transmission memories (DTM0, DTM1, DTM2), each dedicated to specific transmission cycles. This segmentation allows the transmitter to write to one DTM while the receiver reads from another, eliminating mutual blocking and collision risks while maintaining high data transmission speed.
Solution Approach 2:
Control memory bits (CM0, CM1, CM2) are introduced as intermediaries to manage access rights to each DTM. These control bits act as mediators that coordinate between transmitter and receiver, preventing collisions by granting exclusive access rights without requiring both modules to have simultaneous read-write access to the same memory location.
2Adaptability or versatility
If both transmitter and receiver have read and write access to shared memory, then communication flexibility is improved, but mutual blocking occurs and data transmission continuity is interrupted
Solution Approach 1:
Different access rights are assigned to different memory locations based on local requirements. The transmitter has write access to DTMs during its write phase, while the receiver has read access to DTMs during its read phase. This localized access control maintains communication flexibility while preventing mutual blocking, as each module operates on different memory regions at different times.
Solution Approach 2:
The system uses periodic action through cyclic bit setting and resetting in control memories. The transmitter periodically sets write access bits, performs writes, then clears them. The receiver periodically sets read access bits, performs reads, then clears them. This periodic access pattern ensures continuous data transmission without mutual blocking, as access rights are systematically rotated between modules.
Data Source
AI summary
A method for the repeated transmission of defined data from a data-transmitting module to a data-receiving module. Three data-transmission memories are used for carrying out the method, each of which has a data-memory block as well as a first memory bit for storing an access reservation of the data-transmitting module and a second memory bit for storing an access reservation of the receiving module. A pointer memory is also used for carrying out the method, in which a pointer to the current data-transmission memory is able to be stored.

