Slave Device Dynamic Response Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In master-slave communication, existing techniques fail to adequately reduce network and CPU loads when data changes infrequently, leading to increased communication volume and load due to frequent polling and unnecessary data transmissions.
Innovation Solution
A slave device that determines the timing of responses based on data changes, sending updates only when data has changed or after a predetermined suspension time has elapsed, thereby reducing network and CPU loads by managing data update flags or sent data values.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If the master device shortens the polling interval to reduce information transmission time, then the information transmission time is reduced, but the volume of communication and CPU load increase
Solution Approach 1:
The slave device dynamically adjusts its response behavior based on data state. When data has changed, it sends a response immediately; when data remains unchanged, it suspends response transmission. This dynamic adaptation allows the system to maintain short effective information transmission times while avoiding unnecessary communication volume during stable states.
Solution Approach 2:
The invention changes the parameter of response timing from fixed periodic polling to variable event-driven timing. The slave device monitors data change events and adjusts its response timing accordingly, sending responses only when data changes occur or when a predetermined suspension time has elapsed, thereby optimizing the balance between information transmission time and communication volume.
2Loss of time
If the master device shortens the polling interval to reduce information transmission time, then the information transmission time is reduced, but the CPU load increases
Solution Approach 1:
The slave device implements dynamic response control where the CPU only processes data changes and generates responses when necessary. By suspending response generation during unchanged data states, the CPU load is significantly reduced while maintaining the capability for rapid information transmission when data changes occur.
3Loss of time
If the slave device frequently transmits data to reduce information transmission time, then the information transmission time is reduced, but the volume of communication increases
Solution Approach 1:
The invention changes the transmission parameter from continuous periodic data sending to event-triggered selective transmission. The slave device monitors data change events and only transmits when changes occur or when a suspension time expires, thereby reducing communication energy consumption while maintaining timely information delivery when data changes happen.
Data Source
AI summary
When a data request is sent from a master device in master-slave communication, a slave device determines whether a piece of data requested by the data request among data stored on the slave device side has been updated after previous transmission of the piece of data. If the piece of data has been updated, the slave device sends the updated piece of data as a response to the data request. If the piece of data has not been updated, the slave device suspends a response to the data request. Thus, a communication system is built which can reduce network processing load and the volume of communication data in the case where the master device periodically acquires data from the slave device.


