Master-slave multi-listening weighing communication networking method and system

By embedding dynamic authorization tokens in the weighing communication network, the problem of wireless channel conflict caused by concurrent control of multiple nodes is solved, achieving efficient real-time data transmission and reliable control commands, and improving the robustness and response efficiency of the industrial weighing system.

CN122002329BActive Publication Date: 2026-07-24BLUE ARROW WEIGHING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BLUE ARROW WEIGHING TECH CO LTD
Filing Date
2026-04-10
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

In industrial weighing wireless communication environments, the wireless channel conflict caused by concurrent control of multiple nodes results in poor robustness of the communication link and uncertain response delay, making it difficult to meet the real-time and deterministic requirements of control commands in high-precision weighing scenarios.

Method used

A weighing communication networking method with one master, multiple slaves, and multiple listeners is adopted. By embedding dynamic authorization tokens in the broadcast frames, it is transformed into deterministic time-division multiplexing logic, eliminating physical layer collisions and improving robustness and deterministic response.

Benefits of technology

It ensures that weighing data maintains a constant broadcast latency in a multi-node concurrent environment, eliminates the probability of physical layer collisions, improves the robustness and response efficiency of communication links, supports the seamless integration of new nodes into the existing network, and improves system scalability and ease of deployment and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122002329B_ABST
    Figure CN122002329B_ABST
Patent Text Reader

Abstract

The present application relates to the field of industrial wireless communication and automation control, in particular to a multi-master-slave multi-listening weighing communication networking method and system, comprising: obtaining data load to be distributed, generating a mixed broadcast frame with specific transmission permission indication; opening a preset time length instruction receiving window; extracting the dynamic authorization token field and the local identifier for matching verification; in response to the dynamic authorization token field matching the local identifier, and there being a to-be-sent instruction in the instruction cache queue of the slave communication node, triggering the uplink instruction transmission process after a preset radio frequency protection time gap; in response to the dynamic authorization token field not matching the local identifier, or the instruction cache queue being empty, the slave communication node maintains a radio frequency transmission silent state within the instruction receiving window; the present application effectively solves the hidden terminal problem in the wireless network, reduces the physical layer collision probability to zero, and significantly improves the communication link robustness in a complex electromagnetic environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of industrial wireless communication and automation control technology, specifically to a weighing communication networking method and system with one master, multiple slaves, and multiple listeners. Background Technology

[0002] In the current industrial weighing wireless communication environment, weighing sensors need to frequently exchange data with multiple control terminals and instruments. Due to the complex electromagnetic environment in industrial sites, and the fact that multiple control terminals often need to simultaneously monitor weighing data in real time and issue control commands, competition for wireless channel resources is fierce.

[0003] To address the multi-point communication problem, existing solutions generally employ a contention-based access mechanism with random backoff. While this approach can operate with a small number of nodes, its heavy reliance on random collision detection and retransmission mechanisms, coupled with the susceptibility to signal collisions in high-concurrency environments with multiple controllers, results in poor robustness of the communication link and uncertain response delays. This makes it difficult to support the stringent requirements of real-time data transmission and deterministic control commands in high-precision weighing scenarios. Therefore, how to eliminate physical collisions caused by concurrent control of multiple nodes while ensuring the real-time broadcasting of weighing data, and how to improve the reliability of command transmission and the timeliness of system response, have become urgent technical challenges. Summary of the Invention

[0004] The purpose of this invention is to provide a master-slave-multiple-monitor weighing communication networking method and system, aiming to solve the wireless channel conflict problem caused by concurrent control of multiple nodes in industrial weighing scenarios. By embedding dynamic authorization tokens in the broadcast frames, the random contention mechanism is transformed into deterministic time-division multiplexing logic, which ensures the real-time broadcast of weighing data while eliminating physical layer collisions and improving the robustness and deterministic response of industrial control in complex electromagnetic environments. Specifically, the technical solution of this invention is as follows:

[0005] A weighing communication networking method with one master, multiple slaves, and multiple listeners includes:

[0006] Configure a master-slave communication network, the network including a unique master communication node and multiple slave communication nodes, and preset a list of slave communication node identifiers;

[0007] The main communication node periodically executes a broadcast communication process, including:

[0008] Step S1: Obtain the data payload to be distributed and generate a hybrid broadcast frame; the data structure of the hybrid broadcast frame includes a data payload field and a dynamic authorization token field;

[0009] Step S2: Based on the current polling index value, extract the target identifier from the list of communication node identifiers, write the target identifier into the dynamic authorization token field, and generate a hybrid broadcast frame with a specific transmission permission indication;

[0010] Step S3: Broadcast the hybrid broadcast frame through the wireless communication channel, and immediately switch to the receiving and listening state after the broadcast is completed, and open the instruction receiving window for a preset duration;

