WO2014161206A1 - 一种e1链路中的时钟同步报文的传输方法及装置 - Google Patents

一种e1链路中的时钟同步报文的传输方法及装置 Download PDF

Info

Publication number
WO2014161206A1
WO2014161206A1 PCT/CN2013/074077 CN2013074077W WO2014161206A1 WO 2014161206 A1 WO2014161206 A1 WO 2014161206A1 CN 2013074077 W CN2013074077 W CN 2013074077W WO 2014161206 A1 WO2014161206 A1 WO 2014161206A1
Authority
WO
WIPO (PCT)
Prior art keywords
time slot
transmitted
information
message
clock
Prior art date
Application number
PCT/CN2013/074077
Other languages
English (en)
French (fr)
Inventor
韦锦驹
黄剑超
Original Assignee
北京东土科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京东土科技股份有限公司 filed Critical 北京东土科技股份有限公司
Publication of WO2014161206A1 publication Critical patent/WO2014161206A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0647Synchronisation among TDM nodes
    • H04J3/065Synchronisation among TDM nodes using timestamps

Definitions

  • the present invention relates to the field of industrial Ethernet technologies, and in particular, to a method and an apparatus for transmitting a clock synchronization message in an E1 link.
  • BACKGROUND OF THE INVENTION With the rapid development of Ethernet technology, Ethernet technology is increasingly used in industrial applications.
  • the IEEE1588 standard defines a precise time protocol (Precision Time Protocol). , PTP ), designed for distributed measurement and control applications, designed to achieve sub-microsecond time synchronization accuracy.
  • FIG. 1 is a schematic diagram of a message exchange process when a clock is synchronized between a master clock and a slave clock under the IEEE 1588 protocol.
  • the master clock sends a synchronization (Sync) message to the slave clock, where the Sync message carries the current message.
  • the clock synchronization identification information (ID) and then the master clock also sends a follow-up (Follow_up) message to the slave clock, wherein the Follow_up message also carries the ID of the clock synchronization, and the slave clock receives the report sent by the master clock.
  • the delay request (Delay_Req) message is sent to the master clock, and the delay_Req message carries the ID of the clock synchronization.
  • the master clock sends a delayed response (Delay_Resp) message to the slave clock according to the message, and the entire time is completed. Clock synchronization process.
  • the interface conversion protocol is required to accurately control the delay of data conversion, so that the delay of each Ethernet packet transmitted through the interface is consistent, thereby ensuring the master clock and the slave clock.
  • High-precision synchronization is achieved through the PTP protocol.
  • the clock synchronization Ethernet packet is transmitted by the Ethernet packet first, so that the message can be transmitted on the E1 link.
  • the Ethernet packet needs to be converted into a data packet that can be transmitted on the E1 link, and in the slave clock side, in order to enable the slave clock to acquire the data packet normally, the data packet transmitted on the E1 link is further Convert to Ethernet packets.
  • FIG. 1 In Ethernet, data transmission is in units of frames, and the length of each frame is 64 1518 bytes.
  • Figure 2A is a schematic diagram of the frame structure in Ethernet. Different fields in the frame structure have clear meanings, including 6 The destination mac address of the byte, the 6-byte source mac address, the 2-byte upper layer protocol type, the maximum 1500 bytes minimum 46 bytes of data, and the last 4 bytes of the CRC check code.
  • the data in the Ethernet is transmitted to the E1 link
  • the data is stored in the cache, according to the principle of FIFO, from The data is read in the cache and converted and transmitted over the El link.
  • the data frame transmitted on the E1 link has no concept of a data frame.
  • 2B is a schematic structural diagram of an E1 frame transmitted on an E1 link.
  • the E1 frame is only a combination of 32 time slots, and each time slot transmits one byte of data.
  • each data is transmitted from the TS0 of the E1 frame, that is, no matter which time slot of the previous data is transmitted, and then the next data is transmitted, only the last one is transmitted. Another TS0 starts transmission after the data transfer is completed.
  • the Ethernet data frame needs to be transmitted, it can be implemented by the HDLC protocol, that is, when the data transmission is performed, the corresponding control frame header is inserted at the start position and the end position of the frame, and then sent to the chain. On the road.
  • the embodiments of the present invention provide a method and a device for transmitting a clock synchronization message in an E1 link, which are used to solve the problem of asymmetric transmission delay when transmitting an E1 link in an E1 link in the prior art. Causes inaccurate clock synchronization.
  • the embodiment of the invention provides a method for clock synchronization in an E1 link, including:
  • the E1 interface receives a clock synchronous Ethernet message transmitted between the master clock and the corresponding slave clock within a time length corresponding to the time slice allocated for each slave clock;
  • An embodiment of the present invention provides a device for transmitting a clock synchronization message in an E1 link, including:
  • a receiving module configured to receive a clock synchronous Ethernet message transmitted between the master clock and the corresponding slave clock for a time length corresponding to each time slice allocated by the slave clock;
  • An identifier adding module configured to add a start location identifier information of the packet in a current time slot
  • a determining module configured to determine, according to a location of the current time slot, and a number of times of time slots included in the E1 link of each saved message, determining a time slot for transmitting the message;
  • a sending module configured to use the determined time slot transmission.
  • Embodiments of the present invention provide a method and an apparatus for transmitting a clock synchronization message in a ⁇ 1 link, and each method The clock is clocked in the time slice to which it is allocated.
  • the E1 interface receives an Ethernet message that is clock-synchronized between the master clock and the slave clock, the location of the time slot based on the information of the start position identification is added, and The saved number of timeslot information included in each message determines the time slot in which the message is transmitted and transmits the message using the determined time slot.
  • each slave clock is synchronized with the master clock in its allocated time slice, so that the buffer time of the clock synchronization message in the buffer area can be effectively reduced, and when the slave clock receives the clock synchronization.
  • FIG. 1 is a schematic diagram of a 4-character interaction process when a clock is synchronized between a master clock and a slave clock under the IEEE 1588 protocol;
  • FIG. 2A is a schematic diagram of a frame structure in an Ethernet;
  • 2B is a schematic structural diagram of an E1 frame transmitted on an E1 link
  • FIG. 3 is a schematic diagram of a process of clock synchronization in an E1 link according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a process of sending a clock synchronization packet in an E1 link according to an embodiment of the present invention
  • 5 is a schematic diagram of a process for receiving a time synchronization message in an E1 link according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a clock synchronization device in an E1 link according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for transmitting a clock synchronization message in an E1 link, and the method is mainly applicable to the E1 interface transmitting the clock synchronization Ethernet ⁇ ⁇ ⁇ text to the E1 link ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇
  • each slave clock is clocked with the master clock in its allocated time slice.
  • the E1 interface receives the Ethernet packet clocked between the master clock and the slave clock, according to the added start position identifier.
  • the location of the time slot of the information, and the number of time slots information stored in each message determine the time slot in which the message is transmitted, and transmit the message using the determined time slot.
  • each slave clock is synchronized with the master clock in the time slice to which it is allocated in the embodiment of the present invention, the buffer time of the clock synchronization message in the buffer area can be effectively reduced, and in addition, when the slave clock receives the clock When the Ethernet packet is synchronized, the packet is transmitted in the current time slot, which further reduces the buffering time of the packet in the buffer area, effectively ensuring the accuracy of clock synchronization.
  • FIG. 3 is a schematic diagram of a process for transmitting a clock synchronization message in an E1 link according to an embodiment of the present invention, which specifically includes the following steps:
  • the E1 interface receives the master clock and the time length corresponding to the time slice allocated for each slave clock. Corresponding to the clock synchronization Ethernet clock transmitted between the clocks.
  • the allocating a time slice for each of the slave clocks includes: determining, according to a clock synchronization frequency and configuration information of each slave clock, a length of time corresponding to a time slice allocated for each slave clock.
  • the network node device including the master clock is in the industrial Ethernet, and the network node device including the master clock is connected to each terminal including the slave clock through the E1 link.
  • Each terminal sends a request message to the network node device, where the request message includes a clock synchronization frequency and configuration information of a clock synchronization between the terminal and the network node device, where the configuration information includes: an identifier of the terminal (Identity, ID) information, total byte information, timing information, etc. included in the clock synchronization Ethernet message to be sent.
  • the network node device including the master clock allocates a time slice to each terminal according to the clock synchronization frequency and configuration information of each terminal, and determines a time period schedule, and sends the time period schedule to each terminal. After receiving the time period schedule, each terminal transmits a clock synchronization message with the network node device according to the time period schedule and within a time length corresponding to the time slice allocated by itself.
  • the network node device including the master clock allocates a time slice of the corresponding length to each terminal, that is, the time length corresponding to the time slice, only the clock synchronization message transmission between the network node device and the terminal is performed.
  • each clock synchronous Ethernet packet reaches the E1 interface, any time slot in the TS0 ⁇ TS31 corresponding to the EI interface is idle and no data is transmitted.
  • the E1 interface adds the start location identifier information of the clock synchronization Ethernet packet in the current time slot, and then converts the clock synchronization Ethernet packet into E1 data for transmission.
  • the E1 interface when the E1 interface receives the clock synchronization Ethernet, the E1 interface does not need to wait for the arrival of the TS0 time slot, that is, regardless of the current time. In which time slot, the E1 interface uses the current time slot to transmit the message, and at the same time, since there is no need to wait for the TS0 time slot to arrive, in order to identify the message, the E1 interface transmits the message before the message.
  • the start position identification information is added to the time slot corresponding to the start position of the text, because the current time slot is the time slot corresponding to the start position of the message, and the start position identifier of the message is added in the current time slot. information.
  • the starting location identification information may be any information specified, and may be, for example, OXFF or OXEF or the like.
  • S303 Determine, according to the location of the current time slot, the time slot information included in the E1 link of each saved message, determine a time slot for transmitting the message.
  • the number of time slots is an integer between 1 and 1.5 times the number of time slots occupied by the clock synchronous Ethernet packet in the E1 link.
  • each clock synchronous Ethernet packet transmits the same time on the E1 link, and does not synchronize the Ethernet report for each clock.
  • the packet length of the packet changes and the transmission time is changed.
  • the link delay of the EI link is also the same when it is converted into the clock synchronization Ethernet.
  • the ⁇ 1 interface determines, according to the saved number of timeslots, which is determined by an integer between 1 and 1.5 times the number of timeslots in the ⁇ 1 link through each clock synchronization Ethernet packet, and is the clock Synchronizing the start location identification information of the Ethernet packet, determining the start time slot and the terminating time slot of the clock synchronization Ethernet packet, thereby determining the time slot for transmitting the clock synchronization Ethernet address.
  • the initial location identification information is added in the first time slot, and each time slot of the E1 link is transmitted.
  • the information may be related to the initial location identifier information.
  • the accurate time synchronization is achieved.
  • the time slot is used to transmit the replacement byte, and the first additional byte is transmitted in the next time slot of the time slot;
  • the time slot is used to transmit the replacement byte, and the second additional byte is transmitted in the next time slot of the time slot. Otherwise, the time slot is used to transmit the message information.
  • the clock in the E1 link Since the clock in the E1 link is different from the frequency of the clock in the Ethernet link, it will cause the waiting delay of data transmission from the E1 link to the Ethernet link, and the transmission from the Ethernet link to the E1 link. The waiting delay is different.
  • the E1 link is transmitted to the Ethernet link through the E1 interface, the data is transmitted from the low-frequency clock domain to the high-frequency clock domain. The packet does not need to wait after reaching the E1 interface. The data is transmitted.
  • the waiting delay of the message transmitted on the E1 link to the Ethernet link is negligible; but when the message is transmitted from the Ethernet link through the E1 interface to the E1 link, it is from The data transmission process from the high-frequency clock domain to the low-frequency clock domain is such that the current time slot of the E1 link is empty in order to ensure that the message is transmitted immediately.
  • Ether After the network packet is translated into the packet transmitted on the El link, the start and end positions of the packet need to be identified. Specifically, when receiving the clock synchronous Ethernet packet, the E1 interface needs to convert the packet into a packet transmitted on the E1 link.
  • the message is transmitted in the current time slot.
  • the start position identification information may be added in the current time slot, and each of the E1 links is added.
  • a time slot can only transmit one byte, so one byte of the message is transmitted in each subsequent time slot.
  • each time slot transmits one byte of the message, and the start position identification information is added to the time slot where the start position of the message is located, in order to ensure the accuracy of the transmission of the message, it is necessary to The time slot of the time slot to be transmitted is determined whether the message to be transmitted in the time slot is the same as the start position identification information, and the message (byte information) to be transmitted in the time slot and the start position identification information
  • the packet to be transmitted is added to the time slot for transmission, and when the packet to be transmitted in the time slot is the same as the initial location identifier information, The replacement byte is replaced with the replacement byte, that is, the replacement byte is transmitted by the time slot, and the first additional byte is transmitted in the next time slot of the time slot.
  • the replacement byte is added to the converted message, and the converted message may further contain information of the replacement byte, in order to further ensure the accuracy of the transmission, in the embodiment of the present invention. It is further determined whether the message (byte information) to be transmitted in each time slot is the same as the replacement byte, and when the message to be transmitted is different from the replacement byte, adding the to-be-transmitted to the time slot Transmitting, when the packet to be transmitted in the time slot is the same as the replacement byte, in order to distinguish, in the embodiment of the present invention, the replacement byte is transmitted in the time slot, and in the next time of the time slot The second additional byte is transmitted in the slot.
  • the packet to be transmitted for each time slot when determining the packet to be transmitted for each time slot, it may first determine whether the packet to be transmitted in the time slot is the initial location identifier information, or may first determine the time slot to be transmitted. Whether the message is a replacement byte, first determine which of the subsequent results will not affect.
  • the clock synchronization Ethernet is transmitted to the E1 link after being transmitted to the E1 link through the E1 interface, and the slave clock of each terminal can only recognize the clock synchronization. Ethernet packets. Therefore, after the clock-synchronized Ethernet packet is translated into the packet transmitted on the E1 link, the packet needs to be converted into a clock-synchronized Ethernet packet through the E1 interface before the packet reaches each terminal.
  • the E1 interface identifies information transmitted in each time slot of the E1 link, and determines whether the information transmitted in the time slot is the first additional byte;
  • the first additional byte is deleted, and the message information of the previous time slot of the current time slot is replaced by the starting location identification information;
  • the processed packet information is encapsulated into an Ethernet packet.
  • the El interface determines, according to the start location identifier information, when receiving the packet transmitted on the E1 link, determining whether the information transmitted in the time slot is the first information for the information transmitted in each time slot received later.
  • An additional byte when identifying that the information transmitted by the time slot is the first additional byte, deleting the first additional byte transmitted in the time slot, and replacing the time slot with the start position identification information
  • the message information transmitted by the slot and determining whether the information transmitted in the time slot is the second additional byte, and deleting the second additional word transmitted in the time slot when identifying that the information transmitted in the time slot is the second additional byte And determining, according to the identified initial location identifier information, and the saved number of timeslot information included in the packet, that the processing of the packet has been completed, and the processed packet information is encapsulated into a clock synchronous Ethernet.
  • the message is sent.
  • the content in the corresponding time slot When the content in the corresponding time slot is deleted according to the content transmitted in each time slot, it may be performed according to the appealing step, or it may be first determined whether the information transmitted in each time slot is the second additional byte, and then each time is judged. Whether the information transmitted by the slot is the first additional byte, the same effect can be achieved regardless of which order is used in the judgment.
  • FIG. 4 is a schematic diagram of a process of sending a clock synchronization packet in an E1 link according to an embodiment of the present disclosure, which specifically includes the following steps:
  • the E1 interface receives the clock synchronization Ethernet transmitted between the main clock and the corresponding slave clock within a time length corresponding to the time slice allocated for each slave clock.
  • the clock synchronization Ethernet packet received by the E1 interface may be a Sync packet or a Follow_up packet sent by the master clock to the slave clock in the time slice allocated by the time period schedule for the first slave clock, or the master clock is
  • the time period schedule is a Delay_Resp message sent to the slave clock in the time slice allocated from the clock, or may be a Delay_Req message sent from the clock to the master clock in the time slice allocated by the time period schedule.
  • the packet transmitted on the E1 link is only a combination of data in 32 slots, and each slot transmits one byte of data. Therefore, the message transmitted on the E1 link has no concept of a data frame, and the E1 link is only cyclic. Transmit byte stream code. Since the packet in the E1 link does not have a corresponding channel code, it can be used to identify the start position of the packet. Therefore, in order to accurately identify the complete packet information, corresponding identifier information at the beginning of the packet is required.
  • the specific starting location identification information may be a certain byte set in advance.
  • the specific pre-set byte may be OXFF.
  • the E1 interface When the E1 interface receives the clock synchronous Ethernet packet, since the time slice is allocated to the corresponding slave clock, the E1 interface may determine that the slot is idle and has no data. Transmission, adding OXFF to this time slot. In this way, the start position of the message can be confirmed by identifying whether the OXFF information is transmitted in the time slot.
  • S403 Determine a time slot for transmitting the message according to the location of the current time slot and the number of time slots information included in each saved message, and use the determined time slot to transmit the message.
  • each clock synchronous Ethernet packet in the E1 link is the same, and the transmission time is not changed because the packet length of the packet of each clock synchronization Ethernet packet changes.
  • Clock synchronization Ethernet packet transmission is based on frame Unit, each data frame has a length of 64 bytes. Since the E1 interface is composed of 32 time slots, and each time slot can only transmit one byte, each frame clock synchronizes Ethernet packets on the E1 link. The number of time slots occupied by the Central Plains is 64.
  • the start position identification information is added to the time slot corresponding to the start position of the message, and the message information includes a certain number of message information that is the same as the start position identification information.
  • the format of the replacement byte and the additional byte is used, thereby increasing the length of the message to a certain extent, and the information of the initial location identifier included in each message.
  • the number of packet information with the same replacement byte is not equal, so the length of the packet is also unequal, so that the transmission delay of the packet cannot be effectively guaranteed.
  • the number of E1 time slots corresponding to each clock synchronization Ethernet packet data frame is uniformly set to 80. That is, 80 time slots from the start of the time slot in which the start position identification information is located are considered to be the time slots for transmitting the same message.
  • step S404 Determine, according to the determined time slot, the message information to be transmitted in each time slot, whether the message information to be transmitted in the time slot is the same as the start position identification information, and when the determination result is yes Go to step S405, otherwise, go to step S406.
  • the start position of the message is determined by adding the start position identification information in the time slot, but since each time slot in the E1 link transmits one byte, the start position identification information is also It is identified by a certain byte. Therefore, when the content of a certain byte in the message is the same as the start location identification information, in order to avoid error in message transmission, replacement and judgment are required in the embodiment of the present invention. That is, for each time slot of the message to be transmitted, the message information to be transmitted in the time slot is determined, that is, whether the byte information of the message to be transmitted in the time slot is the same as the start position identification information, that is, It is said that it is judged whether the byte information to be transmitted in the time slot is OXFF.
  • S405 The replacement byte is transmitted by using the time slot, and the first additional byte is transmitted in the next time slot of the time slot.
  • the time slot information to be transmitted in the time slot is the same as the start location identifier information OXFF used to identify the start position of the message, as shown in step S404,
  • the byte replaces the message information to be transmitted in the time slot.
  • the OXFE can be used as a replacement byte, and the time slot is used to transmit the OXFE.
  • the replacement byte is used.
  • the first additional byte is transmitted in the next time slot of the time slot, thereby identifying the location of the replacement byte.
  • the first additional byte may be any byte, for example, may be BB or AA, etc., and the first accessory byte may be BB in the embodiment of the present invention.
  • the method can ensure that the receiving end can accurately recognize the message information even if the same byte as the starting position identification information appears in the message.
  • the byte information in the message information may be the same as the start position identification information.
  • Byte information That is, when the message information to be transmitted in the time slot is OXFF byte, the OXFE byte is transmitted by the time slot, and the first additional byte BB is transmitted in the next time slot of the time slot.
  • the replacement byte OXFE may also appear in the message, and in the embodiment of the present invention, in order to distinguish the message information and the replacement information, it is necessary to judge the message information transmitted for each time slot.
  • step S407 The replacement byte is transmitted by using the time slot, and the second additional byte is transmitted in the next time slot of the time slot. Specifically, as shown in step S406, when it is determined that the information to be transmitted in the time slot is the same as the replacement byte OXFE, the time slot is used to transmit the information OXFE, and in the time slot The second additional byte is transmitted in the next time slot.
  • the second additional byte may be a byte AA or BB, or CC. Specifically, in the embodiment of the present invention, the second additional byte is AA.
  • the message information to be transmitted in the time slot is a replacement byte.
  • the replacement byte OXFE is transmitted by using the time slot, and the replacement byte is used.
  • the second additional byte AA is transmitted in the next time slot of the time slot.
  • a complete set of policies for transmitting a message is formed.
  • the E1 interface adds the start position identification information OXFF to the time slot corresponding to the transmission start position of the message in order to transmit the message immediately.
  • Each message is then transmitted with each time slot, ie each byte of the message is transmitted.
  • Each time slot transmits a corresponding byte information to determine whether the byte information is OXFF.
  • the time slot is used to transmit the replacement byte OXEF and the next time slot in the time slot.
  • the OXFEAA When OXFE appears in the message information of the packet, the OXFEAA is replaced by the combination of two time slots, and the byte information transmitted by the time slot is identified, so that the receiving end can accurately identify the message information.
  • step S404 there is no chronological order between step S404 and step S406. That is, it can be determined whether the message information to be transmitted in the time slot is a replacement byte. When the message information to be transmitted in the time slot is not replaced, it is determined whether the message information to be transmitted in the time slot is the starting position.
  • the identifier information may also be used to determine whether the packet information to be transmitted in the time slot is the initial location identifier information. When the packet information to be transmitted in the time slot is not the initial location identifier information, the packet to be transmitted in the time slot is determined. Whether the text information is a replacement byte.
  • FIG. 5 is a schematic diagram of a process for receiving time synchronization packets in an E1 link according to an embodiment of the present disclosure, which specifically includes the following steps: S501: The El interface receives the message information transmitted in each time slot of the E1 link within a time length corresponding to the time slice allocated for each slave clock.
  • the packet transmitted on the E1 link needs to be converted into a clock synchronous Ethernet packet.
  • the E1 interface receives the information transmitted in each time slot of the E1 link.
  • the information about the time slot transmission may be the Sync message or the Follow_up message or the Delay_Resp message sent by the master clock to the slave clock.
  • the packet transmitted on the E1 link after the text conversion may also be the packet transmitted in the E1 link converted from the Delay_Req packet sent by the clock to the primary clock.
  • S502 Identify message information transmitted in each time slot, and determine start position information of the message according to the identified time slot position including the start position identification information.
  • the E1 interface determines whether the information transmitted by the time slot is the starting location identification information.
  • OXFF when it is determined that the information transmitted in the time slot is OXFF, it is determined that the location of the time slot is the start position of the message.
  • S503 Determine, according to the determined start location information of the packet, the time slot information included in the E1 link of each saved message, determine a time slot for transmitting the packet.
  • each of the packets has the same number of time slots in the E1 link. As long as the start position information of the message is identified, each time slot included in the message can be determined.
  • step S504 Determine, according to each time slot for transmitting the message, whether the information transmitted in the time slot is the first additional byte. If the determination result is yes, proceed to step S505; otherwise, proceed to step S506.
  • S505 Delete the first additional byte, and replace the message information of the previous time slot of the time slot with the starting location identification information.
  • the E1 interface sequentially identifies each time slot included in the message, and determines the time slot transmission. Whether the information is the first additional byte BB, when it is determined that the information transmitted by the time slot is BB, the information BB transmitted in the current time slot is deleted, and the previous time slot of the time slot is replaced by the start position identification information OXFF. ⁇ ⁇ information.
  • the E1 interface After determining the start location information of the packet and each time slot included in the packet, the E1 interface sequentially identifies each time slot included in the packet, and the E1 interface determines the time slot. Whether the transmitted information is the second additional byte AA, and when it is determined that the information transmitted by the time slot is AA, the information AA transmitted in the time slot is deleted.
  • S508 Encapsulate the processed packet information into an Ethernet packet. According to the slot position carrying the start position identification information in the time slot in which the message is transmitted, and the number of time slots 80 included in the E1 link of each saved message, all times for transmitting the message can be determined. For each time slot, the information transmitted in the time slot is identified and judged, and the message after deleting the additional byte and replacing the replacement byte is encapsulated and encapsulated into an Ethernet packet.
  • step S504 and step S506 it may be first determined whether the information transmitted in each time slot is the first additional byte, and when the information transmitted in the time slot is not the first additional byte, determining whether the information transmitted in the time slot is the second additional byte, or It is also possible to first determine whether the information transmitted in the time slot is the second additional byte. When the information transmitted in the time slot is not the second additional byte, it is determined whether the information transmitted in the time slot is the first additional byte.
  • FIG. 6 is a schematic structural diagram of a clock synchronization apparatus in an E1 link according to an embodiment of the present disclosure, where the apparatus includes:
  • the receiving module 61 is configured to receive a clock synchronous Ethernet message transmitted between the master clock and the corresponding slave clock within a time length corresponding to the time slice allocated for each slave clock;
  • An identifier adding module 62 configured to add start location identifier information of the packet in a current time slot
  • the determining module 63 is configured to determine, according to the location of the current time slot, the number of timeslots that are included in the E1 link, and the time slot used to transmit the packet;
  • the sending module 64 is configured to perform the transmission of the packet by using the determined time slot.
  • the sending module 64 is specifically configured to determine, for each time slot of the to-be-transmitted packet, whether the packet information to be transmitted in the time slot is the same as the initial location identifier information; When the text information is the same as the start location identifier information, the slot is used to transmit the replacement byte, and the first additional byte is transmitted in the next slot of the slot; and the packet to be transmitted in the slot is to be transmitted.
  • the packet information to be transmitted in the time slot is the same as the replacement byte; when determining that the packet information to be transmitted in the time slot is different from the replacement byte At the same time, the replacement byte is transmitted by the time slot, and the second additional byte is transmitted in the next time slot of the time slot. Otherwise, the message information is transmitted by using the time slot.
  • the device also includes:
  • the encapsulating module 65 is configured to identify information transmitted in each time slot of the E1 link, determine whether the information transmitted by the time slot is the first additional byte, and when identifying that the information transmitted in the time slot is the first additional byte, Deleting the first additional byte, and replacing the message information of the previous time slot of the current time slot with the start position identification information; determining the time when identifying that the information transmitted by the time slot is not the first additional byte Whether the information transmitted by the slot is a second additional byte, and when the information transmitted by the time slot is identified as the second additional byte, deleting the second additional byte;
  • the sending module 64 is further configured to encapsulate the processed message information into an Ethernet packet.
  • the receiving module 61 is further configured to determine, according to a clock synchronization frequency and configuration information for each slave clock, a time length corresponding to a time slice allocated for each slave clock, between the receiving master clock and the corresponding slave clock Time of transmission Inter-synchronous Ethernet 4 ⁇ text.
  • the determining module 63 is specifically configured to synchronize an Ethernet packet for each clock, and determine that the packet is in the ⁇ 1 according to an integer between 1 and 1.5 times the number of timeslots in the E1 link. The number of time slots included in the link.
  • the above-mentioned detecting device as shown in Fig. 6 can be located in the E1 interface.
  • An embodiment of the present invention provides a method and a device for detecting a node address conflict.
  • the second network node periodically broadcasts each ARP packet with its own MAC address and IP address as the source address, and the second network node does not. Broadcasting all ARP packets at the same time, the first network node receives the ARP packet broadcast by the second network node, and determines whether the source address of the ARP packet conflicts with the address of the first network node itself. The address conflict information of the source address carrying the ARP packet is reported.
  • the first network node can detect whether its own IP address conflicts with the IP address of the second network node, and can also detect whether its own MAC address conflicts with the MAC address of the second network node, thereby improving the detection node.
  • the accuracy of the address conflict, and the second network node not broadcasts all ARP packets at the same time, which can avoid network flooding and reduce network transmission pressure.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage interfaces (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer-usable storage interfaces including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

本申请提供一种E1链路中的时钟同步报文的传输方法及装置,解决现有E1链路传输时钟同步报文时,时钟同步不准确的问题。该方法每个从时钟在其被分配的时间片内进行时钟同步,当E1接口接收到主时钟与从时钟之间进行时钟同步的以太网报文时,根据添加起始位置标识信息的时隙的位置,及保存的每个报文包含的时隙数量信息,确定传输该报文的时隙并采用该确定的时隙传输该报文。本申请中每个从时钟在其分配的时间片内与主时钟进行同步,可以有效的降低时钟同步报文在缓存区中的缓存时间,另外,当从时钟接收到时钟同步以太网报文时,即刻在当前时隙中传输该报文,进一步减小报文在缓存区中缓存的时间,保证了时钟同步的准确性。

Description

一种 El链路中的时钟同步报文的传输方法及装置 本申请要求在 2013年 4月 01日提交中国专利局、 申请号为 201310111371.2、发明名称为一种
E1链路中的时钟同步报文的传输方法及装置的中国专利申请的优先权, 其全部内容通过引用 结合在本申请中。 技术领域 本发明涉及工业以太网技术领域, 尤其涉及一种 E1 链路中的时钟同步报文的传输方 法及装置。 背景技术 伴随着以太网技术的飞速发展, 以太网技术被越来越多地应用于工业场合中, 为了满 足工业以太网高实时性的要求, IEEE1588 标准定义了一种精确时间协议 ( Precision Time Protocol, PTP ), 该协议为分布式测控应用而设计, 旨在实现亚微秒级的时间同步精度。
图 1为主时钟和从时钟在 IEEE1588协议下进行时钟同步时的报文交互过程示意图, 如图所示, 主时钟向从时钟发送同步 (Sync )报文, 其中该 Sync报文中携带此次时钟同 步的标识信息 (ID ) , 并且之后主时钟还会向从时钟发送跟随(Follow_up )报文, 其中 Follow_up报文中也携带有该次时钟同步的 ID , 从时钟接收到主时钟发送的报文后, 向主 时钟发送延迟请求 ( Delay_Req )报文, Delay_Req报文中携带此次时钟同步的 ID , 主时 钟根据该报文向从时钟发送延迟应答( Delay_Resp )报文, 到此完成整个的时钟同步过程。
在上述主时钟和从时钟进行时钟同步的过程中, 需要接口转换协议精确的控制数据转 换的延迟, 使得通过接口传输的每个以太网数据包的延迟保持一致, 从而可以保证主时钟 和从时钟通过 PTP协议达到高精度的同步。
但当时钟同步以太网 4艮文通过工业以太网经由 E1 链路传输到从时钟时, 时钟同步以 太网报文先以太网数据包进行传输, 为了使该报文能够在 E1 链路上传输, 需要将该以太 网数据包转换为能够在 E1 链路上传输的数据包, 而在从时钟侧为了使从时钟能够正常的 获取该数据包, 还要将该 E1链路上传输的数据包再转化为以太网数据包。
在以太网中, 数据的传输是以帧为单位的, 每个帧的长度为 64 1518字节, 图 2A为 以太网中的帧结构示意图, 帧结构中不同字段有明确的含义, 其包括 6字节的目的 mac地 址、 6字节源 mac地址、 2字节上层协议类型、 最大 1500字节最小 46字节的数据以及最 末 4字节的 CRC校验码。
当以太网中的数据被传输到 E1链路后, 数据被保存在緩存中, 按照 FIFO的原则, 从 緩存中读取数据并转换后通过 El链路传输。 E1链路上传输的数据帧没有数据帧的概念。 图 2B为 E1链路上传输的 E1帧的结构示意图, E1帧只是 32个时隙的组合, 每个时隙传 输一个字节的数据。另外在 E1链路中每个数据在传输时,都是从 E1帧的 TS0开始传输的, 即无论上个数据在哪个时隙被传输完, 再传输下一个数据时, 只能在该上个数据传输完成 后的再一个 TS0开始传输。 在上述 E1链路的传输模式下, 如果需要传输以太网数据帧, 可以通过 HDLC协议实现, 即在进行数据传输时在帧的起始位置和结束位置插入对应的控 制帧头, 再发送到链路上。
在上述工业以太网经由 E1 链路实现时钟同步的过程中, 需要保证通路上的双向数据 的传输延迟相等, 但由于双方传输的数据包的包长不相等, 并且在 E1链路上按照 FIFO的 原则, 在緩冲区中緩存的时间也不相等, 从而无法保证精确的时间同步。 另外, 当主时钟 同时需要与多个从时钟进行时钟同步时, 与每个从时钟进行时钟同步的报文都通过上述以 太网和 E1链路进行发送, 则严重影响每个从时钟的时钟同步报文在緩存区中緩存的时间, 从而导致的时钟同步更加的不准确。 发明内容 本发明实施例提供了一种 E1 链路中的时钟同步报文的传输方法及装置, 用于解决现 有技术中 E1 链路在传输时钟同步报文时, 由于传输时延的不对称造成时钟同步不准确的 问题。
本发明实施例提供了一种 E1链路中的时钟同步 ·ί艮文的传输的方法, 包括:
E1接口在针对每个从时钟被分配的时间片对应的时间长度内,接收主时钟与该对应从 时钟之间传输的时钟同步以太网报文;
在当前时隙中添加该报文的起始位置标识信息;
根据当前时隙的位置, 及保存的每个报文在 E1 链路中包含的时隙数量信息, 确定用 于传输该 4艮文的时隙, 并釆用该确定的时隙传输。
本发明实施例提供了一种 E1链路中的时钟同步报文的传输装置, 包括:
接收模块, 用于针对每个从时钟被分配的时间片对应的时间长度内 , 接收主时钟与该 对应从时钟之间传输的时钟同步以太网报文;
标识添加模块, 用于在当前时隙中添加该报文的起始位置标识信息;
确定模块, 用于根据当前时隙的位置, 及保存的每个报文在 E1 链路中包含的时隙数 量信息, 确定用于传输该报文的时隙;
发送模块, 用于釆用该确定的时隙传输。
本发明实施例提供了一种 Ε 1 链路中的时钟同步报文的传输方法及装置, 该方法每个 从时钟在其被分配的时间片内进行时钟同步, 当 E1接口接收到主时钟与从时钟之间进行 时钟同步的以太网报文时, 根据添加起始位置标识信息的时隙的位置, 及保存的每个报文 包含的时隙数量信息, 确定传输该报文的时隙并釆用该确定的时隙传输该报文。 由于在本 发明实施例中每个从时钟在其分配的时间片内与主时钟进行同步, 因此可以有效的降低时 钟同步报文在緩存区中的緩存时间, 另外, 当从时钟接收到时钟同步以太网报文时, 即刻 在当前时隙中传输该报文, 进一步减小报文在緩存区中緩存的时间, 有效的保证了时钟同 步的准确性。 附图说明 图 1为主时钟和从时钟在 IEEE1588协议下进行时钟同步时的 4艮文交互过程示意图; 图 2A为以太网中的帧结构示意图;
图 2B为 E1链路上传输的 E1帧的结构示意图;
图 3为本发明实施例提供的一种 E1链路中时钟同步 4艮文传输的过程示意图; 图 4为本发明实施例提供的一种 E1链路中时钟同步报文发送的过程示意图; 图 5为本发明实施例提供的一种 E1链路中时间同步报文接收的过程示意图; 图 6为本发明实施例提供的一种 E1链路中时钟同步 4艮文传输装置的结构示意图。 具体实施方式 本发明实施例提供了一种 E1 链路中的时钟同步报文的传输方法及装置, 该方法主要 适用于 E1接口在将时钟同步以太网 ·ί艮文转换为 E1链路上传输的 ·ί艮文时,釆用的具体 ·ί艮文 转换传输方式。
该方法中每个从时钟在其被分配的时间片内与主时钟进行时钟同步, 当 E1接口接收 到主时钟与从时钟之间进行时钟同步的以太网报文时, 根据添加起始位置标识信息的时隙 的位置, 及保存的每个报文包含的时隙数量信息, 确定传输该报文的时隙并釆用该确定的 时隙传输该 ·ί艮文。 由于在本发明实施例中每个从时钟在其被分配的时间片内与主时钟进行 同步, 因此可以有效的降低时钟同步报文在緩存区中的緩存时间, 另外, 当从时钟接收到 时钟同步以太网报文时, 即刻在当前时隙中传输该报文, 进一步减小报文在緩存区中緩存 的时间, 有效的保证了时钟同步的准确性。
下面结合说明书附图, 对本发明实施例进行详细描述。
图 3为本发明实施例提供的一种 E1链路中时钟同步报文传输的过程示意图, 具体包 括以下步骤:
S301 : E1接口在针对每个从时钟被分配的时间片对应的时间长度内,接收主时钟与该 对应从时钟之间传输的时钟同步以太网 ·ί艮文。
其中, 为所述每个从时钟分配时间片包括: 根据每个从时钟的时钟同步频率及配置信 息, 确定为每个从时钟分配的时间片对应的时间长度。
具体的, 包含主时钟的网络节点设备处于工业以太网中, 该包含主时钟的网络节点设 备通过 E1 链路与包含从时钟的每个终端进行连接。 每个终端向该网络节点设备发送请求 报文, 所述请求报文中包含该终端与该网络节点设备进行时钟同步的时钟同步频率和配置 信息, 其中, 所述配置信息包括: 该终端的标识(Identity, ID )信息、 待发送的时钟同步 以太网报文包含的总字节信息、 时序信息等。
包含主时钟的网络节点设备根据每个终端的时钟同步频率和配置信息, 为每个终端分 配时间片并确定时间周期调度表, 并将该时间周期调度表下发给各终端。 各终端接收到该 时间周期调度表之后 ,根据该时间周期调度表,在自身被分配的时间片对应的时间长度内, 与该网络节点设备进行时钟同步报文的传输。
S302: 在当前时隙中添加该报文的起始位置标识信息。
由于包含主时钟的网络节点设备为每个终端分配了对应长度的时间片, 即在该时间片 对应的时间长度, 只进行该网络节点设备与该终端之间的时钟同步报文的传输, 因此可以 保证每个时钟同步以太网报文到达 E1接口时, 该 EI接口对应的 TS0~TS31中的任一时隙 均为空闲, 无数据传输。 E1接口接收到时钟同步以太网报文时, 在当前时隙中添加该时钟 同步以太网报文的起始位置标识信息, 然后将该时钟同步以太网报文转化为 E1 数据进行 传输。
为了有效的减小时钟同步 4艮文传输的时延, 在本发明实施例中当 E1接口接收到时钟 同步以太网 ·ί艮文时, E1接口无需等待 TS0时隙的到来, 即无论当前时哪个时隙, E1接口 都釆用该当前时隙传输该 ·ί艮文, 同时, 由于无需等待 TS0时隙的到来, 为了标识该 4艮文, E1接口在传输该报文之前,在该报文的起始位置对应的时隙添加起始位置标识信息, 因为 该当前时隙为该报文的起始位置对应的时隙, 因此在该当前时隙中添加该报文的起始位置 标识信息。
该起始位置标识信息可以为规定的任意信息, 例如可以为 OXFF或 OXEF等等。
S303: 根据当前时隙的位置, 及保存的每个报文在 E1链路中包含的时隙数量信息, 确定用于传输该 ·ί艮文的时隙。
其中, 所述时隙数量为该时钟同步以太网报文在 E1链路中原占有时隙数量的 1倍到 1.5倍之间的整数。
在时钟同步以太网报文通过 E1 链路传输的过程中, 为了保证整个链路通路上的双向 时钟同步以太网报文的传输延迟相等, 需要在数据接收时设置一个固定的緩冲时间, 使得 每个时钟同步以太网报文在 E1 链路中传输的时间相同, 不会因为每个时钟同步以太网报 文的数据包的包长变化而改变传输时间, 同时,也可以保证 EI链路中的 ·ί艮文在转化为时钟 同步以太网 4艮文时, 引入的链路延时也相同。
具体的, Ε 1接口根据保存的通过每个时钟同步以太网报文在 Ε 1链路中原占有时隙数 量的 1倍到 1.5倍之间的整数而确定的时隙数量信息, 及为该时钟同步以太网报文添加的 起始位置标识信息, 确定该时钟同步以太网 4艮文的起始时隙和终止时隙, 从而确定了传输 该时钟同步以太网 ·ί艮文的时隙。
S304: 釆用该确定的时隙进行该时钟同步以太网 ·ί艮文的传输。
通过上述方法, 由于网络节点设备与各终端之间按照时间调度周期表进行时钟同步报 文的传输, 因此, 有效的避免了时间同步以太网报文在 E1接口等待发送而产生的緩存时 间, 另外, 时钟同步以太网报文在 E1接口进行传输时, 即刻釆用当前时隙传输该时钟同 步以太网报文, 并通过统一设置每个时钟同步以太网报文的时隙数量, 使得每个时钟同步 以太网报文在 E1链路中的传输时间相同, 避免了等待 TS0时隙带来的不确定延迟, 及因 每个时钟同步以太网报文的数据包的包长不同而造成的延迟不固定的问题, 因此, 提高了 时钟同步的准确性。
在本发明实施例中, 由于 ΕΙ链路在传输时钟同步以太网 ·ί艮文时,在第一个时隙中添加 了起始位置标识信息, 而该 E1 链路中每个时隙传输的信息可能与该起始位置标识信息, 为了保证时钟同步 ·ί艮文传输的准确性, 进一步达到准确时钟同步的目的, 釆用该确定的时 隙进行该报文的传输时包括:
针对每个待传输报文的时隙, 判断该时隙待传输的报文信息是否与所述起始位置标识 信息相同;
当确定该时隙待传输的报文信息与所述起始位置标识信息相同时, 釆用该时隙传输替 换字节, 并在该时隙的下一时隙中传输第一附加字节;
当该时隙待传输的报文信息与所述起始位置标识信息不相同时, 判断该时隙待传输的 报文信息是否与所述替换字节相同;
当确定该时隙待传输的 ·ί艮文信息与所述替换字节相同时, 釆用该时隙传输所述替换字 节, 并在该时隙的下一时隙中传输第二附加字节, 否则, 釆用该时隙传输该报文信息。
由于 E1链路中的时钟与在以太网链路中的时钟的频率不同,将导致数据从 E1链路向 以太网链路传输的等待延时, 与从以太网链路向 E1 链路传输的等待延时不相同, 当报文 在 E1链路通过 E1接口向以太网链路传输时, 是低频时钟域向高频时钟域的数据传输, 报 文在到达 E1接口之后无需进行等待, 可以立即进行数据的传输, 因此, 报文在 E1链路向 以太网链路传输的等待延时可以忽略不计;但当 4艮文在从以太网链路通过 E1接口向 E1链 路传输时, 是从高频时钟域向低频时钟域的数据传输过程, 以报文需要 E1 链路当前的时 隙为空, 才能保证该报文立刻被传输, 同时, 为了保证报文传输的完整性及准确性, 以太 网报文转化为 El链路上传输的报文后需要标识报文的起始位置和终止位置。 具体的, E1接口接收到时钟同步以太网报文时, 需要将该报文转换为 E1链路上传输 的报文, 为了保证报文的及时传输, 无需等待 TS0时隙的到来, 直接釆用当前时隙传输该 报文。 而由于无需等待 TS0时隙的到来, 因此需要标识报文传输的起始位置, 在本发明实 施例中即可在当前时隙中为添加起始位置标识信息, 而由于 E1 链路中每个时隙只能传输 一个字节, 因此在后续的每个时隙中传输该 ·ί艮文的一个字节。
由于每个时隙传输该报文的一个字节, 而该报文的起始位置所在的时隙中添加了起始 位置标识信息, 为了保证 ·ί艮文传输的准确性, 需要针对每个待传输 ·ί艮文的时隙, 判断该时 隙待传输的报文是否与该起始位置标识信息相同, 当该时隙待传输的报文(字节信息) 与 该起始位置标识信息不同时, 将该待传输的 ·ί艮文添加到该时隙中进行传输, 当该时隙待传 输的报文与该起始位置标识信息相同时, 为了进行区分, 在本发明实施例中釆用替换字节 替换该待传输的 ·ί艮文, 即釆用该时隙传输替换字节, 并且在该时隙的下一时隙中传输第一 附加字节。
由于在该转换后的报文中添加了替换字节, 而转换后的报文中还可能包含替换字节的 信息, 为了进一步保证 ·ί艮文传输的准确性, 在本发明实施例中还要进一步判断每个时隙待 传输的报文(字节信息)是否与该替换字节相同, 当该待传输的报文与该替换字节不同时, 将该待传输的添加到该时隙中进行传输, 当该时隙待传输的报文与替换字节相同时, 为了 进行区分, 在本发明实施例中在该时隙中传输该替换字节, 并在该时隙的下一个时隙中传 输第二附加字节。 在本发明实施例中在针对每个时隙待传输的报文进行判断时, 可以先判 断该时隙待传输的报文是否为起始位置标识信息, 也可以先判断该时隙待传输的报文是否 为替换字节, 先判断哪个对后续的结果都不会造成影响。
在本发明实施例中, 时钟同步以太网 ·ί艮文通过 E1接口转化为 E1链路上传输的 ·ί艮文后 在 E1 链路中进行传输, 由于各终端的从时钟只能识别时钟同步以太网报文, 因此, 时钟 同步以太网报文转化为 E1链路上传输的报文后 , 在该报文到达各终端之前, 需要通过 E1 接口将报文转化再转化为时钟同步以太网报文, 具体的在本发明实施例中, 通过 Ε 1接口 将 ·ί艮文转化再转化为时钟同步以太网 ·ί艮文时包括:
E1接口识别 E1链路中每个时隙传输的信息, 判断该时隙传输的信息是否为第一附加 字节;
当识别该时隙传输的信息为第一附加字节时, 将所述第一附加字节删除, 并釆用起始 位置标识信息替换该当前时隙前一时隙的报文信息;
当识别该时隙传输的信息非第一附加字节时, 判断该时隙传输的信息是否为第二附加 字节, 当识别该时隙传输的信息为第二附加字节时, 删除所述第二附加字节;
将处理后的报文信息封装为以太网报文发送。 具体的, El接口根据起始位置标识信息, 确定接收到在 E1链路上传输的报文时, 针 对之后接收到的每个时隙传输的信息, 判断该时隙传输的信息是否为第一附加字节, 当识 别该时隙传输的信息为第一附加字节时, 将该时隙中传输的所述第一附加字节删除, 并釆 用起始位置标识信息替换该时隙前一时隙传输的报文信息; 并判断该时隙传输的信息是否 为第二附加字节, 当识别该时隙传输的信息为第二附加字节时, 删除该时隙中传输的第二 附加字节; 根据识别出的起始位置标识信息, 及保存的该报文包含的时隙数量信息, 确定 对该报文的处理已经完成, 并将该处理后的报文信息封装为时钟同步以太网报文进行发 送。 在根据每个时隙传输的内容, 删除对应时隙中的内容时, 可以按照上诉步骤进行, 也 可以先判断每个时隙传输的信息是否为第二附加字节, 之后再判断每个时隙传输的信息是 否为第一附加字节, 判断时无论釆用哪种顺序, 都可以达到相同的效果。
图 4为本发明实施例提供的一种 E1链路中时钟同步报文发送的过程示意图, 具体包 括以下步骤:
S401 : E1接口在针对每个从时钟被分配的时间片对应的时间长度内,接收主时钟与该 对应从时钟之间传输的时钟同步以太网 ·ί艮文。
E1 接口接收到的时钟同步以太网报文可以是主时钟在时间周期调度表为第一从时钟 分配的时间片内, 向该从时钟发送的 Sync报文或者 Follow_up报文, 或者是主时钟在时间 周期调度表为从时钟分配的时间片内, 向该从时钟发送的 Delay_Resp报文,也可以是从时 钟在时间周期调度表为自身分配的时间片内, 向主时钟发送的 Delay_Req报文。
S402: 在当前时隙中添加该报文的起始位置标识信息。
E1链路上传输的报文只是 32个时隙的数据组合, 每个时隙传输一个字节的数据, 因 此 E1链路上传输的报文没有数据帧的概念, E1链路只是循环往复的传输字节流码。 由于 E1链路中的报文没有对应的信道编码可以用于识别报文的起始位置, 因此, 为了准确的识 别完整的报文信息, 需要在报文的起始位置相应的标识信息, 对应为起始位置标识信息, 具体的该起始位置标识信息可以为预先设置的某个字节。 例如, 具体的该预先设置的字节 可以为 OXFF, 当 E1接口接收到时钟同步以太网报文时, 由于该时间片分配给了该对应的 从时钟, 因此 E1接口可以确定当时隙空闲无数据传输, 向该时隙中添加 OXFF。 这样就可 以通过识别时隙中是否传输有 OXFF信息, 来确认该报文的起始位置。
S403: 根据当前时隙的位置, 及保存的每个报文包含的时隙数量信息, 确定用于传输 该报文的时隙, 并釆用该确定的时隙进行该报文的传输。
在时钟同步以太网报文通过 E1 链路进行数据传输的过程中, 为了保证链路通路上的 双向时钟同步以太网报文的传输延迟相等, 需要在数据接收时设置一个固定的緩冲时间, 使得每个时钟同步以太网报文在 E1 链路中的传输时间相同, 不会因为每个时钟同步以太 网报文的数据包的包长变化而改变传输时间。 例如: 时钟同步以太网报文的传输是以帧为 单位的, 每个数据帧的长度为 64字节 , 由于 E1接口是由 32个时隙组成, 且每个时隙只 能传输一个字节, 因此每帧时钟同步以太网报文在 E1链路中原占有时隙数量为 64。
但由于在本发明实施例中在报文的起始位置对应的时隙添加了起始位置标识信息, 而 报文信息中包含有一定数量的与该起始位置标识信息相同的报文信息, 在本发明实施例中 为了进行区分,釆用了替换字节和附加字节的形式,从而在一定程度上增加了报文的长度, 而每个报文中包含的与该起始位置标识信息及替换字节相同的报文信息的数量是不等, 因 此造成该报文的长度也是不等了, 从而无法有效的保证该报文的传输延迟。
因此, 在本发明实施例中为了保证 E 1 链路通路上的双向时钟同步以太网报文的传输 延迟相等, 将每个时钟同步以太网报文数据帧对应的 E1时隙数量统一设置为 80。 即从该 起始位置标识信息所在的时隙开始之后的 80个时隙, 都认为是传输同一报文的时隙。
S404: 针对确定的每个时隙, 及该每个时隙待传输的报文信息, 判断该时隙待传输的 报文信息是否与所述起始位置标识信息相同, 当判定结果为是时, 进行步骤 S405 , 否则, 进行步骤 S406。
在本发明实施例中通过在时隙中添加起始位置标识信息, 来确定报文的起始位置, 但 是由于 E1 链路中每个时隙传输一个字节, 该起始位置标识信息也是釆用某个字节来标识 的, 因此当报文中某一字节的内容与该起始位置标识信息相同时, 为了避免报文传输出现 误差, 在本发明实施例中需要进行替换和判断。 即, 针对每个待传输报文的时隙, 判断该 时隙待传输的报文信息, 即该时隙待传输的该报文的字节信息是否与该起始位置标识信息 相同, 也就是说判断该时隙待传输的字节信息是否为 OXFF。
S405: 釆用该时隙传输替换字节, 并在该时隙的下一时隙中传输第一附加字节。
具体的, 如步骤 S404所示当确定该时隙待传输的 4艮文信息与该所述用于标识该 ·ί艮文 的起始位置的起始位置标识信息 OXFF相同时, 釆用一个替换字节替换该时隙待传输的报 文信息, 例如在本发明实施例中可以釆用 OXFE作为替换字节, 釆用该时隙传输 OXFE。
为了保证从时钟接收到该 ·ί艮文后, 能够获取该 4艮文的准确内容, 在本发明实施例中当 釆用了替换字节替换了与起始位置标识信息相同的报文信息后, 为了标识该替换信息是被 替换的, 而不是 4艮文的实际内容, 在本发明实施例中釆用该时隙的下一时隙传输第一附加 字节, 从而标识该替换字节的位置。 在本发明实施例中该第一附加字节可以是任意字节, 例如可以为 BB或 AA等, 具体的在本发明实施例中该第一附件字节可以为 BB。
因此在本发明实施例中,当该时隙待传输的报文信息为 OXFF时,釆用替换字节 OXFE 替换该报文信息的内容, 此时该时隙传输的报文信息为 OXFE, 并且在该时隙的下一时隙 传输第一附加字节 BB , 从而标识上一时隙的位置及上一时隙传输的内容。 因此该方法可 以保证 ·ί艮文信息中即使出现与所述起始位置标识信息相同的字节时, 仍然能够准确的使接 收端识别出该报文信息。 S406: 判断该时隙待传输的报文信息是否与所述替换字节相同, 当判定结果为是时, 进行步骤 S407 , 否则, 进行步骤 S408。
由于报文信息中的字节信息可能会与起始位置标识信息相同, 在本发明实施例中为了 避免报文识别过程中出现误差, 釆用替换字节替换该与起始位置标识信息相同的字节信 息。 即当时隙待传输的报文信息为 OXFF字节时, 釆用该时隙传输 OXFE字节, 并在该时 隙的下一时隙传输第一附加字节 BB。但 ·ί艮文信息中也可能会出现替换字节 OXFE,在本发 明实施例中为了区分该报文信息及替换信息, 需要针对每个时隙传输的报文信息进行判 断。
S407: 釆用该时隙传输所述替换字节, 并在该时隙的下一时隙中传输第二附加字节。 具体的, 如步骤 S406所示当确定该时隙待传输的 4艮文信息与该所述替换字节 OXFE 相同时, 釆用该时隙传输该 4艮文信息 OXFE, 并在该时隙的下一个时隙中传输第二附加字 节, 在本发明实施例中该第二附加字节可以是字节 AA或 BB , 或 CC , 具体的在本发明实 施例中该第二附加字节为 AA。
即, 判断时隙待传输的报文信息是否为替换字节, 当该时隙待传输的报文信息为替换 字节 OXFE时, 釆用该时隙传输该替换字节 OXFE, 并釆用该时隙的下一时隙传输第二附 加字节 AA。
因此在本发明实施例中形成了一套完成的对报文进行传输的策略, E1接口为了即刻传 输报文, 在该报文的传输起始位置对应的时隙添加起始位置标识信息 OXFF , 之后釆用每 个时隙传输每个报文信息, 即传输报文的每个字节。 每个时隙在传输对应字节信息时, 判 断该字节信息是否为 OXFF , 当该字节信息为 OXFF时, 釆用该时隙传输替换字节 OXEF , 并在该时隙的下一时隙传输第一附加字节 BB ; 当该字节信息非 OXFF时, 进一步判断该 字节信息是否为替换字节 OXEF , 当该字节信息为 OXEF 时, 釆用该时隙传输替换字节 OXEF ,并在该时隙的下一时隙传输第二附加字节 AA,否则,釆用该时隙传输该字节信息。
这样当该报文的报文信息中出现 OXFE时, 通过两个时隙的组合 OXFEAA代替, 标 识该时隙传输的字节信息, 从而能够准确的使接收端识别该报文信息。
S408: 釆用该时隙传输该报文信息。
在如图 4所示的实施例中, 步骤 S404与步骤 S406之间没有时间上的先后顺序。 即可 以先判断时隙待传输的报文信息是否为替换字节, 当该时隙待传输的报文信息非替换字节 时, 再判断该时隙待传输的报文信息是否为起始位置标识信息, 也可以先判断时隙待传输 的报文信息是否为起始位置标识信息, 当该时隙待传输的报文信息非起始位置标识信息 时, 再判断该时隙待传输的报文信息是否为替换字节。
图 5为本发明实施例提供的一种 E1链路中时间同步报文接收的过程示意图, 具体包 括以下几个步骤: S501 : El接口在针对每个从时钟被分配的时间片对应的时间长度内, 接收 E1链路中 每个时隙传输的报文信息。
具体的, 时钟同步报文在 E1 链路中传输后, 为了保证主时钟和从时钟能够识别, 需 要将 E1链路上传输的报文转换为时钟同步以太网报文。 如图 4中上例所示, E1接口接收 E1链路中每个时隙传输的信息,其中,时隙传输的信息可以是主时钟向从时钟发送的 Sync 报文或 Follow_up报文或 Delay_Resp报文转化后的在 E1链路中传输的报文, 也可以是从 时钟向主时钟发送的 Delay_Req报文转化的 E1链路中传输的报文。
S502: 识别每个时隙中传输的报文信息, 根据识别到的包含起始位置标识信息的时隙 位置, 确定该报文的起始位置信息。
具体的, 针对每个时隙, E1 接口判断该时隙传输的信息是否为起始位置标识信息
OXFF, 当确定该时隙传输的信息为 OXFF 时, 则确定该时隙所在的位置为该报文的起始 位置。
S503: 根据确定的该报文的起始位置信息, 及保存的每个报文在 E1链路中包含的时 隙数量信息, 确定用于传输该报文的时隙。
由于在本发明实施例中为了保证报文传输的时延对称, 因此即使釆用了起始位置标识 信息、 替换字节和附加字节, 为了保证报文的长度依然相同, 在本发明实施例中每个报文 在 E1 链路中包含的时隙数量是相同的, 只要识别到了报文的起始位置信息, 即可确定该 报文包含的每个时隙。
S504: 针对传输该报文的每个时隙, 判断该时隙传输的信息是否为第一附加字节, 当 判定结果为是时, 进行步骤 S505 , 否则, 进行步骤 S506。
S505: 将所述第一附加字节删除, 并釆用起始位置标识信息替换该该时隙前一时隙的 报文信息。
当如步骤 S503所示, 确定该报文的起始位置信息及该报文包含的每个时隙以后, E1 接口依次对该报文包含的每个时隙进行识别, 判断该时隙传输的信息是否为第一附加字节 BB, 当确定该时隙传输的信息为 BB时, 将当前时隙传输的信息 BB删除, 釆用起始位置 标识信息 OXFF替换该时隙的前一时隙的 ·ί艮文信息。
S506: 判断该时隙传输的信息是否为第二附加字节, 当判定结果为是时, 进行步骤
S507, 否则, 进行步骤 S508。
S507: 删除所述第二附加字节。
当如步骤 S503所示, 确定该报文的起始位置信息及该报文包含的每个时隙以后, E1 接口依次对该报文包含的每个时隙进行识别, E1接口判断该时隙传输的信息是否为第二附 加字节 AA, 当确定该时隙传输的信息为 AA时, 将该时隙传输的信息 AA删除。
S508: 将处理后的报文信息封装为以太网报文发送。 根据传输该报文的时隙中携带起始位置标识信息的时隙位置,及保存的每个报文在 E1 链路中包含的时隙数量 80, 可以确定用于传输该报文的所有时隙, 针对每个时隙, 对该时 隙中传输的信息进行识别判断, 将删除附加字节和替换替换字节后的报文进行封装, 封装 为以太网 4艮文发送。
在如图 5所示的实施例中, 步骤 S504与步骤 S506之间没有时间上的先后顺序。 可以 先判断每个时隙传输的信息是否为第一附加字节, 当该时隙传输的信息非第一附加字节 时, 再判断该时隙传输的信息是否为第二附加字节, 或者也可以先判断该时隙传输的信息 是否为第二附加字节, 当该时隙传输的信息非第二附加字节时, 再判断该时隙传输的信息 是否为第一附加字节。
图 6为本发明实施例提供的一种 E1链路中时钟同步 4艮文传输装置的结构示意图, 该 装置包括:
接收模块 61 , 用于在针对每个从时钟被分配的时间片对应的时间长度内, 接收主时钟 与该对应从时钟之间传输的时钟同步以太网报文;
标识添加模块 62, 用于在当前时隙中添加该报文的起始位置标识信息;
确定模块 63 , 用于根据当前时隙的位置, 及保存的每个报文在 E1链路中包含的时隙 数量信息, 确定用于传输该报文的时隙;
发送模块 64, 用于釆用该确定的时隙进行该报文的传输。
所述发送模块 64 , 具体用于针对每个待传输报文的时隙, 判断该时隙待传输的报文信 息是否与所述起始位置标识信息相同; 当确定该时隙待传输的报文信息与所述起始位置标 识信息相同时, 釆用该时隙传输替换字节, 并在该时隙的下一时隙中传输第一附加字节; 并当该时隙待传输的报文信息与所述起始位置标识信息不相同时, 判断该时隙待传输的报 文信息是否与所述替换字节相同; 当确定该时隙待传输的报文信息与所述替换字节相同 时, 釆用该时隙传输所述替换字节, 并在该时隙的下一时隙中传输第二附加字节, 否则, 釆用该时隙传输该报文信息。
所述装置还包括:
封装模块 65 , 用于识别 E1链路中每个时隙传输的信息, 判断该时隙传输的信息是否 为第一附加字节; 当识别该时隙传输的信息为第一附加字节时,将所述第一附加字节删除, 并釆用起始位置标识信息替换该当前时隙前一时隙的报文信息; 当识别该时隙传输的信息 非第一附加字节时, 判断该时隙传输的信息是否为第二附加字节, 当识别该时隙传输的信 息为第二附加字节时, 删除所述第二附加字节;
所述发送模块 64, 还用于将处理后的报文信息封装为以太网报文发送。
所述接收模块 61 , 具体还用于根据针对每个从时钟的时钟同步频率及配置信息, 确定 为每个从时钟分配的时间片对应的时间长度内, 接收主时钟与该对应从时钟之间传输的时 间同步以太网 4艮文。
所述确定模块 63 , 具体用于针对每个时钟同步以太网报文, 根据该报文在 E1链路中 原占有时隙数量的 1倍到 1.5倍之间的整数, 确定该报文在 Ε 1链路中包含的时隙数量。
具体的上述如图 6所示的检测装置可以位于 E1接口中。
本发明实施例提供一种节点地址冲突的检测方法及装置, 该方法第二网络节点周期性 的广播以自身每个 MAC地址和 IP地址为源地址的各 ARP报文, 并且第二网络节点不同 时广播所有的 ARP报文,第一网络节点接收第二网络节点广播的 ARP报文,并判断该 ARP 报文的源地址是否与第一网络节点自身的地址冲突, 若冲突, 则向网管服务器上报携带该 ARP报文的源地址的地址冲突信息。通过上述方法, 第一网络节点除了可以检测自身的 IP 地址是否与第二网络节点的 IP地址冲突以外,还可以检测自身的 MAC地址是否与第二网 络节点的 MAC地址冲突, 因此提高了检测节点地址冲突的准确性, 并且第二网络节点不 同时广播所有的 ARP报文, 可以避免造成网络泛洪, 减小网络传输压力。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。 而且, 本发明可釆用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介盾 (包括但不限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程 序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产品的流程图 和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个 方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了基本创造性概 念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权利要求意欲解释为包括优选 实施例以及落入本发明范围的所有变更和修改。
显然, 本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实 施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变型属于本发明权利要求及其 等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种 E1链路中时钟同步报文的传输方法, 其特征在于, 该方法包括:
E1接口在针对每个从时钟被分配的时间片对应的时间长度内,接收主时钟与该对应从 时钟之间传输的时钟同步以太网报文;
在当前时隙中添加该报文的起始位置标识信息;
根据当前时隙的位置, 及保存的每个报文在 E1 链路中包含的时隙数量信息, 确定用 于传输该报文的时隙, 并釆用该确定的时隙进行报文的传输。
2、 如权利要求 1 所述的方法, 其特征在于, 所述釆用该确定的时隙进行报文的传输 包括:
针对每个待传输报文的时隙, 判断该时隙待传输的报文信息是否与所述起始位置标识 信息相同,
当确定该时隙待传输的报文信息与所述起始位置标识信息相同时, 釆用该时隙传输替 换字节, 并在该时隙的下一时隙中传输第一附加字节;
当该时隙待传输的报文信息与所述起始位置标识信息不相同时, 判断该时隙待传输的 报文信息是否与所述替换字节相同,
当确定该时隙待传输的 4艮文信息与所述替换字节相同时, 釆用该时隙传输所述替换字 节, 并在该时隙的下一时隙中传输第二附加字节, 否则, 釆用该时隙传输该报文信息。
3、 如权利要求 2所述的方法, 其特征在于, 所述方法还包括:
E1接口识别 E1链路中每个时隙传输的信息, 判断该时隙传输的信息是否为第一附加 字节;
当识别该时隙传输的信息为第一附加字节时, 将所述第一附加字节删除, 并釆用起始 位置标识信息替换该当前时隙前一时隙的报文信息;
当识别该时隙传输的信息非第一附加字节时, 判断该时隙传输的信息是否为第二附加 字节, 当识别该时隙传输的信息为第二附加字节时, 删除所述第二附加字节;
将处理后的报文信息封装为以太网报文发送。
4、 如权利要求 1所述的方法, 其特征在于, 为所述每个从时钟分配时间片包括: 根据每个从时钟的时钟同步频率及配置信息, 确定为每个从时钟分配的时间片对应的 时间长度。
5、 如权利要求 1 所述的方法, 其特征在于, 所述时隙数量为该时钟同步以太网报文 在 E1链路中原占有时隙数量的 1倍到 1.5倍之间的整数。
6、 一种 E1链路中的时钟同步报文的传输装置, 其特征在于, 所述装置包括: 接收模块, 用于在针对每个从时钟被分配的时间片对应的时间长度内 , 接收主时钟与 该对应从时钟之间传输的时钟同步以太网报文;
标识添加模块, 用于在当前时隙中添加该报文的起始位置标识信息;
确定模块, 用于根据当前时隙的位置, 及保存的每个报文在 E1 链路中包含的时隙数 量信息, 确定用于传输该报文的时隙;
发送模块, 用于釆用该确定的时隙进行 ·ί艮文的传输。
7、 如权利要求 6 所述的装置, 其特征在于, 所述发送模块, 具体用于针对每个待传 输报文的时隙, 判断该时隙待传输的报文信息是否与所述起始位置标识信息相同; 当确定 该时隙待传输的报文信息与所述起始位置标识信息相同时, 釆用该时隙传输替换字节, 并 在该时隙的下一时隙中传输第一附加字节; 并当该时隙待传输的报文信息与所述起始位置 标识信息不相同时, 判断该时隙待传输的报文信息是否与所述替换字节相同; 当确定该时 隙待传输的 4艮文信息与所述替换字节相同时, 釆用该时隙传输所述替换字节, 并在该时隙 的下一时隙中传输第二附加字节, 否则, 釆用该时隙传输该报文信息。
8、 如权利要求 7所述的装置, 其特征在于, 所述装置还包括:
封装模块, 用于识别 E1 链路中每个时隙传输的信息, 判断该时隙传输的信息是否为 第一附加字节; 当识别该时隙传输的信息为第一附加字节时, 将所述第一附加字节删除, 并釆用起始位置标识信息替换该当前时隙前一时隙的报文信息; 当识别该时隙传输的信息 非第一附加字节时, 判断该时隙传输的信息是否为第二附加字节, 当识别该时隙传输的信 息为第二附加字节时, 删除所述第二附加字节;
所述发送模块, 还用于将处理后的报文信息封装为以太网报文发送。
9、 如权利要求 6 所述的装置, 其特征在于, 所述接收模块, 具体用于根据针对每个 从时钟的时钟同步频率及配置信息, 确定为每个从时钟分配的时间片对应的时间长度内, 接收主时钟与该对应从时钟之间传输的时间同步以太网 4艮文。
10、 如权利要求 6所述的装置, 其特征在于, 所述确定模块, 具体用于针对每个时钟 同步以太网报文,根据该报文在 E1链路中原占有时隙数量的 1倍到 1.5倍之间的整数,确 定该报文在 Ε 1链路中包含的时隙数量。
PCT/CN2013/074077 2013-04-01 2013-04-11 一种e1链路中的时钟同步报文的传输方法及装置 WO2014161206A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310111371.2 2013-04-01
CN201310111371.2A CN103227708B (zh) 2013-04-01 2013-04-01 一种e1链路中的时钟同步报文的传输方法及装置

Publications (1)

Publication Number Publication Date
WO2014161206A1 true WO2014161206A1 (zh) 2014-10-09

Family

ID=48837979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/074077 WO2014161206A1 (zh) 2013-04-01 2013-04-11 一种e1链路中的时钟同步报文的传输方法及装置

Country Status (2)

Country Link
CN (1) CN103227708B (zh)
WO (1) WO2014161206A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102016107629A1 (de) * 2016-04-25 2017-10-26 Schaffner International AG Gerät zur Synchronisation über eine Ethernetschnittstelle
CN110224887B (zh) * 2019-06-04 2021-07-06 北京挚友科技有限公司 一种以太网y.1564测试帧自动识别的方法与装置
CN114422064B (zh) * 2021-12-15 2023-09-12 北京罗克维尔斯科技有限公司 报文转发方法及其装置
CN114554515B (zh) * 2022-04-21 2022-07-19 广州世炬网络科技有限公司 一种5g基站时间同步的判断方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816506B1 (en) * 1999-12-17 2004-11-09 Hyundai Electronics Ind. Co., Ltd. Fractional E1 link device between base station and base station controller
CN101247168A (zh) * 2007-02-15 2008-08-20 华为技术有限公司 一种时间同步的方法及系统

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816506B1 (en) * 1999-12-17 2004-11-09 Hyundai Electronics Ind. Co., Ltd. Fractional E1 link device between base station and base station controller
CN101247168A (zh) * 2007-02-15 2008-08-20 华为技术有限公司 一种时间同步的方法及系统

Also Published As

Publication number Publication date
CN103227708B (zh) 2016-05-25
CN103227708A (zh) 2013-07-31

Similar Documents

Publication Publication Date Title
WO2012003746A1 (zh) 一种实现边界时钟的方法和装置
CN101547083B (zh) 时间同步装置、时间同步系统和时间同步方法
JP5918849B2 (ja) ネットワークトンネルを通してデータを転送するための方法および装置
WO2015117501A1 (zh) 一种时间同步方法、可编程逻辑器件、单板及网元
US8982897B2 (en) Data block output apparatus, communication system, data block output method, and communication method
EP3163786B1 (en) Clock synchronization method and apparatus
CN101827098A (zh) 时间同步的处理方法及装置
WO2012151808A1 (zh) 基于精确时钟协议提高同步精度的方法及系统
WO2011017867A1 (zh) 光传送网承载时间同步协议的方法及系统
US8644350B2 (en) Packet-based timing measurement
WO2010057398A1 (zh) 透传时钟的实现装置和方法
WO2014194517A1 (zh) 一种传输数据的方法及设备
WO2014161206A1 (zh) 一种e1链路中的时钟同步报文的传输方法及装置
WO2022027666A1 (zh) 一种时间同步方法及装置
CN103607270B (zh) 提高Powerlink以太网同步性能的方法
WO2013185111A2 (en) Methods and apparatus for synchronization among integrated circuits within a wireless network
CN103138887A (zh) 一种1588事件报文的处理方法及系统
CN101753578A (zh) Ethernet/e1协议转换方法及协议转换器
WO2017177751A1 (zh) 时间同步方法和装置
CN103546273A (zh) 基于ptp帧的频率同步装置及方法
WO2016004645A1 (zh) 一种基于e1链路的ieee1588时钟同步方法、系统及装置
WO2013097754A1 (zh) 一种空口数据同步处理的方法和装置
Diarra et al. Improved clock synchronization start-up time for Ethernet AVB-based in-vehicle networks
WO2020103540A1 (zh) 同步的方法和装置
CN103441832A (zh) 基于ptp的时钟同步方法、系统和设备

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

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

Country of ref document: EP

Kind code of ref document: A1