WO2022205838A1 - Procédé de synchronisation temporelle basé sur un système de synchronisation temporelle de capteur, support et appareil - Google Patents

Procédé de synchronisation temporelle basé sur un système de synchronisation temporelle de capteur, support et appareil Download PDF

Info

Publication number
WO2022205838A1
WO2022205838A1 PCT/CN2021/124749 CN2021124749W WO2022205838A1 WO 2022205838 A1 WO2022205838 A1 WO 2022205838A1 CN 2021124749 W CN2021124749 W CN 2021124749W WO 2022205838 A1 WO2022205838 A1 WO 2022205838A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
time synchronization
synchronization signal
node
child node
Prior art date
Application number
PCT/CN2021/124749
Other languages
English (en)
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 杭州涂鸦信息技术有限公司
Publication of WO2022205838A1 publication Critical patent/WO2022205838A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the technical field of sensor communication, in particular to a time synchronization method, medium and device based on a sensor time synchronization system.
  • sensors to obtain the status of the home environment, such as temperature and humidity, brightness, gas concentration, door and window opening and closing status, etc.
  • These sensors are basically distributed systems, and they require sensors to work together. Time synchronization between nodes. Due to cost and volume constraints, sensors generally rely on their own crystal oscillators to provide the clock reference source. However, the frequency offset and temperature drift of the crystal oscillators lead to time differences between sensors. The accumulation of such differences will lead to unreliable time.
  • NTP Network Time Protocol
  • PTP Precision Time Protocol, high-precision time synchronization protocol
  • the technical problem mainly solved by the present invention is to provide a time synchronization method, medium and device based on a sensor time synchronization system, which has low power consumption for time synchronization and can improve time synchronization accuracy.
  • the first technical solution adopted by the present invention is to provide a time synchronization method based on a sensor time synchronization system.
  • the system includes a broadcast node, a reference node and two or more sub-nodes, wherein the reference node is used for
  • the time synchronization system provides the reference time
  • the child nodes include sensors
  • the methods include:
  • the child node receives the first time synchronization signal sent by the broadcast node
  • the child node receives a second time synchronization signal, where the second time synchronization signal is a signal sent by the reference node after receiving the first time synchronization signal sent by the broadcast node;
  • the child node adjusts the local time according to the first time synchronization signal and the second time synchronization signal, so that the local time of the child node is synchronized with the reference time.
  • the second technical solution adopted by the present invention is to provide a time synchronization method based on a sensor time synchronization system.
  • the system includes a broadcast node, a reference node and two or more sub-nodes, wherein the reference node is used for Provide a reference time for the time synchronization system, the child nodes include sensors, and the methods include:
  • the reference node receives the first time synchronization signal sent by the broadcast node
  • the reference node sends a second time synchronization signal to the child node, so that the child node adjusts the local time of the child node according to the first time synchronization signal and the second time synchronization signal, so that the local time of the child node is the same as the reference time, wherein the child node A first time synchronization signal sent by a broadcast node is received.
  • the third technical solution adopted by the present invention is to provide a storage medium, wherein a computer program is stored in the storage medium, and the computer program is used to be executed to realize the above-mentioned time synchronization method based on the sensor time synchronization system .
  • the fourth technical solution adopted by the present invention is: including at least one processing unit and at least one storage unit, the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit is made to execute the above sensor-based method.
  • the beneficial effects of the present invention are: different from the situation in the prior art, the time synchronization method based on the sensor time synchronization system according to the embodiment of the present application realizes the time synchronization of multiple sub-nodes by receiving the time synchronization signal broadcast twice, and reduces the alarm time.
  • the time synchronization method of the embodiment of the present application receives the time synchronization signal by means of unidirectional broadcasting, does not depend on the consistency of uplink and downlink delays, and eliminates the need for The time synchronization error introduced by the sending time and the access time can better cope with complex wireless environments and improve the accuracy of time synchronization.
  • Fig. 1 is the topological schematic diagram of the sensor time synchronization system of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a time synchronization method based on a sensor time synchronization system of the present application
  • FIG. 3 is a schematic flowchart of a second embodiment of a time synchronization method based on a sensor time synchronization system of the present application
  • FIG. 4 is a schematic flowchart of a third embodiment of a time synchronization method based on a sensor time synchronization system of the present application;
  • FIG. 5 is a schematic flowchart of a fourth embodiment of a time synchronization method based on a sensor time synchronization system of the present application
  • FIG. 6 is a schematic flowchart of a fifth embodiment of a time synchronization method based on a sensor time synchronization system of the present application
  • FIG. 7 is a schematic flowchart of a sixth embodiment of a time synchronization method based on a sensor time synchronization system of the present application.
  • FIG. 8 is a schematic flowchart of a seventh embodiment of a time synchronization method based on a sensor time synchronization system of the present application;
  • FIG. 9 is a schematic flowchart of an eighth embodiment of a time synchronization method based on a sensor time synchronization system of the present application.
  • FIG. 10 is a schematic structural diagram of an embodiment of a computer storage medium of the present application.
  • FIG. 11 is a schematic structural diagram of an embodiment of a computer apparatus of the present application.
  • the sensor time synchronization system of the embodiment of the present application includes a broadcast node 10, a reference node 20, and two or more sub-nodes 30, wherein the reference node 20 is used to provide a reference time for the time synchronization system, and the sub-nodes 30 include sensor.
  • the sensors in the embodiments of the present application are wireless sensors, and the number of sub-nodes 30 in the embodiments of the present application may be two, three, four, or more than five.
  • the sub-nodes 30 include the first The child node 31 , the second child node 32 , the third child node 33 , the fourth child node 34 , and the nth child node 35
  • the sensor in the embodiment of the present application belongs to a distributed system.
  • the reference node 20 in the embodiment of the present application is used as the reference clock source of the entire distributed system, and the local clock of the reference node 20 is calibrated in the form of an RTC (Real Time Clock, real-time clock) chip.
  • RTC Real Time Clock, real-time clock
  • NTP or PTP can also be used.
  • the protocol enables the reference node 20 to maintain time synchronization with the external network.
  • the reference node 20 is a gateway, and the reference node 20 is a long-term power supply device; in other embodiments, the reference node 20 can also be a sensor, which can be powered for a long time. sensor.
  • the sub-node 30 is a wireless sensor, the sub-node 30 does not have an RTC chip, and cannot maintain time synchronization with the external network through the NTP or PTP protocol.
  • the wireless sensor of the sub-node 30 has a data collection function and only performs sensing Information exchange of data, power supply for low-power batteries.
  • the broadcast node 10 in the embodiment of the present application may be a gateway-type long power supply device, or may be a wireless sensor.
  • a time synchronization method based on a sensor time synchronization system specifically includes:
  • Step 110 The broadcast node sends a first time synchronization signal to the reference node and the child nodes.
  • the first time synchronization signal includes the first reference time.
  • the sending time is the sending time of the broadcasting node, and the broadcasting node sends through the radio frequency circuit, and The time it takes for the speed of light to propagate to the reference node or child node;
  • the access time is when the reference node or child node receives the first time synchronization signal and other signals, the first time synchronization signal at this time is an analog signal, and the reference node or child node After receiving the analog signal, it is converted into a digital signal, stored in a register, and the digital signal is read from the register.
  • the broadcast node when the broadcast node sends the first time synchronization signal to the reference node or multiple sub-nodes, there is a difference between the sending time and the access time.
  • Step 120 After receiving the first time synchronization signal, the reference node sends a second time synchronization signal to the child node.
  • the second time synchronization signal includes the operation relationship of the second local time, including the reference time.
  • the reference node when the reference node sends the second time synchronization signal to multiple sub-nodes, there are also differences in the sending time and the access time of the multiple sub-nodes receiving the second time synchronization signal;
  • Step 130 The child node adjusts the local time according to the received first time synchronization signal and the second time synchronization signal, so that the local time of the child node is synchronized with the reference time.
  • the local time of the child node after receiving the first time synchronization signal and the second time synchronization signal, the local time of the child node can be calculated and adjusted so that the local time of the child node is the same as the reference time of the reference node, so that multiple child nodes The local time between nodes is the same, and the effect of the sensor time synchronization of the child nodes is realized.
  • the time synchronization method based on the sensor time synchronization system realizes the time synchronization of multiple sub-nodes by receiving two broadcast time synchronization signals, reduces the number of packets and reduces energy consumption, and can be applied to low-power wireless sensors
  • the time synchronization method of the embodiment of the present application receives the time synchronization signal by means of unidirectional broadcasting, does not depend on the consistency of uplink and downlink delays, eliminates the time synchronization error introduced by the sending time and the access time, and can better To cope with complex wireless environments, improve the accuracy of time synchronization.
  • the embodiment of the present application provides a time synchronization method based on a sensor time synchronization system, and the method includes:
  • Step 210 The child node receives the first time synchronization signal sent by the broadcast node.
  • two or more sub-nodes respectively receive the first time synchronization signal sent by the broadcast node, and there is a certain difference in the local time when the two or more sub-nodes receive the first time synchronization signal sent by the broadcast node. Received at the same time, but received in sequence, so that there is a certain difference in the local time; or because there is no RTC chip in the child node, it is impossible to maintain time synchronization with the external network through the NTP or PTP protocol, and the local clock of the wireless sensor of the child node may exist.
  • the local clocks of the wireless sensors of each sub-node are different due to frequency offset and temperature drift.
  • the broadcast node may send the first time synchronization signal to the child node, and the child node may receive the first time synchronization signal sent by the broadcast node.
  • Step 220 The child node receives a second time synchronization signal, where the second time synchronization signal is a signal sent by the reference node after receiving the first time synchronization signal sent by the broadcast node.
  • the child node receives the second time synchronization signal broadcast by the reference node, wherein the second time synchronization signal broadcast by the reference node includes the second local time at which the reference node receives the first time synchronization signal, so that the child node receives the second time synchronization signal.
  • the second time synchronization signal includes the operational relationship of the second local time, including the reference time.
  • Step 230 The child node adjusts the local time according to the first time synchronization signal and the second time synchronization signal, so that the local time of the child node is synchronized with the reference time.
  • the child node after receiving the first time synchronization signal and the second time synchronization signal, calculates and adjusts the local time of the child node, so that the local time of the child node is the same as the reference time of the reference node, so that more The local time between the child nodes is the same, and the effect of the sensor time synchronization of the child nodes is realized.
  • the time synchronization method based on the sensor time synchronization system realizes the time synchronization of multiple sub-nodes by receiving two broadcast time synchronization signals, reduces the number of packets and reduces energy consumption, and can be applied to low-power wireless sensors
  • the time synchronization method of the embodiment of the present application receives the time synchronization signal by means of unidirectional broadcasting, does not depend on the consistency of uplink and downlink delays, eliminates the time synchronization error introduced by the sending time and the access time, and can better To cope with complex wireless environments, improve the accuracy of time synchronization.
  • a time synchronization method based on a sensor time synchronization system includes:
  • Step 310 The child node receives the first time synchronization signal sent by the broadcast node, and records the first local time when the first time synchronization signal is received, where the first time synchronization signal includes the first reference time.
  • the local clock of the wireless sensor of the sub-node may have frequency offset and temperature drift caused by each sub-node.
  • the local clocks of the wireless sensors are different; or in the embodiment of the present application, two or more sub-nodes respectively receive the first time synchronization signal sent by the broadcast node, and two or more sub-nodes receive the local time synchronization signal of the first time synchronization signal sent by the broadcast node.
  • There is a certain difference in time For example, the received signals are not received at the same time, but are received in sequence, so that there is a certain difference in the local time.
  • the broadcast node sends the first time synchronization signal to the child node
  • the first time synchronization signal includes the first reference time T 0
  • the child node can receive the first time synchronization signal sent by the broadcast node, and record the received first time synchronization signal.
  • the first local time of a time synchronization signal for example, there are n child nodes, where n is a positive integer greater than or equal to 2, which are the first child node, the second child node, the third child node, the fourth child node, ..., the nth child node, the first local time at which each child node receives the first time synchronization signal is T 1 , T 2 , T 3 , T 4 , ..., T n respectively .
  • Step 320 the child node receives a second time synchronization signal, where the second time synchronization signal is a signal sent by the reference node after receiving the first time synchronization signal sent by the broadcast node, and the second time synchronization signal includes the first time difference value,
  • the first time difference is the difference between the second local time and the first reference time when the reference node receives the first time synchronization signal sent by the broadcast node.
  • the broadcast node sends the first time synchronization signal to the reference node while sending the first time synchronization signal to the child node, so that both the child node and the reference node can receive the first time synchronization signal sent by the broadcast node.
  • the reference node when the reference node receives the first time synchronization signal, it records the second local time T j when the first time synchronization signal is received, and the reference node records the second local time T j according to the second local time T j and the first reference time T 0 ,
  • Step 330 The child node adjusts the first local time according to the first time difference, so that the local time of the child node is synchronized with the reference time.
  • the first sub-node, the second sub-node, the third sub-node, the fourth sub-node, ..., the n-th sub-node respectively receive the first local time synchronization signal
  • the time is T 1 , T 2 , T 3 , T 4 , .
  • the first time difference value and the second time difference value Adjust the first local time of the child node, so that the local time of the child node is synchronized with the reference time, and is synchronized with the reference time of the reference node;
  • the first local time of the child node is adjusted according to the first time difference and the second time difference, that is, the first local time is subtracted from the difference between the first time difference and the second time difference, so that the adjustment
  • the local time of each child node can be synchronized with the reference time of the reference node through the above method.
  • a time synchronization method based on a sensor time synchronization system includes:
  • Step 410 The child node receives the first time synchronization signal periodically sent by the broadcast node, and records the first local time when the first time synchronization signal is received, where the first time synchronization signal includes a first reference time and a time synchronization period.
  • the local clock of the wireless sensor of the sub-node may have frequency offset and temperature drift caused by each sub-node.
  • the local clocks of the wireless sensors or in the embodiment of the present application, two or more sub-nodes respectively receive the first time synchronization signal periodically sent by the broadcast node, and two or more sub-nodes receive the first time synchronization signal sent by the broadcast node.
  • the local time For example, the received signals are not received at the same time, but are received in sequence, so that there is a certain difference in the local time.
  • the broadcasting node periodically sends the first time synchronization signal to the child nodes, and the first reference time of the first time synchronization signal is represented by Time.
  • Time T 0 ;
  • the time synchronization period is represented by Cycle, which is used to mark the basic period to which the current time synchronization signal belongs.
  • the broadcast node periodically sends the first time synchronization signal, so that the local time of the sub-nodes can be synchronized regularly, so that the local time of multiple sub-nodes is synchronized.
  • the child node can receive the first time synchronization signal regularly, and adjust the first time synchronization signal regularly, so as to ensure that the local time of the child node is in a synchronized state for a long time.
  • the child node may receive the first time synchronization signal sent by the broadcast node, and record the first local time when the first time synchronization signal is received.
  • n is greater than or equal to 2 Positive integers, respectively the first child node, the second child node, the third child node, the fourth child node, ..., the nth child node, each child node receives the first time synchronization signal of the first time synchronization signal.
  • the local times are T 1 , T 2 , T 3 , T 4 , . . . , T n , respectively.
  • Step 420 The child node receives a second time synchronization signal, where the second time synchronization signal is a signal sent by the reference node after receiving the first time synchronization signal sent by the broadcast node, and the second time synchronization signal includes the first time difference value and In the time synchronization period, the first time difference is the difference between the second local time and the first reference time when the reference node receives the first time synchronization signal sent by the broadcast node.
  • the time synchronization period of the second time synchronization signal is the same as the first time synchronization period sent by the broadcast node.
  • the broadcast node sends the first time synchronization signal to the reference node while sending the first time synchronization signal to the child node, so that both the child node and the reference node can receive the first time synchronization signal sent by the broadcast node.
  • the reference node when the reference node receives the first time synchronization signal, it records the second local time T j when the first time synchronization signal is received, and the reference node records the second local time T j according to the second local time T j and the first reference time T 0 ,
  • the first time difference ⁇ j when the reference node receives the first time synchronization signal, it records the second local time T j when the first time synchronization signal is received, and the reference node records the second local time T j according to the second local time T j and the first reference time T 0 ,
  • the first time difference value ⁇ j is calculated, and the first time difference value is the difference between the second local time and the first reference time, that is
  • Step 421 According to the time synchronization period, determine that the first time synchronization signal and the second time synchronization signal belong to the same period.
  • Step 330 can be performed only with the first time synchronization signal and the second time synchronization signal.
  • Step 430 The child node adjusts the first local time according to the first time difference, so that the local time of the child node is synchronized with the reference time.
  • the first sub-node, the second sub-node, the third sub-node, the fourth sub-node, ..., the n-th sub-node respectively receive the first local time synchronization signal
  • the time is T 1 , T 2 , T 3 , T 4 , .
  • the local time of each child node can be synchronized with the reference time of the reference node through the above method.
  • a time synchronization method based on a sensor time synchronization system includes:
  • Step 510 The child node receives the first time synchronization signal periodically sent by the broadcast node, and records the first local time when the first time synchronization signal is received, wherein the first time synchronization signal includes the first reference time, the time synchronization period, the time Synchronization indications, time synchronization domains, and functional roles.
  • the local clock of the wireless sensor of the sub-node may have frequency offset and temperature drift caused by each sub-node.
  • the local clocks of the wireless sensors or in the embodiment of the present application, two or more sub-nodes respectively receive the first time synchronization signal periodically sent by the broadcast node, and two or more sub-nodes receive the first time synchronization signal sent by the broadcast node.
  • the local time For example, the received signals are not received at the same time, but are received in sequence, so that there is a certain difference in the local time.
  • the broadcast node periodically sends a first time synchronization signal to the child nodes
  • the first time synchronization signal includes a first reference time Time, a time synchronization period Cycle, a time synchronization indication Flag, a time synchronization domain Domain, and a functional role Role
  • the first time synchronization signal may further include a physical address Mac_Address.
  • the time synchronization indication Flag is used to indicate that the first time synchronization signal is used for time synchronization; the time synchronization cycle Cycle is used to mark the basic cycle to which the current time synchronization belongs; the time synchronization domain Domain is used in the same synchronization domain. Only the child nodes can perform time synchronization; the functional role Role is used to distinguish the broadcast node from the reference node; in other embodiments, the physical address Mac_Address is used to identify the device address in the network.
  • the child node may receive the first time synchronization signal sent by the broadcast node, and record the first local time when the first time synchronization signal is received.
  • n is greater than or equal to 2 Positive integers, respectively the first child node, the second child node, the third child node, the fourth child node, ..., the nth child node, each child node receives the first time synchronization signal of the first time synchronization signal.
  • the local times are T 1 , T 2 , T 3 , T 4 , . . . , T n , respectively.
  • Step 520 The child node receives a second time synchronization signal, where the second time synchronization signal is a signal sent by the reference node after receiving the first time synchronization signal sent by the broadcast node, and the second time synchronization signal includes the first time difference value, Time synchronization period, time synchronization indication, time synchronization domain and functional role, the first time difference is the difference between the second local time and the first reference time when the reference node receives the first time synchronization signal sent by the broadcast node.
  • the second time synchronization signal is a signal sent by the reference node after receiving the first time synchronization signal sent by the broadcast node
  • the second time synchronization signal includes the first time difference value, Time synchronization period, time synchronization indication, time synchronization domain and functional role
  • the first time difference is the difference between the second local time and the first reference time when the reference node receives the first time synchronization signal sent by the broadcast node.
  • the reference node sends a second time synchronization signal to the child node, where the second time synchronization signal includes a first time difference value Time_Difference, a time synchronization period Cycle, a time synchronization indication Flag, a time synchronization domain Domain, and a functional role Role.
  • the second time synchronization signal may also include a physical address Mac_Address.
  • the time synchronization indication Flag of the second time synchronization signal is used to indicate that the second time synchronization signal is used for time synchronization; the time synchronization cycle Cycle of the second time synchronization signal, the time synchronization domain Domain and the received broadcast
  • the first time synchronization cycle Cycle and time synchronization domain Domain sent by the node are the same.
  • the functional role Role represents that the signal is emitted by the base node.
  • the broadcast node sends the first time synchronization signal to the reference node while sending the first time synchronization signal to the child node, so that both the child node and the reference node can receive the first time synchronization signal sent by the broadcast node.
  • Step 521 Determine the first time synchronization signal and the second time synchronization signal as synchronization signals according to the time synchronization instruction, the time synchronization period, the time synchronization domain and the functional role.
  • the time synchronization indication is used to indicate that the signal is used for time synchronization, and only when the first time synchronization signal and the second time synchronization signal are synchronization signals, that is, the first time synchronization signal and the second time synchronization signal can be used for in time synchronization.
  • the first time synchronization signal and the second time synchronization signal belong to the same period
  • the first time synchronization signal and the second time synchronization signal are synchronization signals and can be used for time synchronization, and then step 530 can be executed.
  • Step 530 The child node adjusts the first local time according to the first time difference, so that the local time of the child node is synchronized with the reference time.
  • the first sub-node, the second sub-node, the third sub-node, the fourth sub-node, ..., the n-th sub-node respectively receive the first local time synchronization signal
  • the time is T 1 , T 2 , T 3 , T 4 , .
  • the The first local time of the node, so that the local times of multiple child nodes are synchronized and synchronized with the reference time of the reference node; specifically, in the embodiment of the present application, the first time difference value and the second time difference value of the first child node are The difference is ⁇ 1 ⁇ 1 - ⁇ j , the difference between the first time difference value of the second child node
  • the adjusted local time of the second child node T 2 ' T 2 - ⁇ 2
  • the adjusted local time of the third child node T 3 ' T 3 ⁇ 3
  • the adjusted local time of the third child node T 4 ′ T 4 ⁇ 4 , . . .
  • the adjusted local time of the nth child node Tn′ T n ⁇ n .
  • the local time of each child node can be synchronized with the reference time of the reference node through the above method.
  • the first time synchronization signal and the second time synchronization signal are determined as synchronization signals according to the time synchronization instruction, the time synchronization period, the time synchronization domain, and the functional role, and whether the signal received by the child node can be used for time is determined.
  • the embodiment of the present application realizes the time synchronization of multiple sub-nodes by receiving two broadcast time synchronization signals, reduces the number of messages and reduces energy consumption, and can be applied to low-power wireless sensors;
  • the time synchronization method of the application embodiment receives the time synchronization signal by means of unidirectional broadcasting, does not depend on the consistency of uplink and downlink delays, eliminates the time synchronization error introduced by the transmission time and the access time, and can better cope with complex wireless environment, improve the accuracy of time synchronization.
  • the sixth embodiment of the present application provides a time synchronization method based on a sensor time synchronization system, including:
  • Step 610 The reference node receives the first time synchronization signal sent by the broadcast node.
  • the broadcast node sends the first time synchronization signal to the reference node and the child nodes simultaneously, so that the reference node can receive the first time synchronization signal sent by the broadcast node, and the first time synchronization signal is used for time synchronization.
  • Step 620 The reference node sends a second time synchronization signal to the child node, so that the child node adjusts the local time of the child node according to the first time synchronization signal and the second time synchronization signal, so that the local time of the child node is the same as the reference time, wherein , the child node receives the first time synchronization signal sent by the broadcast node.
  • the reference node after receiving the first time synchronization signal, the reference node sends a second time synchronization signal to the child node, wherein the second time synchronization signal includes the operation relationship of the second local time of the reference node.
  • the child node After the child node receives the second time synchronization signal sent by the reference node and the first time synchronization signal sent by the broadcast node, it calculates and adjusts the local time of the child node, so that the local time of the child node is the same as the reference time of the reference node, so that The local time between multiple child nodes is the same, and the effect of the sensor time synchronization of the child nodes is realized.
  • the time synchronization method based on the sensor time synchronization system realizes the time synchronization of multiple sub-nodes by receiving two broadcast time synchronization signals, reduces the number of packets and reduces energy consumption, and can be applied to low-power wireless sensors
  • the time synchronization method of the embodiment of the present application receives the time synchronization signal by means of unidirectional broadcasting, does not depend on the consistency of uplink and downlink delays, eliminates the time synchronization error introduced by the sending time and the access time, and can better To cope with complex wireless environments, improve the accuracy of time synchronization.
  • the first time synchronization signal includes the first reference time
  • the method includes:
  • Step 710 The reference node receives the first time synchronization signal sent by the broadcast node, records the second local time when the first time synchronization signal is received, and calculates the first time difference according to the second local time and the first reference time.
  • the broadcast node sends the first time synchronization signal to the reference node, so that the reference node receives the first time synchronization signal sent by the broadcast node.
  • the first time synchronization signal includes the first reference time T 0
  • the reference node receives the first time synchronization signal.
  • Step 720 The reference node sends the second time synchronization signal to the child node, and records the first local time of receiving the first time synchronization signal, so that the child node adjusts the first local time of the child node according to the first local time and the first time difference. time, so that the local times of multiple child nodes are the same; wherein, the child nodes receive the first time synchronization signal sent by the broadcast node.
  • the broadcast node sends the first time synchronization signal to the reference node, and also sends the first time synchronization signal to the child node.
  • the first time synchronization signal includes the first reference time T0, so that the child node receives the transmission from the broadcast node. and record the first local time when the first time synchronization signal is received. For example, there are n child nodes, where n is a positive integer greater than or equal to 2, which are the first child node and the second child node respectively.
  • the first local time at which each child node receives the first time synchronization signal is T 1 , T 2 , T 3 , T 4 , ..., T n .
  • the reference node after receiving the first time synchronization signal, the reference node sends the second time synchronization signal to the child node.
  • the second time synchronization signal includes the first time difference value ⁇ j .
  • the adjusted first local time T 1 ' T 1 - ⁇ 1 of a child node
  • the adjusted first local time T 2 ' T 2 - ⁇ 2 of the second child node
  • the local time of each child node can be synchronized with the reference time of the reference node through the above method.
  • both the first time synchronization signal and the second time synchronization signal further include a time synchronization period
  • Step 810 The reference node regularly receives the first time synchronization signal sent by the broadcast node, records the second local time when the first time synchronization signal is received, and calculates the first time difference according to the second local time and the first reference time.
  • the reference node regularly receives the first time synchronization signal sent by the broadcast node, so that the child nodes can perform time synchronization regularly, so that the reference node can regularly receive the first time synchronization signal sent by the broadcast node.
  • the first time synchronization signal includes a time synchronization period, which can determine which basic period the first time synchronization signal belongs to, so as to avoid errors in selecting the first time synchronization signal during operation.
  • the reference node when the reference node receives the first time synchronization signal, the reference node records the second local time when the first time synchronization signal is received, and obtains the first time difference by making a difference between the second local time and the first reference time value, so that the reference node includes the first time difference value when sending the second time synchronization signal.
  • Step 820 The reference node sends the second time synchronization signal to the child node, and records the first local time when the first time synchronization signal is received, so that the child node determines that the first time synchronization signal and the second time synchronization signal belong to each other according to the time synchronization period. In the same period, the child node adjusts the first local time of the child node according to the first local time and the first time difference, so that the local times of the multiple child nodes are the same.
  • a time synchronization method based on a sensor time synchronization system includes: broadcasting a first time synchronization signal sent by a node to a reference node and child nodes, so that the reference node sends the first time synchronization signal when receiving the first time synchronization signal
  • the second time synchronization signal is sent to the child node, further enabling the child node to adjust the local time according to the first time synchronization signal and the second time synchronization signal, so that the local time of the child node is synchronized with the reference time.
  • a time synchronization method based on a sensor time synchronization system includes: broadcasting a first time synchronization signal sent by a node to a reference node and child nodes, so that the reference node is used for receiving the first time synchronization signal when the first time synchronization signal is received, record the first local time when the first time synchronization signal is received, calculate the first time difference according to the second local time and the first reference time, send the second time synchronization signal to the child node, and further make the child node according to the first time synchronization signal.
  • the time difference value adjusts the first local time so that the first local time of the child node is synchronized with the reference time, wherein the first time synchronization signal includes the first reference time, and the second time synchronization signal includes the first time difference value.
  • the first time synchronization signal may also include a first reference time, a time synchronization period, a time synchronization indication, a time synchronization domain, and a functional role.
  • the second time synchronization signal includes a first time difference, a time synchronization period, a time synchronization indication, a time synchronization domain, and a functional role.
  • the first time synchronization signal and the second time synchronization signal may also include physical addresses.
  • the embodiment of the present application also includes a second technical solution, as shown in FIG. 10 , a computer storage medium 900, where a computer program 910 is stored inside the computer storage medium 900, and the computer program is used to be executed to realize the above-mentioned sensor-based time synchronization The system's time synchronization method.
  • the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing the relevant hardware through the computer program 910.
  • the computer program 910 can be stored in a computer-readable storage medium, and the computer When the program 910 is executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program 910 includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like.
  • the computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
  • ROM Read-Only Memory
  • RAM random access Memory
  • electric carrier signal telecommunication signal and software distribution medium, etc.
  • computer-readable media may be appropriately increased or decreased in accordance with the requirements of legislation and patent practice in the jurisdiction.
  • computer-readable media does not include Electrical carrier signals and telecommunication signals.
  • a computer device 1000 includes at least one processing unit 1010 and at least one storage unit 1020.
  • the storage unit 1020 stores a computer program, and when the program is executed by the processing unit , so that the processing unit 1010 executes the steps of the above-mentioned time synchronization method based on the sensor time synchronization system.
  • the so-called processing unit 1010 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the general processing unit 1010 can be a microprocessor or the processing unit 1010 can also be any conventional processor, etc.
  • the processing unit 1010 is the control center for setting the display name of the parameter information item in the monitor, and uses various interfaces and lines to connect the whole system. The various equipment parts of the monitor.
  • the storage unit 1020 can be used to store computer programs and/or modules, and the processing unit 1010 realizes the parameters in the monitor by running or executing the computer programs and/or modules stored in the storage unit 1020 and calling the data stored in the storage unit 1020. Display name settings for information items.
  • the storage unit 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone.
  • the storage unit 1020 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, internal memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) ) card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • non-volatile memory such as hard disk, internal memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) ) card, Flash Card, at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
  • Computer apparatus 1000 may also include a power supply assembly configured to perform power management of the computer device, a wired or wireless network interface configured to connect the device to a network, and an input output (I/O) interface.
  • the device can operate based on an operating system stored in memory, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus implementations described above are only illustrative, for example, the division of modules or units is only a logical function division, and other divisions may be used in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this implementation manner.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of software functional units.
  • the integrated unit if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods of the various embodiments of the present application.
  • the solutions provided by the embodiments of the present application can be applied to the technical field of sensor communication.
  • the time synchronization method, medium and device based on the sensor time synchronization system are adopted, so that the power consumption of the time synchronization is low, and the time can be improved.
  • the technical effect of synchronization accuracy is adopted.