[0011] Step S4: Each communication node receives and parses the hybrid broadcast frame, extracts the data payload field to update the local state, and extracts the dynamic authorization token field to match and verify with the local identifier;

[0012] Step S5: In response to the dynamic authorization token field matching the local identifier and the presence of a pending instruction in the instruction cache queue of the local communication node, the uplink instruction transmission process is triggered after a preset radio frequency protection time interval.

[0013] Step S6: In response to the dynamic authorization token field not matching the local identifier, or the instruction cache queue being empty, the slave communication node maintains a silent radio frequency transmission state within the instruction receiving window; unless the dynamic authorization token field indicates a global registration mode, in which case unregistered slave communication nodes are allowed to execute the access process according to preset rules.

[0014] Preferably, extracting the target identifier from the list of communication node identifiers based on the current polling index value includes:

[0015] The master communication node maintains an internal polling counter;

[0016] Based on the internal polling counter, a modulo operation is performed on the total number of communication nodes to obtain the current polling index value;

[0017] Based on the current polling index value, a lookup operation is performed in the slave communication node identifier list to determine the target slave communication node that has obtained uplink transmission permission in the current communication cycle.

[0018] After the transmission of the hybrid broadcast frame is completed, the internal polling counter is incremented to update the authorized target for the next broadcast.

[0019] The preferred data structure for hybrid broadcast frames includes:

[0020] The synchronization header sequence at the beginning of the frame is used to synchronize the clocks of the slave communication node and the master communication node;

[0021] The data payload field that follows the synchronization header sequence is used to carry the application layer data to be distributed;

[0022] The dynamic authorization token field, located after the data payload field, is used to indicate the exclusive transmission right of the uplink channel within the current communication cycle;

[0023] The Cyclic Redundancy Check (CRC) code located at the end of the frame is used to verify the integrity of data transmission.

[0024] Preferably, immediately after broadcasting, the system switches to receiving and listening mode, opening a command receiving window of a preset duration, including:

[0025] The master communication node starts a high-precision timer at the end of sending the hybrid broadcast frame;

[0026] Control the radio frequency transceiver unit to switch from transmit mode to receive mode;

[0027] During the duration of the instruction receiving window, the carrier signal and protocol preamble in the wireless communication channel are monitored;

[0028] In response to the absence of a valid uplink control command frame within the command reception window, the master communication node either disables the receive mode and enters a low-power state or waits for the next broadcast cycle.

[0029] Preferably, after a preset radio frequency protection time interval, the uplink command transmission process is triggered, including:

[0030] The time difference between the end time of receiving the hybrid broadcast frame and the planned uplink command transmission time is calculated from the communication node.

[0031] Ensure that the time difference is greater than or equal to the preset transmit / receive switching protection time to avoid overlapping interference with the preceding broadcast signal;

[0032] Extract the instruction to be sent from the instruction buffer queue and encapsulate it into a control instruction frame that conforms to the protocol format;

[0033] The control command frame is sent in burst transmission mode, and the corresponding entry in the command buffer queue is cleared immediately after the transmission is completed.

[0034] Preferably, the method further includes:

[0035] In response to the main communication node receiving a valid control command frame within the command receiving window, the control command frame is parsed and executed.

[0036] Update the internal state parameters of the main communication node based on the execution results;

[0037] The updated status parameters are encoded into the data payload field of the hybrid broadcast frame in the next communication cycle to provide status feedback to the slave communication node.

[0038] Preferably, maintaining a silent state for radio frequency transmission from the communication node includes:

[0039] The slave communication node turns off its transmit power amplifier during the duration of the instruction receiving window;

[0040] Only the receiving circuit is kept active to ensure continuous monitoring of the hybrid broadcast frames in subsequent periods;

[0041] By using a forced silence mechanism at the physical layer, the risk of co-channel interference caused by multiple communication nodes simultaneously attempting to compete for the uplink channel is eliminated.

[0042] A weighing communication network system with one master, multiple slaves, and multiple monitoring units includes:

[0043] The main communication node module is used to manage network communication timing and data distribution, including:

[0044] A frame generation unit is used to construct a hybrid broadcast frame containing the dynamic authorization token field based on the data to be distributed and polling logic;

[0045] The main control transceiver unit is used to broadcast the hybrid broadcast frame and manage the instruction receiving window;

[0046] Multiple slave communication node modules are used to receive data and compete to send commands. Each slave communication node module includes:

[0047] The parsing and listening unit is used to receive and parse the hybrid broadcast frame, and extract the data payload field and the dynamic authorization token field;

[0048] The logic decision unit is used to compare the dynamic authorization token field with the local identifier and, in conjunction with the state of the instruction cache queue, generate a transmit enable signal or a silence control signal.

