WO2017079920A1 - Method and device for synchronization - Google Patents

Method and device for synchronization Download PDF

Info

Publication number
WO2017079920A1
WO2017079920A1 PCT/CN2015/094297 CN2015094297W WO2017079920A1 WO 2017079920 A1 WO2017079920 A1 WO 2017079920A1 CN 2015094297 W CN2015094297 W CN 2015094297W WO 2017079920 A1 WO2017079920 A1 WO 2017079920A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmission delay
target device
control center
source device
transmission
Prior art date
Application number
PCT/CN2015/094297
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 CN201580084474.1A priority Critical patent/CN108353368A/en
Priority to PCT/CN2015/094297 priority patent/WO2017079920A1/en
Publication of WO2017079920A1 publication Critical patent/WO2017079920A1/en

Links

Images

Classifications

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

Definitions

  • Embodiments of the present invention relate to the field of communications, and, more particularly, to a method and apparatus for synchronization.
  • the source device sends out the data, and the target device needs to receive the data at a specified time, so that the data can be synchronously transmitted and received between the source device and the target device.
  • a typical application is the common common radio interface (CPRI) of In-phase Quadrature (IQ) data in the Radio Equipment Controller (REC) and radio equipment (Radio Equipment).
  • CPRI common common radio interface
  • IQ In-phase Quadrature
  • REC Radio Equipment Controller
  • Radio Equipment Radio Equipment
  • Radio Equipment Radio Equipment
  • the transmission between , RE has the requirement of strict synchronization of the above transmission and reception.
  • Another typical application is that the source device sends two identical data to two target devices, requiring two target devices to receive the two data at the same time.
  • the application of the synchronization system is very extensive, such as the requirement of the multi-channel multi-output (MIMO) of the wireless air interface technology.
  • MIMO multi-channel multi-output
  • the MIMO is in the single-stream operation mode, when multiple antennas simultaneously transmit the same data, the transmission data of the antenna port is required. Strict time synchronization.
  • Embodiments of the present invention provide a method for synchronization that enables synchronization for any transmission system.
  • a method of synchronization comprising:
  • the allowed receiving time is the current time plus the first transmission delay
  • the source device sends a data packet to at least one target device, the data packet including the allowed reception time and the data.
  • the receiving time is simultaneously transmitted to the at least one target device, so that at least one target device can ensure that the specified receiving device is allowed to receive.
  • the data sent by the source device is received again, and can include synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
  • the source device receives the first transmission delay from a control center.
  • the source device receives the at least one second transmission delay sent by the at least one target device; Transmitting at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the source device calculates at least one second transmission delay corresponding to the at least one target device;
  • the at least one second transmission delay is sent to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the first transmission delay is determined by the control center and the first transmission delay is sent to the source device, so that the synchronization performance of the system can be ensured.
  • a method of synchronizing comprising:
  • the target device receives at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable reception time and data;
  • the target device records the allowable reception time and caches the data
  • the target device extracts the cached data at the time of allowing reception.
  • the target device receives the allowed receiving time set by the source device while receiving the data, so that the target device can receive data at the time of allowing the receiving, and can ensure synchronization with the source device.
  • the difference between the current time and the allowed receiving time is recorded; and the data packet is discarded. Transmitting the difference to a control center such that the control center updates the first transmission delay based on the difference.
  • the target device if the target device cannot receive data at the time of allowing reception due to the excessive delay, the target device sends the difference between the current receiving time and the allowed receiving time to the control center, so that the control center can perform the first receiving delay. Make adjustments and updates to ensure synchronization performance.
  • a method of synchronizing comprising:
  • the control center determines the first transmission delay
  • the control center transmits the first transmission delay to at least one source device.
  • control center determines the first transmission delay and sends the first transmission delay to the at least one source device, and can be used to determine the allowed reception time by the at least one source device to ensure the target receiving device and the source device. Synchronization between.
  • the control center receives the at least one second transmission delay that is sent by the at least one source device or the at least one target device; determining the first transmission delay includes: Determining the first transmission delay according to the at least one second transmission delay.
  • a maximum value of the at least one second transmission delay is used as the first transmission delay.
  • the control center uses the maximum value as the first transmission delay, and can determine synchronization between multiple source devices and multiple target devices.
  • control center is deployed in one of the at least one source device; or the control center is deployed in the at least one target device In a target device.
  • Deploying the control center in a source or target device can increase the system's compactness and save system cost.
  • control center can obtain the delay information of the system, and determine the first transmission delay according to the delay information of the system, so as to ensure the total control function of the synchronization of the control center to the system, thereby ensuring the synchronization performance of the system.
  • a fourth aspect provides a device for synchronization, where the device is a source device, including:
  • a determining unit configured to determine, when the data is sent, an allowed receiving time, where the allowed receiving time is a current time plus a first transmission delay
  • a sending unit configured to send a data packet to the at least one target device, where the data packet includes the allowed receiving moment and the data.
  • the device for synchronizing is used to implement the method described in the first aspect or any of the implementations described above.
  • a fifth aspect provides a device for synchronization, where the device is a target device, including:
  • a receiving unit configured to receive at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable receiving time and data;
  • a processing unit configured to record the allowed receiving moment and cache the data
  • the processing unit is further configured to extract the cached data at the time of allowing reception.
  • the device for synchronizing is used to implement the method described in the second aspect or any of the implementations described above.
  • a sixth aspect provides a device for synchronization, where the device is a control center, including:
  • a determining unit configured to determine a first transmission delay
  • a sending unit configured to send the first transmission delay to the at least one source device.
  • the device for synchronizing is used to implement the method described in the third aspect or any of the implementations described above.
  • a seventh aspect provides a device for synchronization, where the device is a source device, including:
  • a processor configured to determine a time limit for allowing reception when transmitting data, where the allowed receiving time is a current time plus a first transmission delay
  • a transmitter configured to send a data packet to the at least one target device, where the data packet includes the allowed reception time and the data.
  • the device for synchronizing is used to implement the method described in the first aspect or any of the implementations described above.
  • a device for synchronization where the device is a target device, including:
  • a receiver configured to receive at least one data packet sent by at least one source device, where each of the at least one data packet includes an allowable receiving time and data;
  • a processor configured to record the allowed reception time and cache the data
  • the processor is further configured to extract the cached data at the time of allowing reception.
  • the device for synchronizing is used to implement the method described in the second aspect or any of the implementations described above.
  • a ninth aspect provides a device for synchronization, where the device is a control center, including:
  • a processor configured to determine a first transmission delay
  • a transmitter configured to send the first transmission delay to at least one source device.
  • the device for synchronizing is used to implement the method described in the third aspect or any of the implementations described above.
  • a computer readable storage medium storing a program that causes the source device to perform the first aspect described above, and any of its various implementations are synchronized method.
  • a computer readable storage medium storing a program causing a target device to perform the second aspect described above, and synchronizing any of the various implementations thereof Methods.
  • a computer readable storage medium storing a program causing a control center to perform the third aspect described above, and synchronizing any of the various implementations thereof Methods.
  • the transmission network between the source device and the target device is a TDM network
  • the allowed reception time is carried in the TDM frame structure.
  • the transmission network between the source device and the target device is a packet network
  • the allowed reception time is carried in the packet frame structure.
  • the receiving time is simultaneously sent to the at least one target device, so that the at least one target device can receive the data sent by the source device at the specified allowed receiving time, which can include Synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
  • FIG. 1 is a flow chart of a method of synchronization in accordance with one embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a data packet sent by a source device according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a scenario of an embodiment of the present invention.
  • FIG. 4 is a flow chart of a method of synchronization in accordance with another embodiment of the present invention.
  • Figure 5 is a flow diagram of a method of synchronization in accordance with another embodiment of the present invention.
  • FIG. 6 is a flow diagram of a process of synchronization in accordance with an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a scenario of another embodiment of the present invention.
  • FIG. 8 is a flow diagram of a process of synchronization in accordance with another embodiment of the present invention.
  • Figure 9 is a block diagram of an apparatus for synchronization in accordance with one embodiment of the present invention.
  • Figure 10 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • Figure 11 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • Figure 12 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • Figure 13 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • Figure 14 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • the source device, the target device, and the control center may be any device that has a function of sending and receiving, for example, may be any one of the following: a base station, a user equipment (User Equipment, UE), and a forwarding device. Equipment, controllers, etc.
  • a base station may be any one of the following: a base station, a user equipment (User Equipment, UE), and a forwarding device. Equipment, controllers, etc.
  • UE User Equipment
  • UE User Equipment
  • a forwarding device Equipment, controllers, etc.
  • the invention is not limited thereto.
  • FIG. 1 is a method of synchronization in accordance with one embodiment of the present invention.
  • the method shown in Figure 1 includes:
  • the source device determines, when the data is sent, the allowed receiving time, where the allowed receiving time is the current time plus the first transmission delay.
  • the source device sends a data packet to at least one target device, where the data packet includes the allowed receiving moment and the data.
  • the receiving time is simultaneously sent to the at least one target device, so that the at least one target device can receive the data sent by the source device at the specified allowed receiving time, which can include Synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
  • the allowed time (LT) is the reception time specified by the source device for the target device.
  • FIG. 2(1) an example of data transmitted by a source device.
  • the source device transmits DATA1
  • the source device transmits the data packet as shown in FIG. 2(1).
  • the source device determines the allowable reception times of DATA1, DATA2, and DATA3 as LT1, LT2, and LT3, respectively.
  • the source device transmits the data packet as shown in FIG. 2 (2).
  • the source device when it has data to transmit, it first determines the allowable reception time based on the current time of data transmission, and transmits the determined allowed reception time along with the data.
  • the allowable reception time can be carried in a specific field of the data packet.
  • the source device may send data to the at least one target device through the transmission system, where the transmission system may also be referred to as a transmission network.
  • the transmission system may also be referred to as a transmission network.
  • M source devices source device 111 to source device M 12
  • N target devices target device 121 to target device N 22
  • transmission system 10 and control center 30 are further included.
  • M and N are positive integers.
  • one or more source devices may be included, and one or more target devices may be included.
  • the allowed reception time may be carried in the TDM frame structure.
  • the TDM network can be an E1TDM or a Synchronous Digital Hierarchy (SDH).
  • the allowed reception time may be carried in the packet frame structure.
  • the packet network can be an Internet Protocol (IP) network or an Ethernet network.
  • the allowed reception time may be carried in a corresponding frame structure.
  • the optical fiber direct transmission network may be a Wavelength Division Multiplexing (WDM) network.
  • the synchronization method of the embodiment of the present invention is independent of the transmission system. In the process of S102, it is only necessary to carry the information of the allowed reception time in the corresponding field.
  • the synchronization method in the embodiment of the present invention can be applied to a wired network or a wireless network, and can be applied to any layer of a transmission protocol (such as an IP layer and a MAC layer), and can be applied to MIMO of a mobile network such as 4G and 5G.
  • a transmission protocol such as an IP layer and a MAC layer
  • MIMO of a mobile network such as 4G and 5G.
  • the target device may first cache the data packet and register the allowed reception time included in the data packet. Data is then extracted from the cache at the time of the allowed reception.
  • the first transmission delay may also be referred to as an available transmission delay, which refers to how much transmission delay the source device transmits to the target device.
  • the first transmission delay may be pre-stored in the source device.
  • the first transmission delay may be received by the source device from the control center. Then, it can be understood that, before S101, the method further includes: receiving, by the control center, the first transmission delay.
  • the source device may receive the first transmission delay from the control center periodically or periodically. In this way, changes in the transmission system can be dynamically tracked. It can be understood that the source device receives the new first transmission time delay and replaces the previously received old first transmission delay.
  • the source device may calculate at least one second transmission delay corresponding to the at least one target device, and the at least one The second transmission delay is sent to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the control center may determine the maximum value of the at least one second transmission delay as the first transmission delay. Alternatively, if the control center receives at least one second transmission delay sent by each of the at least one source device, the control center may use the maximum value of all the received second transmission delays as the first Transmission delay.
  • the at least one second transmission delay may be in one-to-one correspondence with the at least one target device.
  • the source device calculates the at least one second transmission delay corresponding to the at least one target device, and may include: the source device calculates a second transmission delay corresponding to each target device.
  • the source device calculating the second transmission delay corresponding to the first target device may include: determining, by the measurement, the second transmission delay corresponding to the first target device .
  • the source device may record that the time when the data packet P1 is sent is t1, and the time when the first target device receives the data packet P1 (the time when the first target device feeds back the received information to the source device) is t2, then the source device may calculate The transmission delay of the first target device is t2-t1.
  • the calculating, by the source device, the second transmission delay corresponding to the first target device may include: counting all transmissions with the first target device within the preset time period. The delay, the maximum value of all the transmission delays is used as the second transmission delay corresponding to the first target device.
  • the preset time period is the latest time period of the source device at the current time of the statistics. For example, if the current time counted by the source device is t0 and the preset time period is T1, the source device can count the time from t0-T1. All transmission delays in the time period up to time t0.
  • the sending, by the source device, the at least one second transmission delay to the control center may include: the source device directly sending the at least one second transmission delay to the control center; or the method may include: the source device transmitting the at least one second transmission The extension is sent indirectly to the control center.
  • the source device may send the at least one second transmission delay to the second target device of the at least one target device, so that the second target device forwards the at least one second transmission delay to the control center.
  • the source device may calculate the at least one second transmission delay and send the at least one second transmission delay to the control center periodically or periodically.
  • the source device before receiving the first transmission delay from the control center, the source device may receive the at least one second transmission delay sent by the at least one target device; and the at least one second The transmission delay is sent to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the at least one second transmission delay is one-to-one corresponding to the at least one target device, and may be respectively calculated by the corresponding target device.
  • synchronization between the source device and at least one target device, at least one target device can be achieved.
  • FIG. 4 is a method of synchronization of another embodiment of the present invention.
  • the method shown in Figure 4 includes:
  • the target device receives at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable reception time and data.
  • the target device records the allowed reception time and caches the data.
  • the target device extracts the cached data at the time of allowing reception.
  • the target device receives the allowed receiving time set by the source device while receiving the data, so that the target device can receive data at the time of allowing the receiving, and can ensure synchronization with the source device.
  • the allowable reception time can be carried in a specific field of the data packet.
  • the allowed reception time may be carried in the TDM frame structure.
  • the TDM network can be an E1TDM or a Synchronous Digital Hierarchy (SDH).
  • the allowed reception time may be carried in the packet frame structure.
  • the packet network can be an Internet Protocol (IP) network or an Ethernet network.
  • the allowed reception time may be carried in a corresponding frame structure.
  • the optical fiber direct transmission network may be a Wavelength Division Multiplexing (WDM) network.
  • the synchronization method of the embodiment of the present invention is independent of the transmission system.
  • the information of the allowed time of reception is only required to be carried in the corresponding field.
  • the allowed receiving time is determined by at least one source device.
  • the at least one source device may determine the allowable reception time based on the first transmission delay received from the control center.
  • the method further includes: calculating at least one second transmission delay between the at least one source device; and sending the at least one second transmission delay to the control center, so that the control The center determines the first transmission delay according to the at least one second transmission delay.
  • the target device may count all transmission delays between the preset source and the first source device in the at least one source device; and use the maximum value of all the transmission delays as the first The second transmission delay corresponding to the source device.
  • the control center may determine the maximum value of the at least one second transmission delay as the first transmission delay. Alternatively, if the control center receives at least one second transmission delay sent by each of the at least one target device, the control center may use the maximum value of all the received second transmission delays as the first Transmission delay.
  • the at least one second transmission delay may be in one-to-one correspondence with the at least one source device.
  • the calculating, by the target device, the at least one second transmission delay corresponding to the at least one source device may include: the target device calculating a second transmission delay corresponding to each source device.
  • the target device calculating the second transmission delay corresponding to the first source device may include: determining, by the measurement device, the second transmission delay corresponding to the first source device .
  • the first source device may carry the time when the sending of the data packet P1 is t1, and the time when the target device records the received data packet P1 is t2, then the target device may calculate the transmission time of the first source device.
  • the delay is t2-t1.
  • calculating, by the target device, the second transmission delay corresponding to the first source device may include: counting all transmissions with the first source device within the preset time period. The delay, the maximum value of all the transmission delays is used as the second transmission delay corresponding to the first source device.
  • the preset time period is the latest time period of the current time of the target device at the statistics. For example, if the current time counted by the target device is t0 and the preset time period is T1, the target device can count the time from t0-T1. All transmission delays in the time period up to time t0.
  • the sending, by the target device, the at least one second transmission delay to the control center may include: the target device directly sending the at least one second transmission delay to the control center; or the method may include: the at least one second transmission time of the target device
  • the extension is sent indirectly to the control center.
  • the target device may send the at least one second transmission delay to the second source device of the at least one source device, so that the second source device forwards the at least one second transmission delay to the control center.
  • the target device may calculate the at least one second transmission delay and send the at least one second transmission delay to the control center periodically or periodically. In this way, changes in the transmission system can be dynamically tracked.
  • control center determines the maximum value of the M ⁇ N second transmission delays as the first transmission delay.
  • the target device may receive the at least one second transmission delay sent by the at least one source device, and send the at least one second transmission delay to the control center.
  • the control center determines the first transmission delay according to the at least one second transmission delay.
  • the at least one second transmission delay is one-to-one corresponding to the at least one source device, and may be respectively calculated by the corresponding source device.
  • the target device performs S402 and S403.
  • the target device may discard the packet received at S401. That is, if the current time at which the target device performs S401 exceeds the allowable reception time, the data packet is discarded.
  • the target device may record the difference between the current time and the allowed reception time.
  • the value is sent to the control center such that the control center updates the first transmission delay based on the difference.
  • discard the packet if the current time at which the target device performs S401 exceeds the allowable reception time, the difference between the current time and the allowed reception time is recorded; the data packet is discarded; and the difference is sent to the control center. So that the control center updates the first transmission delay according to the difference. After the difference is recorded, the data packet may be discarded and then sent to the control center; or, after the difference is recorded, the difference may be sent to the control center before the data packet is discarded.
  • the invention is not limited thereto.
  • Figure 5 is a diagram of a method of synchronization in accordance with another embodiment of the present invention. The method shown in Figure 5 includes:
  • the control center determines a first transmission delay.
  • the control center sends the first transmission delay to at least one source device.
  • control center determines the first transmission delay and sends the first transmission delay to the at least one source device, and can be used to determine the allowed reception time by the at least one source device to ensure the target receiving device and the source device. Synchronization between.
  • control center may be a separate device, or the control center may be deployed in one source device of the at least one source device, or the control center may also be deployed in at least one target device.
  • the control center can be a module of a source device.
  • the control center can be a module of a target device.
  • the control center may determine the first transmission delay according to the at least one second transmission delay. For example, the control center may use the maximum value of the at least one second transmission delay as the first transmission delay. Then, before S501, the method further includes: the control center receiving the at least one second transmission delay sent by the at least one source device or the at least one target device.
  • control center can receive M ⁇ N second transmission delays, and determine the first transmission delay according to M ⁇ N second transmission delays.
  • each source device may determine N second transmission delays, and the control center may receive N second transmission delays, N second transmission delays, and Ns sent by each of the M source devices.
  • One target device corresponds to one.
  • each target device may determine M second transmission delays, and the control center may receive M second transmission delays sent by each of the N target devices, and M second transmission delays.
  • M source devices correspond one by one.
  • each source device may determine N second transmission delays and send the determined second transmission delay to the first target device, and the control center may receive the M ⁇ N seconds forwarded by the first target device. Transmission delay.
  • the M source devices may send the respective determined N second transmission delays to different target devices, and the control center may receive M ⁇ N second transmission delays forwarded by different target devices.
  • each target device may determine M second transmission delays and send the determined second transmission delay to the first source device, where the control center may receive the M ⁇ N seconds forwarded by the first source device. Transmission delay.
  • the N target devices may send the respective determined M second transmission delays.
  • the control center can receive M ⁇ N second transmission delays forwarded by different source devices.
  • control center can receive M ⁇ N second transmission delays sent by the M source devices; or the control center can receive M ⁇ N seconds sent by one or more of the M source devices. Transmission delay.
  • the control center may receive M ⁇ N second transmission delays sent by the N target devices; or the control center may receive M ⁇ N second transmission delays sent by one or more of the N target devices.
  • the invention is not limited thereto.
  • control center may receive M ⁇ N second transmission delays periodically or periodically and perform the method illustrated in FIG. 5.
  • the method shown in FIG. 5 may further include: receiving a difference sent by the first target device in the at least one target device; and updating the first transmission delay according to the difference.
  • the sum of the difference and the first transmission delay may be determined as the updated first transmission delay.
  • the target device 21 and the target device 22 send a second transmission delay to the control center 30.
  • the target device 21 calculates the second transmission delay T11 between it and the source device 11, and transmits the second transmission delay T11 to the control center 30.
  • the target device 22 calculates the second transmission delay T12 between it and the source device 11, and transmits the second transmission delay T12 to the control center 30.
  • the target device 21 may send the second transmission delay T11 to the source device 11, and then the source device 11 forwards the second transmission delay T11 to the control center 30; and/or, the target device 22 may be the second The transmission delay T12 is sent to the source device 11, and the second transmission delay T12 is forwarded by the source device 11 to the control center 30.
  • the step of S601 may also be implemented by other methods instead.
  • the source device 11 may calculate the second transmission delay T11 with the target device 21 and the second transmission delay T12 with the target device 22, respectively, and send the second transmission delay T11 and the second transmission delay T12 to Control center 30.
  • the source device 11 calculates and targets respectively. a second transmission delay T11 of the backup 21 and a second transmission delay T12 with the target device 22, and transmitting the second transmission delay T11 and the second transmission delay T12 to the target device 21 or the target device 22, and then Target device 21 or target device 22 forwards to control center 30.
  • the control center determines a first transmission delay.
  • control center determines the first transmission delay according to all the second transmission delays received at S601, for example, determining the maximum value of all the second transmission delays as the first transmission delay.
  • the first transmission delay may also be referred to as an available transmission delay. It can be understood that, in the embodiment of the present invention, the control center is mainly used to generate an available transmission delay.
  • the control center sends the first transmission delay T21 to the source device 11.
  • the source device 11 receives and saves the first transmission delay T21. It can be understood that, if the first transmission delay is stored in the source device 11 and before the S603, the source device 11 replaces the previously stored first transmission delay with the first transmission received in S603 after S603. The delay is T21.
  • the source device 11 determines the allowable reception time t11.
  • the source device 11 sends the data packet to the target device 21 and the target device 22, wherein the data packet includes an admission time and data.
  • the source device 11 may transmit the data packet in which the data (DATA) is allowed to be received at the time t11.
  • DATA data
  • the target device 21 and the target device 22 record the allowable reception time t11 in the data packet and buffer the data.
  • the target device 21 receives the data packet at time t21 and is at the target device 21
  • the clock has not passed the allowable reception time t11
  • the target device 21 records the allowable reception time t11 in the data packet and buffers the data.
  • the target device 22 receives the data packet at time t22, and the clock at the target device 22 has not passed the allowable reception time t11
  • the target device 22 records the allowable reception time t11 in the data packet and buffers the data.
  • the target device 21 and the target device 22 extract data from the cache at the time of receiving reception t11.
  • the target device 21 and/or the target device 22 may be provided with a fault tolerance scheme. For example, if the time t21 at which the target device 21 receives the data packet has exceeded the allowable reception time t11, the target device 21 may discard the data packet.
  • S608 may be performed after S605.
  • the target device 21 can calculate the difference between t21 and t11.
  • the target device 21 discards the data packet.
  • the target device 21 sends the difference to the control center 30.
  • the S610 may be executed before or after S609, or S610 may be executed simultaneously with S609.
  • the control center 30 updates the first transmission delay according to the difference.
  • control center 30 determines the sum of the first transmission time T21 and the difference t21-t11, T21+t21-t11, as the updated first transmission delay.
  • the control center 30 transmits the updated first transmission delay T21+t21-t11 to the source device 11.
  • the source device 11 replaces the originally stored first transmission delay T21 with the updated first transmission delay T21+t21-t11.
  • control center 30 can update the first transmission delay in time, thereby ensuring synchronization between the respective source devices and the target device.
  • the target device 22 can discard the data packet.
  • a process similar to that of FIG. 8 is performed, and to avoid repetition, details are not described herein again.
  • the method of synchronization in the embodiment of the present invention can also be applied to synchronization between a plurality of target devices having a cascade relationship.
  • the source device will include a data packet that allows the reception time and data to be sent to the first target device, and the first target device then copies the data packet and sends it to the second target device.
  • both the first target device and the second target device read the data at the time of allowing reception, thereby enabling synchronization of the first target device and the second target device having the cascade relationship with the source device.
  • the method of synchronization in the embodiment of the present invention can also be applied to a networking system.
  • the networking system includes a plurality of domains, each of which can perform the method of synchronization described in the foregoing embodiments.
  • the control center may determine that the first transmission delay of the first domain is T21, the first transmission delay of the second domain is determined to be T22, and so on. In this way, synchronization within the respective domains can be achieved.
  • the transmission and reception of the data is accompanied by the allowable reception time determined by the source device, and the transmission and reception of the source device and the target device can be ensured. And it can reduce the synchronization requirements of the transmission network, thereby reducing the cost of transmission.
  • the synchronization method provided by the embodiment of the present invention can reduce the clock synchronization cost of the target device. Since the target devices are generally deployed in a large amount, the cost reduction of the target device brings great economic benefits.
  • FIG. 9 is a block diagram of an apparatus for synchronization in accordance with one embodiment of the present invention.
  • the device shown in FIG. 9 is a source device 900, and includes a determining unit 901 and a transmitting unit 902.
  • the determining unit 901 is configured to determine, when the data is sent, the allowed receiving time, where the allowed receiving time is the current time plus the first transmission delay.
  • the sending unit 902 is configured to send a data packet to the at least one target device, where the data packet includes the allowed receiving moment and the data.
  • the receiving time is simultaneously sent to the at least one target device, so that the at least one target device can receive the data sent by the source device at the specified allowed receiving time, which can include Synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
  • the source device 900 may further include a receiving unit, configured to receive the first transmission delay from the control center.
  • the receiving unit is further configured to receive the at least one second transmission delay sent by the at least one target device.
  • the determining unit 901 is further configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the determining unit 901 is further configured to calculate at least one second transmission delay corresponding to the at least one target device.
  • the sending unit 902 is further configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the determining unit 901 is specifically configured to: calculate, in a preset time period, all transmission delays with the first target device in the at least one target device; The maximum value in the delay is used as the second transmission delay corresponding to the first target device.
  • the sending unit 902 is specifically configured to: send the at least one second transmission delay to a second target device in the at least one target device, so that the second target device Forwarding the at least one second transmission delay to the control center.
  • the transmission network between the source device and the at least one target device is a TDM network, and the allowed reception time is carried in the TDM frame structure.
  • the transmission network between the source device and the at least one target device is a packet network, and the allowed reception moment is carried in a packet frame structure.
  • the transmission network may be of other types, which is not limited herein.
  • the sending unit 902 may be implemented by a transmitter
  • the determining unit 901 may be implemented by a processor
  • the receiving unit may be implemented by a receiver.
  • the source device 1000 may include a processor 1001, a receiver 1002, a transmitter 1003, and a memory 1004.
  • the memory 1004 can be used to store the first transmission delay described above, and can also be used to store codes and the like executed by the processor 1001.
  • the various components in source device 1000 are coupled together by a bus system 1005, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • a bus system 1005 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the source device 900 shown in FIG. 9 or the source device 1000 shown in FIG. 10 can implement various processes implemented by the source device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • FIG 11 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • the design shown in Figure 11 The target device 1100 includes a receiving unit 1101 and a processing unit 1102.
  • the receiving unit 1101 is configured to receive at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable receiving time and data.
  • the processing unit 1102 is configured to record the allowed receiving moment and cache the data, and is further configured to extract the cached data at the allowed receiving moment.
  • the target device receives the allowed receiving time set by the source device while receiving the data, so that the target device can receive data at the time of allowing the receiving, and can ensure synchronization with the source device.
  • the allowable reception time can be carried in a specific field of the data packet.
  • the allowed reception time may be carried in the TDM frame structure.
  • the transmission network between the source device and the target device is a packet network
  • the allowed reception time may be carried in the packet frame structure.
  • the transmission network between the source device and the target device is a fiber direct transmission network
  • the allowed reception time may be carried in a corresponding frame structure. It should be noted that the transmission network may also be of other types, which is not limited herein.
  • the processing unit 1102 is further configured to: if the current time exceeds the allowed receiving moment, discard the data packet.
  • the target device 1100 may further include a sending unit.
  • the processing unit 1102 is further configured to: if the current time exceeds the allowed receiving time, record a difference between the current time and the allowed receiving time; and discard the data packet.
  • the sending unit is configured to send the difference to the control center, so that the control center updates the first transmission delay according to the difference.
  • the receiving unit 1101 is further configured to receive the at least one second transmission delay sent by the at least one source device.
  • the sending unit is configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the processing unit 1102 is further configured to calculate at least one second transmission delay between the at least one source device.
  • the sending unit is configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  • the processing unit 1102 is specifically configured to: calculate, in a preset time period, all transmission delays between the first source device and the first source device in the at least one source device; The maximum value of all transmission delays is used as the second transmission delay corresponding to the first source device.
  • the receiving unit 1101 may be implemented by a receiver
  • the processing unit 1102 may be implemented by a processor
  • the sending unit may be implemented by a transmitter.
  • the target device 1200 can include a processor 1201, a receiver 1202, a transmitter 1203, and a memory 1204.
  • the memory 1204 can be used to store the above-mentioned allowable receiving time, and can also be used to store code and the like executed by the processor 1201.
  • a bus system 1205 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the target device 1100 shown in FIG. 11 or the target device 1200 shown in FIG. 12 can implement various processes implemented by the target device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • FIG. 13 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
  • the device shown in FIG. 13 is a control center 1300, and includes a determining unit 1301 and a transmitting unit 1302.
  • the determining unit 1301 is configured to determine the first transmission delay.
  • the sending unit 1302 is configured to send the first transmission delay to at least one source device.
  • control center determines the first transmission delay and sends the first transmission delay to the at least one source device, and can be used to determine the allowed reception time by the at least one source device to ensure the target receiving device and the source device. Synchronization between.
  • control center may be a separate device, or the control center may be deployed in one source device of the at least one source device, or the control center may also be deployed in at least one target device.
  • the control center can be a module of a source device.
  • the control center can be a module of a target device.
  • control center 1300 can be deployed in one of the at least one source device.
  • control center 1300 can be deployed in one of the at least one target device.
  • control center 1300 may further include a receiving unit, configured to receive the at least one second transmission delay sent by the at least one source device or the at least one target device.
  • the determining unit 1301 is specifically configured to determine the first transmission delay according to the at least one second transmission delay.
  • the determining unit 1301 is specifically configured to use a maximum value of the at least one second transmission delay as the first transmission delay.
  • the receiving unit is configured to receive a difference sent by the first target device in the at least one target device.
  • the determining unit 1301 is further configured to update the first transmission delay according to the difference. Specifically, the determining unit 1301 may determine the sum of the difference value and the first transmission delay as the updated first transmission delay.
  • the determining unit 1301 may be implemented by a processor
  • the sending unit 1302 may be implemented by a transmitter
  • the receiving unit may be implemented by a receiver.
  • the control center 1400 can include a processor 1401, a receiver 1402, a transmitter 1403, and a memory 1404.
  • the memory 1404 can be used to store the first transmission delay described above, and can also be used to store codes and the like executed by the processor 1401.
  • control center 1400 The various components in control center 1400 are coupled together by a bus system 1405 that includes, in addition to the data bus, a power bus, a control bus, and a status signal bus.
  • bus system 1405 includes, in addition to the data bus, a power bus, a control bus, and a status signal bus.
  • control center 1300 shown in FIG. 13 or the control center 1400 shown in FIG. 14 can implement various processes implemented by the control center in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), or the like. Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
  • the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM) or a programmable read-only memory (Programmable). ROM, PROM), Erasable PROM (EPROM), Electrically Erasable Programmable Read Only Memory (EEPROM) or Flash Memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM).
  • SDRAM Double Data Rate SDRAM
  • DDR SDRAM Double Data Rate SDRAM
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Connection Dynamic Random Access Memory
  • DR RAM direct memory bus random access memory
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed 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 of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Abstract