Landscapes

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

Abstract

La présente invention se rapporte au domaine technique des communications par capteur, et concerne en particulier un procédé de synchronisation temporelle basé sur un système de synchronisation temporelle de capteur, un support et un appareil. Le système comprend un nœud de diffusion, un nœud de référence et plus de deux nœuds enfants, le nœud de référence servant à fournir une heure de référence pour un système de synchronisation temporelle, et chaque nœud enfant comprenant un capteur. Le procédé consiste : à recevoir, par les nœuds enfants, un premier signal de synchronisation temporelle envoyé par le nœud de diffusion ; à recevoir, par les nœuds enfants, un second signal de synchronisation temporelle, le second signal de synchronisation temporelle étant un signal envoyé par le nœud de référence après réception du premier signal de synchronisation temporelle envoyé par le nœud de diffusion ; et à régler, par les nœuds enfants, l'heure locale selon le premier signal de synchronisation temporelle et le second signal de synchronisation temporelle, de sorte que l'heure locale des nœuds enfants soit synchronisée avec l'heure de référence.
PCT/CN2021/124749 2021-03-30 2021-10-19 Procédé de synchronisation temporelle basé sur un système de synchronisation temporelle de capteur, support et appareil WO2022205838A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110341766.6A CN113259037B (zh) 2021-03-30 2021-03-30 基于传感器时间同步系统的时间同步方法、介质及装置
CN202110341766.6 2021-03-30