[0049] The slave transmitter unit is configured to send a control command frame after the radio frequency protection time gap in response to the transmit enable signal.

[0050] Compared with the prior art, the present invention has the following beneficial effects: 1. This invention transforms the traditional random competition mechanism into deterministic time-division multiplexing logic by embedding a dynamic authorization token in the broadcast frame. This design eliminates the uncertain delay caused by random backoff, ensuring that the weighing data can maintain a constant broadcast delay in a multi-node concurrent environment, thus meeting the high-precision requirements of industrial weighing for real-time monitoring. 2. This invention ensures that, in any communication cycle, only one authorized slave node can transmit a signal on the uplink channel through strict token matching and physical layer silencing mechanism. This method effectively solves the hidden terminal problem in wireless networks, reduces the probability of physical layer collisions to zero, and significantly improves the robustness of communication links in complex electromagnetic environments. 3. This invention creatively utilizes the data payload of the next cycle broadcast frame as the execution feedback of the previous cycle instruction to construct an implicit confirmation process; the slave node can synchronize its state without waiting for an independent confirmation frame, reducing the number of handshake interactions, enabling operators to obtain a near-instantaneous control feedback experience, and improving the overall response efficiency of the system.

[0051] 4. This invention achieves automatic identification and dynamic addition of new nodes by pre-setting a global registration code and periodically opening registration slots; the modular design allows newly added slave nodes to be seamlessly integrated into the existing network simply by assigning an identifier, without changing the core architecture, which greatly improves the scalability and ease of deployment and maintenance of the system. Attached Figure Description

[0052] The present invention will be further explained below with reference to the accompanying drawings and embodiments:

[0053] Figure 1 This is a flowchart of the method of the present invention;

[0054] Figure 2 This is a structural diagram of the system of the present invention. Detailed Implementation

[0055] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments.

[0056] Example 1:

[0057] Please see Figure 1 A weighing communication networking method with one master, many slaves, and many listeners includes:

[0058] Configure a master-slave communication network, the network comprising a unique master communication node and multiple slave communication nodes, and pre-set a list of slave communication node identifiers; the master communication node periodically executes a broadcast communication process, including:

[0059] Step S1: Obtain the data payload to be distributed and generate a hybrid broadcast frame; the data structure of the hybrid broadcast frame includes a data payload field and a dynamic authorization token field;

[0060] Step S2: Extract the target identifier from the list of communication node identifiers according to the current polling index value, write the target identifier into the dynamic authorization token field, and generate a hybrid broadcast frame with a specific transmission permission indication; Step S3: Broadcast the hybrid broadcast frame through the wireless communication channel, and immediately switch to the receiving and listening state after the broadcast is completed, and open the instruction receiving window for a preset duration;

[0061] Step S4: Each communication node receives and parses the hybrid broadcast frame, extracts the data payload field to update the local state, and extracts the dynamic authorization token field to match and verify with the local identifier;

[0062] Step S5, in response to the dynamic authorization token field matching the local identifier:

[0063] If there is an instruction to be sent in the instruction buffer queue, the instruction is extracted, encapsulated into a control instruction frame, and the transmission is triggered after a preset radio frequency protection time interval.

[0064] If the instruction cache queue is empty, a heartbeat keep-alive frame containing only the frame header identifier and checksum is constructed and transmitted after the radio frequency protection time interval to maintain online status with the main communication node;

[0065] Step S6, in response to the dynamic authorization token field not matching the local identifier:

[0066] If the dynamic authorization token field is not equal to the preset global registration code, then the communication node is forced to remain in a silent state for radio frequency transmission;

[0067] If the dynamic authorization token field is equal to the global registration code, and the current communication node is not yet in a registered state, then the registration access process is executed. The process includes generating a random backoff time and sending a registration request frame after the backoff ends.

[0068] This embodiment details the core interaction logic of a master-slave-multiple-monitor weighing communication network method. This method aims to resolve the contradiction between data real-time performance and multi-point control conflicts in industrial weighing scenarios. The system executes network configuration steps to establish the weighing sensor as the master communication node. Using handheld instruments or industrial controllers as slave communication nodes The topology and a pre-defined list of unique identifiers. The main communication node enters a periodic broadcast process, acquiring real-time weighing data as the data payload through the ADC acquisition circuit. It generates a dynamic authorization token based on internal timing logic. Mixed broadcast frames ;

