WO2018068180A1 - Master node, slave node, and synchronization information self-correction method - Google Patents

Master node, slave node, and synchronization information self-correction method Download PDF

Info

Publication number
WO2018068180A1
WO2018068180A1 PCT/CN2016/101669 CN2016101669W WO2018068180A1 WO 2018068180 A1 WO2018068180 A1 WO 2018068180A1 CN 2016101669 W CN2016101669 W CN 2016101669W WO 2018068180 A1 WO2018068180 A1 WO 2018068180A1
Authority
WO
WIPO (PCT)
Prior art keywords
propagation delay
data
node
slave node
slave
Prior art date
Application number
PCT/CN2016/101669
Other languages
French (fr)
Chinese (zh)
Inventor
鲁志兵
管鲍
李华栋
Original Assignee
海能达通信股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 海能达通信股份有限公司 filed Critical 海能达通信股份有限公司
Priority to PCT/CN2016/101669 priority Critical patent/WO2018068180A1/en
Publication of WO2018068180A1 publication Critical patent/WO2018068180A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a master node, a slave node, and a synchronization information self-correction method.
  • a node accesses a network, it needs to obtain synchronization information through an initial synchronization process, so that the new access node and the primary node transmit data at the same time slot boundary. After the node accesses the network, it still needs to dynamically correct the synchronization message for the following reasons: When the signal-to-noise ratio is low or multiple nodes to be accessed occupy the same resource to send access synchronization signals, the initial synchronization may have a certain error.
  • the synchronization error between the slave nodes will be more Large, which in turn leads to inability to identify neighbors between nodes or degradation of receiver performance; after a long period of operation, the node may experience clock drift, thereby increasing synchronization errors and degrading network communication performance.
  • the embodiment of the invention provides a master node, a slave node and a synchronization information self-correction method, which can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
  • the present invention provides a synchronization information self-correction method, including: broadcasting a first data to at least one slave node to obtain a corresponding first propagation delay; receiving at least one second data sent by the slave node, and acquiring a corresponding first a propagation delay, wherein the second data includes a first propagation delay; obtaining a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node; and transmitting a synchronization error to the slave node to enable the synchronization error to The slave node can correct the slot boundary of the transmitted data.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the method of: broadcasting the first data to the at least one slave node to obtain the corresponding first propagation delay includes: broadcasting the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node; and receiving The second data sent by the at least one slave node and the corresponding second propagation delay are obtained, including: receiving the second data sent by the multiple slave nodes, and acquiring a second propagation delay corresponding to the slave node.
  • the acquiring the synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node includes: acquiring multiple slaves according to the first propagation delay and the second propagation delay of the multiple slave nodes respectively The error of the node; averaging multiple errors to obtain synchronization errors of multiple slave nodes.
  • the error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two.
  • the initial value of the synchronization error is 0.
  • the present invention further provides a synchronization information self-correction method, comprising: receiving first data broadcasted by a primary node; acquiring a first propagation delay according to the first data; and transmitting second data to the primary node, so that the primary node acquires the second propagation a delay, wherein the second data includes a first propagation delay; the synchronization error is broadcasted by the receiving primary node, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay; and the data is sent according to the synchronization error correction Slotted boundary.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the present invention further provides a master node, including: a first broadcast module, configured to broadcast and transmit first data to at least one slave node to obtain a corresponding first propagation delay; and a receiving module, configured to receive at least one slave node to send a second data, and obtaining a corresponding second propagation delay, wherein the second data includes a first propagation delay; the obtaining module is connected to the first broadcast module and the receiving module, and configured to be configured according to the first node according to the at least one The propagation delay and the second propagation delay acquire synchronization errors of the slave nodes; the second broadcast module is coupled to the acquisition module for broadcasting a synchronization error to the slave node so that the slave node can correct the slot boundary of the transmission data.
  • a master node including: a first broadcast module, configured to broadcast and transmit first data to at least one slave node to obtain a corresponding first propagation delay; and a receiving module, configured to receive at least one slave node to send a second data, and obtaining a corresponding
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the first broadcast module is configured to broadcast the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node
  • the receiving module is configured to receive the second data sent by the multiple slave nodes, and obtain and The second propagation delay corresponding to the slave node.
  • the obtaining module is configured to: acquire errors of the plurality of slave nodes according to the first propagation delay and the second propagation delay of the multiple slave nodes; average the multiple errors to obtain synchronization errors of the multiple slave nodes.
  • the error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two.
  • the present invention further provides a slave node, comprising: a first receiving module, configured to receive first data that is transmitted and sent by the master node; and an acquiring module, configured to be connected to the first receiving module, configured to acquire the first propagation delay according to the first data a sending module, connected to the obtaining module, configured to send the second data to the master node, so that the master node obtains the second propagation delay, where the second data includes the first propagation delay; and the second receiving module is connected to the sending module.
  • a synchronization error for receiving the broadcast of the primary node, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay
  • the correction module is connected to the second receiving module, configured to correct the transmission data according to the synchronization error. Slotted boundary.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the invention also provides a master node, comprising: a processor, a receiver, a memory, a transmitter and a data bus, wherein the processor, the receiver, the memory and the transmitter are connected by a data bus to communicate with each other; wherein the transmitter is used for Transmitting, by the at least one slave node, the first data to obtain a corresponding first propagation delay; the receiver is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data is The first propagation delay is included; the processor is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node; the transmitter is further configured to broadcast the synchronization error to the slave node to enable the slave node The slot boundaries of the transmitted data can be corrected.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the transmitter is further configured to broadcast the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node
  • the receiver is further configured to receive the second data sent by the multiple slave nodes, and obtain the The second propagation delay corresponding to the slave node.
  • the present invention also provides a slave node, including: a processor, a receiver, a memory, a transmitter, and a data bus.
  • the processor, the receiver, the memory, and the transmitter are connected through a data bus to communicate with each other; wherein the receiver is used for Receiving, by the primary node, the first data that is sent by the primary node; the processor is configured to obtain the first propagation delay according to the first data; the transmitter is configured to send the second data to the primary node, so that the primary node acquires the second propagation delay, where the second data is The first propagation delay is included; the receiver is further configured to receive a synchronization error of the primary node broadcast transmission, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay; and the processor is configured to correct the transmission data according to the synchronization error. Slotted boundary.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the present invention has the following advantages: the present invention obtains a corresponding first propagation delay by broadcasting the first data to at least one slave node, and receives at least one second data sent by the slave node, and obtains corresponding a second propagation delay, wherein the second data includes a first propagation delay; obtaining a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node; and transmitting a synchronization error to the slave node by The slave node can correct the slot boundary of the transmitted data, and can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
  • FIG. 1 is a schematic diagram of a method for self-correcting synchronization information according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a method for calculating a synchronization error according to an embodiment of the present invention
  • FIG. 3 is a schematic flow chart of a synchronization information self-correction method according to a first embodiment of the present invention
  • FIG. 4 is a schematic flow chart of a synchronization information self-correction method according to a second embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a master node according to a first embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a master node according to a second embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a slave node according to a first embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a slave node according to a second embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a method for self-correcting synchronization information according to an embodiment of the present invention.
  • the slave node includes slave node 0 to slave node N, where N is a positive integer.
  • the synchronization information self-correction method includes:
  • Step 1 The primary node broadcasts the first data.
  • the master node broadcasts the first data to the slave node 0, . . . from the node N.
  • the first data includes an initial synchronization error with a value of zero.
  • Step 2 Receive the first data from the node and detect the first propagation delay.
  • step 2 the slave nodes 0, ..., and the slave nodes N respectively detect the first propagation delay based on the first data.
  • Different slave nodes are independent, and their first propagation delays may be the same or different.
  • Step 3 The second data is sent from the node to the master node.
  • the second data includes a first propagation delay.
  • Step 4 The primary node receives the second data and detects the second propagation delay.
  • Step 5 The master node calculates the error.
  • the master node calculates the error of the slave node 0, . . . , the slave node N according to the first propagation delay and the second propagation delay of the slave node N, respectively.
  • Step 6 The master node averages multiple errors to obtain a synchronization error.
  • the master node averages the errors of the slave nodes 0, ..., and the slave nodes N to obtain a synchronization error as a synchronization error common to the slave nodes 0, ..., and the slave nodes N.
  • Step 7 The master node broadcasts a synchronization error to the slave node.
  • the master node broadcasts a synchronization error to the slave node 0, . . . from the node N, and the manner in which the master node broadcasts the synchronization error to the slave node is the same as the first node sends the first data to the slave node in step 1.
  • the value of the synchronization error included in the data transmitted by the master node to the slave node in 7 is the synchronization error calculated in step 6.
  • Step 8 The slave node sends the slot boundary from the node according to the synchronization error correction.
  • step 8 the slave nodes 0, ..., and the slave nodes N correct the respective slot boundaries transmitted according to the synchronization error to achieve the purpose of synchronization.
  • the first propagation delay and the second propagation delay and the calculation method of the synchronization error are shown in FIG. 2, and the synchronization information self-correction method includes:
  • Step S100 The primary node broadcasts the first data.
  • Step S101 The first data is received from the node, and the first propagation delay is detected.
  • the real propagation delay of the primary node broadcasting the first data is the difference between the time when the broadcast data arrives at the slave node and the time slot boundary of the master node.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the boundary of the slave node slot.
  • Step S102 The slave node sends the second data to the master node.
  • the second data includes a first propagation delay.
  • Step S103 The primary node receives the second data and detects the second propagation delay.
  • the true propagation delay of the second data sent by the slave node is the difference between the time when the second data arrives at the master node and the slot boundary of the slave node.
  • the second propagation delay is the difference between the time when the data is sent from the node and the time slot of the master node, that is, the difference between the time when the second data arrives at the master node and the time slot of the master node.
  • FIG. 3 is a schematic flow chart of a synchronization information self-correction method according to a first embodiment of the present invention. As shown in FIG. 3, the synchronization information self-correction method includes:
  • Step S10 Broadcasting the first data to at least one slave node to obtain a corresponding first propagation delay.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the boundary of the slave node slot.
  • the first data may be broadcasted to the plurality of slave nodes to acquire a first propagation delay corresponding to the slave node. Different slave nodes can obtain the same first propagation delay and can also obtain different propagation delays.
  • Step S11 Receive second data sent by at least one slave node, and obtain a corresponding second propagation delay, where the second data includes a first propagation delay.
  • the second propagation delay is the difference between the time when the data is sent from the node and the time slot of the primary node.
  • step S11 the second data transmitted by the plurality of slave nodes is received, and the second propagation delay corresponding to the slave node is acquired.
  • Each slave node corresponds to a second propagation delay.
  • Step S12 Acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node.
  • step S12 errors of a plurality of slave nodes are respectively acquired according to the first propagation delay and the second propagation delay of the plurality of slave nodes; and the plurality of errors are averaged to obtain synchronization errors of the plurality of slave nodes.
  • each of the slave nodes corresponds to a first propagation delay and a second propagation delay, and the error of the corresponding slave node is obtained according to the first propagation delay and the second propagation delay, thereby obtaining an error of each slave node.
  • the error of all slave nodes is averaged to obtain the synchronization error of all slave nodes.
  • the error is a delay obtained by dividing the difference between the second propagation delay and the first propagation delay by 2.
  • the initial value of the synchronization error is zero.
  • the average number of times is small, that is, when the number of slave nodes performing error averaging is small, the synchronization error is zero.
  • Step S13 Broadcast synchronization error is transmitted to the slave node so that the slave node can correct the slot boundary of the transmission data.
  • the synchronization error is obtained according to the first propagation delay and the second propagation delay by acquiring the first propagation delay and the second propagation delay of the at least one slave node, so that the slave node can be corrected according to the synchronization error.
  • the time slot boundary of the transmitted data, the synchronization information self-correction method can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
  • the synchronization information self-correction method includes:
  • Step S20 Receive the first data that the primary node broadcasts and transmits.
  • Step S21 Acquire a first propagation delay according to the first data.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the boundary of the slave node slot.
  • Step S22 Send the second data to the primary node, so that the primary node acquires the second propagation delay, where the second data includes the first propagation delay.
  • the second propagation delay is the difference between the time when the data is sent from the node and the time slot of the primary node.
  • Step S23 Receive a synchronization error that the primary node broadcasts, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay.
  • the master node acquires an error of the corresponding slave node according to the first propagation delay and the second propagation delay of the slave node, and further obtains a synchronization error according to the error of the plurality of slave nodes.
  • Step S24 Correcting the slot boundary of the transmission data according to the synchronization error.
  • the synchronization error is obtained by dynamically acquiring the first propagation delay and the second propagation delay of the slave node, and the slot boundary of the transmission data is dynamically corrected according to the synchronization error, and the synchronization information self-correction method can further The high precision dynamically corrects the synchronization error and results in less additional signaling overhead.
  • FIG. 5 is a schematic structural diagram of a master node according to a first embodiment of the present invention.
  • the master node 10 includes a first broadcast module 11, a receiving module 12, an obtaining module 13, and a second broadcast module 14.
  • the first broadcast module 11 is configured to broadcast the first data to the at least one slave node to obtain a corresponding first propagation delay.
  • the receiving module 12 is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data includes the first propagation delay.
  • the obtaining module 13 is connected to the first broadcast module 11 and the receiving module 12, and is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node.
  • the second broadcast module 14 is coupled to the acquisition module 13 for broadcasting a synchronization error to the slave node so that the slave node can correct the slot boundary of the transmitted data.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
  • the first broadcast module 11 is configured to broadcast the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node.
  • the receiving module 12 is configured to receive second data sent by multiple slave nodes, and acquire a second propagation delay corresponding to the slave node.
  • the obtaining module 13 is configured to: acquire errors of the plurality of slave nodes according to the first propagation delay and the second propagation delay of the plurality of slave nodes respectively; and average the plurality of errors to obtain synchronization errors of the plurality of slave nodes. In this way, the synchronization error can be dynamically corrected with higher accuracy, and the additional signaling overhead is small.
  • the error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two.
  • the initial value of the synchronization error is zero.
  • the average number of times is small, that is, when the number of slave nodes performing error averaging is small, the synchronization error is zero.
  • FIG. 6 is a schematic structural diagram of a master node according to a second embodiment of the present invention.
  • the master node 20 includes a processor 21, a receiver 22, a memory 23, a transmitter 24, and a data bus 25.
  • the processor 21, the receiver 22, the memory 23, and the transmitter 24 are connected via a data bus 25 for mutual communication.
  • the transmitter 24 is configured to broadcast the first data to the at least one slave node to obtain a corresponding first propagation delay.
  • the receiver 22 is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data includes a first propagation delay.
  • the memory 23 stores a program.
  • the processor 21 is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node.
  • the transmitter 24 broadcasts a synchronization error to the slave node so that the slave node can correct the slot boundary of the transmitted data.
  • the memory 23 is used to store the first propagation delay and the second propagation delay.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
  • the transmitter 24 broadcasts the first data to the plurality of slave nodes to acquire the first propagation delay corresponding to the slave node.
  • the receiver 22 receives the second data transmitted by the plurality of slave nodes and acquires a second propagation delay corresponding to the slave node.
  • the processor 21 acquires errors of the plurality of slave nodes respectively according to the first propagation delay and the second propagation delay of the plurality of slave nodes; and averages the plurality of errors to obtain synchronization errors of the plurality of slave nodes. In this way, the synchronization error can be dynamically corrected with higher accuracy, and the additional signaling overhead is small.
  • the error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two.
  • the initial value of the synchronization error is zero.
  • the average number of times is small, that is, when the number of slave nodes performing error averaging is small, the synchronization error is zero.
  • FIG. 7 is a block diagram showing the structure of a slave node in the first embodiment of the present invention.
  • the slave node 30 includes a first receiving module 31, an obtaining module 32, a transmitting module 33, a second receiving module 34, and a correcting module 35.
  • the first receiving module 31 is configured to receive the first data that is sent by the primary node.
  • the obtaining module 32 is connected to the first receiving module 31 for acquiring the first propagation delay according to the first data.
  • the sending module 33 is connected to the obtaining module 32, and is configured to send the second data to the master node, so that the master node obtains the second propagation delay, where the second data includes the first propagation delay.
  • the second receiving module 34 is connected to the sending module 33 for receiving a synchronization error of the primary node broadcast transmission, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay.
  • the correction module 35 is coupled to the second receiving module 34 for correcting the slot boundaries of the transmitted data based on the synchronization error.
  • the primary node acquires the second propagation delay according to the second data. Then, the master node acquires the error of the slave node according to the first propagation delay included in the second data and the acquired second propagation delay. The error of the plurality of slave nodes that the master node can acquire, and then the synchronization error is obtained according to the error of the plurality of slave nodes, and the correction module 35 corrects the slot boundary of the transmitted data according to the synchronization error, so that the dynamic correction can be dynamically performed with higher precision. Synchronization errors, and the additional signaling overhead is small.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
  • FIG. 8 is a schematic structural diagram of a slave node according to a second embodiment of the present invention.
  • the slave node 40 includes a processor 41, a receiver 42, a memory 43, a transmitter 44, and a data bus 45.
  • the processor 41, the receiver 42, the memory 43, and the transmitter 44 are connected via a data bus 45 for mutual communication.
  • the receiver 44 is configured to receive the first data that the primary node broadcasts.
  • the processor 41 is configured to acquire the first propagation delay according to the first data.
  • the transmitter 44 is configured to send the second data to the primary node, so that the primary node acquires the second propagation delay, where the second data includes the first propagation delay.
  • the receiver 44 is further configured to receive a synchronization error transmitted by the primary node, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay.
  • the processor 41 is also operative to correct the slot boundaries of the transmitted data based on the synchronization error.
  • the primary node acquires the second propagation delay according to the second data. Then, the master node acquires the error of the slave node according to the first propagation delay included in the second data and the acquired second propagation delay. The error of the plurality of slave nodes that the master node can acquire, and then the synchronization error is obtained according to the error of the plurality of slave nodes, and the processor 41 corrects the slot boundary of the transmitted data according to the synchronization error, so that the synchronization can be dynamically corrected with higher precision. Error, and the additional signaling overhead is small.
  • the first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary
  • the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
  • the second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
  • the present invention obtains a corresponding first propagation delay by broadcasting the first data to at least one slave node, receiving the second data sent by the at least one slave node, and acquiring a corresponding second propagation delay.
  • the second data includes a first propagation delay; the synchronization error of the slave node is obtained according to the first propagation delay and the second propagation delay of the at least one slave node; the synchronization error is broadcasted to the slave node to enable the slave node to correct the transmission.
  • the slot boundary of the data can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Disclosed in the present invention are a master node, slave node, and synchronization information self-correction method. The method comprises: broadcasting and sending first data to at least one slave node to acquire a corresponding first transmission delay; receiving second data sent by the at least one slave node, and acquiring a corresponding second transmission delay, wherein the second data comprises the first transmission delay; acquiring, according to the first transmission delay and second transmission delay of the at least one slave node, a synchronization error of the slave node; and broadcasting and sending to the slave node the synchronization error, such that the slave node can correct a time slot boundary of sending data. In this way, the present invention enables highly accurate dynamic correction of a synchronization error at a low additional signaling overhead.