Embodiments of the present invention provide a method for synchronization, comprising: a source device determines a reception-allowed moment when transmitting data, wherein the reception-allowed moment is obtained by adding a first transmission delay to the current moment; and the source device transmits a data packet to at least one target device, wherein the data packet comprises the reception-allowed moment and the data. In the embodiments of the present invention, the source device transmits the reception-allowed moment to the at least one target device while transmitting the data, so as to ensure that the at least one target device receives the data sent by the source device at the designated reception-allowed moment, such that transmitting/receiving synchronization between a source device and a target device can be implemented. Moreover, if there are a plurality of target devices, receiving synchronization among the plurality of target devices can also be ensured.

Description

同步的方法与设备Synchronization method and device 技术领域Technical field
本发明实施例涉及通信领域,并且更具体地,涉及一种同步的方法与设备。Embodiments of the present invention relate to the field of communications, and, more particularly, to a method and apparatus for synchronization.
背景技术Background technique
现代通信系统中,存在大量的场景,源设备将数据发出去,需要目标设备能在规定的时刻收到数据,实现数据能在源设备和目标设备进行同步收发。In modern communication systems, there are a large number of scenarios. The source device sends out the data, and the target device needs to receive the data at a specified time, so that the data can be synchronously transmitted and received between the source device and the target device.
一种典型的应用是公共通用射频接口(Common Public Radio Interface,CPRI)的同向正交(In-phase Quadrature,IQ)数据在射频设备控制器(Radio Equipment Controller,REC)与射频设备(Radio Equipment,RE)之间的传输具有以上发送与接收严格同步的需求。另外一种典型的应用就是源设备发送两个相同的数据分别发送到两个目标设备,要求两个目标设备同时接收到这两个数据。A typical application is the common common radio interface (CPRI) of In-phase Quadrature (IQ) data in the Radio Equipment Controller (REC) and radio equipment (Radio Equipment). The transmission between , RE) has the requirement of strict synchronization of the above transmission and reception. Another typical application is that the source device sends two identical data to two target devices, requiring two target devices to receive the two data at the same time.
同步系统的应用非常广泛,如无线空口技术多入多出(Multi Input Multi Output,MIMO)要求,当MIMO处于单流工作模式时,多根天线同时发送相同的数据时,要求天线口的发送数据严格的时间同步。The application of the synchronization system is very extensive, such as the requirement of the multi-channel multi-output (MIMO) of the wireless air interface technology. When the MIMO is in the single-stream operation mode, when multiple antennas simultaneously transmit the same data, the transmission data of the antenna port is required. Strict time synchronization.
然而在现有技术中,实现同步的方法是与传输系统强相关的。However, in the prior art, the method of achieving synchronization is strongly related to the transmission system.
发明内容Summary of the invention
本发明实施例提供了一种同步的方法,能够实现针对任何传输系统的同步。Embodiments of the present invention provide a method for synchronization that enables synchronization for any transmission system.
第一方面,提供了一种同步的方法,包括:In a first aspect, a method of synchronization is provided, comprising:
源设备在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延;When the source device sends data, determining the allowed receiving time, the allowed receiving time is the current time plus the first transmission delay;
所述源设备向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。The source device sends a data packet to at least one target device, the data packet including the allowed reception time and the data.
本发明实施例中,源设备在发送数据时,同时将允许接收时刻发送至至少一个目标设备,这样,能够保证至少一个目标设备都在指定的允许接收时 刻再接收源设备发送的数据,能够包括源设备与目标设备之间的收发同步。并且,如果目标设备为多个时,也可以保证多个目标设备之间的接收同步。In the embodiment of the present invention, when the source device sends data, the receiving time is simultaneously transmitted to the at least one target device, so that at least one target device can ensure that the specified receiving device is allowed to receive. The data sent by the source device is received again, and can include synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
结合第一方面,在第一方面的第一种可能的实现方式中,所述源设备从控制中心接收所述第一传输时延。In conjunction with the first aspect, in a first possible implementation of the first aspect, the source device receives the first transmission delay from a control center.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述源设备接收所述至少一个目标设备发送的至少一个第二传输时延;将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。In conjunction with the first possible implementation of the first aspect, in a second possible implementation manner of the first aspect, the source device receives the at least one second transmission delay sent by the at least one target device; Transmitting at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
结合第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述源设备计算与所述至少一个目标设备对应的至少一个第二传输时延;将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。In conjunction with the first possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the source device calculates at least one second transmission delay corresponding to the at least one target device; The at least one second transmission delay is sent to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
本发明实施例中,由控制中心确定第一传输时延并将所述第一传输时延发送至源设备,这样能够保证系统的同步性能。In the embodiment of the present invention, the first transmission delay is determined by the control center and the first transmission delay is sent to the source device, so that the synchronization performance of the system can be ensured.
第二方面,提供了一种同步的方法,包括:In a second aspect, a method of synchronizing is provided, comprising:
目标设备接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据;The target device receives at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable reception time and data;
所述目标设备记录所述允许接收时刻并将所述数据进行缓存;The target device records the allowable reception time and caches the data;
所述目标设备在所述允许接收时刻提取所述缓存的数据。The target device extracts the cached data at the time of allowing reception.
本发明实施例中,目标设备在接收数据的同时接收到源设备设定的允许接收时刻,这样,目标设备可以在允许接收时刻接收数据,能够保证与源设备的同步。In the embodiment of the present invention, the target device receives the allowed receiving time set by the source device while receiving the data, so that the target device can receive data at the time of allowing the receiving, and can ensure synchronization with the source device.
结合第二方面,在第二方面的第一种可能的实现方式中,如果当前时刻超过所述允许接收时刻,记录所述当前时刻与所述允许接收时刻的差值;将所述数据包丢弃;将所述差值发送至控制中心,以便所述控制中心根据所述差值更新第一传输时延。With reference to the second aspect, in a first possible implementation manner of the second aspect, if the current time exceeds the allowed receiving time, the difference between the current time and the allowed receiving time is recorded; and the data packet is discarded. Transmitting the difference to a control center such that the control center updates the first transmission delay based on the difference.
这样,若由于时延过长导致目标设备无法在允许接收时刻接收数据,那么目标设备将该当前接收时刻与允许接收时刻的差值发送至控制中心,从而使得控制中心能够对第一接收时延进行调整更新,这样能够保证同步的性能。In this way, if the target device cannot receive data at the time of allowing reception due to the excessive delay, the target device sends the difference between the current receiving time and the allowed receiving time to the control center, so that the control center can perform the first receiving delay. Make adjustments and updates to ensure synchronization performance.
第三方面,提供了一种同步的方法,包括: In a third aspect, a method of synchronizing is provided, comprising:
控制中心确定第一传输时延;The control center determines the first transmission delay;
所述控制中心将所述第一传输时延发送到至少一个源设备。The control center transmits the first transmission delay to at least one source device.
本发明实施例中,控制中心确定第一传输时延并将第一传输时延发送到至少一个源设备,能够用于由至少一个源设备确定允许接收时刻,以保证目标接收设备与源设备之间的同步。In the embodiment of the present invention, the control center determines the first transmission delay and sends the first transmission delay to the at least one source device, and can be used to determine the allowed reception time by the at least one source device to ensure the target receiving device and the source device. Synchronization between.
结合第三方面,在第三方面的第一种可能的实现方式中,控制中心接收至少一个源设备或至少一个目标设备发送的至少一个第二传输时延;确定第一传输时延,包括:根据所述至少一个第二传输时延确定所述第一传输时延。With reference to the third aspect, in a first possible implementation manner of the third aspect, the control center receives the at least one second transmission delay that is sent by the at least one source device or the at least one target device; determining the first transmission delay includes: Determining the first transmission delay according to the at least one second transmission delay.
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,将所述至少一个第二传输时延中的最大值作为所述第一传输时延。In conjunction with the first possible implementation of the third aspect, in a second possible implementation of the third aspect, a maximum value of the at least one second transmission delay is used as the first transmission delay.
控制中心将最大值作为第一传输时延,能够确定多个源设备与多个目标设备之间的同步。The control center uses the maximum value as the first transmission delay, and can determine synchronization between multiple source devices and multiple target devices.
结合第三方面,在第三方面的第三种可能的实现方式中,所述控制中心部署在所述至少一个源设备中的一个源设备中;或者,所述控制中心部署在至少一个目标设备中的一个目标设备中。With reference to the third aspect, in a third possible implementation manner of the third aspect, the control center is deployed in one of the at least one source device; or the control center is deployed in the at least one target device In a target device.
将控制中心部署在源设备或目标设备中,这样能够提高系统的紧凑性,从而能够节省系统的成本。Deploying the control center in a source or target device can increase the system's compactness and save system cost.
可见,控制中心可以获取系统的时延信息,并根据系统的时延信息确定第一传输时延,这样能够保证控制中心对系统的同步的总控制功能,进而能够保障系统的同步性能。It can be seen that the control center can obtain the delay information of the system, and determine the first transmission delay according to the delay information of the system, so as to ensure the total control function of the synchronization of the control center to the system, thereby ensuring the synchronization performance of the system.
第四方面,提供了一种用于同步的设备,所述设备为源设备,包括:A fourth aspect provides a device for synchronization, where the device is a source device, including:
确定单元,用于在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延;a determining unit, configured to determine, when the data is sent, an allowed receiving time, where the allowed receiving time is a current time plus a first transmission delay;
发送单元,用于向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。And a sending unit, configured to send a data packet to the at least one target device, where the data packet includes the allowed receiving moment and the data.
该用于同步的设备用于实现上述第一方面或者任一实现方式中所述的方法。The device for synchronizing is used to implement the method described in the first aspect or any of the implementations described above.
第五方面,提供了一种用于同步的设备,所述设备为目标设备,包括:A fifth aspect provides a device for synchronization, where the device is a target device, including:
接收单元,用于接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据; a receiving unit, configured to receive at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable receiving time and data;
处理单元,用于记录所述允许接收时刻并将所述数据进行缓存;a processing unit, configured to record the allowed receiving moment and cache the data;
所述处理单元,还用于在所述允许接收时刻提取所述缓存的数据。The processing unit is further configured to extract the cached data at the time of allowing reception.
该用于同步的设备用于实现上述第二方面或者任一实现方式中所述的方法。The device for synchronizing is used to implement the method described in the second aspect or any of the implementations described above.
第六方面,提供了一种用于同步的设备,所述设备为控制中心,包括:A sixth aspect provides a device for synchronization, where the device is a control center, including:
确定单元,用于确定第一传输时延;a determining unit, configured to determine a first transmission delay;
发送单元,用于将所述第一传输时延发送到至少一个源设备。And a sending unit, configured to send the first transmission delay to the at least one source device.
该用于同步的设备用于实现上述第三方面或者任一实现方式中所述的方法。The device for synchronizing is used to implement the method described in the third aspect or any of the implementations described above.
第七方面,提供了一种用于同步的设备,所述设备为源设备,包括:A seventh aspect provides a device for synchronization, where the device is a source device, including:
处理器,用于在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延;a processor, configured to determine a time limit for allowing reception when transmitting data, where the allowed receiving time is a current time plus a first transmission delay;
发送器,用于向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。And a transmitter, configured to send a data packet to the at least one target device, where the data packet includes the allowed reception time and the data.
该用于同步的设备用于实现上述第一方面或者任一实现方式中所述的方法。The device for synchronizing is used to implement the method described in the first aspect or any of the implementations described above.
第八方面,提供了一种用于同步的设备,所述设备为目标设备,包括:In an eighth aspect, a device for synchronization is provided, where the device is a target device, including:
接收器,用于接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据;a receiver, configured to receive at least one data packet sent by at least one source device, where each of the at least one data packet includes an allowable receiving time and data;
处理器,用于记录所述允许接收时刻并将所述数据进行缓存;a processor, configured to record the allowed reception time and cache the data;
所述处理器,还用于在所述允许接收时刻提取所述缓存的数据。The processor is further configured to extract the cached data at the time of allowing reception.
该用于同步的设备用于实现上述第二方面或者任一实现方式中所述的方法。The device for synchronizing is used to implement the method described in the second aspect or any of the implementations described above.
第九方面,提供了一种用于同步的设备,所述设备为控制中心,包括:A ninth aspect provides a device for synchronization, where the device is a control center, including:
处理器,用于确定第一传输时延;a processor, configured to determine a first transmission delay;
发送器,用于将所述第一传输时延发送到至少一个源设备。And a transmitter, configured to send the first transmission delay to at least one source device.
该用于同步的设备用于实现上述第三方面或者任一实现方式中所述的方法。The device for synchronizing is used to implement the method described in the third aspect or any of the implementations described above.
第十方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得源设备执行上述第一方面,及其各种实现方式中的任一种同步的方法。 In a tenth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program that causes the source device to perform the first aspect described above, and any of its various implementations are synchronized method.
第十一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得目标设备执行上述第二方面,及其各种实现方式中的任一种同步的方法。In an eleventh aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program causing a target device to perform the second aspect described above, and synchronizing any of the various implementations thereof Methods.
第十二方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有程序,所述程序使得控制中心执行上述第三方面,及其各种实现方式中的任一种同步的方法。In a twelfth aspect, a computer readable storage medium is provided, the computer readable storage medium storing a program causing a control center to perform the third aspect described above, and synchronizing any of the various implementations thereof Methods.
可选地,本发明实施例中,源设备与目标设备之间的传输网络为TDM网络,所述允许接收时刻携带在TDM帧结构中。Optionally, in the embodiment of the present invention, the transmission network between the source device and the target device is a TDM network, and the allowed reception time is carried in the TDM frame structure.
可选地,本发明实施例中,源设备与目标设备之间的传输网络为分组网络,所述允许接收时刻携带在分组帧结构中。Optionally, in the embodiment of the present invention, the transmission network between the source device and the target device is a packet network, and the allowed reception time is carried in the packet frame structure.
本发明实施例中,源设备在发送数据时,同时将允许接收时刻发送至至少一个目标设备,这样,能够保证至少一个目标设备都在指定的允许接收时刻再接收源设备发送的数据,能够包括源设备与目标设备之间的收发同步。并且,如果目标设备为多个时,也可以保证多个目标设备之间的接收同步。In the embodiment of the present invention, when the source device sends data, the receiving time is simultaneously sent to the at least one target device, so that the at least one target device can receive the data sent by the source device at the specified allowed receiving time, which can include Synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, other drawings may be obtained from those skilled in the art without any inventive labor.
图1是本发明一个实施例的同步的方法的流程图。1 is a flow chart of a method of synchronization in accordance with one embodiment of the present invention.
图2是本发明一个实施例的源设备发送的数据包的示意图。2 is a schematic diagram of a data packet sent by a source device according to an embodiment of the present invention.
图3是本发明一个实施例的场景示意图。FIG. 3 is a schematic diagram of a scenario of an embodiment of the present invention.
图4是本发明另一个实施例的同步的方法的流程图。4 is a flow chart of a method of synchronization in accordance with another embodiment of the present invention.
图5是本发明另一个实施例的同步的方法的流程图。Figure 5 is a flow diagram of a method of synchronization in accordance with another embodiment of the present invention.
图6是本发明一个实施例的同步的方法的流程交互图。6 is a flow diagram of a process of synchronization in accordance with an embodiment of the present invention.
图7是本发明另一个实施例的场景示意图。FIG. 7 is a schematic diagram of a scenario of another embodiment of the present invention.
图8是本发明另一个实施例的同步的方法的流程交互图。8 is a flow diagram of a process of synchronization in accordance with another embodiment of the present invention.
图9是本发明一个实施例的用于同步的设备的框图。Figure 9 is a block diagram of an apparatus for synchronization in accordance with one embodiment of the present invention.
图10是本发明另一个实施例的用于同步的设备的框图。Figure 10 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
图11是本发明另一个实施例的用于同步的设备的框图。 Figure 11 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
图12是本发明另一个实施例的用于同步的设备的框图。Figure 12 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
图13是本发明另一个实施例的用于同步的设备的框图。Figure 13 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention.
图14是本发明另一个实施例的用于同步的设备的框图。Figure 14 is a block diagram of an apparatus for synchronization in accordance with another 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 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 creative efforts are within the scope of the present invention.
应注意,本发明实施例中,源设备、目标设备、控制中心可以为任何一个具有发送和接收功能的设备,例如,可以为以下任意一种:基站、用户设备(User Equipment,UE)、转发设备、控制器等。本发明对此不作限定。It should be noted that, in the embodiment of the present invention, the source device, the target device, and the control center may be any device that has a function of sending and receiving, for example, may be any one of the following: a base station, a user equipment (User Equipment, UE), and a forwarding device. Equipment, controllers, etc. The invention is not limited thereto.
图1是本发明一个实施例的同步的方法。图1所示的方法包括:1 is a method of synchronization in accordance with one embodiment of the present invention. The method shown in Figure 1 includes:
S101,源设备在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延。S101. The source device determines, when the data is sent, the allowed receiving time, where the allowed receiving time is the current time plus the first transmission delay.
S102,所述源设备向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。S102. The source device sends a data packet to at least one target device, where the data packet includes the allowed receiving moment and the data.
本发明实施例中,源设备在发送数据时,同时将允许接收时刻发送至至少一个目标设备,这样,能够保证至少一个目标设备都在指定的允许接收时刻再接收源设备发送的数据,能够包括源设备与目标设备之间的收发同步。并且,如果目标设备为多个时,也可以保证多个目标设备之间的接收同步。In the embodiment of the present invention, when the source device sends data, the receiving time is simultaneously sent to the at least one target device, so that the at least one target device can receive the data sent by the source device at the specified allowed receiving time, which can include Synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
这里,允许接收时刻(Licensed Time,LT)是源设备为目标设备指定的接收时刻。举例来说,如图2所示为源设备发送的数据的一例。针对图2(1),在S101中,源设备在发送DATA1时,确定允许接收时刻为LT1,这里,LT1=发送DATA1的当前时刻+第一传输时延。进一步地,在S102中,源设备发送如图2(1)所示的数据包。针对图2(2),源设备分别确定DATA1、DATA2和DATA3的允许接收时刻为LT1、LT2和LT3。进一步地,源设备发送如图2(2)所示的数据包。Here, the allowed time (LT) is the reception time specified by the source device for the target device. For example, as shown in FIG. 2, an example of data transmitted by a source device. With respect to FIG. 2(1), in S101, when the source device transmits DATA1, it determines that the allowable reception time is LT1, where LT1=the current time of transmitting DATA1+the first transmission delay. Further, in S102, the source device transmits the data packet as shown in FIG. 2(1). For FIG. 2(2), the source device determines the allowable reception times of DATA1, DATA2, and DATA3 as LT1, LT2, and LT3, respectively. Further, the source device transmits the data packet as shown in FIG. 2 (2).
也就是说,当源设备有数据要发送时,首先在数据发送的当前时刻的基础上确定允许接收时刻,并将所确定的允许接收时刻伴随着数据一起发送出去。 That is to say, when the source device has data to transmit, it first determines the allowable reception time based on the current time of data transmission, and transmits the determined allowed reception time along with the data.
其中,允许接收时刻可以携带在数据包的特定的字段中。The allowable reception time can be carried in a specific field of the data packet.
本发明实施例中,源设备可以通过传输系统向至少一个目标设备发送数据,其中传输系统也可以称为传输网络。如图3所示,包括M个源设备(源设备111至源设备M 12),N个目标设备(目标设备121至目标设备N 22),传输系统10,另外还包括控制中心30。其中,M和N为正整数。In the embodiment of the present invention, the source device may send data to the at least one target device through the transmission system, where the transmission system may also be referred to as a transmission network. As shown in FIG. 3, M source devices (source device 111 to source device M 12), N target devices (target device 121 to target device N 22), transmission system 10, and control center 30 are further included. Where M and N are positive integers.
也就是说,本发明实施例中,可以包括一个或多个源设备,可以包括一个或多个目标设备。That is, in the embodiment of the present invention, one or more source devices may be included, and one or more target devices may be included.
可选地,若源设备与至少一个目标设备之间的传输网络为时分复用(Time Division Multiplexing,TDM)网络,那么该允许接收时刻可以携带在TDM帧结构中。举例来说,TDM网络可以为E1TDM或者同步数字体系(Synchronous Digital Hierarchy,SDH)。Optionally, if the transmission network between the source device and the at least one target device is a Time Division Multiplexing (TDM) network, the allowed reception time may be carried in the TDM frame structure. For example, the TDM network can be an E1TDM or a Synchronous Digital Hierarchy (SDH).
可选地,若源设备与至少一个目标设备之间的传输网络为分组网络,那么该允许接收时刻可以携带在分组帧结构中。举例来说,分组网络可以为互联网协议(Internet Protocol,IP)网络或以太网络。Optionally, if the transmission network between the source device and the at least one target device is a packet network, the allowed reception time may be carried in the packet frame structure. For example, the packet network can be an Internet Protocol (IP) network or an Ethernet network.
可选地,若源设备与至少一个目标设备之间的传输网络为光纤直传网络,那么该允许接收时刻可以携带在相应的帧结构中。举例来说,光纤直传网络可以为波分复用(Wavelength Division Multiplexing,WDM)网络。Optionally, if the transmission network between the source device and the at least one target device is a fiber direct transmission network, the allowed reception time may be carried in a corresponding frame structure. For example, the optical fiber direct transmission network may be a Wavelength Division Multiplexing (WDM) network.
可见,本发明实施例的同步的方法与传输系统无关。在S102的过程中,只需将允许接收时刻的信息携带在相应的字段中即可。It can be seen that the synchronization method of the embodiment of the present invention is independent of the transmission system. In the process of S102, it is only necessary to carry the information of the allowed reception time in the corresponding field.
可理解,本发明实施例中的同步的方法能够应用于有线网络或者无线网络,能够应用于传输协议的任何一个层次(如IP层、MAC层),能够应用到4G、5G等移动网络的MIMO等广泛应用的网络,突破技术障碍。It can be understood that the synchronization method in the embodiment of the present invention can be applied to a wired network or a wireless network, and can be applied to any layer of a transmission protocol (such as an IP layer and a MAC layer), and can be applied to MIMO of a mobile network such as 4G and 5G. Such a wide range of applications, breaking through technical barriers.
这样,目标设备在接收到数据包之后,可以先将数据包进行缓存,并登记数据包中所包括的允许接收时刻。随后在该允许接收时刻再从缓存中提取数据。In this way, after receiving the data packet, the target device may first cache the data packet and register the allowed reception time included in the data packet. Data is then extracted from the cache at the time of the allowed reception.
本发明实施例中,第一传输时延也可以称为可获得传输时延,是指源设备传输到目标设备允许有多大的传输时延。这里,第一传输时延可以是预存储在源设备中的。In the embodiment of the present invention, the first transmission delay may also be referred to as an available transmission delay, which refers to how much transmission delay the source device transmits to the target device. Here, the first transmission delay may be pre-stored in the source device.
可选地,第一传输时延可以是源设备从控制中心接收到的。那么,可理解,在S101之前,还可包括:从控制中心接收所述第一传输时延。Alternatively, the first transmission delay may be received by the source device from the control center. Then, it can be understood that, before S101, the method further includes: receiving, by the control center, the first transmission delay.
其中,源设备可以定时地或者周期性地从控制中心接收第一传输时延。 这样,可以动态地跟踪传输系统的变化。可理解,源设备接收到新的第一传输时延时,替换先前接收到的旧的第一传输时延。The source device may receive the first transmission delay from the control center periodically or periodically. In this way, changes in the transmission system can be dynamically tracked. It can be understood that the source device receives the new first transmission time delay and replaces the previously received old first transmission delay.
可选地,作为一个实施例,在从控制中心接收所述第一传输时延之前,源设备可以计算与所述至少一个目标设备对应的至少一个第二传输时延,并将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。Optionally, as an embodiment, before receiving the first transmission delay from the control center, the source device may calculate at least one second transmission delay corresponding to the at least one target device, and the at least one The second transmission delay is sent to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
其中,控制中心可以将至少一个第二传输时延中的最大值确定为第一传输时延。或者,如果控制中心接收至少一个源设备中的每个源设备发送的至少一个第二传输时延,那么,控制中心可以将所接收到的所有的第二传输时延中的最大值作为第一传输时延。The control center may determine the maximum value of the at least one second transmission delay as the first transmission delay. Alternatively, if the control center receives at least one second transmission delay sent by each of the at least one source device, the control center may use the maximum value of all the received second transmission delays as the first Transmission delay.
其中,至少一个第二传输时延可以是与至少一个目标设备一一对应的。源设备计算与所述至少一个目标设备对应的至少一个第二传输时延,可以包括:源设备计算与每个目标设备对应的第二传输时延。The at least one second transmission delay may be in one-to-one correspondence with the at least one target device. The source device calculates the at least one second transmission delay corresponding to the at least one target device, and may include: the source device calculates a second transmission delay corresponding to each target device.
例如,对于至少一个目标设备中的第一目标设备,源设备计算与第一目标设备对应的第二传输时延可以包括:源设备通过测量计算确定与第一目标设备对应的第二传输时延。举例来说,源设备可以记录发送数据包P1的时刻为t1,第一目标设备接收数据包P1的时刻(第一目标设备向源设备反馈该接收的时刻)为t2,那么,源设备可以计算第一目标设备的传输时延为t2-t1。For example, for the first target device in the at least one target device, the source device calculating the second transmission delay corresponding to the first target device may include: determining, by the measurement, the second transmission delay corresponding to the first target device . For example, the source device may record that the time when the data packet P1 is sent is t1, and the time when the first target device receives the data packet P1 (the time when the first target device feeds back the received information to the source device) is t2, then the source device may calculate The transmission delay of the first target device is t2-t1.
再例如,对于至少一个目标设备中的第一目标设备,源设备计算与第一目标设备对应的第二传输时延可以包括:统计在预设时间段内与第一目标设备之间的所有传输时延,将所述所有传输时延中的最大值作为与所述第一目标设备对应的第二传输时延。这里,预设时间段是源设备在统计的当前时刻的最近的时间段,例如,假设源设备统计的当前时刻是t0,预设时间段是T1,那么,源设备可以统计从t0-T1时刻至t0时刻的时间段内的所有传输时延。For another example, for the first target device in the at least one target device, the calculating, by the source device, the second transmission delay corresponding to the first target device may include: counting all transmissions with the first target device within the preset time period. The delay, the maximum value of all the transmission delays is used as the second transmission delay corresponding to the first target device. Here, the preset time period is the latest time period of the source device at the current time of the statistics. For example, if the current time counted by the source device is t0 and the preset time period is T1, the source device can count the time from t0-T1. All transmission delays in the time period up to time t0.
其中,源设备将至少一个第二传输时延发送至控制中心,可以包括:源设备将至少一个第二传输时延直接发送至控制中心;或者,可以包括:源设备将至少一个第二传输时延间接发送至控制中心。例如,源设备可以将至少一个第二传输时延发送至所述至少一个目标设备中的第二目标设备,以便所述第二目标设备将所述至少一个第二传输时延转发至所述控制中心。 The sending, by the source device, the at least one second transmission delay to the control center may include: the source device directly sending the at least one second transmission delay to the control center; or the method may include: the source device transmitting the at least one second transmission The extension is sent indirectly to the control center. For example, the source device may send the at least one second transmission delay to the second target device of the at least one target device, so that the second target device forwards the at least one second transmission delay to the control center.
可选地,源设备可以定时或者周期性地将计算至少一个第二传输时延并将至少一个第二传输时延发送至控制中心。Optionally, the source device may calculate the at least one second transmission delay and send the at least one second transmission delay to the control center periodically or periodically.
可选地,作为一个实施例,在从控制中心接收所述第一传输时延之前,源设备可以接收所述至少一个目标设备发送的至少一个第二传输时延;将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。Optionally, as an embodiment, before receiving the first transmission delay from the control center, the source device may receive the at least one second transmission delay sent by the at least one target device; and the at least one second The transmission delay is sent to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
其中,至少一个第二传输时延是与至少一个目标设备一一对应的,可以是分别由对应的目标设备计算得到的。The at least one second transmission delay is one-to-one corresponding to the at least one target device, and may be respectively calculated by the corresponding target device.
这样,通过图1所示的方法,能够实现源设备与至少一个目标设备,至少一个目标设备之间的同步。Thus, by the method shown in FIG. 1, synchronization between the source device and at least one target device, at least one target device, can be achieved.
图4是本发明另一个实施例的同步的方法。图4所示的方法包括:4 is a method of synchronization of another embodiment of the present invention. The method shown in Figure 4 includes:
S401,目标设备接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据。S401. The target device receives at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable reception time and data.
S402,所述目标设备记录所述允许接收时刻并将所述数据进行缓存。S402. The target device records the allowed reception time and caches the data.
S403,所述目标设备在所述允许接收时刻提取所述缓存的数据。S403. The target device extracts the cached data at the time of allowing reception.
本发明实施例中,目标设备在接收数据的同时接收到源设备设定的允许接收时刻,这样,目标设备可以在允许接收时刻接收数据,能够保证与源设备的同步。In the embodiment of the present invention, the target device receives the allowed receiving time set by the source device while receiving the data, so that the target device can receive data at the time of allowing the receiving, and can ensure synchronization with the source device.
其中,允许接收时刻可以携带在数据包的特定的字段中。The allowable reception time can be carried in a specific field of the data packet.
可选地,若源设备与目标设备之间的传输网络为时分复用(Time Division Multiplexing,TDM)网络,那么该允许接收时刻可以携带在TDM帧结构中。举例来说,TDM网络可以为E1TDM或者同步数字体系(Synchronous Digital Hierarchy,SDH)。Optionally, if the transmission network between the source device and the target device is a Time Division Multiplexing (TDM) network, the allowed reception time may be carried in the TDM frame structure. For example, the TDM network can be an E1TDM or a Synchronous Digital Hierarchy (SDH).
可选地,若源设备与目标设备之间的传输网络为分组网络,那么该允许接收时刻可以携带在分组帧结构中。举例来说,分组网络可以为互联网协议(Internet Protocol,IP)网络或以太网络。Optionally, if the transmission network between the source device and the target device is a packet network, the allowed reception time may be carried in the packet frame structure. For example, the packet network can be an Internet Protocol (IP) network or an Ethernet network.
可选地,若源设备与目标设备之间的传输网络为光纤直传网络,那么该允许接收时刻可以携带在相应的帧结构中。举例来说,光纤直传网络可以为波分复用(Wavelength Division Multiplexing,WDM)网络。Optionally, if the transmission network between the source device and the target device is a fiber direct transmission network, the allowed reception time may be carried in a corresponding frame structure. For example, the optical fiber direct transmission network may be a Wavelength Division Multiplexing (WDM) network.
可见,本发明实施例的同步的方法与传输系统无关。在S401的过程中,允许接收时刻的信息只需携带在相应的字段中即可。 It can be seen that the synchronization method of the embodiment of the present invention is independent of the transmission system. In the process of S401, the information of the allowed time of reception is only required to be carried in the corresponding field.
本发明实施例中,允许接收时刻是至少一个源设备所确定的。至少一个源设备可以根据从控制中心接收到的第一传输时延确定允许接收时刻。In the embodiment of the present invention, the allowed receiving time is determined by at least one source device. The at least one source device may determine the allowable reception time based on the first transmission delay received from the control center.
可选地,在S401之前,还可以包括:计算与所述至少一个源设备之间的至少一个第二传输时延;将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。Optionally, before S401, the method further includes: calculating at least one second transmission delay between the at least one source device; and sending the at least one second transmission delay to the control center, so that the control The center determines the first transmission delay according to the at least one second transmission delay.
其中,目标设备可以统计在预设时间段内与所述至少一个源设备中的第一源设备之间的所有传输时延;将所述所有传输时延中的最大值作为与所述第一源设备对应的第二传输时延。The target device may count all transmission delays between the preset source and the first source device in the at least one source device; and use the maximum value of all the transmission delays as the first The second transmission delay corresponding to the source device.
其中,控制中心可以将至少一个第二传输时延中的最大值确定为第一传输时延。或者,如果控制中心接收至少一个目标设备中的每个目标设备发送的至少一个第二传输时延,那么,控制中心可以将所接收到的所有的第二传输时延中的最大值作为第一传输时延。The control center may determine the maximum value of the at least one second transmission delay as the first transmission delay. Alternatively, if the control center receives at least one second transmission delay sent by each of the at least one target device, the control center may use the maximum value of all the received second transmission delays as the first Transmission delay.
其中,至少一个第二传输时延可以是与至少一个源设备一一对应的。目标设备计算与所述至少一个源设备对应的至少一个第二传输时延,可以包括:目标设备计算与每个源设备对应的第二传输时延。The at least one second transmission delay may be in one-to-one correspondence with the at least one source device. The calculating, by the target device, the at least one second transmission delay corresponding to the at least one source device may include: the target device calculating a second transmission delay corresponding to each source device.
例如,对于至少一个源设备中的第一源设备,目标设备计算与第一源设备对应的第二传输时延可以包括:目标设备通过测量计算确定与第一源设备对应的第二传输时延。举例来说,第一源设备可以在发送的数据包P1中同时携带其发送的时刻为t1,目标设备记录接收数据包P1的时刻为t2,那么,目标设备可以计算第一源设备的传输时延为t2-t1。For example, for the first source device of the at least one source device, the target device calculating the second transmission delay corresponding to the first source device may include: determining, by the measurement device, the second transmission delay corresponding to the first source device . For example, the first source device may carry the time when the sending of the data packet P1 is t1, and the time when the target device records the received data packet P1 is t2, then the target device may calculate the transmission time of the first source device. The delay is t2-t1.
再例如,对于至少一个源设备中的第一源设备,目标设备计算与第一源设备对应的第二传输时延可以包括:统计在预设时间段内与第一源设备之间的所有传输时延,将所述所有传输时延中的最大值作为与所述第一源设备对应的第二传输时延。这里,预设时间段是目标设备在统计的当前时刻的最近的时间段,例如,假设目标设备统计的当前时刻是t0,预设时间段是T1,那么,目标设备可以统计从t0-T1时刻至t0时刻的时间段内的所有传输时延。For another example, for the first source device of the at least one source device, calculating, by the target device, the second transmission delay corresponding to the first source device may include: counting all transmissions with the first source device within the preset time period. The delay, the maximum value of all the transmission delays is used as the second transmission delay corresponding to the first source device. Here, the preset time period is the latest time period of the current time of the target device at the statistics. For example, if the current time counted by the target device is t0 and the preset time period is T1, the target device can count the time from t0-T1. All transmission delays in the time period up to time t0.
其中,目标设备将至少一个第二传输时延发送至控制中心,可以包括:目标设备将至少一个第二传输时延直接发送至控制中心;或者,可以包括:目标设备将至少一个第二传输时延间接发送至控制中心。例如,目标设备可以将至少一个第二传输时延发送至所述至少一个源设备中的第二源设备,以便所述第二源设备将所述至少一个第二传输时延转发至所述控制中心。 The sending, by the target device, the at least one second transmission delay to the control center may include: the target device directly sending the at least one second transmission delay to the control center; or the method may include: the at least one second transmission time of the target device The extension is sent indirectly to the control center. For example, the target device may send the at least one second transmission delay to the second source device of the at least one source device, so that the second source device forwards the at least one second transmission delay to the control center.
可选地,目标设备可以定时或者周期性地将计算至少一个第二传输时延并将至少一个第二传输时延发送至控制中心。这样,可以动态地跟踪传输系统的变化。Optionally, the target device may calculate the at least one second transmission delay and send the at least one second transmission delay to the control center periodically or periodically. In this way, changes in the transmission system can be dynamically tracked.
可理解,如果控制中心接收到多个目标设备的每个目标设备发送的至少一个第二传输时延,例如,控制中心接收到M个目标设备的每个目标设备发送的N个第二传输时延,那么,控制中心将M×N个第二传输时延中的最大值确定为第一传输时延。It can be understood that, if the control center receives at least one second transmission delay sent by each target device of the multiple target devices, for example, the control center receives N second transmissions sent by each target device of the M target devices. Then, the control center determines the maximum value of the M×N second transmission delays as the first transmission delay.
可选地,作为一个实施例,在S401之前,目标设备可以接收所述至少一个源设备发送的至少一个第二传输时延;将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。Optionally, as an embodiment, before S401, the target device may receive the at least one second transmission delay sent by the at least one source device, and send the at least one second transmission delay to the control center. The control center determines the first transmission delay according to the at least one second transmission delay.
其中,至少一个第二传输时延是与至少一个源设备一一对应的,可以是分别由对应的源设备计算得到的。The at least one second transmission delay is one-to-one corresponding to the at least one source device, and may be respectively calculated by the corresponding source device.
可理解,若目标设备在执行S401的当前时刻为t3,允许接收时刻为t4,并且t4位于t3之后,即t4>t3,则目标设备执行S402和S403。It can be understood that if the target device is t3 at the current time of executing S401, the allowable reception time is t4, and t4 is after t3, that is, t4>t3, the target device performs S402 and S403.
在另一种情形下,如果t4位于t3之前,即t4<t3,或者说,t4已经超过t3,那么,目标设备可将在S401所收到的数据包丢弃。也就是说,如果目标设备执行S401的当前时刻超过允许接收时刻,则将数据包丢弃。In another case, if t4 is before t3, that is, t4 < t3, or t4 has exceeded t3, the target device may discard the packet received at S401. That is, if the current time at which the target device performs S401 exceeds the allowable reception time, the data packet is discarded.
作为另一个实施例,在另一种情形下,如果t4位于t3之前,即t4<t3,或者说,t4已经超过t3,那么,目标设备可以记录所述当前时刻与所述允许接收时刻的差值并将该差值发送至控制中心,以便所述控制中心根据所述差值更新第一传输时延。然后再将数据包丢弃。也就是说,如果目标设备执行S401的当前时刻超过允许接收时刻,则记录所述当前时刻与所述允许接收时刻的差值;将所述数据包丢弃;并将所述差值发送至控制中心,以便所述控制中心根据所述差值更新第一传输时延。其中,在记录差值之后,可以先将数据包丢弃再将差值发送至控制中心;或者,在记录差值之后,可以先将差值发送至控制中心再将数据包丢弃。本发明对此不作限定。As another embodiment, in another case, if t4 is located before t3, that is, t4<t3, or t4 has exceeded t3, the target device may record the difference between the current time and the allowed reception time. The value is sent to the control center such that the control center updates the first transmission delay based on the difference. Then discard the packet. That is, if the current time at which the target device performs S401 exceeds the allowable reception time, the difference between the current time and the allowed reception time is recorded; the data packet is discarded; and the difference is sent to the control center. So that the control center updates the first transmission delay according to the difference. After the difference is recorded, the data packet may be discarded and then sent to the control center; or, after the difference is recorded, the difference may be sent to the control center before the data packet is discarded. The invention is not limited thereto.
这样,通过图4所示的方法,能够实现目标设备与至少一个源设备,至少一个源设备之间的同步。In this way, synchronization between the target device and the at least one source device, the at least one source device, can be achieved by the method shown in FIG.
图5是本发明另一个实施例的同步的方法。图5所示的方法包括:Figure 5 is a diagram of a method of synchronization in accordance with another embodiment of the present invention. The method shown in Figure 5 includes:
S501,控制中心确定第一传输时延。 S501. The control center determines a first transmission delay.
S502,所述控制中心将所述第一传输时延发送到至少一个源设备。S502. The control center sends the first transmission delay to at least one source device.
本发明实施例中,控制中心确定第一传输时延并将第一传输时延发送到至少一个源设备,能够用于由至少一个源设备确定允许接收时刻,以保证目标接收设备与源设备之间的同步。In the embodiment of the present invention, the control center determines the first transmission delay and sends the first transmission delay to the at least one source device, and can be used to determine the allowed reception time by the at least one source device to ensure the target receiving device and the source device. Synchronization between.
应注意,本发明实施例中,控制中心可以是一个独立的设备,或者,控制中心也可以部署在至少一个源设备中的一个源设备中,或者,控制中心也可以部署在至少一个目标设备中的一个目标设备中。例如,控制中心可以是一个源设备的模块。或者,控制中心可以是一个目标设备的模块。It should be noted that, in the embodiment of the present invention, the control center may be a separate device, or the control center may be deployed in one source device of the at least one source device, or the control center may also be deployed in at least one target device. In a target device. For example, the control center can be a module of a source device. Alternatively, the control center can be a module of a target device.
具体地,在S501中,控制中心可以根据至少一个第二传输时延确定第一传输时延。例如,控制中心可将所述至少一个第二传输时延中的最大值作为所述第一传输时延。那么,在S501之前,还可以包括:控制中心接收至少一个源设备或至少一个目标设备发送的至少一个第二传输时延。Specifically, in S501, the control center may determine the first transmission delay according to the at least one second transmission delay. For example, the control center may use the maximum value of the at least one second transmission delay as the first transmission delay. Then, before S501, the method further includes: the control center receiving the at least one second transmission delay sent by the at least one source device or the at least one target device.
举例来说,假设有M个源设备和N个目标设备。其中,M和N均为正整数。那么,控制中心可以接收M×N个第二传输时延,并根据M×N个第二传输时延确定第一传输时延。For example, suppose there are M source devices and N target devices. Where M and N are both positive integers. Then, the control center can receive M×N second transmission delays, and determine the first transmission delay according to M×N second transmission delays.
作为一例,每个源设备可以确定N个第二传输时延,控制中心可以接收M个源设备中的每个源设备发送的N个第二传输时延,N个第二传输时延与N个目标设备一一对应。As an example, each source device may determine N second transmission delays, and the control center may receive N second transmission delays, N second transmission delays, and Ns sent by each of the M source devices. One target device corresponds to one.
作为另一例,每个目标设备可以确定M个第二传输时延,控制中心可以接收N个目标设备中的每个目标设备发送的M个第二传输时延,M个第二传输时延与M个源设备一一对应。As another example, each target device may determine M second transmission delays, and the control center may receive M second transmission delays sent by each of the N target devices, and M second transmission delays. M source devices correspond one by one.
作为另一例,每个源设备可以确定N个第二传输时延并将所确定的第二传输时延发送至第一目标设备,控制中心可以接收第一目标设备转发的M×N个第二传输时延。As another example, each source device may determine N second transmission delays and send the determined second transmission delay to the first target device, and the control center may receive the M×N seconds forwarded by the first target device. Transmission delay.
作为另一例,M个源设备可以将各自确定的N个第二传输时延发送至不同的目标设备,控制中心可以接收不同的目标设备转发的M×N个第二传输时延。As another example, the M source devices may send the respective determined N second transmission delays to different target devices, and the control center may receive M×N second transmission delays forwarded by different target devices.
作为另一例,每个目标设备可以确定M个第二传输时延并将所确定的第二传输时延发送至第一源设备,控制中心可以接收第一源设备转发的M×N个第二传输时延。As another example, each target device may determine M second transmission delays and send the determined second transmission delay to the first source device, where the control center may receive the M×N seconds forwarded by the first source device. Transmission delay.
作为另一例,N个目标设备可以将各自确定的M个第二传输时延发送 至不同的源设备,控制中心可以接收不同的源设备转发的M×N个第二传输时延。As another example, the N target devices may send the respective determined M second transmission delays. To different source devices, the control center can receive M×N second transmission delays forwarded by different source devices.
那么,可理解,控制中心可以接收M个源设备发送的M×N个第二传输时延;或者控制中心可以接收M个源设备中的一个或多个源设备发送的M×N个第二传输时延。控制中心可以接收N个目标设备发送的M×N个第二传输时延;或者控制中心可以接收N个目标设备中的一个或多个目标设备发送的M×N个第二传输时延。本发明对此不作限定。Then, it can be understood that the control center can receive M×N second transmission delays sent by the M source devices; or the control center can receive M×N seconds sent by one or more of the M source devices. Transmission delay. The control center may receive M×N second transmission delays sent by the N target devices; or the control center may receive M×N second transmission delays sent by one or more of the N target devices. The invention is not limited thereto.
可选地,控制中心可以定时地或者周期性地接收M×N个第二传输时延并执行图5所示的方法。Alternatively, the control center may receive M×N second transmission delays periodically or periodically and perform the method illustrated in FIG. 5.
可选地,图5所示的方法还可以进一步包括:接收至少一个目标设备中的第一目标设备发送的差值;根据所述差值更新所述第一传输时延。Optionally, the method shown in FIG. 5 may further include: receiving a difference sent by the first target device in the at least one target device; and updating the first transmission delay according to the difference.
例如,可以将所述差值与所述第一传输时延的和确定为更新后的第一传输时延。For example, the sum of the difference and the first transmission delay may be determined as the updated first transmission delay.
下面以M=1,N=2为例详细说明本发明实施例的同步的方法,如图6所示,包括控制中心30、源设备11、目标设备21和目标设备22。图6所示的方法包括:The method for synchronizing the embodiment of the present invention is described in detail below by taking M=1, N=2 as an example. As shown in FIG. 6, the control center 30, the source device 11, the target device 21, and the target device 22 are included. The method shown in Figure 6 includes:
S601,目标设备21和目标设备22向控制中心30发送第二传输时延。S601, the target device 21 and the target device 22 send a second transmission delay to the control center 30.
具体地,目标设备21计算其与源设备11之间的第二传输时延T11,并将第二传输时延T11发送至控制中心30。Specifically, the target device 21 calculates the second transmission delay T11 between it and the source device 11, and transmits the second transmission delay T11 to the control center 30.
具体地,目标设备22计算其与源设备11之间的第二传输时延T12,并将第二传输时延T12发送至控制中心30。Specifically, the target device 22 calculates the second transmission delay T12 between it and the source device 11, and transmits the second transmission delay T12 to the control center 30.
可选地,目标设备21可以将第二传输时延T11发送至源设备11,再由源设备11将第二传输时延T11转发至控制中心30;和/或,目标设备22可以将第二传输时延T12发送至源设备11,再由源设备11将第二传输时延T12转发至控制中心30。Optionally, the target device 21 may send the second transmission delay T11 to the source device 11, and then the source device 11 forwards the second transmission delay T11 to the control center 30; and/or, the target device 22 may be the second The transmission delay T12 is sent to the source device 11, and the second transmission delay T12 is forwarded by the source device 11 to the control center 30.
这里,目标设备21和目标设备22计算第二传输时延的过程可以参见前述图4的实施例的相关描述,为避免重复,这里不再赘述。For the process of calculating the second transmission delay of the target device 21 and the target device 22, refer to the related description of the foregoing embodiment of FIG. 4. To avoid repetition, details are not described herein again.
应注意,本发明实施例中,S601的步骤也可以通过其他的方法替代实现。例如,可以是源设备11分别计算与目标设备21的第二传输时延T11以及与目标设备22的第二传输时延T12,并将第二传输时延T11和第二传输时延T12发送至控制中心30。再例如,可以是源设备11分别计算与目标设 备21的第二传输时延T11以及与目标设备22的第二传输时延T12,并将第二传输时延T11和第二传输时延T12发送至目标设备21或目标设备22,然后再由目标设备21或目标设备22转发至控制中心30。It should be noted that, in the embodiment of the present invention, the step of S601 may also be implemented by other methods instead. For example, the source device 11 may calculate the second transmission delay T11 with the target device 21 and the second transmission delay T12 with the target device 22, respectively, and send the second transmission delay T11 and the second transmission delay T12 to Control center 30. For another example, it may be that the source device 11 calculates and targets respectively. a second transmission delay T11 of the backup 21 and a second transmission delay T12 with the target device 22, and transmitting the second transmission delay T11 and the second transmission delay T12 to the target device 21 or the target device 22, and then Target device 21 or target device 22 forwards to control center 30.
这里,源设备11计算第二传输时延的过程可以参见前述图1的实施例的相关描述,为避免重复,这里不再赘述。For the process of calculating the second transmission delay of the source device 11, reference may be made to the related description of the foregoing embodiment of FIG. 1. To avoid repetition, details are not described herein again.
S602,控制中心确定第一传输时延。S602. The control center determines a first transmission delay.
具体地,控制中心根据在S601收到的所有的第二传输时延确定第一传输时延,例如,将所有的第二传输时延中的最大值确定为第一传输时延。Specifically, the control center determines the first transmission delay according to all the second transmission delays received at S601, for example, determining the maximum value of all the second transmission delays as the first transmission delay.
本实施例中,假设第一传输时延表示为T21。那么,若T11>T12,则T21=T11;若T11<T12,则T21=T12。In this embodiment, it is assumed that the first transmission delay is represented as T21. Then, if T11>T12, then T21=T11; if T11<T12, then T21=T12.
这里,第一传输时延也可以称为可获得传输时延。可理解,本发明实施例中,控制中心主要用于负责产生可获得传输时延。Here, the first transmission delay may also be referred to as an available transmission delay. It can be understood that, in the embodiment of the present invention, the control center is mainly used to generate an available transmission delay.
S603,控制中心将第一传输时延T21发送至源设备11。S603. The control center sends the first transmission delay T21 to the source device 11.
其中,源设备11接收并保存该第一传输时延T21。可理解,若在S603之前,源设备11中以及存储有第一传输时延,那么,在S603之后,源设备11将先前所存储的第一传输时延替换为S603中接收到的第一传输时延T21。The source device 11 receives and saves the first transmission delay T21. It can be understood that, if the first transmission delay is stored in the source device 11 and before the S603, the source device 11 replaces the previously stored first transmission delay with the first transmission received in S603 after S603. The delay is T21.
S604,源设备11在发送数据时,确定允许接收时刻t11。S604. When transmitting the data, the source device 11 determines the allowable reception time t11.
例如,假设源设备11在要发送数据(DATA)时的当前时刻为t0,则源设备11可确定允许接收时刻t11=t0+T21。也就是说,允许接收时刻为当前时刻加第一传输时延。For example, assuming that the current time of the source device 11 when data (DATA) is to be transmitted is t0, the source device 11 can determine the allowable reception time t11=t0+T21. That is to say, the receiving time is allowed to add the first transmission delay to the current time.
本实施例中的S604可以参见前述图1的实施例中S101的描述,为避免重复,这里不再赘述。For the S604 in this embodiment, refer to the description of S101 in the foregoing embodiment of FIG. 1. To avoid repetition, details are not described herein again.
S605,源设备11将数据包发送至目标设备21和目标设备22,其中,数据包包括允许接收时刻与数据。S605, the source device 11 sends the data packet to the target device 21 and the target device 22, wherein the data packet includes an admission time and data.
例如,如图7所示,源设备11可以将允许接收时刻t11写入数据(DATA)所在的数据包之后再发送。For example, as shown in FIG. 7, the source device 11 may transmit the data packet in which the data (DATA) is allowed to be received at the time t11.
本实施例中的S605可以参见前述图1的实施例中S102的描述,为避免重复,这里不再赘述。For the S605 in this embodiment, refer to the description of S102 in the foregoing embodiment of FIG. 1. To avoid repetition, details are not described herein again.
S606,目标设备21和目标设备22记录数据包中的允许接收时刻t11并将数据缓存。At S606, the target device 21 and the target device 22 record the allowable reception time t11 in the data packet and buffer the data.
例如,若目标设备21在t21时刻接收到数据包,且目标设备21处的时 钟还未过允许接收时刻t11,则目标设备21记录数据包中的允许接收时刻t11并将数据缓存。若目标设备22在t22时刻接收数据包,且目标设备22处的时钟还未过允许接收时刻t11,则目标设备22记录数据包中的允许接收时刻t11并将数据缓存。应注意,目标设备21和目标设备22接收数据包的时刻可以相同或不同,即t21=t22或者t21≠t22,本发明对此不限定。For example, if the target device 21 receives the data packet at time t21 and is at the target device 21 The clock has not passed the allowable reception time t11, and the target device 21 records the allowable reception time t11 in the data packet and buffers the data. If the target device 22 receives the data packet at time t22, and the clock at the target device 22 has not passed the allowable reception time t11, the target device 22 records the allowable reception time t11 in the data packet and buffers the data. It should be noted that the time at which the target device 21 and the target device 22 receive the data packet may be the same or different, that is, t21=t22 or t21≠t22, which is not limited by the present invention.
本实施例中的S606可以参见前述图4的实施例中S402的描述,为避免重复,这里不再赘述。For the S606 in this embodiment, refer to the description of S402 in the foregoing embodiment of FIG. 4. To avoid repetition, details are not described herein again.
S607,目标设备21和目标设备22在允许接收时刻t11从缓存中提取数据。At S607, the target device 21 and the target device 22 extract data from the cache at the time of receiving reception t11.
具体地,当目标设备21和目标设备22的时钟到达t11时,从缓存中读取数据,这样能够实现源设备11、目标设备21和目标设备22的同步。Specifically, when the clocks of the target device 21 and the target device 22 reach t11, data is read from the cache, which enables synchronization of the source device 11, the target device 21, and the target device 22.
本实施例中的S607可以参见前述图4的实施例中S403的描述,为避免重复,这里不再赘述。For the S607 in this embodiment, refer to the description of S403 in the foregoing embodiment of FIG. 4. To avoid repetition, details are not described herein again.
另一方面,本发明实施例中,目标设备21和/或目标设备22可以设置容错方案。例如,若目标设备21接收数据包的时刻t21已经超过了允许接收时刻t11,那么目标设备21可将数据包进行丢弃。On the other hand, in the embodiment of the present invention, the target device 21 and/or the target device 22 may be provided with a fault tolerance scheme. For example, if the time t21 at which the target device 21 receives the data packet has exceeded the allowable reception time t11, the target device 21 may discard the data packet.
或者,如图8所示,以目标设备21为例,在S605之后可以执行S608。Alternatively, as shown in FIG. 8, taking the target device 21 as an example, S608 may be performed after S605.
S608,若目标设备21接收数据包的时刻t21已经超过了允许接收时刻t11,那么目标设备21可以计算t21与t11的差值。S608, if the time t21 at which the target device 21 receives the data packet has exceeded the allowable reception time t11, the target device 21 can calculate the difference between t21 and t11.
可理解,该差值为t21-t11。It can be understood that the difference is t21-t11.
S609,目标设备21将数据包丢弃。S609, the target device 21 discards the data packet.
S610,目标设备21将差值发送至控制中心30。S610, the target device 21 sends the difference to the control center 30.
其中,S610可以在S609之前或之后执行,或者,S610也可以与S609同时执行。The S610 may be executed before or after S609, or S610 may be executed simultaneously with S609.
S611,控制中心30根据差值更新第一传输时延。S611. The control center 30 updates the first transmission delay according to the difference.
具体地,控制中心30将第一传输时刻T21与差值t21-t11的和T21+t21-t11确定为更新后的第一传输时延。Specifically, the control center 30 determines the sum of the first transmission time T21 and the difference t21-t11, T21+t21-t11, as the updated first transmission delay.
S612,控制中心30将更新后的第一传输时延T21+t21-t11发送至源设备11。S612. The control center 30 transmits the updated first transmission delay T21+t21-t11 to the source device 11.
S613,源设备11将原先存储的第一传输时延T21替换为更新后的第一传输时延T21+t21-t11。 In S613, the source device 11 replaces the originally stored first transmission delay T21 with the updated first transmission delay T21+t21-t11.
这样,控制中心30能够及时地更新第一传输时延,进而能够保证各个源设备与目标设备之间的同步。In this way, the control center 30 can update the first transmission delay in time, thereby ensuring synchronization between the respective source devices and the target device.
可理解,对目标设备22来说,若目标设备22接收数据包的时刻t22已经超过了允许接收时刻t11,那么目标设备22可将数据包进行丢弃。或者,执行与图8类似的过程,为避免重复,这里不再赘述。It can be understood that, for the target device 22, if the time t22 at which the target device 22 receives the data packet has exceeded the allowable reception time t11, the target device 22 can discard the data packet. Alternatively, a process similar to that of FIG. 8 is performed, and to avoid repetition, details are not described herein again.
应注意,本发明实施例中的同步的方法也可以应用于具有级连关系的多个目标设备之间的同步。例如,源设备将包括允许接收时刻和数据的数据包发送至第一目标设备,第一目标设备再将数据包缓存复制后发送至第二目标设备。这样,第一目标设备和第二目标设备都在允许接收时刻读取所述数据,从而能够实现具有级连关系的第一目标设备和第二目标设备与源设备的同步。It should be noted that the method of synchronization in the embodiment of the present invention can also be applied to synchronization between a plurality of target devices having a cascade relationship. For example, the source device will include a data packet that allows the reception time and data to be sent to the first target device, and the first target device then copies the data packet and sends it to the second target device. In this way, both the first target device and the second target device read the data at the time of allowing reception, thereby enabling synchronization of the first target device and the second target device having the cascade relationship with the source device.
可理解,本发明实施例中的同步的方法也可以应用于组网系统。组网系统包括多个域,每个域都可以执行前述实施例所述的同步的方法。例如,控制中心可以确定第一域的第一传输时延为T21,确定第二域的第一传输时延为T22,等等。这样,能够实现各自域内的同步。It can be understood that the method of synchronization in the embodiment of the present invention can also be applied to a networking system. The networking system includes a plurality of domains, each of which can perform the method of synchronization described in the foregoing embodiments. For example, the control center may determine that the first transmission delay of the first domain is T21, the first transmission delay of the second domain is determined to be T22, and so on. In this way, synchronization within the respective domains can be achieved.
这样,本发明实施例所提供的方法中,在传输数据的同时伴随发送源设备确定的允许接收时刻,能够保证源设备与目标设备的收发同步。并且能够降低传输网络的同步需求,进而降低传输的成本。In this way, in the method provided by the embodiment of the present invention, the transmission and reception of the data is accompanied by the allowable reception time determined by the source device, and the transmission and reception of the source device and the target device can be ensured. And it can reduce the synchronization requirements of the transmission network, thereby reducing the cost of transmission.
并且,采用本发明实施例提供的同步的方法能够降低目标设备的时钟同步成本,由于目标设备一般都是大量部署的,因此目标设备的成本的降低会带来巨大的经济利益。Moreover, the synchronization method provided by the embodiment of the present invention can reduce the clock synchronization cost of the target device. Since the target devices are generally deployed in a large amount, the cost reduction of the target device brings great economic benefits.
图9是本发明一个实施例的用于同步的设备的框图。图9所示的设备为源设备900,包括确定单元901和发送单元902。Figure 9 is a block diagram of an apparatus for synchronization in accordance with one embodiment of the present invention. The device shown in FIG. 9 is a source device 900, and includes a determining unit 901 and a transmitting unit 902.
确定单元901,用于在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延。The determining unit 901 is configured to determine, when the data is sent, the allowed receiving time, where the allowed receiving time is the current time plus the first transmission delay.
发送单元902,用于向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。The sending unit 902 is configured to send a data packet to the at least one target device, where the data packet includes the allowed receiving moment and the data.
本发明实施例中,源设备在发送数据时,同时将允许接收时刻发送至至少一个目标设备,这样,能够保证至少一个目标设备都在指定的允许接收时刻再接收源设备发送的数据,能够包括源设备与目标设备之间的收发同步。并且,如果目标设备为多个时,也可以保证多个目标设备之间的接收同步。 In the embodiment of the present invention, when the source device sends data, the receiving time is simultaneously sent to the at least one target device, so that the at least one target device can receive the data sent by the source device at the specified allowed receiving time, which can include Synchronization between the source device and the target device. Moreover, if there are a plurality of target devices, reception synchronization between the plurality of target devices can also be ensured.
可选地,作为一个实施例,源设备900还可包括接收单元,用于从控制中心接收所述第一传输时延。Optionally, as an embodiment, the source device 900 may further include a receiving unit, configured to receive the first transmission delay from the control center.
可选地,作为另一个实施例,所述接收单元,还用于接收所述至少一个目标设备发送的至少一个第二传输时延。确定单元901,还用于将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。Optionally, in another embodiment, the receiving unit is further configured to receive the at least one second transmission delay sent by the at least one target device. The determining unit 901 is further configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
可选地,作为另一个实施例,确定单元901,还可用于计算与所述至少一个目标设备对应的至少一个第二传输时延。发送单元902,还可用于将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。Optionally, as another embodiment, the determining unit 901 is further configured to calculate at least one second transmission delay corresponding to the at least one target device. The sending unit 902 is further configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
可选地,作为另一个实施例,确定单元901具体用于:统计在预设时间段内与所述至少一个目标设备中的第一目标设备之间的所有传输时延;将所述所有传输时延中的最大值作为与所述第一目标设备对应的第二传输时延。Optionally, as another embodiment, the determining unit 901 is specifically configured to: calculate, in a preset time period, all transmission delays with the first target device in the at least one target device; The maximum value in the delay is used as the second transmission delay corresponding to the first target device.
可选地,作为另一个实施例,发送单元902,具体用于:将所述至少一个第二传输时延发送至所述至少一个目标设备中的第二目标设备,以便所述第二目标设备将所述至少一个第二传输时延转发至所述控制中心。Optionally, as another embodiment, the sending unit 902 is specifically configured to: send the at least one second transmission delay to a second target device in the at least one target device, so that the second target device Forwarding the at least one second transmission delay to the control center.
应注意,本发明实施例中,所述源设备与所述至少一个目标设备之间的传输网络为TDM网络,所述允许接收时刻携带在TDM帧结构中。或者,所述源设备与所述至少一个目标设备之间的传输网络为分组网络,所述允许接收时刻携带在分组帧结构中。或者,传输网络也可以为其他的类型,这里不作限定。It should be noted that, in the embodiment of the present invention, the transmission network between the source device and the at least one target device is a TDM network, and the allowed reception time is carried in the TDM frame structure. Alternatively, the transmission network between the source device and the at least one target device is a packet network, and the allowed reception moment is carried in a packet frame structure. Alternatively, the transmission network may be of other types, which is not limited herein.
应注意,本发明实施例中,发送单元902可以由发送器实现,确定单元901可以由处理器实现,接收单元可以由接收器实现。如图10所示,源设备1000可以包括处理器1001、接收器1002、发送器1003和存储器1004。其中,存储器1004可以用于存储上述第一传输时延,还可以用于存储处理器1001执行的代码等。It should be noted that, in the embodiment of the present invention, the sending unit 902 may be implemented by a transmitter, the determining unit 901 may be implemented by a processor, and the receiving unit may be implemented by a receiver. As shown in FIG. 10, the source device 1000 may include a processor 1001, a receiver 1002, a transmitter 1003, and a memory 1004. The memory 1004 can be used to store the first transmission delay described above, and can also be used to store codes and the like executed by the processor 1001.
源设备1000中的各个组件通过总线系统1005耦合在一起,其中总线系统1005除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。The various components in source device 1000 are coupled together by a bus system 1005, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
图9所示的源设备900或图10所示的源设备1000能够实现前述方法实施例中由源设备所实现的各个过程,为避免重复,这里不再赘述。The source device 900 shown in FIG. 9 or the source device 1000 shown in FIG. 10 can implement various processes implemented by the source device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
图11是本发明另一个实施例的用于同步的设备的框图。图11所示的设 备为目标设备1100,包括接收单元1101和处理单元1102。Figure 11 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention. The design shown in Figure 11 The target device 1100 includes a receiving unit 1101 and a processing unit 1102.
接收单元1101,用于接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据。The receiving unit 1101 is configured to receive at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable receiving time and data.
处理单元1102,用于记录所述允许接收时刻并将所述数据进行缓存;还用于在所述允许接收时刻提取所述缓存的数据。The processing unit 1102 is configured to record the allowed receiving moment and cache the data, and is further configured to extract the cached data at the allowed receiving moment.
本发明实施例中,目标设备在接收数据的同时接收到源设备设定的允许接收时刻,这样,目标设备可以在允许接收时刻接收数据,能够保证与源设备的同步。In the embodiment of the present invention, the target device receives the allowed receiving time set by the source device while receiving the data, so that the target device can receive data at the time of allowing the receiving, and can ensure synchronization with the source device.
其中,允许接收时刻可以携带在数据包的特定的字段中。The allowable reception time can be carried in a specific field of the data packet.
可选地,若源设备与目标设备之间的传输网络为TDM网络,那么该允许接收时刻可以携带在TDM帧结构中。可选地,若源设备与目标设备之间的传输网络为分组网络,那么该允许接收时刻可以携带在分组帧结构中。可选地,若源设备与目标设备之间的传输网络为光纤直传网络,那么该允许接收时刻可以携带在相应的帧结构中。应注意,该传输网络也可以为其他的类型,这里不作限定。Optionally, if the transmission network between the source device and the target device is a TDM network, the allowed reception time may be carried in the TDM frame structure. Optionally, if the transmission network between the source device and the target device is a packet network, the allowed reception time may be carried in the packet frame structure. Optionally, if the transmission network between the source device and the target device is a fiber direct transmission network, the allowed reception time may be carried in a corresponding frame structure. It should be noted that the transmission network may also be of other types, which is not limited herein.
可选地,作为一个实施例,处理单元1102,还可用于:如果当前时刻超过所述允许接收时刻,将所述数据包丢弃。Optionally, as an embodiment, the processing unit 1102 is further configured to: if the current time exceeds the allowed receiving moment, discard the data packet.
可选地,作为另一个实施例,目标设备1100还可包括发送单元。处理单元1102还可用于:如果当前时刻超过所述允许接收时刻,记录所述当前时刻与所述允许接收时刻的差值;将所述数据包丢弃。发送单元用于将所述差值发送至控制中心,以便所述控制中心根据所述差值更新第一传输时延。Optionally, as another embodiment, the target device 1100 may further include a sending unit. The processing unit 1102 is further configured to: if the current time exceeds the allowed receiving time, record a difference between the current time and the allowed receiving time; and discard the data packet. The sending unit is configured to send the difference to the control center, so that the control center updates the first transmission delay according to the difference.
可选地,作为另一个实施例,接收单元1101还可用于接收所述至少一个源设备发送的至少一个第二传输时延。发送单元用于将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。Optionally, as another embodiment, the receiving unit 1101 is further configured to receive the at least one second transmission delay sent by the at least one source device. The sending unit is configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
可选地,作为另一个实施例,处理单元1102还可用于计算与所述至少一个源设备之间的至少一个第二传输时延。发送单元用于将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。Optionally, as another embodiment, the processing unit 1102 is further configured to calculate at least one second transmission delay between the at least one source device. The sending unit is configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
可选地,作为另一个实施例,处理单元1102具体用于:统计在预设时间段内与所述至少一个源设备中的第一源设备之间的所有传输时延;将所述 所有传输时延中的最大值作为与所述第一源设备对应的第二传输时延。Optionally, as another embodiment, the processing unit 1102 is specifically configured to: calculate, in a preset time period, all transmission delays between the first source device and the first source device in the at least one source device; The maximum value of all transmission delays is used as the second transmission delay corresponding to the first source device.
应注意,本发明实施例中,接收单元1101可以由接收器实现,处理单元1102可以由处理器实现,发送单元可以由发送器实现。如图12所示,目标设备1200可以包括处理器1201、接收器1202、发送器1203和存储器1204。其中,存储器1204可以用于存储上述允许接收时刻,还可以用于存储处理器1201执行的代码等。It should be noted that, in the embodiment of the present invention, the receiving unit 1101 may be implemented by a receiver, the processing unit 1102 may be implemented by a processor, and the sending unit may be implemented by a transmitter. As shown in FIG. 12, the target device 1200 can include a processor 1201, a receiver 1202, a transmitter 1203, and a memory 1204. The memory 1204 can be used to store the above-mentioned allowable receiving time, and can also be used to store code and the like executed by the processor 1201.
目标设备1200中的各个组件通过总线系统1205耦合在一起,其中总线系统1205除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。The various components in target device 1200 are coupled together by a bus system 1205, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
图11所示的目标设备1100或图12所示的目标设备1200能够实现前述方法实施例中由目标设备所实现的各个过程,为避免重复,这里不再赘述。The target device 1100 shown in FIG. 11 or the target device 1200 shown in FIG. 12 can implement various processes implemented by the target device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
图13是本发明另一个实施例的用于同步的设备的框图。图13所示的设备为控制中心1300,包括确定单元1301和发送单元1302。Figure 13 is a block diagram of an apparatus for synchronization in accordance with another embodiment of the present invention. The device shown in FIG. 13 is a control center 1300, and includes a determining unit 1301 and a transmitting unit 1302.
确定单元1301,用于确定第一传输时延。The determining unit 1301 is configured to determine the first transmission delay.
发送单元1302,用于将所述第一传输时延发送到至少一个源设备。The sending unit 1302 is configured to send the first transmission delay to at least one source device.
本发明实施例中,控制中心确定第一传输时延并将第一传输时延发送到至少一个源设备,能够用于由至少一个源设备确定允许接收时刻,以保证目标接收设备与源设备之间的同步。In the embodiment of the present invention, the control center determines the first transmission delay and sends the first transmission delay to the at least one source device, and can be used to determine the allowed reception time by the at least one source device to ensure the target receiving device and the source device. Synchronization between.
应注意,本发明实施例中,控制中心可以是一个独立的设备,或者,控制中心也可以部署在至少一个源设备中的一个源设备中,或者,控制中心也可以部署在至少一个目标设备中的一个目标设备中。例如,控制中心可以是一个源设备的模块。或者,控制中心可以是一个目标设备的模块。It should be noted that, in the embodiment of the present invention, the control center may be a separate device, or the control center may be deployed in one source device of the at least one source device, or the control center may also be deployed in at least one target device. In a target device. For example, the control center can be a module of a source device. Alternatively, the control center can be a module of a target device.
也即,控制中心1300可以部署在所述至少一个源设备中的一个源设备中。或者,控制中心1300可以部署在至少一个目标设备中的一个目标设备中。That is, the control center 1300 can be deployed in one of the at least one source device. Alternatively, the control center 1300 can be deployed in one of the at least one target device.
可选地,作为一个实施例,控制中心1300还可包括接收单元,可用于接收至少一个源设备或至少一个目标设备发送的至少一个第二传输时延。确定单元1301具体用于根据所述至少一个第二传输时延确定所述第一传输时延。Optionally, as an embodiment, the control center 1300 may further include a receiving unit, configured to receive the at least one second transmission delay sent by the at least one source device or the at least one target device. The determining unit 1301 is specifically configured to determine the first transmission delay according to the at least one second transmission delay.
可选地,作为另一个实施例,确定单元1301具体用于将所述至少一个第二传输时延中的最大值作为所述第一传输时延。 Optionally, as another embodiment, the determining unit 1301 is specifically configured to use a maximum value of the at least one second transmission delay as the first transmission delay.
可选地,作为另一个实施例,接收单元,可用于接收至少一个目标设备中的第一目标设备发送的差值。确定单元1301还可用于根据所述差值更新所述第一传输时延。具体地,确定单元1301可将所述差值与所述第一传输时延的和确定为更新后的第一传输时延。Optionally, as another embodiment, the receiving unit is configured to receive a difference sent by the first target device in the at least one target device. The determining unit 1301 is further configured to update the first transmission delay according to the difference. Specifically, the determining unit 1301 may determine the sum of the difference value and the first transmission delay as the updated first transmission delay.
应注意,本发明实施例中,确定单元1301可以由处理器实现,发送单元1302可以由发送器实现,接收单元可以由接收器实现。如图14所示,控制中心1400可以包括处理器1401、接收器1402、发送器1403和存储器1404。其中,存储器1404可以用于存储上述第一传输时延,还可以用于存储处理器1401执行的代码等。It should be noted that, in the embodiment of the present invention, the determining unit 1301 may be implemented by a processor, the sending unit 1302 may be implemented by a transmitter, and the receiving unit may be implemented by a receiver. As shown in FIG. 14, the control center 1400 can include a processor 1401, a receiver 1402, a transmitter 1403, and a memory 1404. The memory 1404 can be used to store the first transmission delay described above, and can also be used to store codes and the like executed by the processor 1401.
控制中心1400中的各个组件通过总线系统1405耦合在一起,其中总线系统1405除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。The various components in control center 1400 are coupled together by a bus system 1405 that includes, in addition to the data bus, a power bus, a control bus, and a status signal bus.
图13所示的控制中心1300或图14所示的控制中心1400能够实现前述方法实施例中由控制中心所实现的各个过程,为避免重复,这里不再赘述。The control center 1300 shown in FIG. 13 or the control center 1400 shown in FIG. 14 can implement various processes implemented by the control center in the foregoing method embodiments. To avoid repetition, details are not described herein again.
应注意,本发明上述方法实施例可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be noted that the above described method embodiments of the present invention may be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software. The processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), or the like. Programming logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
可以理解,本发明实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable  ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It is to be understood that the memory in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be a read-only memory (ROM) or a programmable read-only memory (Programmable). ROM, PROM), Erasable PROM (EPROM), Electrically Erasable Programmable Read Only Memory (EEPROM) or Flash Memory. The volatile memory can be a Random Access Memory (RAM) that acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM). SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Synchronous Connection Dynamic Random Access Memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (DR RAM). It should be noted that the memories of the systems and methods described herein are intended to comprise, without being limited to, these and any other suitable types of memory.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed 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 of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims (46)

  1. 一种同步的方法,其特征在于,包括:A method of synchronization, comprising:
    源设备在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延;When the source device sends data, determining the allowed receiving time, the allowed receiving time is the current time plus the first transmission delay;
    所述源设备向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。The source device sends a data packet to at least one target device, the data packet including the allowed reception time and the data.
  2. 根据权利要求1所述的方法,其特征在于,在所述确定允许接收时刻之前,还包括:The method according to claim 1, wherein before the determining the time for allowing reception, the method further comprises:
    从控制中心接收所述第一传输时延。The first transmission delay is received from a control center.
  3. 根据权利要求2所述的方法,其特征在于,在从控制中心接收所述第一传输时延之前,还包括:The method according to claim 2, further comprising: before receiving the first transmission delay from the control center, further comprising:
    接收所述至少一个目标设备发送的至少一个第二传输时延;Receiving at least one second transmission delay sent by the at least one target device;
    将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。And transmitting the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  4. 根据权利要求2所述的方法,其特征在于,在从控制中心接收所述第一传输时延之前,还包括:The method according to claim 2, further comprising: before receiving the first transmission delay from the control center, further comprising:
    计算与所述至少一个目标设备对应的至少一个第二传输时延;Calculating at least one second transmission delay corresponding to the at least one target device;
    将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。And transmitting the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  5. 根据权利要求4所述的方法,其特征在于,所述计算与所述至少一个目标设备对应的至少一个第二传输时延,包括:The method according to claim 4, wherein the calculating the at least one second transmission delay corresponding to the at least one target device comprises:
    统计在预设时间段内与所述至少一个目标设备中的第一目标设备之间的所有传输时延;Counting all transmission delays between the preset target time period and the first target device in the at least one target device;
    将所述所有传输时延中的最大值作为与所述第一目标设备对应的第二传输时延。The maximum value of all the transmission delays is used as the second transmission delay corresponding to the first target device.
  6. 根据权利要求4或5所述的方法,其特征在于,所述将所述至少一个第二传输时延发送至所述控制中心,包括:The method according to claim 4 or 5, wherein the sending the at least one second transmission delay to the control center comprises:
    将所述至少一个第二传输时延发送至所述至少一个目标设备中的第二目标设备,以便所述第二目标设备将所述至少一个第二传输时延转发至所述控制中心。Transmitting the at least one second transmission delay to a second target device of the at least one target device, such that the second target device forwards the at least one second transmission delay to the control center.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述源设备 与所述至少一个目标设备之间的传输网络为时分复用TDM网络,所述允许接收时刻携带在TDM帧结构中。Method according to any of claims 1 to 6, wherein said source device The transmission network with the at least one target device is a time division multiplexed TDM network, and the allowed reception time is carried in the TDM frame structure.
  8. 根据权利要求1至6任一项所述的方法,其特征在于,所述源设备与所述至少一个目标设备之间的传输网络为分组网络,所述允许接收时刻携带在分组帧结构中。The method according to any one of claims 1 to 6, wherein the transmission network between the source device and the at least one target device is a packet network, and the allowed reception time is carried in a packet frame structure.
  9. 一种同步的方法,其特征在于,包括:A method of synchronization, comprising:
    目标设备接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据;The target device receives at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable reception time and data;
    所述目标设备记录所述允许接收时刻并将所述数据进行缓存;The target device records the allowable reception time and caches the data;
    所述目标设备在所述允许接收时刻提取所述缓存的数据。The target device extracts the cached data at the time of allowing reception.
  10. 根据权利要求9所述的方法,其特征在于,还包括:The method of claim 9 further comprising:
    如果当前时刻超过所述允许接收时刻,将所述数据包丢弃。If the current time exceeds the allowed reception time, the data packet is discarded.
  11. 根据权利要求9所述的方法,其特征在于,还包括:The method of claim 9 further comprising:
    如果当前时刻超过所述允许接收时刻,记录所述当前时刻与所述允许接收时刻的差值;Recording, when the current time exceeds the allowed receiving time, a difference between the current time and the allowed receiving time;
    将所述数据包丢弃;Discard the data packet;
    将所述差值发送至控制中心,以便所述控制中心根据所述差值更新第一传输时延。The difference is sent to a control center such that the control center updates the first transmission delay based on the difference.
  12. 根据权利要求9至11任一项所述的方法,其特征在于,在所述目标设备接收至少一个源设备发送的至少一个数据包之前,还包括:The method according to any one of claims 9 to 11, further comprising: before the target device receives the at least one data packet sent by the at least one source device, further comprising:
    接收所述至少一个源设备发送的至少一个第二传输时延;Receiving at least one second transmission delay sent by the at least one source device;
    将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。And transmitting the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  13. 根据权利要求9至11任一项所述的方法,其特征在于,在所述目标设备接收至少一个源设备发送的至少一个数据包之前,还包括:The method according to any one of claims 9 to 11, further comprising: before the target device receives the at least one data packet sent by the at least one source device, further comprising:
    计算与所述至少一个源设备之间的至少一个第二传输时延;Computing at least one second transmission delay between the at least one source device;
    将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。And transmitting the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  14. 根据权利要求13所述的方法,其特征在于,所述计算与所述至少一个源设备之间的至少一个第二传输时延,包括:The method according to claim 13, wherein the calculating the at least one second transmission delay between the at least one source device comprises:
    统计在预设时间段内与所述至少一个源设备中的第一源设备之间的所 有传输时延;Counting between the preset source period and the first source device of the at least one source device Have a transmission delay;
    将所述所有传输时延中的最大值作为与所述第一源设备对应的第二传输时延。The maximum value of all the transmission delays is used as the second transmission delay corresponding to the first source device.
  15. 根据权利要求9至14任一项所述的方法,其特征在于,所述目标设备与所述至少一个源设备之间的传输网络为时分复用TDM网络,所述允许接收时刻携带在TDM帧结构中。The method according to any one of claims 9 to 14, wherein the transmission network between the target device and the at least one source device is a time division multiplexed TDM network, and the allowed reception time is carried in a TDM frame. In the structure.
  16. 根据权利要求9至14任一项所述的方法,其特征在于,所述目标设备与所述至少一个源设备之间的传输网络为分组网络,所述允许接收时刻携带在分组帧结构中。The method according to any one of claims 9 to 14, wherein the transmission network between the target device and the at least one source device is a packet network, and the allowed reception time is carried in a packet frame structure.
  17. 一种同步的方法,其特征在于,包括:A method of synchronization, comprising:
    控制中心确定第一传输时延;The control center determines the first transmission delay;
    所述控制中心将所述第一传输时延发送到至少一个源设备。The control center transmits the first transmission delay to at least one source device.
  18. 根据权利要求17所述的方法,其特征在于,The method of claim 17 wherein:
    在所述确定第一传输时延之前,还包括:接收至少一个源设备或至少一个目标设备发送的至少一个第二传输时延;Before the determining the first transmission delay, the method further includes: receiving at least one second transmission delay sent by the at least one source device or the at least one target device;
    所述确定第一传输时延,包括:根据所述至少一个第二传输时延确定所述第一传输时延。The determining the first transmission delay includes: determining the first transmission delay according to the at least one second transmission delay.
  19. 根据权利要求18所述的方法,其特征在于,所述根据所述至少一个第二传输时延确定所述第一传输时延,包括:The method according to claim 18, wherein the determining the first transmission delay according to the at least one second transmission delay comprises:
    将所述至少一个第二传输时延中的最大值作为所述第一传输时延。The maximum value of the at least one second transmission delay is used as the first transmission delay.
  20. 根据权利要求17至19任一项所述的方法,其特征在于,还包括:The method according to any one of claims 17 to 19, further comprising:
    接收至少一个目标设备中的第一目标设备发送的差值;Receiving a difference sent by the first target device in the at least one target device;
    根据所述差值更新所述第一传输时延。Updating the first transmission delay according to the difference.
  21. 根据权利要求20所述的方法,其特征在于,根据所述差值更新所述第一传输时延,包括:The method of claim 20, wherein updating the first transmission delay according to the difference comprises:
    将所述差值与所述第一传输时延的和确定为更新后的第一传输时延。And determining a sum of the difference and the first transmission delay as the updated first transmission delay.
  22. 根据权利要求17至21任一项所述的方法,其特征在于,所述控制中心部署在所述至少一个源设备中的一个源设备中。The method according to any one of claims 17 to 21, wherein the control center is deployed in one of the at least one source device.
  23. 根据权利要求17至21任一项所述的方法,其特征在于,所述控制中心部署在至少一个目标设备中的一个目标设备中。The method according to any one of claims 17 to 21, wherein the control center is deployed in one of the at least one target device.
  24. 一种用于同步的设备,其特征在于,所述设备为源设备,包括: A device for synchronizing, wherein the device is a source device, including:
    确定单元,用于在发送数据时,确定允许接收时刻,所述允许接收时刻为当前时刻加第一传输时延;a determining unit, configured to determine, when the data is sent, an allowed receiving time, where the allowed receiving time is a current time plus a first transmission delay;
    发送单元,用于向至少一个目标设备发送数据包,所述数据包包括所述允许接收时刻与所述数据。And a sending unit, configured to send a data packet to the at least one target device, where the data packet includes the allowed receiving moment and the data.
  25. 根据权利要求24所述的设备,其特征在于,还包括接收单元,用于:The device according to claim 24, further comprising a receiving unit, configured to:
    从控制中心接收所述第一传输时延。The first transmission delay is received from a control center.
  26. 根据权利要求25所述的设备,其特征在于:The device of claim 25 wherein:
    所述接收单元,还用于接收所述至少一个目标设备发送的至少一个第二传输时延;The receiving unit is further configured to receive at least one second transmission delay sent by the at least one target device;
    所述确定单元,还用于将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。The determining unit is further configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  27. 根据权利要求25所述的设备,其特征在于:The device of claim 25 wherein:
    所述确定单元,还用于计算与所述至少一个目标设备对应的至少一个第二传输时延;The determining unit is further configured to calculate at least one second transmission delay corresponding to the at least one target device;
    所述发送单元,还用于将所述至少一个第二传输时延发送至所述控制中心,以便所述控制中心根据所述至少一个第二传输时延确定所述第一传输时延。The sending unit is further configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  28. 根据权利要求27所述的设备,其特征在于,所述确定单元,具体用于:The device according to claim 27, wherein the determining unit is specifically configured to:
    统计在预设时间段内与所述至少一个目标设备中的第一目标设备之间的所有传输时延;Counting all transmission delays between the preset target time period and the first target device in the at least one target device;
    将所述所有传输时延中的最大值作为与所述第一目标设备对应的第二传输时延。The maximum value of all the transmission delays is used as the second transmission delay corresponding to the first target device.
  29. 根据权利要求27或28所述的设备,其特征在于,所述发送单元,具体用于:The device according to claim 27 or 28, wherein the sending unit is specifically configured to:
    将所述至少一个第二传输时延发送至所述至少一个目标设备中的第二目标设备,以便所述第二目标设备将所述至少一个第二传输时延转发至所述控制中心。Transmitting the at least one second transmission delay to a second target device of the at least one target device, such that the second target device forwards the at least one second transmission delay to the control center.
  30. 根据权利要求24至29任一项所述的设备,其特征在于,所述源设 备与所述至少一个目标设备之间的传输网络为时分复用TDM网络,所述允许接收时刻携带在TDM帧结构中。Apparatus according to any one of claims 24 to 29, wherein said source is The transmission network between the standby device and the at least one target device is a time division multiplexed TDM network, and the allowed reception time is carried in the TDM frame structure.
  31. 根据权利要求24至29任一项所述的设备,其特征在于,所述源设备与所述至少一个目标设备之间的传输网络为分组网络,所述允许接收时刻携带在分组帧结构中。The device according to any one of claims 24 to 29, wherein the transmission network between the source device and the at least one target device is a packet network, and the allowed reception time is carried in a packet frame structure.
  32. 一种用于同步的设备,其特征在于,所述设备为目标设备,包括:A device for synchronizing, wherein the device is a target device, including:
    接收单元,用于接收至少一个源设备发送的至少一个数据包,其中,所述至少一个数据包中的每个数据包包括允许接收时刻和数据;a receiving unit, configured to receive at least one data packet sent by the at least one source device, where each of the at least one data packet includes an allowable receiving time and data;
    处理单元,用于记录所述允许接收时刻并将所述数据进行缓存;a processing unit, configured to record the allowed receiving moment and cache the data;
    所述处理单元,还用于在所述允许接收时刻提取所述缓存的数据。The processing unit is further configured to extract the cached data at the time of allowing reception.
  33. 根据权利要求32所述的设备,其特征在于,所述处理单元,还用于:The device according to claim 32, wherein the processing unit is further configured to:
    如果当前时刻超过所述允许接收时刻,将所述数据包丢弃。If the current time exceeds the allowed reception time, the data packet is discarded.
  34. 根据权利要求32所述的设备,其特征在于,还包括发送单元,The device according to claim 32, further comprising a transmitting unit,
    所述处理单元,还用于:如果当前时刻超过所述允许接收时刻,记录所述当前时刻与所述允许接收时刻的差值;将所述数据包丢弃;The processing unit is further configured to: if the current time exceeds the allowed receiving time, record a difference between the current time and the allowed receiving time; discard the data packet;
    所述发送单元,用于将所述差值发送至控制中心,以便所述控制中心根据所述差值更新第一传输时延。The sending unit is configured to send the difference to a control center, so that the control center updates the first transmission delay according to the difference.
  35. 根据权利要求32至34任一项所述的设备,其特征在于,还包括发送单元,The device according to any one of claims 32 to 34, further comprising a transmitting unit,
    所述接收单元,还用于接收所述至少一个源设备发送的至少一个第二传输时延;The receiving unit is further configured to receive at least one second transmission delay sent by the at least one source device;
    所述发送单元,用于将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。The sending unit is configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  36. 根据权利要求32至34任一项所述的设备,其特征在于,还包括发送单元,The device according to any one of claims 32 to 34, further comprising a transmitting unit,
    所述处理单元,还用于计算与所述至少一个源设备之间的至少一个第二传输时延;The processing unit is further configured to calculate at least one second transmission delay between the at least one source device;
    所述发送单元,用于将所述至少一个第二传输时延发送至控制中心,以便所述控制中心根据所述至少一个第二传输时延确定第一传输时延。The sending unit is configured to send the at least one second transmission delay to the control center, so that the control center determines the first transmission delay according to the at least one second transmission delay.
  37. 根据权利要求36所述的设备,其特征在于,所述处理单元,具体 用于:The device according to claim 36, wherein said processing unit is specific Used for:
    统计在预设时间段内与所述至少一个源设备中的第一源设备之间的所有传输时延;Counting all transmission delays between the preset time period and the first source device of the at least one source device;
    将所述所有传输时延中的最大值作为与所述第一源设备对应的第二传输时延。The maximum value of all the transmission delays is used as the second transmission delay corresponding to the first source device.
  38. 根据权利要求32至37任一项所述的设备,其特征在于,所述目标设备与所述至少一个源设备之间的传输网络为时分复用TDM网络,所述允许接收时刻携带在TDM帧结构中。The device according to any one of claims 32 to 37, wherein the transmission network between the target device and the at least one source device is a time division multiplexed TDM network, and the allowed reception time is carried in a TDM frame. In the structure.
  39. 根据权利要求32至37任一项所述的设备,其特征在于,所述目标设备与所述至少一个源设备之间的传输网络为分组网络,所述允许接收时刻携带在分组帧结构中。The device according to any one of claims 32 to 37, wherein the transmission network between the target device and the at least one source device is a packet network, and the allowed reception time is carried in a packet frame structure.
  40. 一种用于同步的设备,其特征在于,所述设备为控制中心,包括:A device for synchronizing, wherein the device is a control center, including:
    确定单元,用于确定第一传输时延;a determining unit, configured to determine a first transmission delay;
    发送单元,用于将所述第一传输时延发送到至少一个源设备。And a sending unit, configured to send the first transmission delay to the at least one source device.
  41. 根据权利要求40所述的设备,其特征在于,还包括接收单元,用于:接收至少一个源设备或至少一个目标设备发送的至少一个第二传输时延;The device according to claim 40, further comprising: a receiving unit, configured to: receive at least one second transmission delay sent by the at least one source device or the at least one target device;
    所述确定单元,具体用于:根据所述至少一个第二传输时延确定所述第一传输时延。The determining unit is specifically configured to: determine the first transmission delay according to the at least one second transmission delay.
  42. 根据权利要求41所述的设备,其特征在于,所述确定单元,具体用于:将所述至少一个第二传输时延中的最大值作为所述第一传输时延。The device according to claim 41, wherein the determining unit is configured to: use a maximum value of the at least one second transmission delay as the first transmission delay.
  43. 根据权利要求40至42任一项所述的设备,其特征在于,还包括接收单元,用于:接收至少一个目标设备中的第一目标设备发送的差值;The device according to any one of claims 40 to 42, further comprising: a receiving unit, configured to: receive a difference value sent by the first target device in the at least one target device;
    所述确定单元,还用于根据所述差值更新所述第一传输时延。The determining unit is further configured to update the first transmission delay according to the difference.
  44. 根据权利要求43所述的设备,其特征在于,所述确定单元,具体用于:将所述差值与所述第一传输时延的和确定为更新后的第一传输时延。The device according to claim 43, wherein the determining unit is configured to: determine a sum of the difference and the first transmission delay as an updated first transmission delay.
  45. 根据权利要求40至44任一项所述的设备,其特征在于,所述控制中心部署在所述至少一个源设备中的一个源设备中。The device according to any one of claims 40 to 44, wherein the control center is deployed in one of the at least one source device.
  46. 根据权利要求40至44任一项所述的设备,其特征在于,所述控制中心部署在至少一个目标设备中的一个目标设备中。 The device according to any one of claims 40 to 44, wherein the control center is deployed in one of the at least one target device.