[0069] During this process, the master communication node uses the current polling index value. From list Extract target identifier A token field is written to physically merge broadcast data with unicast authorization; the master communication node broadcasts the frame via its radio frequency unit, and at the end of transmission... Immediately switch to receive mode and enable it for a duration of [duration to be specified]. The command receiving window is configured to capture potential uplink feedback; simultaneously, all communication nodes in the network... Receive and parse the frame, extract Refresh the local display to ensure real-time performance and perform comparisons. With this machine's identifier ,in, This represents the default unique device identifier for this machine, with a value range of [value range missing]. The integer value originates from the device's factory default setting or network allocation; in response to and Matching and instruction cache queue Not empty, this cache queue uses a first-in-first-out (FIFO) data structure, and its storage capacity is [missing information]. The instruction specifies that the overflow policy is to discard the earliest written data, and the authorized node will be allowed to proceed after the RF protection time interval. Then uplink transmission is triggered; otherwise, in response to identifier mismatch or empty queue, the node is forced to remain radio silent.

[0070] In this industrial weighing network scenario, this technical solution transforms the uncontrollable contention and collision problem in traditional wireless networks into deterministic time-division multiplexing logic through a reverse token embedding mechanism. Although it sacrifices microsecond-level single-frame overhead, it eliminates random backoff time by using a restricted discrete uniform distribution algorithm to generate random backoff time: utilizing the microsecond count value of the local clock as a random seed to generate a value ranging from... random integers ,in The maximum preset number of backoff time slots is set to 10; calculate the backoff time. ,in For the basic backoff time slot unit, the value is [value to be filled in]. It ensures that the broadcast delay of weighing data remains constant in a high-concurrency environment with multiple controllers, and that the collision probability of control commands is reduced to zero at the physical level, thereby achieving highly reliable industrial-grade wireless control.

[0071] Example 2:

[0072] Based on the current polling index value, the target identifier is extracted from the list of communication node identifiers, including:

[0073] The master communication node maintains an internal polling counter;

[0074] Based on the internal polling counter, a modulo operation is performed on the total number of communication nodes to obtain the current polling index value;

[0075] Based on the current polling index value, a lookup operation is performed in the slave communication node identifier list to determine the target slave communication node that has obtained uplink transmission permission in the current communication cycle.

[0076] After the transmission of the hybrid broadcast frame is completed, the internal polling counter is incremented to update the authorized target for the next broadcast.

[0077] This embodiment further defines the target identifier extraction logic in Embodiment 1, aiming to construct a fair and deterministic bandwidth allocation mechanism; main communication node It maintains a monotonically increasing internal polling counter in its register. The system executes the modulo operation logic, and its formula is as follows:

[0078] in, The source is the calculation result, and its physical meaning is the target index value of the current period. Its value range is defined as the set of integers. ;

[0079] The source is the value stored in the register, and its physical meaning is the cumulative number of broadcast cycles;

[0080] The source is system configuration parameters, and its physical meaning is the total number of registered slave communication nodes in the network; the master communication node is based on the calculated index value. From the list of communication node identifiers The process performs a linear lookup table operation to accurately locate the uniquely authorized target node for this period. ,Right now In the current mixed broadcast frame After sending, the system immediately... Perform an increment operation, i.e. This drives the automatic rotation of authorized targets in the next cycle; to allow new nodes to access the network, the master communication node is configured with a registration cycle counter. and registration period threshold ,For example ;when The count reached At this time, the main communication node pauses regular polling once, forcibly writes the dynamic authorization token field in the hybrid broadcast frame to the global registration code, and resets it after transmission is complete. This allows for the periodic opening of public registration slots;

[0081] To ensure continuous addressing correctness, this embodiment has specifically configured parameters. With list The system employs a dynamic consistency maintenance mechanism; the master communication node periodically performs heartbeat monitoring, and if a slave node is detected to be outside a timeout threshold... If there is no response, the update process will be triggered; The calculation follows the formula ,in, The period duration is explicitly defined as the time interval between the start times of two consecutive mixed broadcast frame transmissions. This is the fault tolerance coefficient, set to 3. This value is chosen to allow for two consecutive transient packet losses on the link without triggering a disconnection decision, thus balancing system sensitivity and anti-interference capability. If a timeout occurs or a new node registration request is received, the following deterministic state machine logic is executed:

[0082] Timeout determination logic: The master node reads the current system clock. and with nodes Last active timestamp Perform a comparison; if satisfied If no control command frame or heartbeat keep-alive frame is received from the node during this period, the node is deemed to have failed and a deletion operation is performed. And update the total. ;

[0083] Registration and identification logic: If the physical layer receive buffer captures the header feature words... Equal to the default registration code If the frame is a source address, then its source address is parsed. Perform the add operation And update the total. ;

[0084] Counter state maintenance: After performing any of the above topology changes, immediately execute the boundary check function. ,like Force reset Simultaneously set the pause flag. This causes the current cycle to skip. The incremental operation eliminates the risk of index out-of-bounds errors or incorrect authorization targets caused by dynamic changes in network topology.