Description

主节点、从节点以及同步信息自校正方法 Master node, slave node and synchronization information self-correction method
【技术领域】[Technical Field]
本发明涉及通信技术领域,特别是涉及一种主节点、从节点以及同步信息自校正方法。The present invention relates to the field of communications technologies, and in particular, to a master node, a slave node, and a synchronization information self-correction method.
【背景技术】 【Background technique】
在无线蜂窝网格网络(MESH网络)中,节点接入网络时需要通过初始同步流程获取同步信息,使得新接入节点与主节点在同一个时隙边界发送数据。节点接入网络后,仍然需要动态校正同步消息,原因为: 当信噪比较低或多个待接入节点占用相同的资源发送接入同步信号时,初始同步会存在一定误差,当网络中有多个从节点时,从节点之间的同步误差会更大,进而导致从节点之间无法识别邻居或者接收机性能下降;长时间工作后,节点可能出现时钟漂移,进而加大同步误差,使得网络通信性能下降。In a wireless cellular network (MESH network), when a node accesses a network, it needs to obtain synchronization information through an initial synchronization process, so that the new access node and the primary node transmit data at the same time slot boundary. After the node accesses the network, it still needs to dynamically correct the synchronization message for the following reasons: When the signal-to-noise ratio is low or multiple nodes to be accessed occupy the same resource to send access synchronization signals, the initial synchronization may have a certain error. When there are multiple slave nodes in the network, the synchronization error between the slave nodes will be more Large, which in turn leads to inability to identify neighbors between nodes or degradation of receiver performance; after a long period of operation, the node may experience clock drift, thereby increasing synchronization errors and degrading network communication performance.
【发明内容】 [Summary of the Invention]
本发明实施例提供了一种主节点、从节点以及同步信息自校正方法,能够以更高的精度动态校正同步误差,且额外信令开销较小。The embodiment of the invention provides a master node, a slave node and a synchronization information self-correction method, which can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
本发明提供一种同步信息自校正方法,包括:向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延;根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差;向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界。The present invention provides a synchronization information self-correction method, including: broadcasting a first data to at least one slave node to obtain a corresponding first propagation delay; receiving at least one second data sent by the slave node, and acquiring a corresponding first a propagation delay, wherein the second data includes a first propagation delay; obtaining a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node; and transmitting a synchronization error to the slave node to enable the synchronization error to The slave node can correct the slot boundary of the transmitted data.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
其中,向至少一个从节点广播发送第一数据,以获取对应的第一传播时延,包括:向多个从节点广播发送第一数据,以获取与从节点对应的第一传播时延;接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,包括:接收多个从节点发送的第二数据,并获取与从节点对应的第二传播时延。The method of: broadcasting the first data to the at least one slave node to obtain the corresponding first propagation delay includes: broadcasting the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node; and receiving The second data sent by the at least one slave node and the corresponding second propagation delay are obtained, including: receiving the second data sent by the multiple slave nodes, and acquiring a second propagation delay corresponding to the slave node.
其中,根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差,包括:根据多个从节点的第一传播时延和第二传播时延分别获取多个从节点的误差;对多个误差取平均,得到多个从节点的同步误差。The acquiring the synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node includes: acquiring multiple slaves according to the first propagation delay and the second propagation delay of the multiple slave nodes respectively The error of the node; averaging multiple errors to obtain synchronization errors of multiple slave nodes.
其中,误差为第二传播时延与第一传播时延之差除以2得到的时延。The error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two.
其中,同步误差初始值为0。Among them, the initial value of the synchronization error is 0.
本发明还提供一种同步信息自校正方法,包括:接收主节点广播发送的第一数据;根据第一数据获取第一传播时延;向主节点发送第二数据,以便主节点获取第二传播时延,其中第二数据中包括第一传播时延;接收主节点广播发送的同步误差,其中同步误差是根据第一传播时延和第二传播时延得到的;根据同步误差校正发送数据的时隙边界。The present invention further provides a synchronization information self-correction method, comprising: receiving first data broadcasted by a primary node; acquiring a first propagation delay according to the first data; and transmitting second data to the primary node, so that the primary node acquires the second propagation a delay, wherein the second data includes a first propagation delay; the synchronization error is broadcasted by the receiving primary node, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay; and the data is sent according to the synchronization error correction Slotted boundary.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
本发明还提供一种主节点,包括:第一广播模块,用于向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;接收模块,用于接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延;获取模块,与第一广播模块和接收模块连接,用于根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差;第二广播模块,与获取模块连接,用于向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界。The present invention further provides a master node, including: a first broadcast module, configured to broadcast and transmit first data to at least one slave node to obtain a corresponding first propagation delay; and a receiving module, configured to receive at least one slave node to send a second data, and obtaining a corresponding second propagation delay, wherein the second data includes a first propagation delay; the obtaining module is connected to the first broadcast module and the receiving module, and configured to be configured according to the first node according to the at least one The propagation delay and the second propagation delay acquire synchronization errors of the slave nodes; the second broadcast module is coupled to the acquisition module for broadcasting a synchronization error to the slave node so that the slave node can correct the slot boundary of the transmission data.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
其中,第一广播模块用于向多个从节点广播发送第一数据,以获取与从节点对应的第一传播时延;接收模块用于接收多个从节点发送的第二数据,并获取与从节点对应的第二传播时延。The first broadcast module is configured to broadcast the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node, and the receiving module is configured to receive the second data sent by the multiple slave nodes, and obtain and The second propagation delay corresponding to the slave node.
其中,获取模块用于:根据多个从节点的第一传播时延和第二传播时延分别获取多个从节点的误差;对多个误差取平均,得到多个从节点的同步误差。The obtaining module is configured to: acquire errors of the plurality of slave nodes according to the first propagation delay and the second propagation delay of the multiple slave nodes; average the multiple errors to obtain synchronization errors of the multiple slave nodes.
其中,误差为第二传播时延与第一传播时延之差除以2得到的时延。The error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two.
本发明还提供一种从节点,包括:第一接收模块,用于接收主节点广播发送的第一数据;获取模块,与第一接收模块连接,用于根据第一数据获取第一传播时延;发送模块,与获取模块连接,用于向主节点发送第二数据,以便主节点获取第二传播时延,其中第二数据中包括第一传播时延;第二接收模块,与发送模块连接,用于接收主节点广播发送的同步误差,其中同步误差是根据第一传播时延和第二传播时延得到的;校正模块,与第二接收模块连接,用于根据同步误差校正发送数据的时隙边界。The present invention further provides a slave node, comprising: a first receiving module, configured to receive first data that is transmitted and sent by the master node; and an acquiring module, configured to be connected to the first receiving module, configured to acquire the first propagation delay according to the first data a sending module, connected to the obtaining module, configured to send the second data to the master node, so that the master node obtains the second propagation delay, where the second data includes the first propagation delay; and the second receiving module is connected to the sending module. And a synchronization error for receiving the broadcast of the primary node, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay; and the correction module is connected to the second receiving module, configured to correct the transmission data according to the synchronization error. Slotted boundary.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
本发明还提供一种主节点,包括:处理器、接收器、存储器、发送器以及数据总线,处理器、接收器、存储器以及发送器通过数据总线相连,以进行相互通信;其中,发送器用于向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;接收器用于接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延;处理器用于根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差;发送器还用于向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界。The invention also provides a master node, comprising: a processor, a receiver, a memory, a transmitter and a data bus, wherein the processor, the receiver, the memory and the transmitter are connected by a data bus to communicate with each other; wherein the transmitter is used for Transmitting, by the at least one slave node, the first data to obtain a corresponding first propagation delay; the receiver is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data is The first propagation delay is included; the processor is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node; the transmitter is further configured to broadcast the synchronization error to the slave node to enable the slave node The slot boundaries of the transmitted data can be corrected.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
其中,发送器还用于向多个从节点广播发送第一数据,以获取与从节点对应的第一传播时延;接收器还用于接收多个从节点发送的第二数据,并获取与从节点对应的第二传播时延。The transmitter is further configured to broadcast the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node, and the receiver is further configured to receive the second data sent by the multiple slave nodes, and obtain the The second propagation delay corresponding to the slave node.
本发明还提供一种从节点,包括:处理器、接收器、存储器、发送器以及数据总线,处理器、接收器、存储器以及发送器通过数据总线相连,以进行相互通信;其中,接收器用于接收主节点广播发送的第一数据;处理器用于根据第一数据获取第一传播时延;发送器用于向主节点发送第二数据,以便主节点获取第二传播时延,其中第二数据中包括第一传播时延;接收器还用于接收主节点广播发送的同步误差,其中同步误差是根据第一传播时延和第二传播时延得到的;处理器用于根据同步误差校正发送数据的时隙边界。The present invention also provides a slave node, including: a processor, a receiver, a memory, a transmitter, and a data bus. The processor, the receiver, the memory, and the transmitter are connected through a data bus to communicate with each other; wherein the receiver is used for Receiving, by the primary node, the first data that is sent by the primary node; the processor is configured to obtain the first propagation delay according to the first data; the transmitter is configured to send the second data to the primary node, so that the primary node acquires the second propagation delay, where the second data is The first propagation delay is included; the receiver is further configured to receive a synchronization error of the primary node broadcast transmission, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay; and the processor is configured to correct the transmission data according to the synchronization error. Slotted boundary.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary.
通过上述方案,本发明的有益效果是:本发明通过向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延;根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差;向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界,能够以更高的精度动态校正同步误差,且额外信令开销较小。With the above solution, the present invention has the following advantages: the present invention obtains a corresponding first propagation delay by broadcasting the first data to at least one slave node, and receives at least one second data sent by the slave node, and obtains corresponding a second propagation delay, wherein the second data includes a first propagation delay; obtaining a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node; and transmitting a synchronization error to the slave node by The slave node can correct the slot boundary of the transmitted data, and can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
【附图说明】 [Description of the Drawings]
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。其中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work. among them:
图1是本发明实施例的同步信息自校正的方法示意图;1 is a schematic diagram of a method for self-correcting synchronization information according to an embodiment of the present invention;
图2是本发明实施例的同步误差的计算方法示意图;2 is a schematic diagram of a method for calculating a synchronization error according to an embodiment of the present invention;
图3是本发明第一实施例的同步信息自校正方法的流程示意图;3 is a schematic flow chart of a synchronization information self-correction method according to a first embodiment of the present invention;
图4是本发明第二实施例的同步信息自校正方法的流程示意图;4 is a schematic flow chart of a synchronization information self-correction method according to a second embodiment of the present invention;
图5是本发明第一实施例的主节点的结构示意图;FIG. 5 is a schematic structural diagram of a master node according to a first embodiment of the present invention; FIG.
图6是本发明第二实施例的主节点的结构示意图;6 is a schematic structural diagram of a master node according to a second embodiment of the present invention;
图7是本发明第一实施例的从节点的结构示意图;7 is a schematic structural diagram of a slave node according to a first embodiment of the present invention;
图8是本发明第二实施例的从节点的结构示意图。FIG. 8 is a schematic structural diagram of a slave node according to a second embodiment of the present invention.
【具体实施方式】【detailed description】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性的劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
在无线MESH网络中,当节点已经通过初始同步流程获取同步信息后,需要继续动态自校正节点的同步信息。In the wireless MESH network, after the node has acquired the synchronization information through the initial synchronization process, it is necessary to continue the synchronization information of the dynamic self-correction node.
图1是本发明实施例的同步信息自校正的方法示意图。如图1所示,从节点包括从节点0至从节点N,其中N为正整数。同步信息自校正方法包括:FIG. 1 is a schematic diagram of a method for self-correcting synchronization information according to an embodiment of the present invention. As shown in FIG. 1, the slave node includes slave node 0 to slave node N, where N is a positive integer. The synchronization information self-correction method includes:
步骤1:主节点广播发送第一数据。Step 1: The primary node broadcasts the first data.
具体地,主节点向从节点0,…,从节点N广播发送第一数据。其中第一数据中包括初始的同步误差,其值为0。Specifically, the master node broadcasts the first data to the slave node 0, . . . from the node N. The first data includes an initial synchronization error with a value of zero.
步骤2:从节点接收第一数据,并检测第一传播时延。Step 2: Receive the first data from the node and detect the first propagation delay.
在步骤2中,从节点0,…,从节点N分别根据第一数据检测第一传播时延。不同的从节点各自独立,其第一传播时延可以相同,也可以不相同。In step 2, the slave nodes 0, ..., and the slave nodes N respectively detect the first propagation delay based on the first data. Different slave nodes are independent, and their first propagation delays may be the same or different.
步骤3:从节点向主节点发送第二数据。其中,第二数据中包括第一传播时延。Step 3: The second data is sent from the node to the master node. The second data includes a first propagation delay.
步骤4:主节点接收第二数据,并检测第二传播时延。Step 4: The primary node receives the second data and detects the second propagation delay.
步骤5:主节点计算误差。Step 5: The master node calculates the error.
具体地,主节点根据从节点0,…,从节点N的第一传播时延和第二传播时延分别计算出从节点0,…,从节点N的误差。Specifically, the master node calculates the error of the slave node 0, . . . , the slave node N according to the first propagation delay and the second propagation delay of the slave node N, respectively.
步骤6:主节点对多个误差求平均得到同步误差。Step 6: The master node averages multiple errors to obtain a synchronization error.
主节点对从节点0,…,从节点N的误差求平均,得到同步误差,作为从节点0,…,从节点N共同的同步误差。The master node averages the errors of the slave nodes 0, ..., and the slave nodes N to obtain a synchronization error as a synchronization error common to the slave nodes 0, ..., and the slave nodes N.
步骤7:主节点向从节点广播同步误差。Step 7: The master node broadcasts a synchronization error to the slave node.
具体地,主节点向从节点0,…,从节点N广播发送同步误差,而主节点向从节点广播发送同步误差的方式与步骤1中主节点向从节点发送第一数据相同,只是在步骤7中主节点向从节点发送的数据中包括的同步误差的值为步骤6中计算的同步误差。Specifically, the master node broadcasts a synchronization error to the slave node 0, . . . from the node N, and the manner in which the master node broadcasts the synchronization error to the slave node is the same as the first node sends the first data to the slave node in step 1. The value of the synchronization error included in the data transmitted by the master node to the slave node in 7 is the synchronization error calculated in step 6.
步骤8:从节点根据同步误差校正从节点发送时隙边界。Step 8: The slave node sends the slot boundary from the node according to the synchronization error correction.
在步骤8中,从节点0,…,从节点N都根据该同步误差校正各自发送的时隙边界,以达到同步的目的。In step 8, the slave nodes 0, ..., and the slave nodes N correct the respective slot boundaries transmitted according to the synchronization error to achieve the purpose of synchronization.
在本发明实施例中,第一传播时延和第二传播时延以及同步误差的计算方法参见图2,同步信息自校正的方法包括:In the embodiment of the present invention, the first propagation delay and the second propagation delay and the calculation method of the synchronization error are shown in FIG. 2, and the synchronization information self-correction method includes:
步骤S100:主节点广播发送第一数据。Step S100: The primary node broadcasts the first data.
步骤S101:从节点接收到第一数据,并检测第一传播时延。Step S101: The first data is received from the node, and the first propagation delay is detected.
其中,主节点广播发送第一数据的真实传播时延为广播数据到达从节点的时间与主节点时隙边界之差。而第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差。The real propagation delay of the primary node broadcasting the first data is the difference between the time when the broadcast data arrives at the slave node and the time slot boundary of the master node. The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the boundary of the slave node slot.
步骤S102:从节点向主节点发送第二数据。其中第二数据中包括第一传播时延。Step S102: The slave node sends the second data to the master node. The second data includes a first propagation delay.
步骤S103:主节点接收第二数据,并检测第二传播时延。Step S103: The primary node receives the second data and detects the second propagation delay.
其中,从节点发送第二数据的真实传播时延为第二数据到达主节点的时间与从节点的时隙边界之差。而第二传播时延为从节点发送数据的时间与主节点时隙边界之差,即第二数据到达主节点的时间与主节点时隙边界之差。The true propagation delay of the second data sent by the slave node is the difference between the time when the second data arrives at the master node and the slot boundary of the slave node. The second propagation delay is the difference between the time when the data is sent from the node and the time slot of the master node, that is, the difference between the time when the second data arrives at the master node and the time slot of the master node.
图3是本发明第一实施例的同步信息自校正方法的流程示意图。如图3所示,同步信息自校正方法包括:FIG. 3 is a schematic flow chart of a synchronization information self-correction method according to a first embodiment of the present invention. As shown in FIG. 3, the synchronization information self-correction method includes:
步骤S10:向至少一个从节点广播发送第一数据,以获取对应的第一传播时延。Step S10: Broadcasting the first data to at least one slave node to obtain a corresponding first propagation delay.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差。在步骤S10中,可以向多个从节点广播发送第一数据,以获取与从节点对应的第一传播时延。不同的从节点可以获取相同的第一传播时延,也可以获取不同的传播时延。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the boundary of the slave node slot. In step S10, the first data may be broadcasted to the plurality of slave nodes to acquire a first propagation delay corresponding to the slave node. Different slave nodes can obtain the same first propagation delay and can also obtain different propagation delays.
步骤S11:接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延。Step S11: Receive second data sent by at least one slave node, and obtain a corresponding second propagation delay, where the second data includes a first propagation delay.
其中,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。在步骤S11中,接收多个从节点发送的第二数据,并获取与从节点对应的第二传播时延。每个从节点对应一个第二传播时延。The second propagation delay is the difference between the time when the data is sent from the node and the time slot of the primary node. In step S11, the second data transmitted by the plurality of slave nodes is received, and the second propagation delay corresponding to the slave node is acquired. Each slave node corresponds to a second propagation delay.
步骤S12:根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差。Step S12: Acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node.
在步骤S12中,根据多个从节点的第一传播时延和第二传播时延分别获取多个从节点的误差;对多个误差取平均,得到多个从节点的同步误差。具体地,每个从节点对应一第一传播时延和第二传播时延,根据该第一传播时延和第二传播时延获取对应从节点的误差,进而得到每个从节点的误差,对所有从节点的误差进行取平均得到所有从节点的同步误差。In step S12, errors of a plurality of slave nodes are respectively acquired according to the first propagation delay and the second propagation delay of the plurality of slave nodes; and the plurality of errors are averaged to obtain synchronization errors of the plurality of slave nodes. Specifically, each of the slave nodes corresponds to a first propagation delay and a second propagation delay, and the error of the corresponding slave node is obtained according to the first propagation delay and the second propagation delay, thereby obtaining an error of each slave node. The error of all slave nodes is averaged to obtain the synchronization error of all slave nodes.
在本发明实施例中,误差为第二传播时延与第一传播时延之差除以2得到的时延。而同步误差初始值为0。平均次数较少,即进行误差平均的从节点个数较少时,同步误差为0。In the embodiment of the present invention, the error is a delay obtained by dividing the difference between the second propagation delay and the first propagation delay by 2. The initial value of the synchronization error is zero. The average number of times is small, that is, when the number of slave nodes performing error averaging is small, the synchronization error is zero.
步骤S13:向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界。Step S13: Broadcast synchronization error is transmitted to the slave node so that the slave node can correct the slot boundary of the transmission data.
在本发明实施例中,通过获取至少一个从节点的第一传播时延和第二传播时延,进而根据第一传播时延和第二传播时延获取同步误差使从节点能够根据同步误差校正发送数据的时隙边界,该同步信息自校正方法能够以更高的精度动态校正同步误差,且带来的额外信令开销较小。In the embodiment of the present invention, the synchronization error is obtained according to the first propagation delay and the second propagation delay by acquiring the first propagation delay and the second propagation delay of the at least one slave node, so that the slave node can be corrected according to the synchronization error. The time slot boundary of the transmitted data, the synchronization information self-correction method can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
图4是本发明第二实施例的同步信息自校正方法的流程示意图。如图4所示,同步信息自校正方法包括:4 is a schematic flow chart of a synchronization information self-correction method according to a second embodiment of the present invention. As shown in FIG. 4, the synchronization information self-correction method includes:
步骤S20:接收主节点广播发送的第一数据。Step S20: Receive the first data that the primary node broadcasts and transmits.
步骤S21:根据第一数据获取第一传播时延。其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差。Step S21: Acquire a first propagation delay according to the first data. The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the boundary of the slave node slot.
步骤S22:向主节点发送第二数据,以便主节点获取第二传播时延,其中第二数据中包括第一传播时延。Step S22: Send the second data to the primary node, so that the primary node acquires the second propagation delay, where the second data includes the first propagation delay.
其中,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。The second propagation delay is the difference between the time when the data is sent from the node and the time slot of the primary node.
步骤S23:接收主节点广播发送的同步误差,其中同步误差是根据第一传播时延和第二传播时延得到的。Step S23: Receive a synchronization error that the primary node broadcasts, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay.
在本发明实施例中,主节点根据从节点的第一传播时延和第二传播时延获取对应从节点的误差,进而根据多个从节点的误差取平均得到同步误差。In the embodiment of the present invention, the master node acquires an error of the corresponding slave node according to the first propagation delay and the second propagation delay of the slave node, and further obtains a synchronization error according to the error of the plurality of slave nodes.
步骤S24:根据同步误差校正发送数据的时隙边界。Step S24: Correcting the slot boundary of the transmission data according to the synchronization error.
本发明实施例通过动态获取的从节点的第一传播时延和第二传播时延,进而获取同步误差,并根据同步误差动态校正发送数据的时隙边界,该同步信息自校正方法能够以更高的精度动态校正同步误差,且带来的额外信令开销较小。In the embodiment of the present invention, the synchronization error is obtained by dynamically acquiring the first propagation delay and the second propagation delay of the slave node, and the slot boundary of the transmission data is dynamically corrected according to the synchronization error, and the synchronization information self-correction method can further The high precision dynamically corrects the synchronization error and results in less additional signaling overhead.
图5是本发明第一实施例的主节点的结构示意图。如图5所示,主节点10包括:第一广播模块11、接收模块12、获取模块13以及第二广播模块14。第一广播模块11用于向至少一个从节点广播发送第一数据,以获取对应的第一传播时延。接收模块12用于接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延。获取模块13与第一广播模块11和接收模块12连接,用于根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差。第二广播模块14与获取模块13连接,用于向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界。FIG. 5 is a schematic structural diagram of a master node according to a first embodiment of the present invention. As shown in FIG. 5, the master node 10 includes a first broadcast module 11, a receiving module 12, an obtaining module 13, and a second broadcast module 14. The first broadcast module 11 is configured to broadcast the first data to the at least one slave node to obtain a corresponding first propagation delay. The receiving module 12 is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data includes the first propagation delay. The obtaining module 13 is connected to the first broadcast module 11 and the receiving module 12, and is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node. The second broadcast module 14 is coupled to the acquisition module 13 for broadcasting a synchronization error to the slave node so that the slave node can correct the slot boundary of the transmitted data.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。第二传播时延和第二传播时延可以是用户根据需要设置,在此不作限制。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary. The second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
在本发明实施例中,更具体地,第一广播模块11用于向多个从节点广播发送第一数据,以获取与从节点对应的第一传播时延。接收模块12用于接收多个从节点发送的第二数据,并获取与从节点对应的第二传播时延。获取模块13用于:根据多个从节点的第一传播时延和第二传播时延分别获取多个从节点的误差;对多个误差取平均,得到多个从节点的同步误差。如此,能够以更高的精度动态校正同步误差,且带来的额外信令开销较小。In the embodiment of the present invention, more specifically, the first broadcast module 11 is configured to broadcast the first data to the plurality of slave nodes to obtain the first propagation delay corresponding to the slave node. The receiving module 12 is configured to receive second data sent by multiple slave nodes, and acquire a second propagation delay corresponding to the slave node. The obtaining module 13 is configured to: acquire errors of the plurality of slave nodes according to the first propagation delay and the second propagation delay of the plurality of slave nodes respectively; and average the plurality of errors to obtain synchronization errors of the plurality of slave nodes. In this way, the synchronization error can be dynamically corrected with higher accuracy, and the additional signaling overhead is small.
其中,误差为第二传播时延与第一传播时延之差除以2得到的时延。而同步误差初始值为0。平均次数较少,即进行误差平均的从节点个数较少时,同步误差为0。The error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two. The initial value of the synchronization error is zero. The average number of times is small, that is, when the number of slave nodes performing error averaging is small, the synchronization error is zero.
图6是本发明第二实施例的主节点的结构示意图。如图6所示,主节点20包括:处理器21、接收器22、存储器23、发送器24以及数据总线25。处理器21、接收器22、存储器23以及发送器24通过数据总线25相连,以进行相互通信。FIG. 6 is a schematic structural diagram of a master node according to a second embodiment of the present invention. As shown in FIG. 6, the master node 20 includes a processor 21, a receiver 22, a memory 23, a transmitter 24, and a data bus 25. The processor 21, the receiver 22, the memory 23, and the transmitter 24 are connected via a data bus 25 for mutual communication.
发送器24用于向至少一个从节点广播发送第一数据,以获取对应的第一传播时延。接收器22用于接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延。存储器23存储有程序。处理器21用于根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差。发送器24向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界。The transmitter 24 is configured to broadcast the first data to the at least one slave node to obtain a corresponding first propagation delay. The receiver 22 is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data includes a first propagation delay. The memory 23 stores a program. The processor 21 is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node. The transmitter 24 broadcasts a synchronization error to the slave node so that the slave node can correct the slot boundary of the transmitted data.
存储器23用于存储第一传播时延和第二传播时延。其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。第二传播时延和第二传播时延可以是用户根据需要设置,在此不作限制。The memory 23 is used to store the first propagation delay and the second propagation delay. The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary. The second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
在本发明实施例中,更具体地,发送器24向多个从节点广播发送第一数据,以获取与从节点对应的第一传播时延。接收器22接收多个从节点发送的第二数据,并获取与从节点对应的第二传播时延。处理器21根据多个从节点的第一传播时延和第二传播时延分别获取多个从节点的误差;并对多个误差取平均,得到多个从节点的同步误差。如此,能够以更高的精度动态校正同步误差,且带来的额外信令开销较小。In the embodiment of the present invention, more specifically, the transmitter 24 broadcasts the first data to the plurality of slave nodes to acquire the first propagation delay corresponding to the slave node. The receiver 22 receives the second data transmitted by the plurality of slave nodes and acquires a second propagation delay corresponding to the slave node. The processor 21 acquires errors of the plurality of slave nodes respectively according to the first propagation delay and the second propagation delay of the plurality of slave nodes; and averages the plurality of errors to obtain synchronization errors of the plurality of slave nodes. In this way, the synchronization error can be dynamically corrected with higher accuracy, and the additional signaling overhead is small.
其中,误差为第二传播时延与第一传播时延之差除以2得到的时延。而同步误差初始值为0。平均次数较少,即进行误差平均的从节点个数较少时,同步误差为0。The error is the delay obtained by dividing the difference between the second propagation delay and the first propagation delay by two. The initial value of the synchronization error is zero. The average number of times is small, that is, when the number of slave nodes performing error averaging is small, the synchronization error is zero.
图7是本发明第一实施例的从节点的结构示意图。如图7所示,从节点30包括:第一接收模块31、获取模块32、发送模块33、第二接收模块34以及校正模块35。第一接收模块31用于接收主节点广播发送的第一数据。获取模块32与第一接收模块31连接,用于根据第一数据获取第一传播时延。发送模块33与获取模块32连接,用于向主节点发送第二数据,以便主节点获取第二传播时延,其中第二数据中包括第一传播时延。第二接收模块34与发送模块33连接,用于接收主节点广播发送的同步误差,其中同步误差是根据第一传播时延和第二传播时延得到的。校正模块35与第二接收模块34连接,用于根据同步误差校正发送数据的时隙边界。Figure 7 is a block diagram showing the structure of a slave node in the first embodiment of the present invention. As shown in FIG. 7, the slave node 30 includes a first receiving module 31, an obtaining module 32, a transmitting module 33, a second receiving module 34, and a correcting module 35. The first receiving module 31 is configured to receive the first data that is sent by the primary node. The obtaining module 32 is connected to the first receiving module 31 for acquiring the first propagation delay according to the first data. The sending module 33 is connected to the obtaining module 32, and is configured to send the second data to the master node, so that the master node obtains the second propagation delay, where the second data includes the first propagation delay. The second receiving module 34 is connected to the sending module 33 for receiving a synchronization error of the primary node broadcast transmission, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay. The correction module 35 is coupled to the second receiving module 34 for correcting the slot boundaries of the transmitted data based on the synchronization error.
在本发明实施例中,发送模块33向主节点发送第二数据后,主节点根据第二数据获取第二传播时延。进而主节点根据第二数据中包括的第一传播时延和获取的第二传播时延获取从节点的误差。主节点可以获取的多个从节点的误差,进而根据多个从节点的误差取平均得到同步误差,进而校正模块35根据同步误差校正发送数据的时隙边界,如此能够以更高的精度动态校正同步误差,且带来的额外信令开销较小。In the embodiment of the present invention, after the sending module 33 sends the second data to the primary node, the primary node acquires the second propagation delay according to the second data. Then, the master node acquires the error of the slave node according to the first propagation delay included in the second data and the acquired second propagation delay. The error of the plurality of slave nodes that the master node can acquire, and then the synchronization error is obtained according to the error of the plurality of slave nodes, and the correction module 35 corrects the slot boundary of the transmitted data according to the synchronization error, so that the dynamic correction can be dynamically performed with higher precision. Synchronization errors, and the additional signaling overhead is small.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。第二传播时延和第二传播时延可以是用户根据需要设置,在此不作限制。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary. The second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
图8是本发明第二实施例的从节点的结构示意图。从节点40包括:处理器41、接收器42、存储器43、发送器44以及数据总线45。处理器41、接收器42、存储器43以及发送器44通过数据总线45相连,以进行相互通信。FIG. 8 is a schematic structural diagram of a slave node according to a second embodiment of the present invention. The slave node 40 includes a processor 41, a receiver 42, a memory 43, a transmitter 44, and a data bus 45. The processor 41, the receiver 42, the memory 43, and the transmitter 44 are connected via a data bus 45 for mutual communication.
在本发明实施例中,接收器44用于接收主节点广播发送的第一数据。处理器41用于根据第一数据获取第一传播时延。发送器44用于向主节点发送第二数据,以便主节点获取第二传播时延,其中第二数据中包括第一传播时延。接收器44还用于接收主节点广播发送的同步误差,其中同步误差是根据第一传播时延和第二传播时延得到的。处理器41还用于用于根据同步误差校正发送数据的时隙边界。In the embodiment of the present invention, the receiver 44 is configured to receive the first data that the primary node broadcasts. The processor 41 is configured to acquire the first propagation delay according to the first data. The transmitter 44 is configured to send the second data to the primary node, so that the primary node acquires the second propagation delay, where the second data includes the first propagation delay. The receiver 44 is further configured to receive a synchronization error transmitted by the primary node, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay. The processor 41 is also operative to correct the slot boundaries of the transmitted data based on the synchronization error.
在本发明实施例中,发送器44向主节点发送第二数据后,主节点根据第二数据获取第二传播时延。进而主节点根据第二数据中包括的第一传播时延和获取的第二传播时延获取从节点的误差。主节点可以获取的多个从节点的误差,进而根据多个从节点的误差取平均得到同步误差,处理器41根据同步误差校正发送数据的时隙边界,如此能够以更高的精度动态校正同步误差,且带来的额外信令开销较小。In the embodiment of the present invention, after the transmitter 44 sends the second data to the primary node, the primary node acquires the second propagation delay according to the second data. Then, the master node acquires the error of the slave node according to the first propagation delay included in the second data and the acquired second propagation delay. The error of the plurality of slave nodes that the master node can acquire, and then the synchronization error is obtained according to the error of the plurality of slave nodes, and the processor 41 corrects the slot boundary of the transmitted data according to the synchronization error, so that the synchronization can be dynamically corrected with higher precision. Error, and the additional signaling overhead is small.
其中,第一传播时延为广播数据到达从节点的时间与从节点时隙边界之差,第二传播时延为从节点发送数据的时间与主节点时隙边界之差。第二传播时延和第二传播时延可以是用户根据需要设置,在此不作限制。The first propagation delay is the difference between the time when the broadcast data arrives at the slave node and the slave node slot boundary, and the second propagation delay is the difference between the time when the slave node transmits data and the master node slot boundary. The second propagation delay and the second propagation delay may be set by the user as needed, and are not limited herein.
综上所述,本发明通过向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;接收至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中第二数据中包括第一传播时延;根据至少一个从节点的第一传播时延和第二传播时延获取从节点的同步误差;向从节点广播发送同步误差以使从节点可以校正发送数据的时隙边界,能够以更高的精度动态校正同步误差,且额外信令开销较小。In summary, the present invention obtains a corresponding first propagation delay by broadcasting the first data to at least one slave node, receiving the second data sent by the at least one slave node, and acquiring a corresponding second propagation delay. The second data includes a first propagation delay; the synchronization error of the slave node is obtained according to the first propagation delay and the second propagation delay of the at least one slave node; the synchronization error is broadcasted to the slave node to enable the slave node to correct the transmission. The slot boundary of the data can dynamically correct the synchronization error with higher precision, and the additional signaling overhead is small.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (18)

  1. 一种同步信息自校正方法,其特征在于,所述方法包括:A synchronization information self-correction method, characterized in that the method comprises:
    向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;Transmitting, by the at least one slave node, the first data to obtain a corresponding first propagation delay;
    接收所述至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中所述第二数据中包括所述第一传播时延;Receiving the second data sent by the at least one slave node, and acquiring a corresponding second propagation delay, where the second data includes the first propagation delay;
    根据所述至少一个从节点的所述第一传播时延和所述第二传播时延获取所述从节点的同步误差;Acquiring a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node;
    向所述从节点广播发送所述同步误差以使所述从节点可以校正发送数据的时隙边界。The synchronization error is broadcasted to the slave node to enable the slave node to correct the slot boundary of the transmitted data.
  2. 根据权利要求1所述的方法,其特征在于,所述第一传播时延为广播数据到达所述从节点的时间与所述从节点时隙边界之差,所述第二传播时延为所述从节点发送数据的时间与所述主节点时隙边界之差。The method according to claim 1, wherein the first propagation delay is a difference between a time when broadcast data arrives at the slave node and a boundary of the slave node slot, and the second propagation delay is The difference between the time at which the slave node transmits data and the slot boundary of the master node.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述向至少一个从节点广播发送第一数据,以获取对应的第一传播时延,包括:向多个所述从节点广播发送第一数据,以获取与所述从节点对应的第一传播时延;The transmitting the first data to the at least one slave node to obtain the corresponding first propagation delay includes: broadcasting the first data to the plurality of the slave nodes to obtain the first propagation corresponding to the slave node Delay
    所述接收所述至少一个从节点发送的第二数据,并获取对应的第二传播时延,包括:接收多个所述从节点发送的第二数据,并获取与所述从节点对应的第二传播时延。Receiving the second data sent by the at least one slave node, and acquiring the corresponding second propagation delay, including: receiving second data sent by the plurality of slave nodes, and acquiring a number corresponding to the slave node Second, the propagation delay.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述至少一个从节点的所述第一传播时延和所述第二传播时延获取所述从节点的同步误差,包括:The method according to claim 3, wherein the acquiring the synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node comprises:
    根据多个所述从节点的所述第一传播时延和所述第二传播时延分别获取多个所述从节点的误差;Obtaining errors of the plurality of slave nodes according to the first propagation delay and the second propagation delay of the plurality of slave nodes;
    对多个所述误差取平均,得到多个所述从节点的同步误差。A plurality of said errors are averaged to obtain synchronization errors of a plurality of said slave nodes.
  5. 根据权利要求4所述的方法,其特征在于,所述误差为所述第二传播时延与所述第一传播时延之差除以2得到的时延。The method according to claim 4, wherein the error is a time delay obtained by dividing a difference between the second propagation delay and the first propagation delay by two.
  6. 根据权利要求1所述的方法,其特征在于,所述同步误差初始值为0。The method of claim 1 wherein said synchronization error is initially zero.
  7. 一种同步信息自校正方法,其特征在于,所述方法包括:A synchronization information self-correction method, characterized in that the method comprises:
    接收主节点广播发送的第一数据;Receiving, by the primary node, the first data sent by the broadcast;
    根据所述第一数据获取第一传播时延;Obtaining a first propagation delay according to the first data;
    向所述主节点发送第二数据,以便所述主节点获取第二传播时延,其中所述第二数据中包括所述第一传播时延;Transmitting the second data to the primary node, so that the primary node acquires a second propagation delay, where the second data includes the first propagation delay;
    接收所述主节点广播发送的同步误差,其中所述同步误差是根据所述第一传播时延和所述第二传播时延得到的;Receiving, by the primary node, a synchronization error sent by the broadcast, wherein the synchronization error is obtained according to the first propagation delay and the second propagation delay;
    根据所述同步误差校正发送数据的时隙边界。The slot boundary of the transmitted data is corrected based on the synchronization error.
  8. 根据权利要求7所述的方法,其特征在于,所述第一传播时延为广播数据到达所述从节点的时间与所述从节点时隙边界之差,所述第二传播时延为所述从节点发送数据的时间与所述主节点时隙边界之差。The method according to claim 7, wherein the first propagation delay is a difference between a time when broadcast data arrives at the slave node and a boundary of the slave node slot, and the second propagation delay is The difference between the time at which the slave node transmits data and the slot boundary of the master node.
  9. 一种主节点,其特征在于,所述主节点包括:A master node, wherein the master node includes:
    第一广播模块,用于向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;a first broadcast module, configured to broadcast, to the at least one slave node, the first data to obtain a corresponding first propagation delay;
    接收模块,用于接收所述至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中所述第二数据中包括所述第一传播时延;a receiving module, configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data includes the first propagation delay;
    获取模块,与所述第一广播模块和所述接收模块连接,用于根据所述至少一个从节点的所述第一传播时延和所述第二传播时延获取所述从节点的同步误差;An acquiring module, configured to be connected to the first broadcast module and the receiving module, configured to acquire synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node ;
    第二广播模块,与所述获取模块连接,用于向所述从节点广播发送所述同步误差以使所述从节点可以校正发送数据的时隙边界。And a second broadcast module, coupled to the acquiring module, configured to broadcast the synchronization error to the slave node to enable the slave node to correct a slot boundary of the transmitted data.
  10. 根据权利要求9所述的主节点,其特征在于,所述第一传播时延为广播数据到达所述从节点的时间与所述从节点时隙边界之差,所述第二传播时延为所述从节点发送数据的时间与所述主节点时隙边界之差。The master node according to claim 9, wherein the first propagation delay is a difference between a time when broadcast data arrives at the slave node and a boundary of the slave node slot, and the second propagation delay is The difference between the time at which the slave node transmits data and the slot boundary of the master node.
  11. 根据权利要求9所述的主节点,其特征在于,The master node according to claim 9, wherein
    所述第一广播模块用于向多个所述从节点广播发送第一数据,以获取与所述从节点对应的第一传播时延;The first broadcast module is configured to broadcast the first data to the plurality of the slave nodes to obtain a first propagation delay corresponding to the slave node;
    所述接收模块用于接收多个所述从节点发送的第二数据,并获取与所述从节点对应的第二传播时延。The receiving module is configured to receive second data sent by the multiple slave nodes, and acquire a second propagation delay corresponding to the slave node.
  12. 一种从节点,其特征在于,所述从节点包括:A slave node, wherein the slave node comprises:
    第一接收模块,用于接收主节点广播发送的第一数据;a first receiving module, configured to receive, by the primary node, the first data that is sent by the primary node;
    获取模块,与所述第一接收模块连接,用于根据所述第一数据获取第一传播时延;An acquiring module, configured to be connected to the first receiving module, configured to acquire a first propagation delay according to the first data;
    发送模块,与所述获取模块连接,用于向所述主节点发送第二数据,以便所述主节点获取第二传播时延,其中所述第二数据中包括所述第一传播时延;a sending module, configured to be connected to the acquiring module, configured to send the second data to the primary node, so that the primary node acquires a second propagation delay, where the second data includes the first propagation delay;
    第二接收模块,与所述发送模块连接,用于接收所述主节点广播发送的同步误差,其中所述同步误差是根据所述第一传播时延和所述第二传播时延得到的;a second receiving module, configured to receive, by the sending module, a synchronization error that is broadcasted by the primary node, where the synchronization error is obtained according to the first propagation delay and the second propagation delay;
    校正模块,与所述第二接收模块连接,用于根据所述同步误差校正发送数据的时隙边界。And a correction module, coupled to the second receiving module, configured to correct a slot boundary of the transmitted data according to the synchronization error.
  13. 根据权利要求12所述的从节点,其特征在于,所述第一传播时延为广播数据到达所述从节点的时间与所述从节点时隙边界之差,所述第二传播时延为所述从节点发送数据的时间与所述主节点时隙边界之差。The slave node according to claim 12, wherein the first propagation delay is a difference between a time when broadcast data arrives at the slave node and a boundary of the slave node slot, and the second propagation delay is The difference between the time at which the slave node transmits data and the slot boundary of the master node.
  14. 一种主节点,其特征在于,所述主节点包括:处理器、接收器、存储器、发送器以及数据总线,所述处理器、所述接收器、所述存储器以及所述发送器通过所述数据总线相连,以进行相互通信;其中,A master node, the master node comprising: a processor, a receiver, a memory, a transmitter, and a data bus, wherein the processor, the receiver, the memory, and the transmitter pass the Data buses are connected to communicate with each other;
    所述发送器用于向至少一个从节点广播发送第一数据,以获取对应的第一传播时延;The transmitter is configured to broadcast the first data to the at least one slave node to obtain a corresponding first propagation delay;
    所述接收器用于接收所述至少一个从节点发送的第二数据,并获取对应的第二传播时延,其中所述第二数据中包括所述第一传播时延;The receiver is configured to receive the second data sent by the at least one slave node, and obtain a corresponding second propagation delay, where the second data includes the first propagation delay;
    所述处理器用于根据所述至少一个从节点的所述第一传播时延和所述第二传播时延获取所述从节点的同步误差;The processor is configured to acquire a synchronization error of the slave node according to the first propagation delay and the second propagation delay of the at least one slave node;
    所述发送器还用于向所述从节点广播发送所述同步误差以使所述从节点可以校正发送数据的时隙边界。The transmitter is further configured to broadcast the synchronization error to the slave node to enable the slave node to correct a slot boundary of the transmitted data.
  15. 根据权利要求14所述的主节点,其特征在于,所述第一传播时延为广播数据到达所述从节点的时间与所述从节点时隙边界之差,所述第二传播时延为所述从节点发送数据的时间与所述主节点时隙边界之差。The master node according to claim 14, wherein the first propagation delay is a difference between a time when broadcast data arrives at the slave node and a boundary of the slave node slot, and the second propagation delay is The difference between the time at which the slave node transmits data and the slot boundary of the master node.
  16. 根据权利要求14所述的主节点,其特征在于,The master node according to claim 14, wherein
    所述发送器还用于向多个所述从节点广播发送第一数据,以获取与所述从节点对应的第一传播时延;The transmitter is further configured to broadcast the first data to the plurality of the slave nodes to obtain a first propagation delay corresponding to the slave node;
    所述接收器还用于接收多个所述从节点发送的第二数据,并获取与所述从节点对应的第二传播时延。The receiver is further configured to receive second data sent by the plurality of slave nodes, and acquire a second propagation delay corresponding to the slave node.
  17. 一种从节点,其特征在于,所述从节点包括:处理器、接收器、存储器、发送器以及数据总线,所述处理器、所述接收器、所述存储器以及所述发送器通过所述数据总线相连,以进行相互通信;其中,A slave node, the slave node comprising: a processor, a receiver, a memory, a transmitter, and a data bus, wherein the processor, the receiver, the memory, and the transmitter pass the Data buses are connected to communicate with each other;
    所述接收器用于接收主节点广播发送的第一数据;The receiver is configured to receive first data that is sent by the primary node by broadcasting;
    所述处理器用于根据所述第一数据获取第一传播时延;The processor is configured to acquire a first propagation delay according to the first data;
    所述发送器用于向所述主节点发送第二数据,以便所述主节点获取第二传播时延,其中所述第二数据中包括所述第一传播时延;The transmitter is configured to send the second data to the primary node, so that the primary node acquires a second propagation delay, where the second data includes the first propagation delay;
    所述接收器还用于接收所述主节点广播发送的同步误差,其中所述同步误差是根据所述第一传播时延和所述第二传播时延得到的;The receiver is further configured to receive a synchronization error that is broadcasted by the primary node, where the synchronization error is obtained according to the first propagation delay and the second propagation delay;
    所述处理器用于根据所述同步误差校正发送数据的时隙边界。The processor is configured to correct a slot boundary of the transmitted data according to the synchronization error.
  18. 根据权利要求17所述的从节点,其特征在于,所述第一传播时延为广播数据到达所述从节点的时间与所述从节点时隙边界之差,所述第二传播时延为所述从节点发送数据的时间与所述主节点时隙边界之差。The slave node according to claim 17, wherein the first propagation delay is a difference between a time when broadcast data arrives at the slave node and a boundary of the slave node slot, and the second propagation delay is The difference between the time at which the slave node transmits data and the slot boundary of the master node.
