WO2016074508A1 - 一种实现时隙同步的方法和装置 - Google Patents

一种实现时隙同步的方法和装置 Download PDF

Info

Publication number
WO2016074508A1
WO2016074508A1 PCT/CN2015/086533 CN2015086533W WO2016074508A1 WO 2016074508 A1 WO2016074508 A1 WO 2016074508A1 CN 2015086533 W CN2015086533 W CN 2015086533W WO 2016074508 A1 WO2016074508 A1 WO 2016074508A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
control frame
master node
core path
data frame
Prior art date
Application number
PCT/CN2015/086533
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 中兴通讯股份有限公司
Priority to JP2017525531A priority Critical patent/JP2017539150A/ja
Priority to KR1020177015878A priority patent/KR102114872B1/ko
Priority to US15/526,340 priority patent/US10419201B2/en
Priority to EP15859061.2A priority patent/EP3206314B1/en
Publication of WO2016074508A1 publication Critical patent/WO2016074508A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0075Arrangements for synchronising receiver with transmitter with photonic or optical means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/062Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers
    • H04J3/0623Synchronous multiplexing systems, e.g. synchronous digital hierarchy/synchronous optical network (SDH/SONET), synchronisation with a pointer process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • H04B10/275Ring-type networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • H04L12/43Loop networks with decentralised control with synchronous transmission, e.g. time division multiplex [TDM], slotted rings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0066Provisions for optical burst or packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • H04Q2011/0037Operation
    • H04Q2011/0045Synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/009Topology aspects
    • H04Q2011/0092Ring