[0085] In this multi-node polling scenario, this embodiment constructs a strict circular authorization mechanism through modulo arithmetic and linear lookup tables; this design ensures that each slave communication node... Within each communication cycle, an uplink transmission opportunity is guaranteed, deterministically converging the maximum waiting delay for control commands into the maximum delay. This effectively eliminates the long-tail delay risk that may occur in random competition mechanisms; to verify the above, a system containing... The experimental platform with one node, at a communication rate The following was carried out Hours of continuous testing; experimental results show that, in total During the handshake interaction, the probability of physical layer collisions... Always for And the measured maximum instruction delay Strictly in compliance ,in, This represents the maximum measured delay.

[0086] Approximate symbol here The aim is to illustrate that the measured values ​​contain minimal software processing overhead. ,Right now ,in, This refers to software processing overhead, measured in time, and physically represents the time spent on interrupt response and context switching. A typical value range is... to Microseconds are measured by monitoring pin flipping with an oscilloscope, and This confirms the effectiveness of the proposed solution in eliminating collisions at the physical level.

[0087] Example 3:

[0088] The data structure of a hybrid broadcast frame includes:

[0089] The synchronization header sequence at the beginning of the frame is used to synchronize the clocks of the slave communication node and the master communication node;

[0090] The data payload field that follows the synchronization header sequence is used to carry the application layer data to be distributed;

[0091] The dynamic authorization token field, located after the data payload field, is used to indicate the exclusive transmission right of the uplink channel within the current communication cycle;

[0092] The Cyclic Redundancy Check (CRC) code located at the end of the frame is used to verify the integrity of data transmission.

[0093] This embodiment defines the hybrid broadcast frame in detail. The physical layer data structure is designed to achieve in-band fusion of data transmission and signaling control; the frame structure is strictly time-sequential: the synchronization header sequence is located at the beginning of the frame. It consists of a specific bit stream, such as 0xAA55, used to trigger a hardware interrupt at the receiving end to achieve bit synchronization; the data payload field This field directly carries core value information from the application layer, including but not limited to floating-point weight data and sensor status words; the data payload field also contains a nested definition of the last response source index subfield; this field carries the identifier of the slave communication node from which the control command successfully executed in the previous communication cycle originated; and the crucial dynamic authorization token field... This field, as embedded signaling, explicitly indicates the exclusive transmission right of the uplink channel in the current cycle; finally, there is the cyclic redundancy check code located at the end of the frame. The CRC-16 algorithm is used to calculate and cover all the aforementioned fields;

[0094] In this low-bandwidth wireless communication scenario, this embodiment significantly reduces protocol overhead by using a compact design where the authorization token follows the data load. Compared to a separate beacon frame architecture, this structure allows slave nodes to know the transmission permission within milliseconds after parsing the data, minimizing processing latency and improving channel utilization.

[0095] Example 4:

[0096] Immediately after broadcasting, switch to receiving and listening mode, and open a command receiving window of preset duration, including:

[0097] At the end of sending the hybrid broadcast frame, the master communication node starts a high-precision timer and controls the radio frequency transceiver unit to switch from transmit mode to receive mode.

[0098] During the duration of the instruction receiving window, the carrier signal and protocol preamble in the wireless communication channel are monitored;

[0099] In response to the absence of a valid uplink control command frame within the command reception window, the master communication node either disables the receive mode and enters a low-power state or waits for the next broadcast cycle.

[0100] This embodiment specifically illustrates the timing control logic for the master communication node's reception and monitoring state, which is crucial for implementing half-duplex communication; the master communication node monitors mixed broadcast frames. The transmission status, and the moment when the last bit has been transmitted. The internal high-precision hardware timer is immediately triggered; the microcontroller sends a command to the RF front-end, and the drive circuit quickly switches from transmit mode to receive mode; within the command receiving window... Within this window, the main communication node continuously executes the Channel Carrier Sense (CCA) and preamble acquisition algorithms; window duration It is not arbitrarily set, but is precisely calculated based on the following formula:

[0101] in, This indicates the conversion term for converting transmission latency from milliseconds to microseconds; The value is used to determine the response time for the slave node. ; The length of the uplink command frame, with a value of [value missing]. ; For over-the-air communication rate, take the value. When calculating, the transmission time needs to be uniformly converted to microseconds; As a safety margin for clock drift, the value is set to... Calculated It should be noted that when the hybrid broadcast frame sent by the master communication node contains a global registration code, the duration of the instruction receiving window is dynamically extended, and the extended window duration... The calculation formula is ,in, The maximum random backoff time, i.e. ,at this time Set as To ensure coverage of the arrival time of the registration request frame in the longest backoff case; in response to the timer reaching... Since no valid synchronization head signal was detected, the system determined that there was no uplink command in this cycle, and then shut down the high-power receiving circuit, entering a sleep or idle state until the next cycle. ;