PCT/CN2016/101669 2016-10-10 2016-10-10 Master node, slave node, and synchronization information self-correction method WO2018068180A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/101669 WO2018068180A1 (en) 2016-10-10 2016-10-10 Master node, slave node, and synchronization information self-correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/101669 WO2018068180A1 (en) 2016-10-10 2016-10-10 Master node, slave node, and synchronization information self-correction method

Publications (1)

Publication Number Publication Date
WO2018068180A1 true WO2018068180A1 (en) 2018-04-19

Family

ID=61904972

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101669 WO2018068180A1 (en) 2016-10-10 2016-10-10 Master node, slave node, and synchronization information self-correction method

Country Status (1)

Country Link
WO (1) WO2018068180A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0253096A2 (en) * 1986-05-20 1988-01-20 Mitsubishi Denki Kabushiki Kaisha Time synchronization method in a data transmission system
EP0283106A1 (en) * 1987-03-02 1988-09-21 Mitsubishi Denki Kabushiki Kaisha Remote monitoring and controlling system
CN102118211A (en) * 2011-01-25 2011-07-06 西安电子科技大学 Timing and synchronization method for media-sharing STDM system
CN105792346A (en) * 2016-03-04 2016-07-20 海能达通信股份有限公司 Synchronization method, node device and wireless MESH network system
CN106455038A (en) * 2016-10-10 2017-02-22 海能达通信股份有限公司 Master node, slave node and synchronization information self-correcting method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0253096A2 (en) * 1986-05-20 1988-01-20 Mitsubishi Denki Kabushiki Kaisha Time synchronization method in a data transmission system
EP0283106A1 (en) * 1987-03-02 1988-09-21 Mitsubishi Denki Kabushiki Kaisha Remote monitoring and controlling system
CN102118211A (en) * 2011-01-25 2011-07-06 西安电子科技大学 Timing and synchronization method for media-sharing STDM system
CN105792346A (en) * 2016-03-04 2016-07-20 海能达通信股份有限公司 Synchronization method, node device and wireless MESH network system
CN106455038A (en) * 2016-10-10 2017-02-22 海能达通信股份有限公司 Master node, slave node and synchronization information self-correcting method

