Master-Slave Data Transmission with Flag-Based Readiness Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In communication networks using a master-slave communication method with half-duplex mode, the polling mechanism leads to long polling times and slow communication speeds when a single master is attached to multiple slaves, resulting in lower communication efficiency due to the need for sequential data acquisition and potential signal conflicts.

Innovation Solution

A data transmission method that involves sending data acquisition commands to multiple target devices, detecting data flow on the bus, performing data verification, and determining communication flag bits to determine whether to receive data, thereby reducing overall communication time and ensuring normal data transmission without being affected by issues in one device.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a polling mechanism is used in master-slave communication, then signal conflicts on the bus are avoided, but communication time increases and communication speed decreases

Engineering Contradiction:
Improvesignal conflict avoidanceVSAvoidpolling time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by having slave devices proactively send data to the master device before being polled. The master device sets a flag bit in advance to indicate data readiness, and slave devices check this flag and send data preemptively, eliminating the need to wait for polling signals and reducing communication time while maintaining bus conflict avoidance

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms where slave devices continuously monitor the flag bit status in the master device and adjust their data transmission timing accordingly. The master device also receives feedback from slave devices about data readiness, enabling dynamic coordination that reduces polling overhead while preventing bus conflicts through synchronized access

Inventive Principle:
Principle #23Feedback

2Stability of the object's composition

If a polling mechanism is used in master-slave communication, then sequential data acquisition is ensured, but communication speed decreases

Engineering Contradiction:
Improvesequential data acquisitionVSAvoidcommunication speed
Core Design Contradiction:
Stability of the object's compositionVSSpeed

Solution Approach 1:

Slave devices perform preliminary actions by preparing data and setting readiness flags before the master device polls them. This allows data to be transmitted immediately when the master checks the flag, eliminating sequential waiting delays while maintaining organized data acquisition through the flag-based coordination mechanism

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces dynamic behavior where the communication pattern adapts based on data readiness. Instead of rigid sequential polling, the system dynamically adjusts transmission timing based on flag bit status, allowing multiple slave devices to transmit data in parallel when ready, thereby increasing communication speed while maintaining structured data acquisition

Inventive Principle:
Principle #15Dynamics

3Reliability

If data verification is performed on each device, then data integrity is ensured, but communication time increases

Engineering Contradiction:
Improvedata integrityVSAvoidverification time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the data verification process from the main data transmission flow and performs it in parallel or pre-processing stages. By separating verification operations from the critical data path and using efficient verification algorithms, the system ensures data integrity while minimizing the time impact on overall communication

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent optimizes verification time by changing parameters such as verification algorithm complexity, data chunk size, and verification timing. By adjusting these parameters dynamically based on data characteristics and communication requirements, the system achieves data integrity verification with minimized time overhead

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11876629B1Data transmission method, device, electronic equipment, and storage medium
Publication Date: 2024.01.16 HANGZHOU KEENCOOL INTELLIGENT TECH CO LTD
  • US11876629B1 patent drawing
  • US11876629B1 patent drawing
  • US11876629B1 patent drawing

AI summary

The present disclosure provides a method, a device, electronic equipment, and a storage medium for data transmission, wherein the method includes sending data acquisition commands to a plurality of target devices and turning on a timer; for any first target device of the plurality of target devices, detecting whether there is first target data transmitted by the first target device on the bus within a preset timing time; if yes, performing a data verification on the first target data and determining a communication flag bit of the first target device based on the check result; and determining whether to receive the first target data transmitted by the first target device based on the communication flag bit of the first target device.