[0102] In this low-power design scenario, this embodiment sets a strict time window. This avoids the main communication node from engaging in ineffective continuous listening; this "send and listen" mechanism precisely utilizes the idle gaps in half-duplex communication, achieving bidirectional interaction without adding extra control channels, and significantly extending the battery life of battery-powered devices.

[0103] Example 5:

[0104] After a preset RF protection time gap, the uplink command transmission process is triggered, including:

[0105] The time difference between the end time of receiving the hybrid broadcast frame and the planned uplink command transmission time is calculated from the communication node;

[0106] Ensure that the time difference is greater than or equal to the preset transmit / receive switching protection time to avoid overlapping interference with the preceding broadcast signal;

[0107] Extract the instruction to be sent from the instruction buffer queue and encapsulate it into a control instruction frame that conforms to the protocol format;

[0108] The control command frame is sent in burst transmission mode, and the corresponding entry in the command buffer queue is cleared immediately after the transmission is completed.

[0109] This embodiment describes strict timing constraints during uplink transmission from a communication node, aiming to eliminate signal interference caused by multipath effects; [The last part, "authorized slave communication node," appears to be an unrelated fragment and is omitted from the translation.] Record the precise moment when broadcast frame reception ends. And calculate the planned launch time. During this process, the system must verify the time difference. Ensure that it meets the following constraints: The source is a preset parameter, and its physical meaning is the transmit / receive switching protection time, measured in microseconds; its value is set based on:

[0110] in, This refers to the RF front-end transceiver mode switching time, with a nominal value specified in the hardware manual. ; The measured value represents the maximum jitter error in network synchronization. In this embodiment, we take After the protection time constraint is met, the node retrieves the instruction cache queue. Extract the instructions to be executed, such as the zeroing control word, and encapsulate them into a control instruction frame. The radio frequency unit performs burst transmission at maximum power and immediately clears the corresponding entry in the queue after physical transmission is completed to prevent the instruction from being executed repeatedly.

[0111] In this highly disruptive industrial environment, this embodiment introduces a time protection band at the physical layer. This effectively prevents signal overlap between the tail of the broadcast frame and the head of the uplink frame in the air due to environmental multipath reflections or clock jitter; this mechanism significantly improves the robustness of the communication link and ensures reliable demodulation of control commands in complex electromagnetic environments.

[0112] Example 6:

[0113] The method also includes:

[0114] In response to the main communication node receiving a valid control command frame within the command receiving window, the control command frame is parsed and executed.

[0115] Update the internal state parameters of the main communication node based on the execution results;

[0116] The updated status parameters are encoded into the data payload field of the hybrid broadcast frame in the next communication cycle to provide status feedback to the slave communication node.

[0117] This embodiment constructs an implicit closed-loop feedback process based on a broadcast mechanism, aiming to improve the system's interactive response speed; in response to the main communication node in the window The internal demodulation successfully obtained a valid control command frame. The system immediately activates the parsing engine to identify the command type, such as peel, and calls the underlying driver to execute the corresponding hardware or software operation; after execution, the main communication node updates its internal status parameters. To establish the explicitness of the code implementation, define 16-bit status word Its bit mapping structure is as follows: bit Indicates the zeroing state, 1 = success, 0 = not zeroed, bit. This indicates the tare state, where 1 = tare mode and 0 = gross weight mode; the state update function... ,in, To control the instruction code, if ,but , set ;like ,but Clear And set bit In the next communication cycle, the system will update the... Decomposed into high and low bytes, and re-encoded into a new mixed broadcast frame. Data load field The first two bytes are used to broadcast the latest status to all slave nodes;

[0118] The master communication node records the source node identifier of the currently executed control command. The last response source index field of the data payload field of the hybrid broadcast frame in the next communication cycle is written into the last response source index field. When parsing the broadcast frame, each slave communication node only confirms the execution result of the local instruction according to the status parameters if the last response source index field matches the local identifier, such as turning off the button indicator light. Otherwise, it only updates the displayed weight value. If the local identifier does not match the last response source index field, but the local device has sent a control instruction frame in the previous communication cycle, it is determined that the previous instruction frame was sent or a collision occurred. At this time, the slave communication node retains the corresponding entry in the instruction cache queue and triggers the application layer retransmission counter. After waiting for a random delay, it re-participates in the next round of transmission right competition.

[0119] In this human-computer interaction scenario, this embodiment creatively uses the next frame of broadcast data as the ACK signal for the control command of the previous frame. This design eliminates the need for the handheld terminal to wait for a separate ACK confirmation frame. It can confirm the command execution result simply by listening to the regular broadcast, thereby reducing the number of handshake interactions and enabling the operator to obtain a near-instantaneous status feedback experience after pressing the button.