PCT/CN2015/094297 2015-11-11 2015-11-11 Method and device for synchronization WO2017079920A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580084474.1A CN108353368A (en) 2015-11-11 2015-11-11 Synchronous method and apparatus
PCT/CN2015/094297 WO2017079920A1 (en) 2015-11-11 2015-11-11 Method and device for synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/094297 WO2017079920A1 (en) 2015-11-11 2015-11-11 Method and device for synchronization

Publications (1)

Publication Number Publication Date
WO2017079920A1 true WO2017079920A1 (en) 2017-05-18

Family

ID=58695716

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/094297 WO2017079920A1 (en) 2015-11-11 2015-11-11 Method and device for synchronization

Country Status (2)

Country Link
CN (1) CN108353368A (en)
WO (1) WO2017079920A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112205028A (en) * 2018-08-29 2021-01-08 Oppo广东移动通信有限公司 Communication method and apparatus
CN114422589A (en) * 2020-10-12 2022-04-29 中国移动通信有限公司研究院 Data transmission method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080095091A1 (en) * 2006-10-19 2008-04-24 Surineni Shravan K Power save enhancements for wireless communication
CN101674318A (en) * 2008-09-11 2010-03-17 北大方正集团有限公司 Method for pushing data to mobile equipment at regular time
CN102084347A (en) * 2008-07-08 2011-06-01 株式会社理光 Wireless usb device and wireless usb communication system
CN102572706A (en) * 2010-12-28 2012-07-11 上海贝尔股份有限公司 Method, equipment and system for detecting transmission time delays in wireless multi-cast system
CN102869086A (en) * 2012-09-25 2013-01-09 京信通信系统(中国)有限公司 Method and device for adjusting signal transmission time

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312929C (en) * 2004-04-01 2007-04-25 清华大学 Single-frequency network system of ground digital TV broadcast and its realizing method
WO2008077320A1 (en) * 2006-12-26 2008-07-03 Hangzhou H3C Technologies Co., Ltd. Method and device of ethernet switching
CN101662356B (en) * 2008-08-25 2013-06-05 电信科学技术研究院 Method and device for synchronizing control signaling in EMBMS system
WO2013187474A1 (en) * 2012-06-13 2013-12-19 日本電信電話株式会社 Optical network system, optical switch node, master node, and node
KR101726743B1 (en) * 2013-01-08 2017-04-13 후지 덴키 가부시키가이샤 Control system, master programmable controller, slave programmable controller, and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080095091A1 (en) * 2006-10-19 2008-04-24 Surineni Shravan K Power save enhancements for wireless communication
CN102084347A (en) * 2008-07-08 2011-06-01 株式会社理光 Wireless usb device and wireless usb communication system
CN101674318A (en) * 2008-09-11 2010-03-17 北大方正集团有限公司 Method for pushing data to mobile equipment at regular time
CN102572706A (en) * 2010-12-28 2012-07-11 上海贝尔股份有限公司 Method, equipment and system for detecting transmission time delays in wireless multi-cast system
CN102869086A (en) * 2012-09-25 2013-01-09 京信通信系统(中国)有限公司 Method and device for adjusting signal transmission time

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112205028A (en) * 2018-08-29 2021-01-08 Oppo广东移动通信有限公司 Communication method and apparatus
CN114422589A (en) * 2020-10-12 2022-04-29 中国移动通信有限公司研究院 Data transmission method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108353368A (en) 2018-07-31