Publications (1)

Publication Number Publication Date
WO2022205838A1 true WO2022205838A1 (fr) 2022-10-06

Family

ID=77181455

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/124749 WO2022205838A1 (fr) 2021-03-30 2021-10-19 Procédé de synchronisation temporelle basé sur un système de synchronisation temporelle de capteur, support et appareil

Country Status (2)

Country Link
CN (1) CN113259037B (fr)
WO (1) WO2022205838A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259037B (zh) * 2021-03-30 2022-12-23 杭州涂鸦信息技术有限公司 基于传感器时间同步系统的时间同步方法、介质及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588628A (zh) * 2009-06-19 2009-11-25 山东省计算中心 无线传感器网络时钟同步方法
CN108259105A (zh) * 2016-12-28 2018-07-06 中国移动通信有限公司研究院 一种时间同步处理方法、装置及同步网络
CN111372307A (zh) * 2018-12-25 2020-07-03 江苏中桥信息技术有限公司 一种基于无线多跳网络的时间同步数据采集系统
EP3681171A1 (fr) * 2019-01-10 2020-07-15 Fujitsu Limited Appareil de traitement d'informations, procédé de synchronisation temporelle et programme de synchronisation temporelle
CN113259037A (zh) * 2021-03-30 2021-08-13 杭州涂鸦信息技术有限公司 基于传感器时间同步系统的时间同步方法、介质及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008283242A (ja) * 2007-05-08 2008-11-20 Nec Tokin Corp 無線通信システムの計測時刻同期方法
CN104968043B (zh) * 2015-04-29 2018-04-27 重庆邮电大学 一种适用于wia-pa网络的时钟同步频率偏移估计方法
EP3714644B1 (fr) * 2017-11-20 2022-04-27 Telefonaktiebolaget LM Ericsson (publ) Noeuds et réseaux pour déterminer et permettre une référence temporelle synchronisée dans un réseau de communication mobile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588628A (zh) * 2009-06-19 2009-11-25 山东省计算中心 无线传感器网络时钟同步方法
CN108259105A (zh) * 2016-12-28 2018-07-06 中国移动通信有限公司研究院 一种时间同步处理方法、装置及同步网络
CN111372307A (zh) * 2018-12-25 2020-07-03 江苏中桥信息技术有限公司 一种基于无线多跳网络的时间同步数据采集系统
EP3681171A1 (fr) * 2019-01-10 2020-07-15 Fujitsu Limited Appareil de traitement d'informations, procédé de synchronisation temporelle et programme de synchronisation temporelle
CN113259037A (zh) * 2021-03-30 2021-08-13 杭州涂鸦信息技术有限公司 基于传感器时间同步系统的时间同步方法、介质及装置