[0120] Example 7:

[0121] Maintaining a silent RF transmission state from the communication node includes:

[0122] The communication node turns off its transmit power amplifier during the duration of the instruction receiving window;

[0123] Only the receiving circuit is kept active to ensure continuous monitoring of the hybrid broadcast frames in subsequent periods;

[0124] By using a forced silence mechanism at the physical layer, the risk of co-channel interference caused by multiple communication nodes simultaneously attempting to compete for the uplink channel is eliminated.

[0125] This embodiment details the physical layer forced silence mechanism for unauthorized nodes, which is the cornerstone of ensuring zero-conflict operation of the system. In response to a node not obtaining a token or sending no instruction, the microcontroller sends a shutdown command to the RF front-end via GPIO or SPI bus, physically cutting off the power supply or enable signal of the power amplifier (PA). During this period, the node only maintains the low-noise amplifier (LNA) and demodulation circuit in operation, entering a continuous receive mode. The system continuously listens to the channel, waiting for the arrival of the next broadcast frame, and any form of signal transmission is strictly prohibited during this period.

[0126] In this multi-machine coexistence scenario, this embodiment fundamentally solves the classic hidden terminal problem in wireless networks by forcing silence at the physical layer. This mechanism ensures that at any given time, at most one slave node in the network is attempting to use the uplink channel, so that the system capacity is limited only by the polling period rather than the probability of collision, thereby supporting stable networking of a large number of slave nodes.

[0127] Example 8:

[0128] Please see Figure 2 A weighing communication network system with one master, multiple slaves, and multiple monitoring functions includes:

[0129] The main communication node module is used to manage network communication timing and data distribution, including:

[0130] A frame generation unit is used to construct a hybrid broadcast frame containing the dynamic authorization token field based on the data to be distributed and polling logic;

[0131] The master transceiver unit is used to broadcast the hybrid broadcast frame and manage the instruction receiving window; multiple slave communication node modules are used to receive data and compete for transmission instructions, each slave communication node module including:

[0132] The parsing and listening unit is used to receive and parse the hybrid broadcast frame, and extract the data payload field and the dynamic authorization token field;

[0133] The logic decision unit is used to compare the dynamic authorization token field with the local identifier and, in conjunction with the state of the instruction cache queue, generate a transmit enable signal or a silence control signal.

[0134] The slave transmitter unit is configured to send a control command frame after the radio frequency protection time gap in response to the transmit enable signal.

[0135] This embodiment provides a hardware system architecture for executing the above method, achieving deep decoupling and modularization of software and hardware functions. The system mainly consists of a master communication node module and a slave communication node module. The frame generation unit, as the core logic core of the master node, is responsible for real-time aggregation of weight data and polling calculations. The master transceiver unit integrates a high-precision timer and RF transceiver, responsible for rigid timing control at the physical layer. On the slave node side, the parsing and listening unit is configured for all-time reception mode, responsible for separating data and signaling from mixed frames. The logic decision unit embeds hardware comparators or fast logic gates for execution. The system performs a rapid comparison and outputs a control level; the slave transmitter unit is strictly controlled by this enable signal and only transmits when the signal is valid and meets the requirements. The radio frequency transmitting circuit is activated after a delay;

[0136] In this modular system design scenario, this embodiment solidifies the complex time-division multiplexing and conflict detection logic within each functional unit, giving the system extremely high scalability. Adding a new slave node only requires assigning an ID and adding it to the list; it can be seamlessly integrated into the existing communication network without changing the core system architecture, greatly reducing the complexity of system deployment and maintenance.

[0137] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A weighing communication networking method with one master, multiple slaves, and multiple monitoring, characterized in that: include: Configure a master-slave communication network, the network including a unique master communication node and multiple slave communication nodes, and preset a list of slave communication node identifiers; The main communication node periodically executes a broadcast communication process, including: Step S1: Obtain the data payload to be distributed and generate a hybrid broadcast frame; the data structure of the hybrid broadcast frame includes a data payload field and a dynamic authorization token field; Step S2: Based on the current polling index value, extract the target identifier from the list of communication node identifiers, write the target identifier into the dynamic authorization token field, and generate a hybrid broadcast frame with a transmission permission indication; Step S3: Broadcast the hybrid broadcast frame through the wireless communication channel, and immediately switch to the receiving and listening state after the broadcast is completed, and open the instruction receiving window for a preset duration; Step S4: Each communication node receives and parses the hybrid broadcast frame, extracts the data payload field to update the local state, and extracts the dynamic authorization token field to match and verify with the local identifier; Step S5: In response to the dynamic authorization token field matching the local identifier and the presence of a pending instruction in the instruction cache queue of the local communication node, the uplink instruction transmission process is triggered after a preset radio frequency protection time interval. Step S6: In response to the dynamic authorization token field not matching the local identifier, or the instruction cache queue being empty, the slave communication node maintains a silent radio frequency transmission state within the instruction receiving window; unless the dynamic authorization token field indicates a global registration mode, in which case unregistered slave communication nodes are allowed to execute the access process according to preset rules. The method further includes: In response to the main communication node receiving a valid control command frame within the command receiving window, the control command frame is parsed and executed. Update the internal state parameters of the main communication node based on the execution results; The updated status parameters are encoded into the data payload field of the hybrid broadcast frame in the next communication cycle to provide status feedback to the slave communication node.