Similar Documents

Publication Publication Date Title
US11444713B2 (en) Transmitting residence time information in a network
EP1367848B1 (en) Packet transmission method for compensating path delay of multicast packets and corresponding communication system
US11470568B2 (en) Synchronizing TSN master clocks in wireless networks
US9698926B2 (en) Distributed two-step clock
JP5228714B2 (en) Time synchronization method and relay device
CN103929263B (en) Network communication method
US10148539B2 (en) Use of common public radio interface over asymmetric networks
US20130301634A1 (en) Timing synchronization for networks with radio links
US11606155B2 (en) Method for exchanging time synchronization packet and network apparatus
EP3180876B1 (en) Method and apparatus for synchronising a plurality of distributed devices with a network
US20160182214A1 (en) Method and apparatus for determining ethernet clock source
WO2020200068A1 (en) Method and apparatus for uplink timing synchronization
WO2019174554A1 (en) Time delay compensation method and device
US10594422B2 (en) Method and apparatus for transmitting clock packet
US20220007321A1 (en) Network Entities and Methods for a Wireless Network System for Determining Time Information
WO2017079920A1 (en) Method and device for synchronization
KR20090024247A (en) Method and apparatus for coordinating timing in a wireless local area network
JP2012520591A (en) Method for synchronizing clocks by separately transmitting first data and second data by at least one timing distribution protocol, and related systems and modules
CN113424466A (en) Method and device for clock synchronization
CN101420281A (en) Be used between network element, transmitting the method and apparatus of time value in a few days
WO2023000926A1 (en) Clock synchronization method and communication apparatus
JP7466804B2 (en) COMMUNICATION DEVICE, CONTROL CIRCUIT, STORAGE MEDIUM, AND CLOCK DEVIATION CALCULATION TIMING DECISION METHOD
JP4924322B2 (en) Frame synchronization method and base station controller
ES2680221T3 (en) Method to control the transmission power in a multichannel system, receiving end and transmitting end
US10313258B2 (en) Packet processing method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1