Definitions

  • This document relates to optical network technologies, and more particularly to a method and apparatus for implementing time slot synchronization applied to an Optical Burst Transport Network (OBTN).
  • OBTN Optical Burst Transport Network
  • the flexible pipelines and statistical multiplexing characteristics of packet-switched networks are naturally adapted to data.
  • the packet switching of the related art is basically based on the electrical layer processing, and the cost is high, and the energy consumption is large. With the rapid growth of the traffic, the processing bottleneck becomes increasingly prominent, and it is difficult to adapt to the future high speed, flexibility, low cost, and low power consumption of the network. need.
  • Optical networks have the advantages of low cost, low power consumption, and high speed and large capacity.
  • traditional optical circuit switching networks such as Wavelength Division Multiplexing (WDM) and Optical Transport Network (OTN) can only provide large
  • WDM Wavelength Division Multiplexing
  • OTN Optical Transport Network
  • the Gigabit-Capable Passive Optical Network (GPON) technology combines the advantages of the optical layer and the electrical layer to some extent.
  • the downlink signal transmitted by the optical line terminal (OLT, Optical Line Terminal) is distributed to each optical network unit (ONU, Optical Network Unit) by means of optical layer broadcasting, and at the same time,
  • the downlink frame header carries a bandwidth map of the uplink frame to indicate the transmission time and length of each ONU uplink data.
  • each ONU sends data according to the bandwidth map indication, and is multiplexed into one wavelength channel by an optical coupler and uploaded. To the OLT.
  • GPON has a high-speed optical layer on one hand.
  • GPON generally adopts a star/tree topology. Its working principle is suitable for carrying multi-point to single-point aggregation traffic (the north-south traffic dominates), so it is successfully applied and deployed on the access network.
  • OBTN optical burst
  • OB optical burst
  • Dynamic adaptation and good support for scenarios such as burst traffic, etc. can improve resource utilization efficiency and network flexibility, while retaining the advantages of high speed, large capacity and low cost of the optical layer, and is applicable to stars, trees, rings, and the like.
  • Network topology At the same time, the data channel and the control channel are transmitted at different wavelengths, which is very convenient for separate processing of control signals and data signals.
  • the optical burst switching network of the related art needs to configure a delay fiber (FDL) so that the ring length is an integer multiple of the length of the time slot, and the delay fiber is also required to be configured at the node to achieve a relationship between the data frame and the control frame, such as Have the same arrival time; and the optical burst packet has a fixed length, and the guard interval is also a fixed length.
  • the configuration of the FDL complicates the design of the network, and the length control is cumbersome, which also causes a certain loss to the optical power.
  • the time precision of the slot synchronization of the node needs to be implemented by a large number of FDL arrays, and this is not realistic.
  • Embodiments of the present invention provide a method and apparatus for implementing slot synchronization, which can improve the time precision of slot synchronization.
  • the embodiment of the present invention provides a method for implementing time slot synchronization, which is applied to an optical burst transmission network OBTN, and includes:
  • the master node performs time slot synchronization training of the OBTN according to the time slot length of the OBTN.
  • the method before the master node performs the time slot synchronization training of the OBTN according to the time slot length of the OBTN, the method further includes:
  • the master node performs path detection on the OBTN to obtain a network topology structure
  • the master node selects a core path from the obtained network topology, and detects the length of the core path or the length of the core path and the length of the non-core path, according to the length of the core path, or the core path and The length of the non-core path calculates the length of the time slot.
  • the master node performs path detection on the OBTN to obtain a network topology, including:
  • the slave node or the proxy master node After receiving the first test control frame, the slave node or the proxy master node adds its own node information to the first test control frame to form a path, and connects to itself after a fixed delay.
  • the other test node sends the first test control frame after adding its own node information;
  • the master node After receiving the first test control frame, the master node integrates the paths in all the first test control frames to obtain the network topology.
  • the time synchronization training of the OBTN by the primary node according to the time slot length of the OBTN includes:
  • the determining, by the primary node, the first time interval in which the primary node sends a control frame earlier than the data frame in the core path according to the time slot length of the OBTN includes:
  • the master node sequentially sends a first test data frame and a second test control frame to the slave node or the proxy master node of the core path according to the time slot length of the OBTN; the slave node or the agent master node receives the second test.
  • the second test control frame is forwarded to the next node of the core path, and after receiving the first test data frame, the first test data frame is directly forwarded to the next node of the core path;
  • the primary node Measuring a first delay of receiving the second test control frame and the first test data frame back to the primary node;
  • the proxy master node sequentially sends the second test data frame and the third test control frame to the slave node of the non-core path where the proxy master node is located according to the time slot length of the OBTN; the slave node receives the third test control After the fixed delay of the frame, the third test control frame is forwarded to the next node of the non-core path, and after receiving the second test data frame, the second test data frame is directly forwarded to the next node of the non-core path; the agent The master node measures a second delay of receiving the third test control frame and the second test data frame back to the proxy master node;
  • the master node receives the second delay from the proxy master node
  • the master node sequentially sends a first test data frame and a second test control frame to the slave node or the proxy master node of the core path according to the time slot length of the OBTN; the slave node or the proxy master node receives the first After the second test control frame is fixed, the second test control frame is forwarded to the next node of the core path, and the first test data frame is directly forwarded to the core path after receiving the first test data frame. a next node; the master node acquires a second time interval from the sending of the second test control frame to the receiving of the second test control frame, calculating the obtained second time interval and the length of the core path The difference between the two is the first delay;
  • the agent master node sequentially sends a second test data frame and a third test control frame to the slave node of the non-core path in which the OBTN is located according to the time slot length of the OBTN; the slave node receives the third test control After the fixed delay of the frame, the third test control frame is forwarded to the next node of the non-core path, and after the second test data frame is received, the second test data frame is directly forwarded to the non- a next node of the core path; the proxy master node acquires a third time interval from transmitting the third test control frame to receiving the third test control frame, calculating the obtained third time interval and the self The difference between the lengths of the non-core paths is the second delay;
  • the master node receives the second delay from the proxy master node
  • the master node determines, according to the first delay and the second delay, a first time interval in which the primary node sends a control frame earlier than a data frame in the core path.
  • the determining, according to the first time interval and the length of the time slot, that the third time delay that each of the slave nodes or the proxy master node itself receives or sends the control frame earlier than the data frame includes:
  • the primary node sequentially sends a third test data frame and a fourth test control frame to the slave node or the proxy master node of the core path according to the length of the time slot, and keeps the first one earlier than the third test data frame. Transmitting the fourth test control frame at a time interval;
  • the slave node or the proxy master node measures a third delay of receiving the fourth test control frame and the third test data frame by itself, and after receiving the third test data frame, the next slave to the core path
  • the node forwards the third test data frame, and after receiving the fixed delay of the fourth test control frame, forwards the fourth test control frame to the next slave node of the core path.
  • the fourth delay includes:
  • the proxy master node sequentially sends the fourth test data frame and the fifth test control frame to the slave node of the non-core path according to the length of the time slot, and maintains the third of the proxy master node ahead of the fourth test data frame. Transmitting a difference between the delay and the fixed delay to send a fifth test control frame;
  • Each slave node measures itself to receive a fourth delay of the fifth test control frame and the fourth test data frame, and forwards the next test data frame to the next slave node of the non-core path after receiving the fourth test data frame
  • the fourth test data frame after receiving the fixed delay of the fifth test control frame, forwarding the fifth test control frame to the next slave node of the non-core path;
  • the proxy master node forwards the third test data frame and the fourth test control frame from the master node to each of the slave nodes of the non-core path; each slave node itself receives the fourth test Controlling a fourth delay of the frame and the third test data frame, and forwarding the third test data frame to the next slave node of the non-core path after receiving the third test data frame, receiving And forwarding the fourth test control frame to a next slave node of the non-core path after a fixed delay of the fourth test control frame.
  • the method further includes: the primary node receiving bandwidth of the slave node from the core path request;
  • the primary node indicates information about a time slot in which the slave node uses one slot length to transmit data, and each of the slave nodes sent to the core path in the bandwidth map information;
  • the slave node of the core path sends or receives the data frame and the control frame at the corresponding slot position according to the received bandwidth map information, the third delay, and the slot position of the received control frame;
  • the master node receives a bandwidth request from a slave node of the non-core path
  • Determining, by the master node, that the determined path does not cross the proxy master node, and information indicating a time slot in which the slave node uses one slot length to transmit data is included in the bandwidth map information and sent to each slave node of the non-core path;
  • the slave node of the non-core path sends or receives a data frame and a control frame at a corresponding slot position according to the received bandwidth map information, the fourth delay, and the slot position of the received control frame;
  • Each agent master node calculates the excess time length in the non-core path according to the length of the non-core path in which the agent is located, and sends the calculated excess time length to the master node;
  • the master node receives a bandwidth request from a non-core path of the slave node, and determines, according to the bandwidth request, a path that the slave node sends data to the receiving node;
  • the master node determines that the determined path crosses the proxy master node and the excess time length is greater than zero, and the master node indicates that the slave node uses two slot lengths to transmit data. Sending to the core path, each slave node on the non-core path; the master node determines that the determined path crosses the proxy master node and the excess time length is equal to zero, and the master node will indicate The information of one time slot in which the node uses one slot length to transmit data is included in each of the slave nodes of the core path and the non-core path in the bandwidth map information;
  • the data frame and the control frame are transmitted or received at the corresponding slot position according to the received bandwidth map information, the fourth delay, and the slot position of the received control frame.
  • An embodiment of the present invention further provides a master node, including:
  • the synchronization module is configured to perform time slot synchronization training of the OBTN according to the time slot length of the OBTN.
  • it also includes:
  • the detecting module is configured to perform path detection on the OBTN to obtain a network topology; select a core path from the obtained network topology, and detect a length of the core path or a length of the core path and a length of the non-core path;
  • the calculation module is configured to calculate the slot length according to the length of the core path or the length of the core path and the non-core path.
  • the detecting module performs path detection on the OBTN to obtain a network topology, including:
  • the synchronization module is set to:
  • the determining, by the synchronization module, determining, according to the time slot length of the OBTN, a first time interval in which the primary node sends a control frame earlier than the data frame in the core path including:
  • the primary node sends a first time interval in which the control frame is advanced from the data frame.
  • the determining, by the synchronization module, determining, according to the first time interval and the time slot length of the OBTN, a third delay that each of the slave nodes or the proxy master node itself receives or sends a control frame earlier than the data frame includes:
  • the master node further includes:
  • a first receiving module configured to receive a bandwidth request from a slave node of the core path
  • a first sending module configured to include information indicating a time slot in which the slave node uses one slot length to transmit data, and each of the slave nodes sent to the core path in the bandwidth map information;
  • a first receiving module configured to receive a bandwidth request from a slave node of the non-core path, and determine, according to the bandwidth request, a path for the slave node to send data to the receiving node;
  • the first sending module is configured to: determine that the determined path does not cross the proxy master node, and information that indicates that the slave node uses one slot length to transmit data, and the information about the slot is included in the bandwidth map information and sent to the non-core path.
  • a first receiving module configured to receive an excess time length in a non-core path sent by each proxy master node, and receive a bandwidth request of the slave node from the non-core path, and determine, according to the bandwidth request, that the slave node sends data to The path of the receiving node;
  • the first sending module is configured to: determine that the determined path crosses the proxy master node, and the excess time length is greater than zero, and information indicating that one time slot of the slave node uses two time slot lengths to transmit data is included in Transmitted to the core path and the non-core path in the bandwidth map information
  • An embodiment of the present invention further provides a proxy master node, including:
  • a second receiving module configured to receive a first test data frame and a second test control frame from the primary node; and measure a second delay of receiving the third test control frame and the second test data frame back to itself;
  • the second sending module is configured to: after receiving the fixed delay of the second test control frame, forwarding the second test control frame to the next node of the core path, and directly forwarding the first test data frame after receiving the first test data frame Giving a next node of the core path; sending a second test data frame and a third test control frame to the slave nodes of the non-core path where the proxy master node is located according to the time slot length of the OBTN; sending the second delay Give the master node.
  • the second receiving module is further configured to: after receiving the first test control frame, add its own node information to the first test control frame to form a path;
  • the second sending module is further configured to: after a fixed delay, send a first test control frame after adding its own node information to other nodes connected to itself.
  • the second sending module is further configured to: send, according to the time slot length of the OBTN, the second test data frame and the third test control frame to the slave node of the non-core path where the proxy master node is located; The second delay is sent to the master node;
  • the second receiving module is further configured to: measure a second delay of receiving the third test control frame and the second test data frame back to the proxy master node; or acquire the third test from the sending
  • the second time interval is obtained by controlling a difference between the control frame and the third test control frame, and calculating a difference between the obtained third time interval and the length of the non-core path where the self is located.
  • the second receiving module is further configured to: measure a third delay that receives the fourth test control frame and the third test data frame by itself;
  • the second sending module is further configured to: after receiving the third test data frame, forward the third test data frame to a next slave node of the core path, and receive the fourth test control The fourth test control frame is forwarded to the next slave node of the core path after a fixed delay of the frame.
  • the second sending module is further configured to: determine, according to the third delay of the proxy primary node and the time slot length of the OBTN, each slave node or the proxy master node in the non-core path to receive or send the control frame ratio data.
  • the fourth delay of the frame advance is further configured to: determine, according to the third delay of the proxy primary node and the time slot length of the OBTN, each slave node or the proxy master node in the non-core path to receive or send the control frame ratio data.
  • the second sending module is configured to: sequentially send the fourth test data frame and the fifth test control frame to the slave node of the non-core path according to the time slot length of the OBTN, and maintain the ratio of the fourth test data frame.
  • the fifth test control frame is sent in advance by the difference between the third delay of the proxy master node and the fixed delay.
  • the second receiving module is further configured to: receive a third test data frame and a fourth test control frame from the primary node;
  • the second sending module is further configured to: send the third test data frame and the fourth test control frame to each slave node of the non-core path.
  • the embodiment of the invention also proposes a slave node, including:
  • a third receiving module configured to receive the second test control frame and the first test data frame
  • the third sending module is configured to forward the second test control frame to the next node of the core path after receiving the fixed delay of the second test control frame, and directly forward the first test data after receiving the first test data frame The frame is given to the next node of the core path.
  • the third receiving module is further configured to: after receiving the first test control frame, add its own node information to the first test control frame to form a path;
  • the third sending module is further configured to: after a fixed delay, send a first test control frame after adding its own node information to other nodes connected to itself.
  • the third receiving module is further configured to: receive the third test control frame and the second test data frame;
  • the third sending module is further configured to: after receiving the fixed delay of the third test control frame, forwarding the third test control frame to the next node of the non-core path, and directly forwarding after receiving the second test data frame The second test data frame is given to the next node of the non-core path.
  • the third receiving module is further configured to: measure a third delay that receives the fourth test control frame and the third test data frame by itself;
  • the third sending module is further configured to: after receiving the third test data frame, forward the third test data frame to a next slave node of the core path, and receive the fourth test control frame After the fixed delay, the fourth test control frame is forwarded to the next slave node of the core path.
  • the third receiving module is further configured to: measure a fourth delay of receiving the fifth test control frame and the fourth test data frame by itself;
  • the third sending module is further configured to: after receiving the fourth test data frame, forward the fourth test data frame to a next slave node of the non-core path, where the fifth test control frame is received After a fixed delay, the fifth test control frame is forwarded to the next slave node of the non-core path.
  • the third receiving module is further configured to: measure a fourth delay that is received by the fourth test control frame and the third test data frame by itself;
  • the third sending module is further configured to: after receiving the third test data frame, forward the third test data frame to a next slave node of the non-core path, and receive the fourth test control The fourth test control frame is forwarded to the next slave node of the non-core path after a fixed delay of the frame.
  • the third sending module or the third receiving module is further configured to:
  • the data frame and the control frame are transmitted or received at the corresponding slot position according to the received bandwidth map information, the received third delay or the fourth delay, and the slot position of the received control frame.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • the master node performs time slot synchronization training of the OBTN according to the time slot length of the OBTN.
  • the FDL is not required to be considered in the node design, the node design is simplified, the time precision of synchronization is improved, and the light efficiency is not lost.
  • FIG. 1 is a flowchart of a method for implementing slot synchronization according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an OBTN according to an embodiment of the present invention.
  • Figure 3 (a) is a schematic diagram of an OBTN multi-phase tangent ring network
  • Figure 3 (b) is a schematic view of the first ring in the OBTN multi-phase tangent ring network of Figure 3 (a);
  • Figure 3 (c) is a schematic view of the core ring in the OBTN multi-phase tangent ring network of Figure 3 (a);
  • Figure 3 (d) is a schematic view of the second ring in the OBTN multi-phase tangent ring network of Figure 3 (a);
  • 4(a) is a schematic diagram showing the relative timing of a control frame and a data frame
  • 4(b) is a schematic diagram of a slot position when data is transmitted across a proxy master node
  • FIG. 5 is a schematic structural diagram of a structure of a master node according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a proxy master node according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a slave node according to an embodiment of the present invention.
  • FIG. 1 an embodiment of the present invention provides a method for implementing slot synchronization, which is applied to an OBTN
  • FIG. 2 is a schematic structural diagram of an OBTN.
  • the OBTN contains multiple nodes, namely A, B, C, D...X, Y, etc. These nodes are connected together through the OBTN network.
  • the method includes:
  • Step 100 The master node performs path detection on the OBTN to obtain a network topology structure.
  • the master node respectively sends a first test control frame containing the node information of the master node to all the slave nodes or the agent master node connected to itself; after receiving the first test control frame from the node or the agent master node, The node information of the own is added to the first test control frame to form a path, and after a fixed delay, sends a control frame after adding the node information of the node to the other nodes connected to itself; the master node receives all the first test control frames. Afterwards, the paths in all the first test control frames are integrated to obtain the network topology.
  • the node information may be a node name or an Internet Protocol (IP) address.
  • IP Internet Protocol
  • nodes refer to nodes connected to themselves except nodes that send control frames to themselves.
  • FIG. 3 is a schematic illustration of an OBTN multi-phase tangent ring network.
  • the master node A when it needs to perform path detection on the OBTN multi-cut ring network, it sends a control frame to the slave node B and the slave node D respectively, and the control frame includes the node name of A; the slave node B After receiving the control frame, the node name of B is added to the control frame to form a path of A to B, and the control frame is sent to the slave node A2 and the slave node C2; likewise, after receiving the control frame from the node D, D is The node name is added to the control frame to form a path of A to D, and the control frame is sent to the slave node A3 and the slave node C3; thus, the master node A finally receives 14 control frames, each control frame containing a path, These paths are:
  • a ⁇ B ⁇ C2 ⁇ B2 ⁇ A2 ⁇ B ⁇ C ⁇ D ⁇ A A ⁇ B ⁇ A2 ⁇ B2 ⁇ C2 ⁇ B ⁇ C ⁇ D ⁇ A
  • a ⁇ B ⁇ C2 ⁇ B2 ⁇ A2 ⁇ B ⁇ A A ⁇ B ⁇ A2 ⁇ B2 ⁇ C2 ⁇ B ⁇ A;
  • a ⁇ B ⁇ C ⁇ D ⁇ A3 ⁇ D3 ⁇ C3 ⁇ D ⁇ A A ⁇ B ⁇ C ⁇ D ⁇ C3 ⁇ D3 ⁇ A3 ⁇ D ⁇ A;
  • a ⁇ B ⁇ C ⁇ D ⁇ A3 ⁇ D3 ⁇ C3 ⁇ D ⁇ C ⁇ B ⁇ A A ⁇ B ⁇ C ⁇ D ⁇ C3 ⁇ D3 ⁇ A3 ⁇ D ⁇ C ⁇ B ⁇ A;
  • a ⁇ B ⁇ C2 ⁇ B2 ⁇ A2 ⁇ B ⁇ C ⁇ D ⁇ A3 ⁇ D3 ⁇ C3 ⁇ D ⁇ A A ⁇ B ⁇ A2 ⁇ B2 ⁇ C2 ⁇ B ⁇ C ⁇ D ⁇ A3 ⁇ D3 ⁇ C3 ⁇ D ⁇ A, A ⁇ B ⁇ C2 ⁇ B2 ⁇ A2 ⁇ B ⁇ C ⁇ D ⁇ C3 ⁇ D3 ⁇ A3 ⁇ D ⁇ A, A ⁇ B ⁇ A2 ⁇ B2 ⁇ C2 ⁇ B ⁇ C ⁇ D ⁇ C3 ⁇ D3 ⁇ A3 ⁇ D ⁇ A.
  • A can integrate the OBTN multi-phase tangent ring network including three ring networks, respectively A ⁇ B ⁇ C ⁇ D ⁇ A (as shown in Figure 3(c)), B ⁇ A2 ⁇ B2 ⁇ C2 ⁇ B (as shown in Fig. 3 (b)) and D ⁇ A3 ⁇ D3 ⁇ C3 ⁇ D (as shown in Fig. 3 (d)).
  • the path detection of the network also needs to be performed in real time to monitor the network topology changes in real time and adjust accordingly.
  • Step 101 The master node selects a core path from the obtained network topology, and detects the core path. The length of the path or the length of the core path and the length of the non-core path, and calculating the time slot length according to the length of the core path or the length of the core path and the non-core path;
  • a simple network (such as a ring network or a chain network) in which the primary node is located may be selected as a core path, or a simple network located at a core location of the network may be selected as a core path.
  • the core ring in Figure 3(c) is the core path.
  • the first ring in Figure 3(b) and the second ring in Figure 3(d) are non-core paths, while the core path and non-core are Node B and node D between the paths are the agent master nodes.
  • the ring network A ⁇ B ⁇ C ⁇ D ⁇ A in the OBTN multi-phase tangent ring network can be selected as the core ring (as shown in FIG. 3(c)), then the ring network B ⁇ A2 ⁇ B2 ⁇ C2 ⁇ B and ring network D ⁇ A3 ⁇ D3 ⁇ C3 ⁇ D are sub-rings, which are the first ring (as shown in Figure 3(b)) and the second ring (as shown in Figure 3(d)). .
  • the core ring includes node A, node B, node C and node D, node A is the master node, node B and node D are also in the first ring and the second ring respectively, and node B and node D are respectively.
  • agent master node node B travels the agent function of the master node in the first ring
  • node D travels the agent function of the master node in the second ring.
  • the core network, the first ring and the second ring are both bidirectional rings.
  • the inner ring optical path of the core ring is in the clockwise direction, and the outer ring is in the counterclockwise direction.
  • the default outer ring is the working ring and the inner ring is the protection ring. Under normal circumstances, all services are taken from the outer ring, and the inner ring is idle.
  • the inner ring and the outer ring can also be in working state at the same time.
  • the control channel ⁇ c remains in the same direction as the outer ring, and the control channel can also be configured on the inner ring.
  • the length of the non-core path is detected by the proxy master node, and the proxy master node may detect the length of the non-core path under the instruction of the master node, or may independently trigger the length of the non-core path.
  • the length of the core path or the non-core path is a ring length; when the core path or the non-core path is a chain type network, the length of the core path or the non-core path is Linear length.
  • the length of the core path should be an integer multiple of the length of the time slot, or the length of the core path and The length of the non-core path is an integer multiple of the slot length. For example, it may be 5 times, or 12 times, or other multiples.
  • the slot length includes a slot packet length and a slot guard interval.
  • the slot length and the slot guard interval may both be adjusted, or only one of them may be adjusted to adjust the slot length, so that the core path length is an integer multiple of the slot length.
  • each node in the network does not have FDL.
  • the master node refers to the length of the core path (such as the loop length or linear length) according to the path detection result, and tries to refer to the length of the non-core path.
  • the slot length, the slot guard interval, and the like are calculated such that the length of the core path is an integer multiple of the slot length, or the length of the core path and the length of the non-core path are integer multiples of the slot length.
  • the slot length, the guard interval between slots, and the like are all passed to each slave node through the control frame in the form of information. As shown in FIG. 3, the calculation result is that the slot guard interval is T1, the slot packet length is T, and the slot length is (T+T1).
  • the master node In this step, after the OBTN network works normally, the master node also needs to detect the length of the core path and/or the non-core path in real time to monitor the change of the length of the core path and/or the non-core path in real time, and adjust the slot length accordingly.
  • Steps 100 and 101 are optional steps.
  • the method also includes:
  • Step 102 The master node performs time slot synchronization training of the OBTN according to the time slot length of the OBTN.
  • the time slot length of the OBTN may be the length of the time slot calculated in step 101.
  • This step includes:
  • the master node determines, according to the time slot length of the OBTN, a first time interval in which the primary node sends a control frame earlier than the data frame, and determines each slave node or proxy master node in the core path according to the first time interval and the time slot length of the OBTN.
  • the third delay of receiving or transmitting the control frame ahead of the data frame the proxy master node determines, according to the third delay of the proxy master node and the time slot length of the OBTN, each slave node or the proxy master node itself in the non-core path receives or The fourth delay in which the control frame is advanced in advance of the data frame.
  • the first time interval in which the master node determines that the master node sends a control frame earlier than the data frame in the core path according to the time slot length of the OBTN includes:
  • the master node sequentially sends the first test data frame and the second test control frame to the slave node or the proxy master node of the core path according to the time slot length of the OBTN; the slave node or the proxy master node receives the fixed delay of the second test control frame.
  • the master node measures and receives the second test control frame and The first test data frame returns to the first delay of the primary node; the proxy primary node sequentially sends the second test data frame and the third test control frame to the slave node of the non-core path where the proxy master node is located; the slave node receives the first After the fixed delay of the test frame, the third test control frame is forwarded to the next node of the non-core path, and after receiving the second test data frame, the second test data frame is directly forwarded to the next node of the non-core path;
  • the proxy master node measures a second delay of receiving the third test control frame and the second test data frame back to the proxy master node; the proxy master node sends the second delay Giving a master node; the master node determines, according to the first delay and the second delay, a first time interval in which the master no
  • the first delay or the second delay is a delay between the test control frame and the test data frame caused by the transceiving process of each node and the short time buffer.
  • the first time interval is a sum of a first delay, a length of time of the bandwidth map allocation information included in the control frame, a second delay, a longest time length in the non-core path, and a guard time.
  • the duration and protection time of the bandwidth map allocation information included in the control frame are preset values.
  • the preset value of the guard time can be 1 microsecond (us).
  • the first test data frame includes one or more time slot lengths, and keeps the first test data frame and the second test control frame equal in length and simultaneously sent. And including, in the second test control frame, a number of time slots and a time slot length of the first test data frame; the proxy master node sends the second test data frame and the third test control frame, and maintains the second test data frame and the third test
  • the control frame is of equal length and simultaneous transmission, and includes the number of slots and the length of the slot of the second test data frame in the third test control frame, and the excess length of time in the non-core path where the proxy master node is located.
  • determining, by the primary node according to the time slot length of the OBTN, a first time interval in which the primary node sends a control frame earlier than the data frame in the core path including:
  • the master node sequentially sends the first test data frame and the second test control frame to the slave node or the proxy master node of the core path according to the time slot length of the OBTN; the slave node or the agent master node receives the second test After the fixed delay of the control frame, the second test control frame is forwarded to the next node of the core path, and after receiving the first test data frame, the first test data frame is directly forwarded to the next node of the core path; the master node obtains And obtaining, by using a second time interval between sending the second test control frame and receiving the second test control frame, calculating a difference between the obtained second time interval and the length of the core path to obtain a first delay;
  • the proxy master node sequentially sends the second test data frame and the third test control frame to the slave node of the non-core path where the slave node is located; the slave node forwards the third test control frame to the third test control frame after receiving the fixed delay of the third test control frame.
  • the next node of the non-core path directly forwards the second test data frame to the next node of the non-core path after receiving the second test data frame;
  • the proxy master node acquires from sending the third test control frame to receiving the third test control a third time interval between the frames, calculating a difference between the obtained third time interval and the length of the non-core path in which the self is located, to obtain a second delay;
  • the proxy master node sends the second delay to the master node;
  • the primary node determines, according to the first delay and the second delay, a first time interval in which the primary node sends a control frame earlier than the data frame in the core path.
  • a third delay in which each slave node or the agent master node in the core path receives or transmits a control frame earlier than the data frame (the delay of the received control frame is earlier than the data frame)
  • the delay from the time when the control frame is advanced from the data frame is the same) including:
  • the master node sequentially sends the third test data frame and the fourth test control frame to the slave node or the proxy master node of the core path according to the length of the time slot, and keeps transmitting the fourth test control frame at a first time interval earlier than the third test data frame;
  • the node or the proxy master node measures the third delay of receiving the fourth test control frame and the third test data frame, and forwards the third test data frame to the next slave node of the core path after receiving the third test data frame. And after receiving the fixed delay of the fourth test control frame, forwarding the fourth test control frame to the next slave node of the core path.
  • the third test data frame includes one or more time slot lengths, and the fourth test control frame is equal in length to the third test data frame.
  • the fourth delay according to the third delay of the proxy master node and the time slot length of the OBTN determines that each slave node or the proxy master node in the non-core path itself receives or transmits a control frame earlier than the data frame, including:
  • the proxy master node sequentially sends the fourth test data frame and the fifth test control frame to the slave nodes of the non-core path according to the length of the time slot, and maintains the third delay and the proxy master node in advance of the fourth test data frame.
  • the difference between the fixed delays sends a fifth test control frame; each slave node measures itself to receive a fourth delay of the fifth test control frame and the fourth test data frame, and receives the fourth test data frame.
  • the fourth slave data frame is forwarded to the next slave node of the non-core path, and after receiving the fixed delay of the fifth test control frame, the fifth test control frame is forwarded to the next slave node of the non-core path.
  • determining, according to the third delay of the proxy master node and the time slot length of the OBTN, determining that the fourth delay of each of the slave nodes or the proxy master node in the non-core path is received or transmitted by itself is earlier than the data frame includes:
  • the proxy master node forwards the third test data frame and the fourth test control frame of the autonomous node to each of the slave nodes of the lower non-core path; each slave node measures itself to receive the fourth test control frame and the third test data frame. a fourth delay, and after receiving the third test data frame, forwarding the third test data frame to the next slave node of the non-core path, and after receiving the fixed delay of the fourth test control frame, to the non-core path.
  • the next slave node forwards the fourth test control frame.
  • the fourth test data frame includes one or more time slot lengths, and the fifth test control frame and the fourth test control frame are equal in length.
  • the master node receives a bandwidth request from the slave node of the core path
  • the master node will instruct the slave node to use one slot length to transmit data.
  • the information of one slot is included in the bandwidth map information and sent to each slave node and proxy master node of the core path (after being sent to the proxy master node, it will eventually be forwarded to
  • the slave node of the core path transmits or receives the data frame and the control frame at the corresponding slot position according to the received bandwidth map information, the third delay, and the slot position of the received control frame.
  • the slave node of the core path sends or receives the data frame and the control frame in the corresponding slot position according to the received bandwidth map information, the third delay, and the slot position of the received control frame, including:
  • the control frame After receiving the control frame from the node, the control frame is forwarded to the next node after a fixed delay; determining the slot position of the received data frame according to the slot position, the control frame, and the third delay of receiving the control frame, according to the determination
  • the slot position receives the data frame.
  • the data frame is transmitted from the node such that the difference between the slot position of the transmitted data frame and the slot position of the received data frame is an integer multiple of the slot length.
  • determining a slot position of the received data frame according to the slot position, the control frame, and the third delay of receiving the control frame includes:
  • a first time slot position of the data frame as a sum between a time slot position of the received control frame and a third delay; determining an Nth time slot position of the data frame as the first time slot position and (N- 1) The sum between the lengths of timeslots.
  • N is an integer greater than or equal to 2.
  • the control frame includes the number of slots of the data frame and the length of the slot.
  • the node calculates the time position of the first time slot of the data frame according to the third delay of the data frame relative to the control frame and the time slot position of the control frame, and according to the information allocated by the bandwidth map of the master node, Transceiver and on-off control of burst packets on each time slot to achieve all-optical data burst switching.
  • the method further includes:
  • Step 103 The master node determines, according to the bandwidth request, a path that sends data from the node to the receiving node.
  • the bandwidth request includes the traffic size information and the destination address of the data sent from the node.
  • Step 104 The master node determines that the determined path does not cross the proxy master node, and the information indicating a time slot in which the slave node uses one slot length to transmit data is included in the bandwidth map information and sent to each slave node of the non-core path. ;
  • the method before the primary node receives the bandwidth request of the slave node from the non-core path, the method further includes:
  • Each agent master node calculates the excess time length in the non-core path according to the length of the non-core path in which it is located, and sends the calculated excess time length to the master node.
  • the master node Receiving, by the master node, a bandwidth request from a non-core path of the slave node, determining, according to the bandwidth request, that the slave node sends data to the path of the receiving node, the master node determines that the determined path crosses the proxy master node and the redundant If the length of time is greater than zero, the information indicating a time slot in which the slave node uses two slot lengths to transmit data is included in the bandwidth map information and sent to the core path, each slave node on the non-core path, and the proxy master node.
  • the master node determines the determined path Cross-proxy master node and the excess time length is equal to zero, the master node will indicate that the slave node uses one slot length to transmit data, and the information of one slot is included in the bandwidth map information and sent to the core path, non-core Each slave node of the path and the proxy master node (which will eventually be forwarded to the slave node after being sent to the proxy master node).
  • the number of time slots included in the non-core path is the quotient of the length of the non-core path divided by the length of the received time slot, and the excess time length is the remainder of the ring length of the non-core path divided by the length of the received time slot.
  • the calculated remainder may be ⁇ L3 according to the loop length of the second loop and the slot length T+T1, where 0 ⁇ L3 ⁇ T+T1.
  • the bandwidth map information also includes the determined path.
  • the slave node or the proxy master node sends a bandwidth request to the master node by using the control frame, and after receiving the bandwidth request, the master node performs a dynamic bandwidth allocation (DBA) algorithm according to the current resource state and the bandwidth request to perform the wavelength. , time slot and path allocation, and generate new bandwidth map allocation information, sent to the slave node or the agent master node.
  • DBA dynamic bandwidth allocation
  • the allocation of time slots is more flexible and the re-use is higher.
  • the node can continue to use the same time slot of the wavelength to transmit data. Achieve the purpose of increasing the network transmission rate. This process is repeated over the course of the network.
  • Step 105 The slave node sends or receives a data frame and a control frame at a corresponding slot position according to the received bandwidth map information, the fourth delay, and the slot position of the received control frame.
  • This step includes:
  • the slave node When it is determined that the path in the bandwidth map information does not cross the proxy master node, the slave node sends the data frame such that the difference between the slot position of the transmitted data frame and the slot position of the received data frame in the optical layer is an integer multiple of the slot length.
  • the same time slot is sent and received, its time on the optical layer is the same;
  • the slave station When it is determined that the path in the bandwidth map information crosses the proxy master node, the slave station sends the data frame such that the difference between the slot position of the transmitted data frame, the slot position of the received data frame, and the excess time length in the bandwidth map information
  • the value is an integer multiple of the slot length, and each slot in the data frame occupies two The length of each slot (ie, the length of each slot in the data frame is twice the length of the slot).
  • determining a slot position of the received data frame according to the slot position, the fourth delay, and the control frame of the received control frame includes:
  • a first time slot position of the data frame as a sum of a time slot position of the received control frame and a fourth delay; determining an Nth time slot position of the data frame as the first time slot position and N-1 Double the sum of the lengths of the time slots.
  • N is an integer greater than or equal to 2.
  • control frame includes the number of slots of the data frame and the slot length.
  • each node calculates the time position of the first time slot of the data frame according to the fourth delay of the data frame relative to the control frame and the time slot position of the received control frame, and allocates according to the bandwidth map of the master node.
  • Information sending and receiving and switching control of burst packets on each time slot, enabling all-optical data burst switching.
  • one data frame includes N3 time slots or burst packets, and the length of one burst packet is T, and the guard interval between burst packets is T1.
  • the slot length is (T+T1), which is the same as the slot length and guard interval in the core ring.
  • the length of the control frame is equal to the length of the data frame, and the control frame includes a control frame header, control information, other information, and an idle code.
  • the control information includes bandwidth map information.
  • the proxy master node D (the junction node of the second ring and the core ring) transmits the control frame K a certain time ⁇ ta when transmitting the data frame K to the node A3.
  • the node A3 After receiving the control frame K, the node A3 receives the corresponding data frame K after the fourth delay of the node A3 according to the training result.
  • the node A3 After receiving the control frame K, the node A3 inserts the bandwidth map allocation information of the node A3 and parses the bandwidth map allocation information of the node A3, and transmits the control frame K to the next node D3. Since the control frame K has a certain buffer or delay at the node A3, and there is no FDL delay on the data channel, the time at which the node A3 transmits the control frame K is advanced by ⁇ tb with respect to the data frame. It can be seen that the delay time of the control frame K at the A3 node is ( ⁇ ta- ⁇ tb) with respect to the data frame K.
  • the time slot bits received in the second ring are maintained at the ideal time slot position, such as in the data frame K, ⁇ 1 Gap 1 (A ⁇ A3), time slot 3 (B2 ⁇ A3), time slot 1 of ⁇ 2 (B ⁇ D3), and time slot 3 (C3 ⁇ D3).
  • the time slots of the transmitted data frame are all at the ideal time slot position, but the time slot of the received data frame needs to be based on whether the ring length of the second ring is an integer multiple of the time slot length and whether the time slot is Arrives or crosses the agent master node or cross-ring to determine if it is in a normal time position. If the time slot of the transmitted data frame does not arrive or crosses the proxy master node or cross-ring, or the time slot of the transmitted data frame arrives or crosses the proxy master node or cross-ring, but the length of the second ring is an integer multiple of the slot length Then, the time slot in which the data frame is transmitted is at the ideal time slot position.
  • the time slot can be transmitted at the time ⁇ L3 of the ideal position of the transmitted data frame.
  • the time slot occupies two consecutive ideal time slot positions, i.e., time slots 1 and 2 without black background in the figure.
  • the time slot of the transmitted data frame may utilize a later period of time ( ⁇ L3-T1) of the previous time slot (time slot 2_1 with a black background in the figure) or a previous time period of the current time slot (T- ⁇ L3) (Fig.
  • the time slot 2_2 with a black background transmits the data frame, so that the cross-proxy master time slot of the data frame transmitted on the current path is part of the length of one time slot, but it falls before and after the cross-agent master node.
  • ⁇ L3-T1 later period of time
  • T- ⁇ L3 previous time period of the current time slot
  • T1 since T1 is smaller than T, it can be temporarily ignored.
  • the time slot of the arrival or cross-proxy master node can be adopted with a black background in the figure.
  • FIG. 4(a) on the path of A3 to D3, in the data frame K, the slot positions of slot 2 (A3 ⁇ A) and slot 3 (A3 ⁇ C3) of ⁇ 1 are as shown in the black background.
  • time slot 2 (A3 ⁇ A) needs to be sent out of the core ring in advance of the ideal time slot because it needs to enter the core ring across the proxy time slot; it occupies the time slot 1 and time on the path. Gap 2; while time slot 3 (A3 ⁇ C3) because Cross-proxy master nodes are required, so there is no need to do early or delayed processing of this time slot.
  • the subring ring length L3 should be kept as an integer multiple of the time slot length.
  • the master node arranges the time slots of the arriving or cross-ring or the proxy master node on consecutive time slots when allocating the bandwidth map. And adopt the processing method of the black background time slot 2 in FIG. 4(b).
  • an embodiment of the present invention further provides a master node, including at least:
  • the synchronization module is configured to perform slot synchronization training of the core path and the non-core path according to the time slot length of the OBTN.
  • the detecting module is configured to perform path detection on the OBTN to obtain a network topology; select a core path from the obtained network topology, and detect a length of the core path or a length of the core path and a length of the non-core path;
  • the calculation module is configured to calculate the slot length according to the length of the core path or the length of the core path and the non-core path.
  • the detecting module performs path detection on the OBTN to obtain a network topology, including:
  • the synchronization module is set to:
  • the synchronization module determines, according to the time slot length of the OBTN, a first time interval in which the primary node sends a control frame earlier than the data frame in the core path, including:
  • the synchronization module determines, according to the time slot length of the OBTN, a first time interval in which the primary node sends a control frame earlier than the data frame in the core path, including:
  • the synchronization module determines, according to the first time interval and the time slot length of the OBTN, a third delay in which each slave node or the proxy master node in the core path receives or transmits a control frame earlier than the data frame.
  • the time includes:
  • the third test data frame and the fourth test control frame are sequentially sent to the slave node or the proxy master node of the core path according to the time slot length of the OBTN, and the fourth test control frame is sent at a first time interval earlier than the third test data frame.
  • a first receiving module configured to receive a bandwidth request from a slave node of the core path
  • the first transmitting module is configured to include information indicating a time slot in which the slave node uses one slot length to transmit data, and each of the slave nodes transmitted to the core path in the bandwidth map information.
  • a first receiving module configured to receive a bandwidth request from a slave node of the non-core path, and determine a path from the node to send data to the receiving node according to the bandwidth request;
  • a first sending module configured to determine that the determined path does not cross the proxy master node, and information indicating a time slot in which the slave node uses one slot length to transmit data is included in the bandwidth map information and sent to each of the non-core paths. From the node.
  • a first receiving module configured to receive redundant ones in a non-core path sent by each agent master node a length of time, and receiving a bandwidth request from the non-core path of the slave node, determining, according to the bandwidth request, a path of the slave node transmitting data to the receiving node;
  • the first sending module is configured to: determine that the determined path crosses the proxy master node and the excess time length is greater than zero, and the information indicating that one time slot of the slave node uses two time slot lengths to send data is included in the bandwidth map. Sending information to the core path, each slave node on the non-core path, and determining that the determined path crosses the proxy master node and the excess time length is equal to zero, indicating that the slave node uses one slot length to transmit data The information of the time slot is included in each of the slave nodes of the core path and the non-core path in the bandwidth map information.
  • an embodiment of the present invention further provides a proxy master node, including at least:
  • a second receiving module configured to receive a first test data frame and a second test control frame from the primary node; and measure a second delay of receiving the third test control frame and the second test data frame back to itself;
  • the second sending module is configured to: after receiving the fixed delay of the second test control frame, forwarding the second test control frame to the next node of the core path, and directly forwarding the first test data frame after receiving the first test data frame Giving a next node of the core path; sending a second test data frame and a third test control frame to the slave nodes of the non-core path where the proxy master node is located according to the time slot length of the OBTN; sending the second delay Give the master node.
  • the second receiving module is further configured to: after receiving the first test control frame, add the node information of the node to the first test control frame to form a path;
  • the second sending module is further configured to: after a fixed delay, send a first test control frame after adding the node information of itself to other nodes connected to itself.
  • the second sending module is further configured to: send, according to the time slot length of the OBTN, the second test data frame and the third node to the slave node of the non-core path where the proxy master node is located. Testing the control frame; sending the second delay to the master node;
  • the second receiving module is further configured to: measure a second delay of receiving the third test control frame and the second test data frame back to the proxy master node.
  • the second sending module is further configured to: send the second test data to the slave node of the non-core path where the OCTN is located according to the time slot length of the OBTN. a frame and a third test control frame; sending the second delay to the master node;
  • the second receiving module is further configured to: acquire a third time interval between sending the third test control frame and receiving the third test control frame, and calculating between the obtained third time interval and the length of the non-core path where the second non-core path is located The difference gives the second delay.
  • the second receiving module is further configured to: measure a third delay of receiving the fourth test control frame and the third test data frame by itself;
  • the second sending module is further configured to: after receiving the third test data frame, forward the third test data frame to the next slave node of the core path, and after receiving the fixed delay of the fourth test control frame, to the core path The next slave node forwards the fourth test control frame.
  • the second sending module is further configured to: determine each slave node or proxy master node in the non-core path according to the third delay of the proxy master node and the time slot length of the OBTN.
  • the second sending module is configured to:
  • the second receiving module is further configured to: receive the third test data frame and the fourth test control frame from the master node;
  • the second sending module is further configured to: send the third test data frame and the fourth test control frame to each of the slave nodes of the non-core path.
  • an embodiment of the present invention further provides a slave node, including at least:
  • a third receiving module configured to receive the second test control frame and the first test data frame
  • the third sending module is configured to forward the second test control frame to the next node of the core path after receiving the fixed delay of the second test control frame, and directly forward the first test data after receiving the first test data frame The frame is given to the next node of the core path.
  • the third receiving module is further configured to: after receiving the first test control frame, add the node information of the node to the first test control frame to form a path;
  • the third sending module is further configured to: after a fixed delay, send a first test control frame after adding the node information of itself to other nodes connected to itself.
  • the third receiving module is further configured to: receive the third test control frame and the second test data frame;
  • the third sending module is further configured to: after receiving the fixed delay of the third test control frame, forwarding the third test control frame to the next node of the non-core path, and directly forwarding the second test data frame after receiving the second test data frame Test the data frame to the next node of the non-core path.
  • the third receiving module is further configured to: measure a third delay that receives the fourth test control frame and the third test data frame by itself;
  • the third sending module is further configured to: after receiving the third test data frame, forward the third test data frame to the next slave node of the core path, and after receiving the fixed delay of the fourth test control frame, the core path is The next slave node forwards the fourth test control frame.
  • the third receiving module is further configured to: measure a fourth delay of receiving the fifth test control frame and the fourth test data frame by itself;
  • the third sending module is further configured to: after receiving the fourth test data frame, forward the fourth test data frame to the next slave node of the non-core path, and send the non-core to the non-core after receiving the fixed delay of the fifth test control frame The next slave node of the path forwards the fifth test control frame.
  • the third receiving module is further configured to: measure a fourth delay of receiving the fourth test control frame and the third test data frame by itself;
  • the third sending module is further configured to: after receiving the third test data frame, forward the third test data frame to the next slave node of the non-core path, and send the non-core to the non-core after receiving the fixed delay of the fourth test control frame The next slave node of the path forwards the fourth test control frame.
  • the third sending module or the third receiving module is further configured to:
  • the data frame and the control frame are transmitted or received at the corresponding slot position according to the received bandwidth map information, the received third delay or the fourth delay, and the slot position of the received control frame.
  • the FDL is not required to be considered in the node design, the node design is simplified, the time precision of the synchronization is improved, and the light efficiency is not lost.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Environmental & Geological Engineering (AREA)
  • Optics & Photonics (AREA)
  • Computing Systems (AREA)
  • Electromagnetism (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

一种实现时隙同步的方法和装置,包括:主节点根据OBTN的时隙长度进行OBTN的时隙同步训练。通过本发明实施例方案,在节点设计时不需要考虑FDL,简化了节点的设计,提高了同步的时间精度,且不会对光效率造成损失。

Description

一种实现时隙同步的方法和装置 技术领域
本文涉及光网络技术,尤指一种应用于光突发传送网(OBTN,Optical Burst Transport Network)的实现时隙同步的方法和装置。
背景技术
全球数据流量爆炸式增长,以视频和流媒体业务为代表的新兴业务快速发展,使动态、高带宽和高质量要求的数据业务成为网络流量主体,并驱动网络向分组化演进。在传送网方面,可以看到,从传统的同步数字体系(SDH,Synchronous Digital Hierarchy)电路交换网络,发展到具备多业务接入功能的基于SDH的多业务传送平台(MSTP,Multi-Service Transfer Platform),并逐步演进至今天的分组传送网(PTN,Packet Transport Network),正是网络流量数据化发展的结果。究其根本,电路交换网络仅能提供刚性的管道和粗粒度交换,无法有效满足数据业务的动态性和突发性需求,而分组交换网络的柔性管道和统计复用特性,是天然适应于数据业务的。然而,相关技术的分组交换基本上是基于电层处理的,成本高,能耗大,随着流量的快速增长,其处理瓶颈日渐凸显,难以适应未来网络高速、灵活、低成本和低能耗的需要。光网络具备低成本、低能耗和高速大容量的优势,但传统的光电路交换网络(如波分复用(WDM,Wavelength Division Multiplexing)和光传送网(OTN,Optical Transport Network))仅能提供大粒度的刚性管道,缺乏电分组交换的灵活性,不能有效的承载数据业务。
在接入网中,吉比特无源光网络(GPON,Gigabit-Capable Passive Optical Network)技术一定程度上结合了光层和电层的优势。在下行方向,其采用光层广播的方式,将光线路终端(OLT,Optical Line Terminal)发送的下行信号通过光分路器分发给每个光网络单元(ONU,Optical Network Unit),同时,在下行帧头中携带上行帧的带宽地图,以指示每个ONU上行数据的发送时间和长度;在上行方向,每个ONU按照带宽地图指示发送数据,经过光耦合器复用至一条波长通道并上传至OLT。这样,GPON一方面具备光层高速大容 量和低成本的特点,另一方面,在上行方向上实现了多路数据的光层统计复用,提高了灵活性和带宽利用率。GPON一般采用星形/树形组网拓扑,其工作原理适合承载多点对单点的汇聚型流量(南北流量占主导地位),因此在接入网中获得成功应用和大规模部署。
然而,针对非汇聚型应用场景,如城域核心网和数据中心内部交换网络,东西向流量占比很大,甚至居于主导地位,GPON技术显然是不适合的(东西向流量需要OLT电层转发,且GPON容量有限)。OBTN采用基于光突发(OB,Optical Burst)的全光交换技术,具备网络任意节点对间光层带宽按需提供和快速调度能力,可实现对多种流量(如南北向突发流量、东西向突发流量等)场景的动态适应和良好支持,能够提升资源利用效率和网络灵活性,同时保留光层高速大容量和低成本的优点,且适用于星形、树形、环形等多种网络拓扑。同时,数据通道和控制通道采用不同的波长传递,非常方便控制信号和数据信号的分开处理。
但相关技术的光突发交换网都需要配置延时光纤(FDL)以使环长为时隙长度的整数倍,在节点也需要配置延时光纤以使数据帧和控制帧达到一关系,如具有相同的达到时间;且须光突发包为固定长度,保护间隔也为固定长度。FDL的配置,会使网络的设计复杂化,其长度控制比较繁琐,对光功率也会造成一定的损失,对节点的时隙同步的时间精度的提高需要大量的FDL阵列来实现,而这是不现实的。
发明内容
本发明实施例提出了一种实现时隙同步的方法和装置,能够提高时隙同步的时间精度。
本发明实施例提出了一种实现时隙同步的方法,应用于光突发传送网OBTN,包括:
主节点根据OBTN的时隙长度进行OBTN的时隙同步训练。
可选地,主节点根据OBTN的时隙长度进行OBTN的时隙同步训练之前,该方法还包括:
所述主节点对所述OBTN进行路径检测获取网络拓扑结构;
所述主节点从获得的网络拓扑结构中选择核心路径,检测所述核心路径的长度或者所述核心路径的长度和非核心路径的长度,根据所述核心路径的长度,或所述核心路径和非核心路径的长度计算所述时隙长度。
可选地,所述主节点对OBTN进行路径检测获取网络拓扑结构包括:
所述主节点分别向与自身相连的所有从节点或代理主节点发送包含有所述主节点的节点信息的第一测试控制帧;
所述从节点或所述代理主节点接收到所述第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径,并在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧;
所述主节点接收到所有第一测试控制帧后,对所述所有第一测试控制帧中的路径进行整合以获得所述网络拓扑结构。
可选地,所述主节点根据OBTN的时隙长度进行OBTN的时隙同步训练包括:
所述主节点根据所述OBTN的时隙长度确定所述OBTN的核心路径中主节点发送控制帧比数据帧提前的第一时间间隔,根据所述第一时间间隔和所述时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时,所述代理主节点根据所述代理主节点的第三延时和所述时隙长度确定所述OBTN的非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时。
可选地,所述主节点根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
所述主节点根据所述OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;从节点或代理主节点在接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;所述主节点测量接收所述第二测试控制帧和所述第一测试数据帧回到主节点的第一延时;
所述代理主节点根据所述OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;从节点在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点;所述代理主节点测量接收所述第三测试控制帧和所述第二测试数据帧回到所述代理主节点的第二延时;
所述主节点接收到来自所述代理主节点的所述第二延时;
所述主节点根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送所述控制帧比所述数据帧提前的第一时间间隔;
或者
所述主节点根据所述OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;所述从节点或代理主节点在接收到第二测试控制帧的固定的延时后转发所述第二测试控制帧给核心路径的下一个节点,在接收到所述第一测试数据帧后直接转发所述第一测试数据帧给核心路径的下一个节点;所述主节点获取从发送所述第二测试控制帧到接收所述第二测试控制帧之间的第二时间间隔,计算获得的第二时间间隔和所述核心路径的长度之间的差值即得到第一延时;
所述代理主节点根据所述OBTN的时隙长度依次向自身所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;所述从节点在接收到所述第三测试控制帧的固定的延时后转发所述第三测试控制帧给所述非核心路径的下一个节点,在接收到所述第二测试数据帧后直接转发所述第二测试数据帧给所述非核心路径的下一个节点;所述代理主节点获取从发送所述第三测试控制帧到接收所述第三测试控制帧之间的第三时间间隔,计算获得的第三时间间隔和所述自身所在的非核心路径的长度之间的差值即得到第二延时;
所述主节点接收到来自所述代理主节点的所述第二延时;
所述主节点根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送控制帧比数据帧提前的第一时间间隔。
可选地,所述根据所述第一时间间隔和所述时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时包括:
所述主节点根据所述时隙长度依次向所述核心路径的从节点或代理主节点发送第三测试数据帧和第四测试控制帧,保持比所述第三测试数据帧提前所述第一时间间隔发送所述第四测试控制帧;
所述从节点或代理主节点测量自身接收到第四测试控制帧和第三测试数据帧的第三延时,并在接收到所述第三测试数据帧后向所述核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述核心路径的下一个从节点转发所述第四测试控制帧。
可选地,所述根据所述代理主节点的第三延时和所述时隙长度确定所述OBTN非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时包括:
所述代理主节点根据所述时隙长度依次向所述非核心路径的从节点发送第四测试数据帧和第五测试控制帧,保持比第四测试数据帧提前所述代理主节点的第三延时和固定的延时之间的差值发送第五测试控制帧;
每个从节点测量自身接收到第五测试控制帧和第四测试数据帧的第四延时,并在接收到所述第四测试数据帧后向所述非核心路径的下一个从节点转发所述第四测试数据帧,在接收到所述第五测试控制帧的固定的延时后向所述非核心路径的下一个从节点转发第五测试控制帧;
或者
所述代理主节点将来自所述主节点的第三测试数据帧和第四测试控制帧转发给下所述非核心路径的每个从节点;每个从节点测量自身接收到所述第四测试控制帧和所述第三测试数据帧的第四延时,并在接收到所述第三测试数据帧后向所述非核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述非核心路径的下一个从节点转发所述第四测试控制帧。
可选地,该方法还包括:所述主节点接收来自核心路径的从节点的带宽 请求;
所述主节点将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径的每个从节点;
核心路径的从节点根据接收到的带宽地图信息、第三延时和接收到控制帧的时隙位置,在对应的时隙位置发送或接收数据帧和控制帧;
或者
所述主节点接收来自非核心路径的从节点的带宽请求;
所述主节点根据所述带宽请求确定所述从节点发送数据到接收节点的路径;
所述主节点判断出确定的路径不跨代理主节点,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给非核心路径的每个从节点;
所述非核心路径的从节点根据接收到的带宽地图信息、第四延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧;
或者
每个代理主节点根据自身所在的非核心路径的长度计算非核心路径中多余的时间长度,并将计算得到的多余的时间长度发送给主节点;
所述主节点接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;
所述主节点判断出确定的路径跨代理主节点且所述多余的时间长度大于零,所述主节点将指示从节点采用两个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、所述非核心路径上的每个从节点;所述主节点判断出确定的路径跨代理主节点且所述多余的时间长度等于零,所述主节点将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、非核心路径的每个从节点;
在所述从节点根据接收到的带宽地图信息、第四延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
本发明实施例还提出了一种主节点,包括:
同步模块,设置为根据OBTN的时隙长度进行OBTN的时隙同步训练。
可选地,还包括:
检测模块,设置为对OBTN进行路径检测获取网络拓扑结构;从获得的网络拓扑结构中选择核心路径,检测核心路径的长度或者核心路径的长度和非核心路径的长度;以及
计算模块,设置为根据核心路径的长度或核心路径和非核心路径的长度计算时隙长度。
可选地,所述检测模块对OBTN进行路径检测获取网络拓扑结构包括:
分别向与自身相连的所有从节点或代理主节点发送包含有所述主节点的节点信息的第一测试控制帧;接收到所有第一测试控制帧后,对所述所有第一测试控制帧中的路径进行整合以获得所述网络拓扑结构。
可选地,所述同步模块是设置为:
根据OBTN的时隙长度确定所述核心路径中主节点发送控制帧比数据帧提前的第一时间间隔,根据所述第一时间间隔和OBTN的时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时。
可选地,所述同步模块根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
根据OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧,测量接收所述第二测试控制帧和所述第一测试数据帧回到主节点的第一延时;接收来自所述代理主节点的第二延时;根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送所述控制帧比所述数据帧提前的第一时间间隔;
或者
根据OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送 第一测试数据帧和第二测试控制帧;获取从发送所述第二测试控制帧到接收所述第二测试控制帧之间的第二时间间隔,计算获得的第二时间间隔和所述核心路径的长度之间的差值即得到第一延时;接收来自所述代理主节点的第二延时;根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送控制帧比数据帧提前的第一时间间隔。
可选地,所述同步模块根据第一时间间隔和OBTN的时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时包括:
根据OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第三测试数据帧和第四测试控制帧,保持比所述第三测试数据帧提前所述第一时间间隔发送所述第四测试控制帧。
可选地,所述主节点还包括:
第一接收模块,设置为接收来自核心路径的从节点的带宽请求;以及
第一发送模块,设置为将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径的每个从节点;
或者
第一接收模块,设置为接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;以及
所述第一发送模块,设置为:判断出确定的路径不跨代理主节点,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给非核心路径的每个从节点;
或者
第一接收模块,设置为接收每个代理主节点发送的非核心路径中多余的时间长度,以及接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;以及
所述第一发送模块,设置为:判断出确定的路径跨代理主节点且所述多余的时间长度大于零,将指示从节点采用两个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、所述非核心路径上的 每个从节点,以及判断出确定的路径跨代理主节点且所述多余的时间长度等于零,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、非核心路径的每个从节点。
本发明实施例还提出了一种代理主节点,包括:
第二接收模块,设置为接收来自主节点的第一测试数据帧和第二测试控制帧;测量接收第三测试控制帧和第二测试数据帧回到自身的第二延时;以及
第二发送模块,设置为接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;根据所述OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;将第二延时发送给主节点。
可选地,所述第二接收模块还设置为:接收到第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径;
所述第二发送模块还设置为:在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧。
可选地,所述第二发送模块还设置为:根据OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;将所述第二延时发送给主节点;
所述第二接收模块还设置为:测量接收所述第三测试控制帧和所述第二测试数据帧回到所述代理主节点的第二延时;或者,获取从发送所述第三测试控制帧到接收所述第三测试控制帧之间的第三时间间隔,计算获得的第三时间间隔和所述自身所在的非核心路径的长度之间的差值即得到第二延时。
可选地,所述第二接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第三延时;
所述第二发送模块还设置为:在接收到所述第三测试数据帧后向所述核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控 制帧的固定的延时后向所述核心路径的下一个从节点转发所述第四测试控制帧。
可选地,所述第二发送模块还设置为:根据代理主节点的第三延时和OBTN的时隙长度确定非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时。
可选地,所述第二发送模块是设置为:根据OBTN的时隙长度依次向所述非核心路径的从节点发送第四测试数据帧和第五测试控制帧,保持比第四测试数据帧提前所述代理主节点的第三延时和固定的延时之间的差值发送第五测试控制帧。
可选地,所述第二接收模块还设置为:接收来自主节点的第三测试数据帧和第四测试控制帧;
所述第二发送模块还设置为:将所述第三测试数据帧和所述第四测试控制帧发送给所述非核心路径的每个从节点。
本发明实施例还提出了一种从节点,包括:
第三接收模块,设置为接收第二测试控制帧和第一测试数据帧;以及
第三发送模块,设置为在接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点。
可选地,所述第三接收模块还设置为:接收到第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径;
所述第三发送模块还设置为:在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧。
可选地,所述第三接收模块还设置为:接收第三测试控制帧和第二测试数据帧;
所述第三发送模块还设置为:在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点。
可选地,所述第三接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第三延时;
所述第三发送模块还设置为:在接收到所述第三测试数据帧后向所述核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述核心路径的下一个从节点转发所述第四测试控制帧。
可选地,所述第三接收模块还设置为:测量自身接收到第五测试控制帧和第四测试数据帧的第四延时;
所述第三发送模块还设置为:在接收到所述第四测试数据帧后向非核心路径的下一个从节点转发所述第四测试数据帧,在接收到所述第五测试控制帧的固定的延时后向非核心路径的下一个从节点转发第五测试控制帧。
可选地,所述第三接收模块还设置为:测量自身接收到所述第四测试控制帧和所述第三测试数据帧的第四延时;
所述第三发送模块还设置为:在接收到所述第三测试数据帧后向所述非核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述非核心路径的下一个从节点转发所述第四测试控制帧。
可选地,所述第三发送模块或所述第三接收模块还设置为:
根据接收到的带宽地图信息、接收到的第三延时或第四延时、以及接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。
与相关技术相比,本发明实施例中,主节点根据OBTN的时隙长度进行OBTN的时隙同步训练。通过本发明实施例的方案,在节点设计时不需要考虑FDL,简化了节点的设计,提高了同步的时间精度,且不会对光效率造成损失。
附图概述
图1为本发明实施例的实现时隙同步的方法的流程图;
图2为本发明实施例OBTN的结构组成示意图;
图3(a)为OBTN多相切环网的示意图;
图3(b)为图3(a)中OBTN多相切环网中的第一次环的示意图;
图3(c)为图3(a)中OBTN多相切环网中的核心环的示意图;
图3(d)为图3(a)中OBTN多相切环网中的第二次环的示意图;
图4(a)为控制帧与数据帧相对时序的示意图;
图4(b)为跨代理主节点数据传输时时隙位置的示意图;
图5为本发明实施例的主节点的结构组成示意图;
图6为本发明实施例的代理主节点的结构组成示意图;
图7为本发明实施例的从节点的结构组成示意图。
本发明的实施方式
下面结合附图对本发明实施例进行说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的多种方式可以相互组合。
参见图1,本发明实施例提出了一种实现时隙同步的方法,应用于OBTN,图2为OBTN的结构组成示意图。如图2所示,OBTN包含有多个节点,分别是A、B、C、D…X、Y等,这些节点均通过OBTN网络连接在一起。
该方法包括:
步骤100、主节点对OBTN进行路径检测获取网络拓扑结构;
本步骤中,主节点分别向与自身相连的所有从节点或代理主节点发送包含有主节点的节点信息的第一测试控制帧;从节点或代理主节点接收到第一测试控制帧后,将自身的节点信息添加到第一测试控制帧中形成路径,并在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的控制帧;主节点接收到所有第一测试控制帧后,对所有第一测试控制帧中的路径进行整合以获得网络拓扑结构。
其中,节点信息可以是节点名称、或互联网协议(IP,Internet Protocol)地址。
其中,其他节点是指除向自身发送控制帧的节点之外,与自身相连的节点。
例如,图3为OBTN多相切环网的示意图。如图3所示,主节点A在需要对该OBTN多相切环网进行路径检测时,分别向从节点B和从节点D发送控制帧,控制帧中包含有A的节点名称;从节点B接收到控制帧后,将B的节点名称添加到控制帧中形成A指向B的路径,并将控制帧发送给从节点A2和从节点C2;同样,从节点D接收到控制帧后,将D的节点名称添加到控制帧中形成A指向D的路径,并将控制帧发送给从节点A3和从节点C3;这样,主节点A最终接收到14个控制帧,每个控制帧包含一条路径,这些路径分别为:
A→B→C→D→A,A→D→C→B→A;
A→B→C2→B2→A2→B→C→D→A、A→B→A2→B2→C2→B→C→D→A;A→B→C2→B2→A2→B→A、A→B→A2→B2→C2→B→A;
A→B→C→D→A3→D3→C3→D→A、A→B→C→D→C3→D3→A3→D→A;A→B→C→D→A3→D3→C3→D→C→B→A、A→B→C→D→C3→D3→A3→D→C→B→A;
A→B→C2→B2→A2→B→C→D→A3→D3→C3→D→A、A→B→A2→B2→C2→B→C→D→A3→D3→C3→D→A、A→B→C2→B2→A2→B→C→D→C3→D3→A3→D→A、A→B→A2→B2→C2→B→C→D→C3→D3→A3→D→A。
基于以上路径,A就能整合得到该OBTN多相切环网包括3个环网,分别为A→B→C→D→A(如图3(c)所示)、B→A2→B2→C2→B(如图3(b)所示)和D→A3→D3→C3→D(如图3(d)所示)。
本步骤中,在OBTN网络正常工作之后,网络的路径检测也需要实时进行,以实时监控网络拓扑的变化,并进行相应的调整。
步骤101、主节点从获得的网络拓扑结构中选择核心路径,检测核心路 径的长度或者所述核心路径的长度和非核心路径的长度,根据核心路径的长度或核心路径和非核心路径的长度计算时隙长度;
本步骤中,可选择主节点所在的简单网络(如环网、链型网等)为核心路径,也可以选择处在网络核心位置的简单网络为核心路径。
网络拓扑结构中,其它的简单网络与核心网络之间通过代理主节点连接起来。如图3(c)中的核心环即为核心路径,图3(b)中的第一次环和图3(d)中的第二次环均为非核心路径,而核心路径与非核心路径之间的节点B和节点D均为代理主节点。
例如,图3中,可以选择OBTN多相切环网中的环网A→B→C→D→A为核心环(如图3(c)所示),则环网B→A2→B2→C2→B和环网D→A3→D3→C3→D为次环,分别为第一次环(如图3(b)所示)和第二次环(如图3(d)所示)。其中,核心环包括节点A、节点B、节点C和节点D,节点A为主节点,节点B和节点D也分别处在第一次环和第二次环中,节点B和节点D分别为代理主节点,节点B在第一次环内行驶主节点的代理功能,节点D在第二次环内行驶主节点的代理功能。
核心网、第一次环和第二次环均为双向环网。如核心环的内环光路方向为顺时钟方向,而外环为逆时钟方向。系统默认外环为工作环,内环为保护环,正常情况下业务全部从外环走,内环为空闲状态;也可以使内环和外环同时处于工作状态。而控制通道λc保持与外环相同的方向,在内环上也可以配置控制通道。
本步骤中,非核心路径的长度由代理主节点检测获得,代理主节点可以在主节点的指示下检测非核心路径的长度,也可以自主触发检测非核心路径的长度。
本步骤中,当核心路径或非核心路径为环网时,核心路径或非核心路径的长度为环长;当核心路径或非核心路径为链型网时,核心路径或非核心路径的长度为线性长度。
本步骤中,根据核心路径的长度或核心路径和非核心路径的长度计算时隙长度时应保证核心路径的长度为时隙长度的整数倍,或核心路径的长度和 非核心路径的长度均为时隙长度的整数倍。例如,可以是5倍、或12倍、或其他倍数。
本步骤中,时隙长度包括时隙包长和时隙保护间隔。其中,时隙包长和时隙保护间隔可以都进行调整,也可以只调节其中的一个,达到调整时隙长度的目的,以使核心路径长度为时隙长度的整数倍。
为了简化网络节点的设计和控制的复杂性,网络中每个节点都没有FDL,主节点根据路径检测结果中核心路径的长度(如环长或线性长度等),尽量参考非核心路径的长度,计算时隙长度、时隙保护间隔等,使核心路径的长度为时隙长度的整数倍,或核心路径的长度和非核心路径的长度均为时隙长度的整数倍。时隙长度、时隙间的保护间隔等都会以信息的形式通过控制帧传递给每个从节点。如在图3中,计算结果为时隙保护间隔为T1,时隙包长为T,时隙长度为(T+T1)。
本步骤中,在OBTN网络正常工作之后,主节点也需要实时检测核心路径和/或非核心路径的长度,以实时监控核心路径和/或非核心路径的长度的变化,并相应调整时隙长度。
步骤100和步骤101是可选的步骤。
该方法还包括:
步骤102、主节点根据OBTN的时隙长度进行OBTN的时隙同步训练;
本步骤中,OBTN的时隙长度可以是步骤101中计算得到的时隙长度。
本步骤包括:
主节点根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔,根据第一时间间隔和OBTN的时隙长度确定核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时,代理主节点根据代理主节点的第三延时和OBTN的时隙长度确定非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时。
其中,主节点根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
主节点根据OBTN的时隙长度依次向核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;从节点或代理主节点在接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;主节点测量接收第二测试控制帧和第一测试数据帧回到主节点的第一延时;代理主节点依次向代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;从节点在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点;代理主节点测量接收第三测试控制帧和第二测试数据帧回到代理主节点的第二延时;代理主节点将第二延时发送给主节点;主节点根据第一延时和第二延时确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔。
其中,第一延时或第二延时为测试控制帧经过每个节点的收发处理、短时间缓存而引起与测试数据帧的延迟。
其中,第一时间间隔为第一延时、控制帧中包含的带宽地图分配信息的时间长度、第二延时、非核心路径中最长的时间长度和保护时间之间的总和。
其中,控制帧中包含的带宽地图分配信息的时间长度和保护时间均为预设值。保护时间的预设值可以是1微秒(us)。
其中,主节点发送第一测试数据帧和第二测试控制帧时,第一测试数据帧包含一个或一个以上时隙长度,并保持第一测试数据帧和第二测试控制帧等长和同时发送,在第二测试控制帧中包含第一测试数据帧的时隙数和时隙长度;代理主节点发送第二测试数据帧和第三测试控制帧,并保持第二测试数据帧和第三测试控制帧等长和同时发送,并在第三测试控制帧中包含第二测试数据帧的时隙数和时隙长度,以及代理主节点所在非核心路径中多余的时间长度。
或者,主节点根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
主节点根据OBTN的时隙长度依次向核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;从节点或代理主节点在接收到第二测 试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;主节点获取从发送第二测试控制帧到接收第二测试控制帧之间的第二时间间隔,计算获得的第二时间间隔和核心路径的长度之间的差值即得到第一延时;
代理主节点依次向自身所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;从节点在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点;代理主节点获取从发送第三测试控制帧到接收第三测试控制帧之间的第三时间间隔,计算获得的第三时间间隔和自身所在的非核心路径的长度之间的差值即得到第二延时;代理主节点将第二延时发送给主节点;主节点根据第一延时和所述第二延时确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔。
其中,根据第一时间间隔和OBTN的时隙长度确定核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时(接收控制帧比数据帧提前的延时与发送控制帧比数据帧提前的延时是相同的)包括:
主节点根据时隙长度依次向核心路径的从节点或代理主节点发送第三测试数据帧和第四测试控制帧,保持比第三测试数据帧提前第一时间间隔发送第四测试控制帧;从节点或代理主节点测量自身接收到第四测试控制帧和第三测试数据帧的第三延时,并在接收到第三测试数据帧后向核心路径的下一个从节点转发第三测试数据帧,在接收到第四测试控制帧的固定的延时后向核心路径的下一个从节点转发第四测试控制帧。
其中,第三测试数据帧包含一个或一个以上时隙长度,第四测试控制帧与第三测试数据帧等长。
其中,根据代理主节点的第三延时和OBTN的时隙长度确定非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时包括:
代理主节点根据时隙长度依次向非核心路径的从节点发送第四测试数据帧和第五测试控制帧,保持比第四测试数据帧提前代理主节点的第三延时和 固定的延时之间的差值发送第五测试控制帧;每个从节点测量自身接收到第五测试控制帧和第四测试数据帧的第四延时,并在接收到第四测试数据帧后向非核心路径的下一个从节点转发第四测试数据帧,在接收到第五测试控制帧的固定的延时后向非核心路径的下一个从节点转发第五测试控制帧。
或者,根据代理主节点的第三延时和OBTN的时隙长度确定非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时包括:
代理主节点将来自主节点的第三测试数据帧和第四测试控制帧转发给下非核心路径的每个从节点;每个从节点测量自身接收到第四测试控制帧和第三测试数据帧的第四延时,并在接收到第三测试数据帧后向非核心路径的下一个从节点转发第三测试数据帧,在接收到第四测试控制帧的固定的延时后向非核心路径的下一个从节点转发第四测试控制帧。
其中,第四测试数据帧包含一个或一个以上时隙长度,第五测试控制帧和第四测试控制帧等长。
本发明实施例方法还包括:
主节点接收来自核心路径的从节点的带宽请求;
主节点将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给核心路径的每个从节点和代理主节点(发送给代理主节点后最终会转发至从节点);核心路径的从节点根据接收到的带宽地图信息、第三延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
其中,核心路径的从节点根据接收到的带宽地图信息、第三延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧包括:
从节点接收到控制帧后,在固定的延时后向下一个节点转发控制帧;根据接收到控制帧的时隙位置、控制帧和第三延时确定接收数据帧的时隙位置,根据确定的时隙位置接收数据帧。
从节点发送数据帧使得发送数据帧的时隙位置和接收数据帧的时隙位置的差值为时隙长度的整数倍。
其中,根据接收到控制帧的时隙位置、控制帧和第三延时确定接收数据帧的时隙位置包括:
确定数据帧的第一个时隙位置为接收到控制帧的时隙位置和第三延时之间的和;确定数据帧的第N个时隙位置为第一个时隙位置和(N-1)倍时隙长度之间的和。其中,N为大于或等于2的整数。
其中,控制帧包括数据帧的时隙数和时隙长度。
其中,每个节点依据数据帧相对控制帧的第三延时,以及接收到控制帧的时隙位置,计算数据帧的第一个时隙的时间位置,并根据主节点带宽地图分配的信息,对每个时隙上的突发包进行收发和通断控制,实现全光数据突发交换。
本发明实施例方法中,只需要根据OBTN的时隙长度进行OBTN的时隙同步训练,而不需要在节点设计时考虑FDL,简化了节点的设计,提高了同步的时间精度,且不会对光效率造成损失。
当主节点接收来自非核心路径的从节点的带宽请求时,该方法还包括:
步骤103、主节点根据带宽请求确定从节点发送数据到接收节点的路径;
本步骤中,带宽请求包括从节点发送数据的流量大小信息,目的地址。
步骤104、主节点判断出确定的路径不跨代理主节点,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给非核心路径的每个从节点;
可选地,在主节点接收来自非核心路径的从节点的带宽请求之前还包括:
每个代理主节点根据自身所在的非核心路径的长度计算非核心路径中多余的时间长度,并将计算得到的多余的时间长度发送给主节点。
所述主节点接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径后,主节点判断出确定的路径跨代理主节点且所述多余的时间长度大于零,则将指示从节点采用两个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给核心路径、非核心路径上的每个从节点和代理主节点(发送给代理主节点后最终会转发至从节点,故可以认为发送给每个从节点);所述主节点判断出确定的路径 跨代理主节点且所述多余的时间长度等于零,所述主节点将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、非核心路径的每个从节点和代理主节点(发送给代理主节点后最终会转发至从节点)。
其中,非核心路径包含的时隙数为非核心路径的长度除以接收到的时隙长度得到的商,多余的时间长度为非核心路径的环长除以接收到的时隙长度得到的余数。如在图3(c)的第二次环中,根据第二次环的环长和时隙长度T+T1,计算得到的余数可能为ΔL3,其中0≤ΔL3<T+T1。
本步骤中,带宽地图信息还包括确定的路径。
本步骤中,从节点或代理主节点采用控制帧向主节点发送带宽请求,主节点收到带宽请求后,根据当前资源状态和带宽请求执行动态带宽分配(DBA,Dynamic Bandwidth Allocation)算法,进行波长、时隙和路径的分配,并生成新带宽地图分配信息,发送至从节点或代理主节点。因为网络为可调发送、选择接收,故时隙的分配更加灵活,重用度更高,一个时隙被本节点下路接收后,本节点还能继续使用本波长的同一个时隙发送数据,达到提升网络传输速率的目的。此过程在网络运行过程中不断重复进行。
步骤105、从节点根据接收到的带宽地图信息、第四延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
本步骤包括:
从节点接收到控制帧后,在固定的延时后向带宽地图信息中的路径的下一个节点转发控制帧;根据接收到控制帧的时隙位置、控制帧和第四延时确定接收数据帧的时隙位置,根据确定的时隙位置接收数据帧中的时隙。
当判断出带宽地图信息中的路径不跨代理主节点时,从节点发送数据帧使得发送数据帧的时隙位置和接收数据帧的时隙位置在光层的差值为时隙长度的整数倍;即收发相同的时隙时,其在光层上的时间是相同的;
当判断出带宽地图信息中的路径跨代理主节点时,从节点发送数据帧使得发送数据帧的时隙位置、接收数据帧的时隙位置和带宽地图信息中的多余的时间长度之间的差值为时隙长度的整数倍,且数据帧中每一个时隙占用两 个时隙长度(即数据帧中每一个时隙的长度为时隙长度的两倍)。
其中,根据接收到控制帧的时隙位置、第四延时和控制帧确定接收数据帧的时隙位置包括:
确定数据帧的第一个时隙位置为接收到控制帧的时隙位置和第四延时之间的和;确定数据帧的第N个时隙位置为第一个时隙位置和N-1倍时隙长度之间的和。其中,N为大于或等于2的整数。
本步骤中,控制帧包括数据帧的时隙数和时隙长度。
本步骤中,每个节点依据数据帧相对控制帧的第四延时,以及接收到控制帧的时隙位置,计算数据帧的第一个时隙的时间位置,并根据主节点带宽地图分配的信息,对每个时隙上的突发包进行收发和通断控制,实现全光数据突发交换。
图4(a)为第二次环中节点D向节点A3和节点A3向节点D3发送控制帧与数据帧的相对时序的示意图。如图4(a)所示,在第二次环中,一个数据帧包含有N3个时隙或突发包,一个突发包的长度为T,突发包之间的保护间隔为T1,时隙长度为(T+T1),与核心环中的时隙长度和保护间隔相同。控制帧的长度等于数据帧的长度,控制帧包括控制帧头、控制信息、其它信息和idle码等;控制信息中包含有带宽地图信息。
由于每个节点均无FDL,为了确保每个节点能正确处理突发包,需控制帧优先于对应数据帧到达每个节点。故在第二次环中,代理主节点D(第二次环与核心环的交汇节点)在向节点A3发送数据帧K时,提前一段时间Δta发送控制帧K。节点A3收到控制帧K后,根据训练的结果,在节点A3的第四延时后接收对应的数据帧K。
节点A3收到控制帧K后,在解析出其中关于节点A3收发数据的带宽地图分配信息时,插入本节点A3的带宽请求信息,并将控制帧K向下一个节点D3发送。由于控制帧K在节点A3存在一定的缓存或延迟,而数据通道上无FDL延迟,导致节点A3发送控制帧K的时间相对数据帧提前Δtb。可见,相对于数据帧K,控制帧K在A3节点的延迟时间为(Δta-Δtb)。
同时,因为第二次环和核心环在节点D相交,第二次环中接收的时隙位 置与从核心环中传递过来的时隙位置相同,从而实现第二次环中的时隙与核心环中的时隙位置保持同步,这一要求在时隙同步的过程中实现。故可以看出,在D到A3路径上,从核心环中传递过来的时隙能和本次环L3内上传的时隙均保持在理想时隙位置上,如数据帧K中,λ1的时隙1(A→A3)、时隙3(B2→A3),λ2的时隙1(B→D3)、时隙3(C3→D3)。
在本次环L3中,发送数据帧的时隙都在理想的时隙位置,但是接收数据帧的时隙需要根据第二次环的环长是否是时隙长度的整数倍以及该时隙是否到达或跨代理主节点或跨环确定是否在正常的时间位置上。如果发送数据帧的时隙不到达或跨代理主节点或跨环,或者发送数据帧的时隙到达或跨代理主节点或跨环,但第二次环的长度为时隙长度的整数倍时,则发送数据帧的时隙在理想的时隙位置即可。而如果第二次环的长度不是时隙长度的整数倍,如还有ΔL3(ΔL3<T+T1)的长度,则到达或跨代理主节点或跨环时,则可如图4(b)中处理,可在发送数据帧的理想位置提前ΔL3时刻发送该时隙。如此,该时隙(图中带有黑色背景的时隙2)就要占用两个连续的理想时隙位置,即图中的无黑色背景的时隙1和2。这样,到达或经过跨代理主节点D或跨环之后,该时隙就正好在理想的时隙位置上了,而不会与其它时隙产生冲突。或者该发送数据帧的时隙可利用前一个时隙的后一段时间(ΔL3-T1)(图中带有黑色背景的时隙2_1)或当前时隙的前一段时间(T-ΔL3)(图中带有黑色背景的时隙2_2)进行数据帧的发送,如此当前路径上发送数据帧的跨代理主节点时隙虽为一个时隙的部分长度,但其在跨代理主节点前后均落在理想时隙位置的范围内。
其中,由于T1相比T较小,可暂不考虑,当第二次环中多于的长度ΔL3≤T/2,发送到达或跨代理主节点的时隙可采用图中带有黑色背景的时隙2或2_2处理;当ΔL3>T/2,发送到达或跨代理主节点的时隙可采用图中带有黑色背景的时隙2或2_1处理。
故在图4(a)中,在A3到D3的路径上,数据帧K中,λ1的时隙2(A3→A)、时隙3(A3→C3)的时隙位置如图中黑色背景时隙所示,时隙2(A3→A)因为需要跨代理主节点D进入核心环中,可在理想时隙的基础上提前ΔL3发送出来;其在本路径上占用了时隙1和时隙2;而时隙3(A3→C3)因为不 需要跨代理主节点,故不需要对此时隙在时间上做提前或延迟的处理。
当第二次环环长不是时隙长度整数倍时,跨代理主节点或跨环的时隙会造成带宽的浪费。故在计算时隙长度时,应尽量保持次环环长L3也是时隙长度的整数倍。当次环环长L3不是时隙长度整数倍时,为了减少网络带宽的损耗,主节点在分配带宽地图时,尽量将到达或跨环或跨代理主节点的时隙都安排在连续时隙上,并采用图4(b)中黑色背景时隙2的处理方式。
参见图5,本发明实施例还提出了一种主节点,至少包括:
同步模块,设置为根据OBTN的时隙长度进行核心路径和非核心路径的时隙同步训练。
本发明实施例的主节点中,还包括:
检测模块,设置为对OBTN进行路径检测获取网络拓扑结构;从获得的网络拓扑结构中选择核心路径,检测核心路径的长度或者核心路径的长度和非核心路径的长度;以及
计算模块,设置为根据核心路径的长度或核心路径和非核心路径的长度计算时隙长度。
本发明实施例的主节点中,检测模块对OBTN进行路径检测获取网络拓扑结构包括:
分别向与自身相连的所有从节点或代理主节点发送包含有主节点的节点信息的第一测试控制帧;接收到所有第一测试控制帧后,对所有第一测试控制帧中的路径进行整合以获得网络拓扑结构。
本发明实施例的主节点中,同步模块是设置为:
根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔,根据第一时间间隔和OBTN的时隙长度确定核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时。
本发明实施例的主节点中,同步模块根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
根据OBTN的时隙长度依次向核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧,测量接收第二测试控制帧和第一测试数据帧 回到主节点的第一延时;接收来自代理主节点的第二延时;根据第一延时和第二延时确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔。
本发明实施例的主节点中,同步模块根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
根据OBTN的时隙长度依次向核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;获取从发送第二测试控制帧到接收第二测试控制帧之间的第二时间间隔,计算获得的第二时间间隔和核心路径的长度之间的差值即得到第一延时;接收来自代理主节点的第二延时;根据第一延时和第二延时确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔。
本发明实施例的主节点中,同步模块根据第一时间间隔和OBTN的时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时包括:
根据OBTN的时隙长度依次向核心路径的从节点或代理主节点发送第三测试数据帧和第四测试控制帧,保持比第三测试数据帧提前第一时间间隔发送第四测试控制帧。
本发明实施例的主节点中,还包括:
第一接收模块,设置为接收来自核心路径的从节点的带宽请求;以及
第一发送模块,设置为将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给核心路径的每个从节点。
本发明实施例的主节点中,还包括:
第一接收模块,设置为接收来自非核心路径的从节点的带宽请求,根据带宽请求确定从节点发送数据到接收节点的路径;以及
第一发送模块,设置为判断出确定的路径不跨代理主节点,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给非核心路径的每个从节点。
本发明实施例的主节点中,还包括:
第一接收模块,设置为接收每个代理主节点发送的非核心路径中多余的 时间长度,以及接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;以及
第一发送模块,设置为:判断出确定的路径跨代理主节点且所述多余的时间长度大于零,将指示从节点采用两个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给核心路径、非核心路径上的每个从节点,以及判断出确定的路径跨代理主节点且所述多余的时间长度等于零,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、非核心路径的每个从节点。
参见图6,本发明实施例还提出了一种代理主节点,至少包括:
第二接收模块,设置为接收来自主节点的第一测试数据帧和第二测试控制帧;测量接收第三测试控制帧和第二测试数据帧回到自身的第二延时;以及
第二发送模块,设置为接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;根据所述OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;将第二延时发送给主节点。
可选地,本发明实施例的代理主节点中,第二接收模块还设置为:接收到第一测试控制帧后,将自身的节点信息添加到第一测试控制帧中形成路径;
第二发送模块还设置为:在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧。
可选地,本发明实施例的代理主节点中,第二发送模块还设置为:根据OBTN的时隙长度依次向代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;将第二延时发送给主节点;
第二接收模块还设置为:测量接收第三测试控制帧和第二测试数据帧回到代理主节点的第二延时。
可选地,本发明实施例的代理主节点中,第二发送模块还设置为:根据OBTN的时隙长度依次向自身所在的非核心路径的从节点发送第二测试数据 帧和第三测试控制帧;将第二延时发送给主节点;
第二接收模块还设置为:获取从发送第三测试控制帧到接收第三测试控制帧之间的第三时间间隔,计算获得的第三时间间隔和自身所在的非核心路径的长度之间的差值即得到第二延时。
可选地,本发明实施例的代理主节点中,第二接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第三延时;
第二发送模块还设置为:在接收到第三测试数据帧后向核心路径的下一个从节点转发第三测试数据帧,在接收到第四测试控制帧的固定的延时后向核心路径的下一个从节点转发第四测试控制帧。
可选地,本发明实施例的代理主节点中,第二发送模块还设置为:根据代理主节点的第三延时和OBTN的时隙长度确定非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时。
可选地,本发明实施例的代理主节点中,第二发送模块是设置为:
根据OBTN的时隙长度依次向非核心路径的从节点发送第四测试数据帧和第五测试控制帧,保持比第四测试数据帧提前代理主节点的第三延时和固定的延时之间的差值发送第五测试控制帧。
可选地,本发明实施例的代理主节点中,第二接收模块还设置为:接收来自主节点的第三测试数据帧和第四测试控制帧;
第二发送模块还设置为:将第三测试数据帧和第四测试控制帧发送给非核心路径的每个从节点。
参见图7,本发明实施例还提出了一种从节点,至少包括:
第三接收模块,设置为接收第二测试控制帧和第一测试数据帧;以及
第三发送模块,设置为在接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点。
可选地,本发明实施例的从节点中,第三接收模块还设置为:接收到第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径;
第三发送模块还设置为:在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧。
可选地,本发明实施例的从节点中,第三接收模块还设置为:接收第三测试控制帧和第二测试数据帧;
第三发送模块还设置为:在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点。
可选地,本发明实施例的从节点中,第三接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第三延时;
第三发送模块还设置为:在接收到第三测试数据帧后向核心路径的下一个从节点转发第三测试数据帧,在接收到第四测试控制帧的固定的延时后向核心路径的下一个从节点转发第四测试控制帧。
可选地,本发明实施例的从节点中,第三接收模块还设置为:测量自身接收到第五测试控制帧和第四测试数据帧的第四延时;
第三发送模块还设置为:在接收到第四测试数据帧后向非核心路径的下一个从节点转发第四测试数据帧,在接收到第五测试控制帧的固定的延时后向非核心路径的下一个从节点转发第五测试控制帧。
可选地,本发明实施例的从节点中,第三接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第四延时;
第三发送模块还设置为:在接收到第三测试数据帧后向非核心路径的下一个从节点转发第三测试数据帧,在接收到第四测试控制帧的固定的延时后向非核心路径的下一个从节点转发第四测试控制帧。
可选地,本发明实施例的从节点中,第三发送模块或第三接收模块还设置为:
根据接收到的带宽地图信息、接收到的第三延时或第四延时、以及接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读 存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明实施例不限制于任何特定形式的硬件和软件的结合。
工业实用性
通过本发明实施例方案,在节点设计时不需要考虑FDL,简化了节点的设计,提高了同步的时间精度,且不会对光效率造成损失。

Claims (30)

  1. 一种实现时隙同步的方法,其特征在于,应用于光突发传送网OBTN,包括:
    主节点根据OBTN的时隙长度进行OBTN的时隙同步训练。
  2. 根据权利要求1所述的方法,主节点根据OBTN的时隙长度进行OBTN的时隙同步训练之前,该方法还包括:
    所述主节点对所述OBTN进行路径检测获取网络拓扑结构;
    所述主节点从获得的网络拓扑结构中选择核心路径,检测所述核心路径的长度或者所述核心路径的长度和非核心路径的长度,根据所述核心路径的长度,或所述核心路径和非核心路径的长度计算所述时隙长度。
  3. 根据权利要求2所述的方法,其中,所述主节点对OBTN进行路径检测获取网络拓扑结构包括:
    所述主节点分别向与自身相连的所有从节点或代理主节点发送包含有所述主节点的节点信息的第一测试控制帧;
    所述从节点或所述代理主节点接收到所述第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径,并在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧;
    所述主节点接收到所有第一测试控制帧后,对所述所有第一测试控制帧中的路径进行整合以获得所述网络拓扑结构。
  4. 根据权利要求1或2或3所述的方法,其中,所述主节点根据OBTN的时隙长度进行OBTN的时隙同步训练包括:
    所述主节点根据所述OBTN的时隙长度确定所述OBTN的核心路径中主节点发送控制帧比数据帧提前的第一时间间隔,根据所述第一时间间隔和所述时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时,所述代理主节点根据所述代理主节点的第三延时和所述时隙长度确定所述OBTN的非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时。
  5. 根据权利要求4所述的方法,其中,所述主节点根据OBTN的时隙长度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
    所述主节点根据所述OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;从节点或代理主节点在接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;所述主节点测量接收所述第二测试控制帧和所述第一测试数据帧回到主节点的第一延时;
    所述代理主节点根据所述OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;从节点在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点;所述代理主节点测量接收所述第三测试控制帧和所述第二测试数据帧回到所述代理主节点的第二延时;
    所述主节点接收到来自所述代理主节点的所述第二延时;
    所述主节点根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送所述控制帧比所述数据帧提前的第一时间间隔;
    或者
    所述主节点根据所述OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;所述从节点或代理主节点在接收到第二测试控制帧的固定的延时后转发所述第二测试控制帧给核心路径的下一个节点,在接收到所述第一测试数据帧后直接转发所述第一测试数据帧给核心路径的下一个节点;所述主节点获取从发送所述第二测试控制帧到接收所述第二测试控制帧之间的第二时间间隔,计算获得的第二时间间隔和所述核心路径的长度之间的差值即得到第一延时;
    所述代理主节点根据所述OBTN的时隙长度依次向自身所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;所述从节点在接收到所述第三测试控制帧的固定的延时后转发所述第三测试控制帧给所述非核心路 径的下一个节点,在接收到所述第二测试数据帧后直接转发所述第二测试数据帧给所述非核心路径的下一个节点;所述代理主节点获取从发送所述第三测试控制帧到接收所述第三测试控制帧之间的第三时间间隔,计算获得的第三时间间隔和所述自身所在的非核心路径的长度之间的差值即得到第二延时;
    所述主节点接收到来自所述代理主节点的所述第二延时;
    所述主节点根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送控制帧比数据帧提前的第一时间间隔。
  6. 根据权利要求4所述的方法,其中,所述根据所述第一时间间隔和所述时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时包括:
    所述主节点根据所述时隙长度依次向所述核心路径的从节点或代理主节点发送第三测试数据帧和第四测试控制帧,保持比所述第三测试数据帧提前所述第一时间间隔发送所述第四测试控制帧;
    所述从节点或代理主节点测量自身接收到第四测试控制帧和第三测试数据帧的第三延时,并在接收到所述第三测试数据帧后向所述核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述核心路径的下一个从节点转发所述第四测试控制帧。
  7. 根据权利要求4所述的方法,其中,所述根据所述代理主节点的第三延时和所述时隙长度确定所述OBTN的非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时包括:
    所述代理主节点根据所述时隙长度依次向所述非核心路径的从节点发送第四测试数据帧和第五测试控制帧,保持比第四测试数据帧提前所述代理主节点的第三延时和固定的延时之间的差值发送第五测试控制帧;
    每个从节点测量自身接收到第五测试控制帧和第四测试数据帧的第四延时,并在接收到所述第四测试数据帧后向所述非核心路径的下一个从节点转发所述第四测试数据帧,在接收到所述第五测试控制帧的固定的延时后向所述非核心路径的下一个从节点转发第五测试控制帧;
    或者
    所述代理主节点将来自所述主节点的第三测试数据帧和第四测试控制帧转发给下所述非核心路径的每个从节点;每个从节点测量自身接收到所述第四测试控制帧和所述第三测试数据帧的第四延时,并在接收到所述第三测试数据帧后向所述非核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述非核心路径的下一个从节点转发所述第四测试控制帧。
  8. 根据权利要求4所述的方法,所述方法还包括:
    所述主节点接收来自核心路径的从节点的带宽请求;
    所述主节点将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径的每个从节点;
    核心路径的从节点根据接收到的带宽地图信息、第三延时和接收到控制帧的时隙位置,在对应的时隙位置发送或接收数据帧和控制帧;
    或者
    所述主节点接收来自非核心路径的从节点的带宽请求;
    所述主节点根据所述带宽请求确定所述从节点发送数据到接收节点的路径;
    所述主节点判断出确定的路径不跨代理主节点,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给非核心路径的每个从节点;
    所述非核心路径的从节点根据接收到的带宽地图信息、第四延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧;
    或者
    每个代理主节点根据自身所在的非核心路径的长度计算非核心路径中多余的时间长度,并将计算得到的多余的时间长度发送给主节点;
    所述主节点接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;
    所述主节点判断出确定的路径跨代理主节点且所述多余的时间长度大于零,所述主节点将指示从节点采用两个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、所述非核心路径上的每个从节点;所述主节点判断出确定的路径跨代理主节点且所述多余的时间长度等于零,所述主节点将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、非核心路径的每个从节点;
    在所述从节点根据接收到的带宽地图信息、第四延时和接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
  9. 一种主节点,包括:
    同步模块,设置为根据光突发传送网OBTN的时隙长度进行OBTN的时隙同步训练。
  10. 根据权利要求9所述的主节点,还包括:
    检测模块,设置为对OBTN进行路径检测获取网络拓扑结构;从获得的网络拓扑结构中选择核心路径,检测核心路径的长度或者核心路径的长度和非核心路径的长度;以及
    计算模块,设置为根据核心路径的长度或核心路径和非核心路径的长度计算时隙长度。
  11. 根据权利要求10所述的主节点,所述检测模块对OBTN进行路径检测获取网络拓扑结构包括:
    分别向与自身相连的所有从节点或代理主节点发送包含有所述主节点的节点信息的第一测试控制帧;接收到所有第一测试控制帧后,对所述所有第一测试控制帧中的路径进行整合以获得所述网络拓扑结构。
  12. 根据权利要求9或10或11所述的主节点,所述同步模块是设置为:
    根据OBTN的时隙长度确定所述核心路径中主节点发送控制帧比数据帧提前的第一时间间隔,根据所述第一时间间隔和OBTN的时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时。
  13. 根据权利要求12所述的主节点,所述同步模块根据OBTN的时隙长 度确定核心路径中主节点发送控制帧比数据帧提前的第一时间间隔包括:
    根据OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧,测量接收所述第二测试控制帧和所述第一测试数据帧回到主节点的第一延时;接收来自所述代理主节点的第二延时;根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送所述控制帧比所述数据帧提前的第一时间间隔;
    或者
    根据OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第一测试数据帧和第二测试控制帧;获取从发送所述第二测试控制帧到接收所述第二测试控制帧之间的第二时间间隔,计算获得的第二时间间隔和所述核心路径的长度之间的差值即得到第一延时;接收来自所述代理主节点的第二延时;根据所述第一延时和所述第二延时确定所述核心路径中所述主节点发送控制帧比数据帧提前的第一时间间隔。
  14. 根据权利要求12所述的主节点,所述同步模块根据第一时间间隔和OBTN的时隙长度确定所述核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第三延时包括:
    根据OBTN的时隙长度依次向所述核心路径的从节点或代理主节点发送第三测试数据帧和第四测试控制帧,保持比所述第三测试数据帧提前所述第一时间间隔发送所述第四测试控制帧。
  15. 根据权利要求12所述的主节点,所述主节点还包括:
    第一接收模块,设置为接收来自核心路径的从节点的带宽请求;以及
    第一发送模块,设置为将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径的每个从节点;
    或者
    第一接收模块,设置为接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;以及
    第一发送模块,设置为:判断出确定的路径不跨代理主节点,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中 发送给非核心路径的每个从节点;
    或者
    第一接收模块,设置为接收每个代理主节点发送的非核心路径中多余的时间长度,以及接收来自非核心路径的从节点的带宽请求,根据所述带宽请求确定所述从节点发送数据到接收节点的路径;以及
    第一发送模块,设置为:判断出确定的路径跨代理主节点且所述多余的时间长度大于零,将指示从节点采用两个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、所述非核心路径上的每个从节点,以及判断出确定的路径跨代理主节点且所述多余的时间长度等于零,将指示从节点采用一个时隙长度来发送数据的一个时隙的信息包含在带宽地图信息中发送给所述核心路径、非核心路径的每个从节点。
  16. 一种代理主节点,包括:
    第二接收模块,设置为接收来自主节点的第一测试数据帧和第二测试控制帧;测量接收第三测试控制帧和第二测试数据帧回到自身的第二延时;以及
    第二发送模块,设置为接收到第二测试控制帧的固定的延时后转发第二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点;根据所述OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;将第二延时发送给主节点。
  17. 根据权利要求16所述的代理主节点,
    所述第二接收模块还设置为:接收到第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径;
    所述第二发送模块还设置为:在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧。
  18. 根据权利要求16所述的代理主节点,
    所述第二发送模块还设置为:根据OBTN的时隙长度依次向所述代理主节点所在的非核心路径的从节点发送第二测试数据帧和第三测试控制帧;将 所述第二延时发送给主节点;
    所述第二接收模块还设置为:测量接收所述第三测试控制帧和所述第二测试数据帧回到所述代理主节点的第二延时;或者,获取从发送所述第三测试控制帧到接收所述第三测试控制帧之间的第三时间间隔,计算获得的第三时间间隔和所述自身所在的非核心路径的长度之间的差值即得到第二延时。
  19. 根据权利要求16所述的代理主节点,
    所述第二接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第三延时;
    所述第二发送模块还设置为:在接收到所述第三测试数据帧后向所述核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述核心路径的下一个从节点转发所述第四测试控制帧。
  20. 根据权利要求16所述的代理主节点,所述第二发送模块还设置为:
    根据代理主节点的第三延时和OBTN的时隙长度确定非核心路径中每个从节点或代理主节点自身接收或发送控制帧比数据帧提前的第四延时。
  21. 根据权利要求16所述的代理主节点,所述第二发送模块是设置为:
    根据OBTN的时隙长度依次向所述非核心路径的从节点发送第四测试数据帧和第五测试控制帧,保持比第四测试数据帧提前所述代理主节点的第三延时和固定的延时之间的差值发送第五测试控制帧。
  22. 根据权利要求16所述的代理主节点,
    所述第二接收模块还设置为:接收来自主节点的第三测试数据帧和第四测试控制帧;
    所述第二发送模块还设置为:将所述第三测试数据帧和所述第四测试控制帧发送给所述非核心路径的每个从节点。
  23. 一种从节点,包括:
    第三接收模块,设置为接收第二测试控制帧和第一测试数据帧;以及
    第三发送模块,设置为在接收到第二测试控制帧的固定的延时后转发第 二测试控制帧给核心路径的下一个节点,在接收到第一测试数据帧后直接转发第一测试数据帧给核心路径的下一个节点。
  24. 根据权利要求23所述的从节点,
    所述第三接收模块还设置为:接收到第一测试控制帧后,将自身的节点信息添加到所述第一测试控制帧中形成路径;
    所述第三发送模块还设置为:在固定的延时后向与自身相连的其他节点发送添加自身的节点信息后的第一测试控制帧。
  25. 根据权利要求23所述的从节点,
    所述第三接收模块还设置为:接收第三测试控制帧和第二测试数据帧;
    所述第三发送模块还设置为:在接收到第三测试控制帧的固定的延时后转发第三测试控制帧给非核心路径的下一个节点,在接收到第二测试数据帧后直接转发第二测试数据帧给非核心路径的下一个节点。
  26. 根据权利要求23所述的从节点,
    所述第三接收模块还设置为:测量自身接收到第四测试控制帧和第三测试数据帧的第三延时;
    所述第三发送模块还设置为:在接收到所述第三测试数据帧后向所述核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述核心路径的下一个从节点转发所述第四测试控制帧。
  27. 根据权利要求23所述的从节点,
    所述第三接收模块还设置为:测量自身接收到第五测试控制帧和第四测试数据帧的第四延时;
    所述第三发送模块还设置为:在接收到所述第四测试数据帧后向非核心路径的下一个从节点转发所述第四测试数据帧,在接收到所述第五测试控制帧的固定的延时后向非核心路径的下一个从节点转发第五测试控制帧。
  28. 根据权利要求23所述的从节点,
    所述第三接收模块还设置为:测量自身接收到所述第四测试控制帧和所 述第三测试数据帧的第四延时;
    所述第三发送模块还设置为:在接收到所述第三测试数据帧后向所述非核心路径的下一个从节点转发所述第三测试数据帧,在接收到所述第四测试控制帧的固定的延时后向所述非核心路径的下一个从节点转发所述第四测试控制帧。
  29. 根据权利要求23所述的从节点,所述第三发送模块或所述第三接收模块还设置为:
    根据接收到的带宽地图信息、接收到的第三延时或第四延时、以及接收到控制帧的时隙位置在对应的时隙位置发送或接收数据帧和控制帧。
  30. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-8任一项所述的方法。
PCT/CN2015/086533 2014-11-12 2015-08-10 一种实现时隙同步的方法和装置 WO2016074508A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017525531A JP2017539150A (ja) 2014-11-12 2015-08-10 タイムスロット同期を実現する方法及び装置
KR1020177015878A KR102114872B1 (ko) 2014-11-12 2015-08-10 타임 슬롯 동기화를 구현하는 방법 및 장치
US15/526,340 US10419201B2 (en) 2014-11-12 2015-08-10 Method and device for implementing timeslot synchronization
EP15859061.2A EP3206314B1 (en) 2014-11-12 2015-08-10 Method and device for implementing timeslot synchronization

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410635277.1 2014-11-12
CN201410635277.1A CN105656587B (zh) 2014-11-12 2014-11-12 一种实现时隙同步的方法和装置

Publications (1)

Publication Number Publication Date
WO2016074508A1 true WO2016074508A1 (zh) 2016-05-19

Family

ID=55953708

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086533 WO2016074508A1 (zh) 2014-11-12 2015-08-10 一种实现时隙同步的方法和装置

Country Status (6)

Country Link
US (1) US10419201B2 (zh)
EP (1) EP3206314B1 (zh)
JP (1) JP2017539150A (zh)
KR (1) KR102114872B1 (zh)
CN (1) CN105656587B (zh)
WO (1) WO2016074508A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290434A (zh) * 2019-07-05 2019-09-27 北京电子工程总体研究所 基于光纤传输延迟实时补偿的非周期信号同步方法及系统

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102018103097B3 (de) * 2018-02-12 2019-04-18 Kathrein Se Verfahren zur Topologiebestimmung in einer Mobilfunk-Site, ein Computerprogramm, ein Computerprogramm-Produkt und eine entsprechende Mobilfunk-Site
CN110492960A (zh) * 2019-07-23 2019-11-22 中国航空无线电电子研究所 基于以太网的同步通信方法
CN113543082B (zh) * 2020-04-22 2023-12-08 北京猎户星空科技有限公司 一种通信方法、装置、电子设备、系统以及介质
CN113347706B (zh) * 2021-06-01 2023-05-16 四川中电昆辰科技有限公司 确定定位系统中待定位装置位置发生时刻的系统和方法
CN117097427B (zh) * 2023-08-03 2024-05-14 北京邮电大学 一种光时隙交换网络中的时间同步方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052000A (zh) * 2007-05-16 2007-10-10 中国电子科技集团公司第五十四研究所 光突发交换网络中区分业务的实现方法
EP2779484A1 (en) * 2011-11-25 2014-09-17 Huawei Technologies Co., Ltd Polybox clustered optical network switching node, optical burst synchronization method and line frame
CN104702397A (zh) * 2013-12-05 2015-06-10 中兴通讯股份有限公司 一种obtn时隙长度调整方法、装置及节点
CN104796212A (zh) * 2014-01-22 2015-07-22 中兴通讯股份有限公司 一种光突发传送网、节点和传输方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2339902A1 (en) * 2001-03-07 2002-09-07 Cedric Don-Carolis Photonic communication system with sub-"line rate" bandwidth granularity
US6738582B1 (en) * 2002-03-26 2004-05-18 Martisse Networks Synchronization system for all optical slotted ring dynamic networks
US7009991B2 (en) 2002-03-28 2006-03-07 Matisse Networks Reservation-based media access controller and reservation-based optical network
US20030189901A1 (en) * 2002-04-03 2003-10-09 Timucin Ozugur Upstream resource management propagation system and method for use in bufferless networks
US7181140B2 (en) * 2002-04-17 2007-02-20 Intel Corporation Method and apparatus for implementing and networking a semiconductor-based optical burst switching module within optical networks
KR100643760B1 (ko) 2004-12-31 2006-11-10 삼성전자주식회사 타임-슬롯 광 버스트 스위칭 시스템 및 스위칭방법
US8014418B2 (en) * 2006-09-25 2011-09-06 Intel Corporation Allocating burst data units to available time-slots
CN101997669B (zh) 2009-08-14 2015-10-21 中兴通讯股份有限公司 光传送网承载时间同步协议时的时间校正方法及系统
EP2863589B1 (en) * 2012-06-13 2020-03-11 Nippon Telegraph and Telephone Corporation Optical network system, optical switch node, master node, and node

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052000A (zh) * 2007-05-16 2007-10-10 中国电子科技集团公司第五十四研究所 光突发交换网络中区分业务的实现方法
EP2779484A1 (en) * 2011-11-25 2014-09-17 Huawei Technologies Co., Ltd Polybox clustered optical network switching node, optical burst synchronization method and line frame
CN104702397A (zh) * 2013-12-05 2015-06-10 中兴通讯股份有限公司 一种obtn时隙长度调整方法、装置及节点
CN104796212A (zh) * 2014-01-22 2015-07-22 中兴通讯股份有限公司 一种光突发传送网、节点和传输方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP3206314A4 *
YU , SIYANG.: "The Study on Key Technologies of Optical Burst Transport Network", CHINA MASTERS' THESES FULL-TEXT DATABASE INFORMATION SCIENCE PART, 15 November 2013 (2013-11-15), XP008185313 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290434A (zh) * 2019-07-05 2019-09-27 北京电子工程总体研究所 基于光纤传输延迟实时补偿的非周期信号同步方法及系统
CN110290434B (zh) * 2019-07-05 2022-03-04 北京电子工程总体研究所 基于光纤传输延迟实时补偿的非周期信号同步方法及系统

Also Published As

Publication number Publication date
EP3206314B1 (en) 2024-03-13
KR20170085074A (ko) 2017-07-21
CN105656587A (zh) 2016-06-08
US10419201B2 (en) 2019-09-17
CN105656587B (zh) 2019-07-30
JP2017539150A (ja) 2017-12-28
EP3206314A1 (en) 2017-08-16
EP3206314A4 (en) 2017-11-08
US20170317813A1 (en) 2017-11-02
KR102114872B1 (ko) 2020-06-08

Similar Documents

Publication Publication Date Title
WO2016074508A1 (zh) 一种实现时隙同步的方法和装置
US11128940B2 (en) Transmission method for an optical burst transport network, slave node, and computer storage medium
JP4757215B2 (ja) 光伝送システムおよび光伝送方法
US20160164760A1 (en) System and method for measuring transmission time difference of signals transmitted through different routes
JP6152225B2 (ja) Wdm/tdm−ponシステム及びその送信開始時刻補正方法
US8547864B2 (en) Layer one path delay compensation
JP6373996B2 (ja) 帯域幅マップ更新方法及び装置
Hua et al. Optical time slice switching (OTSS): An all-optical sub-wavelength solution based on time synchronization
Hattori et al. Optical layer-2 switch network based on WDM/TDM nano-sec wavelength switching
CN104702397B (zh) 一种obtn时隙长度调整方法、装置及节点
JP6647193B2 (ja) 光リングネットワークシステム及びそのパス制御方法
WO2016091153A1 (zh) 一种光突发传送网的传输方法和系统
CN102420757A (zh) 一种路径计算方法、设备及通信系统
JP5429344B1 (ja) ネットワーク、通信装置及びネットワークのレンジング方法
CN105792030B (zh) 一种光突发传送网业务跨环的实现方法和相应的主节点
EP2747447A1 (en) Transmission of data bursts in an optical burst switching network

Legal Events

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

Ref document number: 15859061

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017525531

Country of ref document: JP

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2015859061

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15526340

Country of ref document: US

ENP Entry into the national phase

Ref document number: 20177015878

Country of ref document: KR

Kind code of ref document: A