2. The weighing communication networking method with one master, multiple slaves, and multiple monitoring as described in claim 1, characterized in that, The step of extracting the target identifier from the communication node identifier list based on the current polling index value includes: The master communication node maintains an internal polling counter; Based on the internal polling counter, a modulo operation is performed on the total number of communication nodes to obtain the current polling index value; Based on the current polling index value, a lookup operation is performed in the slave communication node identifier list to determine the target slave communication node that has obtained uplink transmission permission in the current communication cycle. After the transmission of the hybrid broadcast frame is completed, the internal polling counter is incremented to update the authorized target for the next broadcast.

3. The weighing communication networking method with one master, multiple slaves, and multiple monitoring as described in claim 1, characterized in that, The data structure of the hybrid broadcast frame includes: The synchronization header sequence at the beginning of the frame is used to synchronize the clocks of the slave communication node and the master communication node; The data payload field that follows the synchronization header sequence is used to carry the application layer data to be distributed; The dynamic authorization token field, located after the data payload field, is used to indicate the exclusive transmission right of the uplink channel within the current communication cycle; The Cyclic Redundancy Check (CRC) code located at the end of the frame is used to verify the integrity of data transmission.

4. The weighing communication networking method with one master, multiple slaves, and multiple monitoring as described in claim 1, characterized in that, The step of immediately switching to the receiving and listening state after broadcasting and opening a command receiving window of a preset duration includes: The master communication node starts a high-precision timer at the end of sending the hybrid broadcast frame; Control the radio frequency transceiver unit to switch from transmit mode to receive mode; During the duration of the instruction receiving window, the carrier signal and protocol preamble in the wireless communication channel are monitored; In response to the absence of a valid uplink control command frame within the command reception window, the master communication node either disables the receive mode and enters a low-power state or waits for the next broadcast cycle.

5. The weighing communication networking method with one master, multiple slaves, and multiple monitoring as described in claim 1, characterized in that, The process of triggering uplink command transmission after a preset radio frequency protection time gap includes: The time difference between the end time of receiving the hybrid broadcast frame and the planned uplink command transmission time is calculated from the communication node. Ensure that the time difference is greater than or equal to the preset transmit / receive switching protection time to avoid overlapping interference with the preceding broadcast signal; Extract the instruction to be sent from the instruction buffer queue and encapsulate it into a control instruction frame that conforms to the protocol format; The control command frame is sent in burst transmission mode, and the corresponding entry in the command buffer queue is cleared immediately after the transmission is completed.

6. The weighing communication networking method with one master, multiple slaves, and multiple monitoring as described in claim 1, characterized in that, Maintaining a silent radio frequency transmission state from the communication node includes: The slave communication node shuts down its transmit power amplifier during the duration of the instruction receiving window; Only the receiving circuit is kept active to ensure continuous monitoring of the hybrid broadcast frames in subsequent periods; By using a forced silence mechanism at the physical layer, the risk of co-channel interference caused by multiple communication nodes simultaneously attempting to compete for the uplink channel is eliminated.

7. A weighing communication network system with one master, multiple slaves, and multiple monitoring, characterized in that: The method applied to any one of claims 1-6 comprises: The main communication node module is used to manage network communication timing and data distribution, including: A frame generation unit is used to construct a hybrid broadcast frame containing the dynamic authorization token field based on the data to be distributed and polling logic; The main control transceiver unit is used to broadcast the hybrid broadcast frame and manage the instruction receiving window; Multiple slave communication node modules are used to receive data and compete to send commands. Each slave communication node module includes: The parsing and listening unit is used to receive and parse the hybrid broadcast frame, and extract the data payload field and the dynamic authorization token field; The logic decision unit is used to compare the dynamic authorization token field with the local identifier and, in conjunction with the state of the instruction cache queue, generate a transmit enable signal or a silence control signal. The slave transmitter unit is configured to send a control command frame after the radio frequency protection time gap in response to the transmit enable signal.