Similar Documents

Publication Publication Date Title
WO2021066531A1 (en) Apparatus and method for supporting tsc
US7778283B2 (en) Timing bridge device
WO2020071866A1 (en) Apparatus and method for synchronization using wireless communication network in wireless communication system
WO2010134674A2 (en) Network synchronization method and apparatus for performing time synchronization between nodes
WO2012165724A1 (en) Wireless access point and method and device for controlling wireless access point
CN101977104A (en) IEEE1588 based accurate clock synchronization protocol system and synchronization method thereof
WO2010143910A2 (en) Method and apparatus for selecting optimum transfer protocol
WO2015062219A1 (en) Method and system for transmitting data parallelly on wireless link and wired link
EP4154440A1 (en) Apparatus and method for transmitting synchronization information in communication system
WO2011134371A1 (en) Method for synchronizing clocks and clock synchronization device
EP3163787B1 (en) Method and device for compensating time stamp of clock
US7236502B2 (en) Internal signaling method to support clock synchronization of nodes connected via a wireless local area network
WO2017032113A1 (en) Method and apparatus for measuring time synchronization deviation
CN103299575A (en) Transmission device, transmission method and computer program
WO2019027099A1 (en) Synchronization error compensation system for synchronization error compensation between master and slaves of ethercat network and synchronization error compensation method thereof
WO2014101668A1 (en) Time synchronization processing method and apparatus
CN114615736A (en) Time synchronization network device and method
WO2013155944A1 (en) Boundary clock, transparent clock, and method for clock transmission
EP2312775B1 (en) Physical time-stamping
WO2017057794A1 (en) Method for time synchronization of communication network
EP3834517A1 (en) Wireless communication network in wireless communication system
WO2022158632A1 (en) Reverse tdoa-based positioning method and system
WO2018068180A1 (en) Master node, slave node, and synchronization information self-correction method
KR100935833B1 (en) Method and apparatus for supporting clock synchronization
US20080304521A1 (en) Internal signaling method to support clock synchronization of nodes connected via a wireless local area network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16918838

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 26/08/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16918838

Country of ref document: EP

Kind code of ref document: A1