Also Published As

Publication number Publication date
CN113259037A (zh) 2021-08-13
CN113259037B (zh) 2022-12-23

Similar Documents

Publication Publication Date Title
Yoon et al. Tiny-sync: Tight time synchronization for wireless sensor networks
Sommer et al. Gradient clock synchronization in wireless sensor networks
CN109683130B (zh) 定位方法、装置、存储介质及处理器
US9386552B2 (en) Wireless sensor time synchronization
Sridhar et al. Cheepsync: a time synchronization service for resource constrained bluetooth le advertisers
CN112866098B (zh) 网关授时方法、装置、电子设备及计算机可读介质
Huang et al. Long term and large scale time synchronization in wireless sensor networks
Elsts et al. Temperature-resilient time synchronization for the internet of things
WO2022205838A1 (fr) Procédé de synchronisation temporelle basé sur un système de synchronisation temporelle de capteur, support et appareil
CN1972182A (zh) 一种提高无线传感器网络时间同步精度的方法
EP4010777A1 (fr) Systèmes d'horodatage d'évènements sur des dispositifs périphériques
CN113574813B (zh) 用于确定时间信息的无线网络系统的网络实体和方法
WO2020063420A1 (fr) Procédé, dispositif et système de détermination de cycle de synchronisation
CN110719135A (zh) 时间校准方法、系统及电子装置
WO2020135198A1 (fr) Procédé et dispositif de synchronisation d'horloge et support d'informations
CN110572230A (zh) 一种用于实现时间同步的修正方法及装置
CN101541073A (zh) 无线传感器网络节点晶振频率误差补偿方法
Chen et al. Understanding Precision Time Protocol in Today's {Wi-Fi} Networks: A Measurement Study
Gong et al. On the accuracy of pairwise time synchronization
Hwang A network clock model for time awareness in the Internet of things and artificial intelligence applications
Upadhyay et al. Maximum probable clock offset estimation (MPCOE) to reduce time synchronization problems in wireless sensor networks
Dalwadi et al. An insight into time synchronization algorithms in IoT
CN107959968B (zh) 一种高精度、低开销的无线传感器网络时钟同步方法
CN107995681B (zh) 一种无线传感网时间同步方法及装置
CN115623435A (zh) 一种基于uwb和tdoa的无线时钟同步方法及装置

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: 21934474

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21934474

Country of ref document: EP

Kind code of ref document: A1