WO2017193711A1 - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
WO2017193711A1
WO2017193711A1 PCT/CN2017/077907 CN2017077907W WO2017193711A1 WO 2017193711 A1 WO2017193711 A1 WO 2017193711A1 CN 2017077907 W CN2017077907 W CN 2017077907W WO 2017193711 A1 WO2017193711 A1 WO 2017193711A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
network node
sub
channels
frame
Prior art date
Application number
PCT/CN2017/077907
Other languages
French (fr)
Chinese (zh)
Inventor
张伟良
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017193711A1 publication Critical patent/WO2017193711A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Definitions

  • the present application relates to, but is not limited to, the field of communications, and more particularly to a data transmission method and apparatus.
  • PON Passive Optical Network
  • OLT optical Line Terminal
  • ONUs optical network units
  • NG-PON2 is an important branch in the evolution of PON technology.
  • the encapsulation process of data transmission is shown in Figure 2:
  • the data is first encapsulated into an XGEM (XG-PON Encapsulation Method) frame, and the XGEM frame includes an overhead and a payload, and the XGEM port identifier port ID is carried in the overhead;
  • XGEM XG-PON Encapsulation Method
  • the superframe includes overhead and payload.
  • the overhead includes physical layer operations, management and maintenance (PLOAM) messages, and BWmap (Bandwidth map). Wait;
  • PLOAM physical layer operations, management and maintenance
  • BWmap Bandwidth map
  • the superframe is processed into a physical frame by processing such as Forward Error Correction (FEC).
  • FEC Forward Error Correction
  • the physical frame includes a frame header and a payload, and the frame header is used by the receiver to detect the starting position of the physical frame.
  • Ethernet Passive Optical Network (EPON)/10GEPON is another important branch of PON evolution.
  • the data encapsulation level is shown in Figure 3.
  • the data is encapsulated into a MAC (Media Access Control) frame, and the data is used as a MAC payload.
  • the MAC frame also includes a MAC overhead, and the MAC overhead includes information such as a target address, a source address, and a MAC payload length.
  • the MAC frame is encapsulated by encoding, FEC check, etc.
  • the physical frame payload is included in the physical frame, and the physical frame header is included in the physical frame, and the physical frame header includes related information such as delimitation.
  • the OLT and the ONU can only communicate through one wavelength pair. That is, the OLT and the ONU can only transmit data through one channel.
  • the bandwidth requirement of the ONU user side increases, the OLT and the OLT There will be more data to be transmitted before the ONU, and the traditional passive optical network will not be able to meet this demand.
  • the OLT and the ONU can support data transmission on multiple channels at the same time, which can increase the bandwidth between the OLT and the ONU, and also increase the ONU user side. bandwidth. As shown in Figure 4.
  • the ONU supports sending and receiving data on multiple channels.
  • the OLT also needs to support simultaneous transmission and reception of data on multiple channels supported by the ONU.
  • the embodiment of the invention provides a data transmission method and device, which can realize the simple and effective simultaneous data transmission between the OLT and the ONU on multiple channels.
  • a data transmission method including: a first network node uniformly transmitting first data to be sent to a second network node to the second network node through two or more channels;
  • the first network node is an optical fiber line terminal OLT
  • the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node is an OLT.
  • the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels, including: the first network The node sends the first data to be sent to the second network node to the second network node uniformly through two or more fixed channels.
  • the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels:
  • the channel includes a logical channel
  • the first network node uniformly divides the first data into two or more sub-data and respectively encapsulates into a first data frame;
  • the first network node passes the two The above logical channel sends the encapsulated two or more of the first data frames to the second network node;
  • the channel includes a physical channel
  • the first network node encapsulates the first data into a first a second data frame;
  • the first network node uniformly divides the second data frame into two or more sub data frames;
  • the first network node passes the two or more parts by using the two or more physical channels
  • a sub-data frame is sent to the second network node.
  • the first network node sends the encapsulated two or more first data frames to the second network node by using the two or more logical channels, including: the first network node Assigning more than two of the first data frames to the two or more logical channels in a pre-agreed manner; and, by the two or more logical channels, two or more of the first data frames to be allocated Sending to the second network node; or the first network node adds first identifier information to the two or more first data frames, where the first identifier information is used to identify the a position of the sub data carried in the first data frame in the first data; and two or more of the first data frames to which the first identification information is added are allocated to the two or more logical channels; The two or more logical channels send the allocated two or more of the first data frames to the second network node.
  • the sending, by the first network node, the two or more sub-data frames to the second network node by using the two or more physical channels includes: the first network node according to a pre-agreed Transmitting the two or more sub data frames to the two or more physical channels; and transmitting, by the two or more physical channels, the allocated two or more sub data frames to the second a network node; or the first network node adds second identification information to the two or more sub-data frames, where the second identification information is used to identify the sub-data frame in the first data a location in the encapsulated second data frame; assigning the two or more sub-data frames to which the second identification information is added to the two or more physical channels; allocating through the two or more physical channels The two or more sub data frames are sent to the second network node.
  • the first network node encapsulating the first data into the second data frame comprises: the first network node encapsulating the first data into the second data frame a payload portion; the first network node uniformly dividing the second data frame into two or more sub data frames, the first network node uniformly dividing a payload portion of the second data frame Transmitting into more than two sub-data frame payloads; the first network node transmitting the two or more sub-data frames to the second network node by using the two or more physical channels, including: the first network The node encapsulates the two or more sub-data frame payloads into the two or more physical channels; the first network node sends the two or more sub-data frame payloads by using the two or more physical channels Transmitting to the second network node, and informing the second network node of the starting position of the sub data frame payload in the physical channel by at least one of: the first network node is in the Inserting a frame start position of two or more physical channels, wherein the frame header is
  • the first network node receives second data from the second network node through more than two channels, wherein the second data is uniformly transmitted in the two or more channels.
  • the receiving, by the first network node, the second data from the second network node by using two or more channels includes:
  • the first network node receives the second data from the second network node through two or more fixed channels.
  • the receiving, by the first network node, the second data from the second network node by using the two or more channels includes: when the channel includes a logical channel, the first network node Receiving more than two third data frames from the second network node by the two or more channels; the first network node determining that the sub data included in the two or more third data frames are in the The position in the second data, and each sub-data according to the determined position Obtaining the second data after the assembly; when the channel includes a physical channel, the first network node receives more than two sub-data frames from the second network node by using the two or more channels, where The sub data frame is a part of a fourth data frame encapsulated by the second data; the first network node determines a fourth data frame in which the two or more sub data frames are encapsulated in the second data a position in the middle, and assembling each sub-data frame according to the determined position to obtain a fourth data frame encapsulated by the second data; the first network node is encapsulated
  • the determining, by the first network node, the location of the sub-data included in the two or more third data frames in the second data comprises: the first network node according to a pre-agreed manner Determining a position of the sub data included in the two or more third data frames in the second data; or, the first network node acquiring a third carried in the two or more third data frames And identifying, by the first network node, a location of the sub data included in the two or more third data frames in the second data according to the third identifier information.
  • the determining, by the first network node, the location of the two or more sub-data frames in the fourth data frame encapsulated by the second data comprises: the first network node according to a pre-agreed The method determines a location of the two or more sub data frames in a fourth data frame encapsulated by the second data; or, the first network node acquires a number carried in the two or more sub data frames And determining, by the first network node, a location of the two or more sub data frames in a fourth data frame encapsulated by the second data according to the fourth identifier information.
  • the receiving, by the first network node, the two or more sub-data frames from the second network node by using the two or more channels that the first network node is determined by at least one of the following manners: a starting position of the sub-data frame payload in the two or more channels: determining, according to a frame start position of the two or more channels, a sub-data frame payload in the two or more channels The manner of the frame header of the starting position; the manner of arranging the starting position of the sub-data frame payload in the physical channel with the second network node; by agreeing with the second network node or by Notifying the second network node of a start location of the sub-data frame payload in the physical channel and a sub-data frame in a physical channel when the second network node previously performs data transmission to the first network node a manner in which the start position of the payload is the same, wherein the second network node periodically inserts a frame header at a frame start position of two or more physical channels,
  • the frame header is used to
  • a data transmission method including: a first network node receives second data from a second network node through two or more channels, wherein the second data is in the two Uniformly transmitted in more than one channel; wherein the first network node is a fiber line terminal OLT, the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node For the OLT.
  • the receiving, by the first network node, the second data from the second network node by using two or more channels includes: receiving, by the first network node, by using two or more fixed channels The second data of the second network node.
  • the receiving, by the first network node, the second data from the second network node by using the two or more channels includes: when the channel includes a logical channel, the first network node Receiving more than two third data frames from the second network node by the two or more channels; the first network node determining that the sub data included in the two or more third data frames are in the a location in the second data, and assembling the sub-data according to the determined location to obtain the second data; when the channel includes a physical channel, the first network node receives the source through the two or more channels Two or more sub-data frames of the second network node, wherein the sub-data frame is part of a fourth data frame encapsulated by the second data; the first network node determines the two or more a position of the sub-data frame in the fourth data frame encapsulated by the second data, and assembling each sub-data frame according to the determined position to obtain a fourth data frame encapsulated by the second data; A first network node to a second data package from the
  • a data transmission apparatus configured to a first network node, comprising: a sending module, configured to uniformly pass first data to be sent to a second network node The two or more channels are sent to the second network node; wherein the first network node is a fiber line terminal OLT, the second network node is a fiber network unit ONU; or the first network node is an ONU, The second network node is an OLT.
  • the device further includes: a receiving module, configured to pass more than two passes The track receives second data from the second network node, wherein the second data is uniformly transmitted in the two or more channels.
  • a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the data transfer method described above.
  • FIG. 1 is a schematic diagram of a PON architecture and topology
  • FIG. 2 is a schematic diagram of NG-PON2 data encapsulation
  • FIG. 4 is a schematic diagram of a multi-path PON architecture and topology
  • FIG. 5 is a flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of data transmission according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram 1 of data transmission according to Embodiment 2 of the present invention.
  • FIG. 8 is a second schematic diagram of data transmission according to Embodiment 2 of the present invention.
  • FIG. 9 is a first schematic diagram of data encapsulation according to a third embodiment of the present invention.
  • FIG. 10 is a second schematic diagram of data encapsulation according to Embodiment 3 of the present invention.
  • FIG. 11 is a block diagram showing the structure of a data transmission device according to an embodiment of the present invention.
  • the ONU supports sending and receiving data on multiple channels.
  • the OLT supports simultaneous transmission and reception of data on multiple channels supported by the ONU in order to support such multi-channel transmission and reception of the ONU.
  • FIG. 5 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
  • Step S502 the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels;
  • the first network node is a fiber line terminal OLT
  • the second network node is a fiber network unit ONU; or the first network node is a fiber network unit ONU, and the second network node is a fiber line terminal OLT.
  • the data transmission method may further include: step S504, the first network node receives the second data from the second network node by using two or more channels, wherein the second data is uniformly transmitted in the two or more channels;
  • the step S504 may exist separately or may exist simultaneously with the step S502, and the two steps are not in the order.
  • data can be transmitted by using more than two channels at the same time, and since the data is in two Uniform transmission in more than one channel ensures that one end of the received data receives the complete data (ie, determines that the received data at the same time (or less than a predetermined time) comes from the same network node, ensuring the integrity of the received data. ).
  • the solution in the embodiment of the present invention can simultaneously and efficiently transmit and/or receive data on multiple channels, thereby ensuring data integrity.
  • the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels, where the first network node is to be sent to the second network.
  • the first data of the node is sent to the second network node uniformly through the fixed two or more channels.
  • the receiving, by the first network node, the second data from the second network node by using the two or more channels the first network node receiving the second data from the second network node by using the fixed two or more channels.
  • the channel for data transmission between the first network node and the second network node may be a fixed channel, and the fixed channel may be determined by negotiation between the two parties, or may be pre-configured or protocol. The rules are good.
  • the method may be implemented as follows:
  • the channel includes a logical channel (for example, a logical channel such as an XGEM port)
  • the first network node uniformly divides the first data into two or more sub-data and respectively encapsulates the first data frame; the first network node passes two or more The logical channel sends the encapsulated two or more first data frames to the second network node.
  • one transmission mode is: one-to-one transmission. That is, each data frame is sent through different logical channels, and all data frames encapsulated are simultaneously transmitted, so that all data frames can be simultaneously sent to the second network node side; one transmission mode is many-to-one transmission, That is, multiple data frames are sent on one logical channel, and the number of data frames sent on each logical channel is the same.
  • M data frames are transmitted on M/2 logical channels, and each logical channel carries 2 Data frames can be cyclically allocated to carry multiple data frames on a logical channel.
  • Other examples can be used.
  • four data frames are transmitted on two logical channels, and the first data frame is in logic. Transmitted on channel 1, the second data frame is sent on logical channel 2, the third data frame is sent on logical channel 1, and the fourth data frame is sent on logical channel 2.
  • the method may also be implemented as follows: When the above channel includes a physical channel, the first network node will be the first One data is encapsulated into a second data frame (ie, a physical frame); the first network node evenly divides the second data frame into two or more sub data frames; the first network node passes two copies through the two or more physical channels The above sub data frame is sent to the second network node.
  • a second data frame ie, a physical frame
  • the first network node evenly divides the second data frame into two or more sub data frames
  • the first network node passes two copies through the two or more physical channels
  • the above sub data frame is sent to the second network node.
  • resource allocation may be determined according to the number of sub-data frames, and multiple sub-data frames may be carried in physical by cyclic allocation.
  • the transmission is performed on the channel. For example, when the number of physical channels is 4 and the number of divided sub-data frames is Q, the first to fourth sub-data frames of the Q may be carried in the first to fourth respectively.
  • the physical channel is transmitted, and the 5th to 8th sub-data frames are carried on the 1st to 4th physical channels for transmission, and so on.
  • the first network node when the first network node sends the encapsulated two or more first data frames to the second network node by using two or more logical channels, the following manner may be adopted: the first network node is pre-agreed Manipulating two or more first data frames into two or more logical channels; and transmitting two or more first data frames allocated to the second network node through two or more logical channels; or, the first network The node adds the first identifier information to the two or more first data frames, where the first identifier information is used to identify the location of the child data carried in the first data frame in the first data; the first identifier is added Two or more first data frames of information are allocated to more than two logical channels; two or more first data frames allocated by the two or more logical channels are sent to the second network node.
  • the pre-agreed manner may be a manner in which the first network node and the second network node negotiate, or a manner specified by the protocol, or a fixed configuration manner, for example, the first logical channel may be agreed to be sent.
  • the location of the sub-data carried in the first data frame may be determined by using the identifier information, for example, when the identifier information is 00, indicating that the sub-data carried in the data frame is the first data.
  • the sub-data of the first part of the middle when the identification information is 01, indicates that the sub-data carried in the data frame is the sub-data of the second part in the first data, and so on.
  • the following manner may be adopted: Assigning more than two sub-data frames to more than two physical channels in a pre-agreed manner; and transmitting more than two sub-data frames allocated to the second network node through the two or more physical channels; or
  • the first network node adds the second identifier information to the two or more sub-data frames, where the second identifier information is used to identify the location of the sub-data frame in the second data frame encapsulated by the first data.
  • Two or more sub-data frames to which the second identification information is added are allocated to two or more physical channels; and the two or more sub-data frames allocated by the two or more physical channels are transmitted to the second network node. Similar to the foregoing embodiment, in this embodiment, the allocation of the sub-data frames may also be performed in an agreed manner or in a manner of identifying the identification information.
  • the foregoing first network node encapsulating the first data into the second data frame includes: the first network node encapsulates the first data into a payload portion of the second data frame; the first network node uses the second data Uniformly dividing the frame into two or more sub-data frames includes: the first network node uniformly splits the payload portion of the second data frame into two or more sub-data frame payloads; the first network node passes two
  • the sending, by the physical channel, the two or more sub-data frames to the second network node includes: the first network node encapsulating more than two sub-data frame payloads into two or more physical channels; the first network node passes two or more The physical channel sends more than two sub-data frame payloads to the second network node, and informs the second network node of the starting position of the sub-data frame payload in the physical channel by at least one of the following manners: The network node inserts a frame header at a frame start position of two or more physical channels, where the frame header
  • the frame header of the data frame may not be needed, and only the payload portion may be encapsulated.
  • a frame header can be inserted at the beginning of each physical channel (the data header can be inserted every time the data is transmitted, or can be periodically inserted, and the physical time of each data transmission is performed.
  • the start position of the sub-data frame payload in the channel is the same), so that the receiver (ie, the second network node) can be made to physical
  • the header inserted in the channel finds the starting position of the sub-data frame in each channel (when the first network node periodically inserts the frame header, the second network node can determine the above-mentioned frame header inserted on the previous physical channel) Start position), thus splicing into complete data.
  • the foregoing embodiments are mainly directed to how the first network node sends data to the second network node, and how the first network node receives data from the second network node is described below:
  • the first network node when the first network node receives the second data from the second network node by using two or more channels, the following manner may be adopted: when the channel includes the logical channel, the first network node Receiving two or more third data frames from the second network node through the two or more channels; the first network node determining a location of the data included in the two or more third data frames in the second data, and according to The determined location obtains the second data after assembling each sub-data; and the second data from the second network node may also be received through two or more channels in the following manner: when the channel includes the physical channel, the first network node passes two More than two channels receive more than two sub-data frames from the second network node, wherein the sub-data frame is part of a fourth data frame (ie, a physical frame) encapsulated by the second data; the first network node determines the foregoing The position of the two or more sub data frames in the fourth data frame encapsulated by the second data, and each sub data
  • the determining, by the first network node, the location of the sub-data included in the two or more third data frames in the second data comprises: determining, by the first network node, the two or more thirds in a predetermined manner Position of the sub-data included in the data frame in the second data; or, the first network node acquires the third identifier information carried in the two or more third data frames; the first network node determines two according to the third identifier information The position of the sub data contained in the third data frame above in the second data.
  • the second network node may send the information in the agreed manner, or may carry the identifier information for identifying the location information in the sent third data frame.
  • the first network node is informed of the sequence of each third data frame, so that the first network node determines the order of the data in each third data frame, thereby obtaining complete and accurate data.
  • the first network node determines that more than two sub-data frames are in the second The location in the fourth data frame encapsulated by the data includes: determining, by the first network node, a location of the two or more sub data frames in the fourth data frame encapsulated by the second data according to a pre-agreed manner; or, the first network The node acquires the fourth identifier information carried in the two or more sub-data frames; the first network node determines, according to the fourth identifier information, the position of the two or more sub-data frames in the fourth data frame encapsulated by the second data.
  • the second network node when the second network node sends the sub-data frame by using the channel, the second network node may send the information according to the agreed manner, or may send the identifier information for identifying the location information in the sent sub-data frame to notify the first The sequence of each sub-data frame of a network node, so that the first network node determines the sequence of data in each sub-data frame, thereby obtaining complete and accurate data.
  • the receiving, by the first network node, the two or more sub-data frames from the second network node by using the two or more channels includes: determining, by the first network node, at least one of the two or more channels Start position of the sub data frame payload: a manner of inserting a frame header for determining a start position of a sub data frame payload in two or more channels according to a frame start position of the above two or more channels; The manner in which the foregoing second network node appoints the start position of the sub-data frame payload in the physical channel; by agreeing with the second network node or by the second network node, notifying the start position of the sub-data frame payload in the physical channel a manner in which the start position of the sub data frame payload in the physical channel when the second network node performs data transmission to the first network node is the same, wherein the second network node periodically frames on more than two physical channels
  • the start position is inserted into a frame header, where the frame header is used to identify a start
  • a frame header for determining a start position of a sub data frame payload may be inserted in a frame start position of each channel, or the frame header may be periodically inserted, and the first network node may The starting position of the sub data frame payload is determined according to the frame header.
  • the channel may be a logical channel such as an XGEM port, or may be a physical channel such as a wavelength.
  • the channel is a logical channel such as XGEM Port
  • the data is uniformly transmitted and received through a plurality of fixed logical channels;
  • the channel is a physical channel such as a wavelength, the data is first encapsulated into a data frame, and the data frame is fixed in multiple physical Uniformly on the channel Send and receive.
  • the bandwidth allocated by the OLT to the ONU can be evenly distributed on multiple fixed channels.
  • the channel includes the physical channel
  • the OLT and the ONU support 4 channels as an example.
  • the physical frame can be equally divided into 4 ⁇ N parts. Divided into 4 ⁇ N parts, supplemented by 4 ⁇ N parts by adding missing parts, and then distributed each part to 4 physical channels in block order, for example, the first part is sent in channel 1, the second part is in Channel 2 is transmitted, the third part is transmitted on channel 3, the fourth part is transmitted on channel 4, the fifth part is transmitted on channel 1, the sixth part is transmitted on channel 2, the seventh part is transmitted on channel 3, and the eighth part is transmitted on channel 3, and the eighth part is in channel 4. Send, and so on.
  • each channel data is received in four parts and four parts in the channel order, and then the physical frame header is searched. Parse the physical frame payload.
  • Figure 6 shows an example in which one physical frame is divided into four blocks, which are transmitted and received on four channels, respectively.
  • each data is first encapsulated into XGEM frames, each data as XGEM payload Encapsulation, and then each XGEM frame is encapsulated into a superframe as a superframe payload, and the superframe is subjected to FEC and other related processing, and then encapsulated into a physical frame as a physical frame payload, and the physical frame is divided into 4 sub-physical frames (corresponding to the above Subdata frames) are sent on channels 1, 2, 3, and 4, respectively.
  • the receiver extracts the same size sub-physical frame at the same position of the channels 1, 2, 3, and 4 respectively.
  • the sub-physical frame taken out from the channel 1 is placed at the forefront, and the sub-physical frame taken from the channel 2 is placed.
  • the sub-physical frame taken out from channel 3 is placed in the third position, and the sub-physical frame taken out from channel 4 is placed at the end to form a completed physical frame, the physical frame header is checked, and the physical frame payload and the super-resolution are sequentially analyzed.
  • the OLT and the ONU support 4 channels as an example.
  • the physical frame can be equally divided into 4 ⁇ N parts. Divided into 4 ⁇ N parts, can be supplemented by 4 ⁇ N parts by adding missing parts, and then allocated each part to 4 physical channels in block order, inserting physics at the beginning of the sub-physical frame of each channel
  • the frame header (corresponding to the above-mentioned frame header), for example, the first part is transmitted on channel 1, the second part is transmitted on channel 2, the third part is transmitted on channel 3, the fourth part is transmitted on channel 4, and the fifth part is transmitted on channel 4.
  • the sixth part is sent on channel 2, the seventh part is sent on channel 3, the eighth part is sent on channel 4, and so on.
  • the receiver (when the sender is the OLT, the receiver is the ONU; when the sender is the ONU, the receiver is the OLT), as long as the physical frame header is found on each channel, the sub-physical frame start in each channel can be found. After the sub-physical frames are spliced, the starting position of the entire physical frame can be obtained. The physical frame header of the original physical frame is actually unnecessary, and the physical frame header of the original physical frame is still possible. After the physical frame is spliced, the physical frame header can be searched like the receiver in the first embodiment.
  • each data is first encapsulated into an XGEM frame, and each data is encapsulated as an XGEM payload, and then each XGEM frame is encapsulated into a superframe as a superframe payload.
  • the super frame is encapsulated into a physical frame as a physical frame payload after performing related processing such as FEC.
  • the physical frame is not added with a physical frame header, and the physical frame is divided into 4 sub-physical frames, respectively, in channels 1, 2, respectively. 3, 4 send, and add a physical frame header before each sub-physical frame.
  • the receiver detects the physical frame header on the channels 1, 2, 3, and 4 respectively, and extracts the sub-physical frame of the same size when the physical frame header is detected.
  • the sub-physical frame taken out from the channel 1 is placed at the forefront, and the slave channel is placed at the forefront. 2
  • the extracted sub-physical frame is placed in the second position, the sub-physical frame taken out from channel 3 is placed in the third position, and the sub-physical frame taken out from channel 4 is placed at the end to form a completed physical frame, and the physical frame payload is parsed.
  • each data is first encapsulated into a MAC (Media Access Control) frame.
  • the data is encapsulated as a MAC payload, and then each MAC frame is subjected to FEC and other related processing and then encapsulated into a physical frame as a physical frame payload.
  • a physical frame is not added to the physical frame, and the physical frame is divided into 4 sub-physical frames, which are sent on channels 1, 2, 3, and 4, respectively, and physical frames are added before each sub-physical frame. head.
  • the receiver detects the physical frame header on the channels 1, 2, 3, and 4 respectively, and extracts the sub-physical frame of the same size when the physical frame header is detected.
  • the sub-physical frame taken out from the channel 1 is placed at the forefront, and the slave channel is placed at the forefront. 2
  • the extracted sub-physical frame is placed in the second position, the sub-physical frame taken out from channel 3 is placed in the third position, and the sub-physical frame taken out from channel 4 is placed at the end to form a completed physical frame, and the physical frame payload is parsed. MAC payload until the data is parsed.
  • the data/management frame can be evenly distributed into multiple fixed logical channels such as XGEM Port to form logical channel encapsulation frames, each logic.
  • the channel encapsulation frames independently enter their respective physical frames for transmission and reception processing.
  • the data is equally divided into 2 sub-data, and each sub-data tag is added to represent the relationship between each sub-data and data, respectively, through 2
  • the logical channel is encapsulated and transmitted, and the receiving end (corresponding to the above-mentioned receiver) solves the payload of the encapsulated frame of the two channels, and then reassembles according to the mark.
  • each data is equally divided into 2 sub-data according to the number of logical channels XGEM Port, and respectively sent in two logical channels XGEM Port, and each packaged into XGEM frames, each sub-data is encapsulated as an XGEM payload, and then each XGEM frame is encapsulated into a superframe as a superframe payload, and the superframe is subjected to FEC and other related processing, and then encapsulated into a physical frame as a physical frame payload, respectively in channel 1. , 2 sent.
  • the receiver extracts the physical frame on the channels 1, 2, checks the physical frame header according to the sending rule, and sequentially parses the physical frame payload, the superframe payload, and the XGEM payload until the data is parsed, and parses the XGEM frame and its net. When it comes to time, check its markup and recombine the relevant subdata into complete data.
  • each piece of data is equally divided into 2 sub-data according to the number of logical channel LLIDs (Logical Link Identifiers), and is respectively in two logical channels LLID.
  • LLIDs Logical Link Identifiers
  • each packet is encapsulated into a MAC frame
  • each sub-data is encapsulated as a MAC payload
  • each MAC frame is encapsulated into a superframe as a superframe payload
  • the superframe is subjected to FEC and other related processing and then encapsulated into a physical frame payload as a physical payload.
  • Frames are sent on channels 1, 2 respectively.
  • the receiver takes physical frames on channels 1, 2 and checks them according to the sending rules. Physical frame header, and parse the physical frame payload and MAC payload in turn until the data is parsed. When parsing the XGEM frame and its payload, check the tag and reorganize the relevant sub-data to form complete data.
  • the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making a A terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) performs the method described in each embodiment of the present invention.
  • a storage medium such as a ROM/RAM, a magnetic disk, an optical disk
  • a terminal device which may be a cell phone, a computer, a server, or a network device, etc.
  • a data transmission device is also provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 11 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention.
  • the apparatus may be applied to a first network node.
  • the apparatus includes a transmitting module 112 and/or a receiving module 114. The device is described.
  • the sending module 112 is configured to send the first data to be sent to the second network node to the second network node through two or more channels uniformly;
  • the receiving module 114 is configured to receive second data from the second network node by using two or more channels, where the second data is uniformly sent in more than two channels;
  • the first network node is a fiber line terminal OLT
  • the second network node is a fiber network unit ONU; or the first network node is a fiber network unit ONU, and the second network node is a fiber line terminal OLT.
  • the sending module 112 may send the first data to be sent to the second network node to the second network node uniformly through two or more channels by using: The first data to be sent to the second network node is sent to the second network node uniformly through the fixed two or more channels.
  • the receiving module 114 may receive the second data from the second network node by receiving the second data from the second network node through the fixed two or more channels.
  • the channel for data transmission between the first network node and the second network node may be a fixed channel, and the fixed channel may be determined by negotiation between the two parties, or may be pre-configured or protocol. The rules are good.
  • the sending module 112 may send the first data to be sent to the second network node to the second network node uniformly through two or more channels by using the following manner: when the channel includes the logical channel, The data is evenly divided into two or more sub-data and respectively encapsulated into a first data frame; the encapsulated two or more first data frames are sent to the second network node through two or more logical channels; when the channel includes In the physical channel, the first data is encapsulated into a second data frame; the second data frame is evenly divided into two or more sub data frames; and two or more sub data frames are sent to the first through the two or more physical channels Two network nodes.
  • the sending module 112 may send the encapsulated two or more first data frames to the second network node by using two or more logical channels by using two or more pre-agreed manners.
  • One data frame is allocated to more than two logical channels; and two or more first data frames allocated are transmitted to the second network node through two or more logical channels; or, in two or more first data frames Adding first identifier information, where the first identifier information is used to identify a location of the child data carried in the first data frame in the first data; and to allocate two or more first data frames to which the first identifier information is added And to two or more logical channels; and the two or more first data frames allocated by the two or more logical channels are sent to the second network node.
  • the sending module 112 may send more than two sub-data frames to the second network node by using two or more physical channels by: allocating more than two sub-data frames to the pre-agreed manner. And transmitting the two or more sub-data frames allocated to the second network node by using the two or more physical channels; or adding the second identification information to the two or more sub-data frames
  • the second identification information is used to identify a position of the sub data frame in the second data frame encapsulated by the first data; and to allocate two or more sub data frames to which the second identification information is added to two or more Physical channel More than two sub-data frames allocated are sent to the second network node through the above two physical channels.
  • the sending module 112 may encapsulate the first data into a second data frame by encapsulating the first data into a payload portion of the second data frame.
  • the sending module 112 may use the following manner.
  • the second data frame is evenly divided into two or more sub data frames: the payload portion of the second data frame is evenly divided into two or more sub data frame payloads; and the sending module 112 can pass the following two ways.
  • More than one physical channel sends more than two sub-data frames to the second network node: the above two or more sub-data frame payloads are encapsulated into two or more physical channels; more than two of the above two physical channels are used Transmitting the sub-data frame payload to the second network node, and informing the second network node of the starting position of the sub-data frame payload in the physical channel by at least one of: starting at a frame of two or more physical channels Position inserting a frame header, wherein the frame header is used to identify a start position of a sub data frame payload in the physical channel; and a physical channel is agreed with the second network node a starting position of the sub-data frame payload; agreeing with the second network node or notifying the second network node of the starting position of the sub-data frame payload in the physical channel and transmitting data to the second network node before the first network node
  • the start position of the sub data frame payload in the physical channel is the same, wherein the first network node periodically inserts a
  • the receiving module 114 may receive second data from the second network node through two or more channels by receiving the logical channel from the second network node when the channel includes the logical channel. Two or more third data frames; determining a position of the data contained in the two or more third data frames in the second data, and assembling each sub data according to the determined position to obtain second data;
  • the two or more sub-data frames from the second network node are received by the two or more channels, wherein the sub-data frame is a part of the fourth data frame encapsulated by the second data; determining the two copies The position of the above sub data frame in the fourth data frame encapsulated by the second data, and assembling each sub data frame according to the determined position to obtain a fourth data frame encapsulated by the second data;
  • the second data is acquired in the fourth data frame.
  • the receiving module 114 can determine more than two by using the following manners. Position of the sub data included in the third data frame in the second data: determining the position of the sub data included in the two or more third data frames in the second data in a predetermined manner; or, acquiring the above two And third identifier information carried in the third data frame; determining, according to the third identifier information, a position of the sub data included in the two or more third data frames in the second data.
  • the receiving module 114 may determine the position of the two or more sub data frames in the fourth data frame encapsulated by the second data by determining two or more sub data frames according to a predetermined manner. a position in the fourth data frame encapsulated by the second data; or acquiring fourth identification information carried in the two or more sub data frames; determining, by the fourth identification information, that the two or more sub data frames are in the The location in the fourth data frame encapsulated by the second data.
  • the receiving module 114 may receive more than two sub-data frames from the second network node by using the two or more channels: determining, by at least one of the foregoing two or more channels
  • the start position of the data frame payload a manner of inserting a frame header for determining a start position of a sub data frame payload in more than two channels according to the frame start positions of the above two or more channels;
  • the manner in which the second network node stipulates the start position of the sub-data frame payload in the physical channel; by agreeing with the second network node or by the second network node notifying the start position of the sub-data frame payload in the physical channel a manner in which the start position of the sub data frame payload in the physical channel when the second network node performs data transmission to the first network node is the same, wherein the second network node periodically starts from the frame of the two or more physical channels Inserting a frame header, wherein the frame header is used to identify a starting position of a sub-data frame payload in the physical channel;
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • Embodiments of the present invention also provide a storage medium.
  • the above storage medium may be configured to store program code for performing the following steps:
  • the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels; and/or,
  • the first network node receives the second data from the second network node by using the two or more channels, where the second data is uniformly sent in the two or more channels, where the first network node is the optical fiber line terminal OLT.
  • the second network node is a fiber network unit ONU; or the first network node is a fiber network unit ONU, and the second network node is a fiber line terminal OLT.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the processor executes the above steps in accordance with the program code already stored in the storage medium.
  • the modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices.
  • the executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be
  • Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • embodiments of the invention are not limited to any specific combination of hardware and software.
  • the channel transmits data, and since the data is uniformly transmitted in more than two channels, it can be ensured that one end of the received data receives the complete data (ie, it is determined that the data received at the same time (or less than a predetermined time) comes from the same network.
  • the node guarantees the integrity of the received data).
  • the solution in the embodiment of the present invention can simultaneously and efficiently transmit data on multiple channels, thereby ensuring data integrity.

Abstract

Disclosed are a data transmission method and device. The method comprises: a first network node sends first data to be sent to a second network node to the second network node by means of two or more channels evenly, wherein the first network node is an optical line terminal (OLT), and the second network node is an optical network unit (ONU); alternatively, the first network node is an ONU, and the second network is an OLT.

Description

数据传输方法及装置Data transmission method and device 技术领域Technical field
本申请涉及但不限于通信领域,尤指一种数据传输方法及装置。The present application relates to, but is not limited to, the field of communications, and more particularly to a data transmission method and apparatus.
背景技术Background technique
随着宽带业务的迅猛发展,用户对接入网络带宽的需求大幅增长,无源光网络(Passive Optical Network,简称为PON)是目前用户接入的一种重要技术手段,如图1所示,PON系统中,光纤线路终端(Optical Line Terminal,简称为OLT)通过主干光纤与光分路器连接,光分路器通过分支光纤与多个光纤网络单元(Optical Network Unit,简称为ONU)连接,OLT和ONU通过一个波长对进行通信。With the rapid development of broadband services, the demand for access network bandwidth has increased significantly. Passive Optical Network (PON) is an important technical means for user access, as shown in Figure 1. In a PON system, an optical line terminal (Optical Line Terminal, OLT for short) is connected to an optical splitter through a trunk optical fiber, and the optical splitter is connected to a plurality of optical network units (ONUs) through a branch optical fiber. The OLT and ONU communicate through a pair of wavelengths.
NG-PON2是PON技术演进中的一个重要分支,在NG-PON2中,数据发送的封装过程如图2所示:NG-PON2 is an important branch in the evolution of PON technology. In NG-PON2, the encapsulation process of data transmission is shown in Figure 2:
数据先封装进XGEM(XG-PON Encapsulation Method,XG-PON封装方法)帧,XGEM帧包括开销和净荷,开销中携带XGEM端口标识Port ID;The data is first encapsulated into an XGEM (XG-PON Encapsulation Method) frame, and the XGEM frame includes an overhead and a payload, and the XGEM port identifier port ID is carried in the overhead;
多个XGEM帧再封装进超帧,超帧中包括开销和净荷,开销包含物理层操作管理和维护(Physical Layer Operations,Administration and Maintenance,简称为PLOAM)消息、BWmap(Bandwidth map,带宽映射)等;Multiple XGEM frames are encapsulated into a superframe. The superframe includes overhead and payload. The overhead includes physical layer operations, management and maintenance (PLOAM) messages, and BWmap (Bandwidth map). Wait;
超帧通过前向纠错(Forward Error Correction,简称为FEC)等处理后再封装进物理帧中,物理帧包括帧头和净荷,帧头用于接收方检测物理帧的起始位置。The superframe is processed into a physical frame by processing such as Forward Error Correction (FEC). The physical frame includes a frame header and a payload, and the frame header is used by the receiver to detect the starting position of the physical frame.
以太无源光网络(Ethernet Passive Optical Network,简称为EPON)/10GEPON是PON演进的另一个重要分支,数据封装层次如图3所示。数据封装进MAC(Media Access Control,介质访问控制)帧中,数据作为MAC净荷,另外在MAC帧中还包括MAC开销,MAC开销包括目标地址、源地址、MAC净荷长度等信息。MAC帧通过编码、FEC校验等处理封装进物 理帧中作为物理帧净荷,另外在物理帧中包括物理帧头,物理帧头包含定界等相关信息。Ethernet Passive Optical Network (EPON)/10GEPON is another important branch of PON evolution. The data encapsulation level is shown in Figure 3. The data is encapsulated into a MAC (Media Access Control) frame, and the data is used as a MAC payload. In addition, the MAC frame also includes a MAC overhead, and the MAC overhead includes information such as a target address, a source address, and a MAC payload length. The MAC frame is encapsulated by encoding, FEC check, etc. The physical frame payload is included in the physical frame, and the physical frame header is included in the physical frame, and the physical frame header includes related information such as delimitation.
在传统无源光网络技术中,OLT和ONU之间只能通过一个波长对进行通信,即,OLT和ONU之间只能通过一个通道进行数据传输,当ONU用户侧带宽需求增加时,OLT和ONU之前需要传输的数据会更多,传统的无源光网络将无法满足该需求。In the traditional passive optical network technology, the OLT and the ONU can only communicate through one wavelength pair. That is, the OLT and the ONU can only transmit data through one channel. When the bandwidth requirement of the ONU user side increases, the OLT and the OLT There will be more data to be transmitted before the ONU, and the traditional passive optical network will not be able to meet this demand.
随着带宽需求的进一步增长以及技术发展,在PON网络架构下,OLT和ONU可以支持同时在多个通道上进行数据传输,既可以增加OLT和ONU之间的带宽,也可以增加ONU用户侧的带宽。如图4所示。With the further increase in bandwidth requirements and technology development, under the PON network architecture, the OLT and the ONU can support data transmission on multiple channels at the same time, which can increase the bandwidth between the OLT and the ONU, and also increase the ONU user side. bandwidth. As shown in Figure 4.
ONU支持在多通道上发送和接收数据,OLT为了支持ONU的这种多通道收发,也需要支持在ONU所支持的多通道上同时发送和接收数据。The ONU supports sending and receiving data on multiple channels. To support this multi-channel transceiver of the ONU, the OLT also needs to support simultaneous transmission and reception of data on multiple channels supported by the ONU.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供了一种数据传输方法及装置,可以实现OLT和ONU之间简单有效地在多通道上同时进行数据传输。The embodiment of the invention provides a data transmission method and device, which can realize the simple and effective simultaneous data transmission between the OLT and the ONU on multiple channels.
根据本发明的一个实施例,提供了一种数据传输方法,包括:第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给所述第二网络节点;其中,所述第一网络节点为光纤线路终端OLT,所述第二网络节点为光纤网络单元ONU;或者,所述第一网络节点为ONU,所述第二网络节点为OLT。According to an embodiment of the present invention, a data transmission method is provided, including: a first network node uniformly transmitting first data to be sent to a second network node to the second network node through two or more channels; The first network node is an optical fiber line terminal OLT, and the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node is an OLT.
在一实施方式中,所述第一网络节点将待发送给所述第二网络节点的所述第一数据均匀地通过两个以上通道发送给所述第二网络节点包括:所述第一网络节点将待发送给所述第二网络节点的所述第一数据均匀地通过固定的两个以上通道发送给所述第二网络节点。In an embodiment, the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels, including: the first network The node sends the first data to be sent to the second network node to the second network node uniformly through two or more fixed channels.
在一实施方式中,所述第一网络节点将待发送给所述第二网络节点的所述第一数据均匀地通过两个以上通道发送给所述第二网络节点包括:当 所述通道包括逻辑通道时,所述第一网络节点将所述第一数据均匀地分割成两份以上的子数据并分别封装成第一数据帧;所述第一网络节点通过所述两个以上逻辑通道将封装后的两个以上的所述第一数据帧发送给所述第二网络节点;当所述通道包括物理通道时,所述第一网络节点将所述第一数据封装成第二数据帧;所述第一网络节点将所述第二数据帧均匀地分割成两份以上的子数据帧;所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧发送给所述第二网络节点。In an embodiment, the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels: When the channel includes a logical channel, the first network node uniformly divides the first data into two or more sub-data and respectively encapsulates into a first data frame; the first network node passes the two The above logical channel sends the encapsulated two or more of the first data frames to the second network node; when the channel includes a physical channel, the first network node encapsulates the first data into a first a second data frame; the first network node uniformly divides the second data frame into two or more sub data frames; the first network node passes the two or more parts by using the two or more physical channels A sub-data frame is sent to the second network node.
在一实施方式中,所述第一网络节点通过所述两个以上逻辑通道将封装后的两个以上的所述第一数据帧发送给所述第二网络节点包括:所述第一网络节点按照预先约定的方式将两个以上的所述第一数据帧分配至所述两个以上逻辑通道中;并且,通过所述两个以上逻辑通道将分配的两个以上的所述第一数据帧发送给所述第二网络节点;或者,所述第一网络节点在所述两个以上的所述第一数据帧中添加第一标识信息,其中,所述第一标识信息用于标识所述第一数据帧中携带的子数据在所述第一数据中的位置;将添加了第一标识信息的两个以上的所述第一数据帧分配至所述两个以上逻辑通道中;通过所述两个以上逻辑通道将分配的两个以上的所述第一数据帧发送给所述第二网络节点。In an embodiment, the first network node sends the encapsulated two or more first data frames to the second network node by using the two or more logical channels, including: the first network node Assigning more than two of the first data frames to the two or more logical channels in a pre-agreed manner; and, by the two or more logical channels, two or more of the first data frames to be allocated Sending to the second network node; or the first network node adds first identifier information to the two or more first data frames, where the first identifier information is used to identify the a position of the sub data carried in the first data frame in the first data; and two or more of the first data frames to which the first identification information is added are allocated to the two or more logical channels; The two or more logical channels send the allocated two or more of the first data frames to the second network node.
在一实施方式中,所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧发送给所述第二网络节点包括:所述第一网络节点按照预先约定的方式将所述两份以上的子数据帧分配至所述两个以上物理通道中;并且,通过所述两个以上物理通道将分配的所述两份以上的子数据帧发送给所述第二网络节点;或者,所述第一网络节点在所述两份以上的子数据帧中添加第二标识信息,其中,所述第二标识信息用于标识所述子数据帧在所述第一数据所封装成的第二数据帧中的位置;将添加了第二标识信息的所述两份以上的子数据帧分配至所述两个以上物理通道中;通过所述两个以上物理通道将分配的所述两份以上的子数据帧发送给所述第二网络节点。In an embodiment, the sending, by the first network node, the two or more sub-data frames to the second network node by using the two or more physical channels includes: the first network node according to a pre-agreed Transmitting the two or more sub data frames to the two or more physical channels; and transmitting, by the two or more physical channels, the allocated two or more sub data frames to the second a network node; or the first network node adds second identification information to the two or more sub-data frames, where the second identification information is used to identify the sub-data frame in the first data a location in the encapsulated second data frame; assigning the two or more sub-data frames to which the second identification information is added to the two or more physical channels; allocating through the two or more physical channels The two or more sub data frames are sent to the second network node.
在一实施方式中,所述第一网络节点将所述第一数据封装成所述第二数据帧包括:所述第一网络节点将所述第一数据封装进所述第二数据帧的 净荷部分;所述第一网络节点将所述第二数据帧均匀地分割成两份以上的子数据帧包括:所述第一网络节点将所述第二数据帧的净荷部分均匀地分割成两份以上的子数据帧净荷;所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧发送给所述第二网络节点包括:所述第一网络节点将所述两份以上的子数据帧净荷封装进所述两个以上物理通道中;所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧净荷发送给所述第二网络节点,并通过如下方式至少之一告知所述第二网络节点所述物理通道中的所述子数据帧净荷的起始位置:所述第一网络节点在所述两个以上物理通道的帧起始位置插入帧头,其中,所述帧头用于标识所述物理通道中的所述子数据帧净荷的起始位置;所述第一网络节点与所述第二网络节点约定所述物理通道中的所述子数据帧净荷的起始位置;所述第一网络节点与所述第二网络节点约定或者通知所述第二网络节点所述物理通道中的所述子数据帧净荷的起始位置与所述第一网络节点之前向所述第二网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同,其中,所述第一网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,所述帧头用于标识所述物理通道中的子数据帧净荷的起始位置。In an embodiment, the first network node encapsulating the first data into the second data frame comprises: the first network node encapsulating the first data into the second data frame a payload portion; the first network node uniformly dividing the second data frame into two or more sub data frames, the first network node uniformly dividing a payload portion of the second data frame Transmitting into more than two sub-data frame payloads; the first network node transmitting the two or more sub-data frames to the second network node by using the two or more physical channels, including: the first network The node encapsulates the two or more sub-data frame payloads into the two or more physical channels; the first network node sends the two or more sub-data frame payloads by using the two or more physical channels Transmitting to the second network node, and informing the second network node of the starting position of the sub data frame payload in the physical channel by at least one of: the first network node is in the Inserting a frame start position of two or more physical channels, wherein the frame header is used to identify a start position of the sub data frame payload in the physical channel; the first network node and the Second network node convention a starting position of the sub-data frame payload in the physical channel; the first network node agrees with the second network node or notifies the second network node of the sub-data frame in the physical channel The start position of the load is the same as the start position of the sub data frame payload in the physical channel when the first network node performs data transmission to the second network node, where the first network node periodically The frame header is inserted at a frame start position of two or more physical channels, wherein the frame header is used to identify a start position of a sub data frame payload in the physical channel.
在一实施方式中,所述第一网络节点通过两个以上通道接收来自所述第二网络节点的第二数据,其中,所述第二数据在所述两个以上通道中均匀发送。In an embodiment, the first network node receives second data from the second network node through more than two channels, wherein the second data is uniformly transmitted in the two or more channels.
在一实施方式中,所述第一网络节点通过两个以上通道接收来自所述第二网络节点的所述第二数据包括:In an embodiment, the receiving, by the first network node, the second data from the second network node by using two or more channels includes:
所述第一网络节点通过固定的两个以上通道接收来自所述第二网络节点的所述第二数据。The first network node receives the second data from the second network node through two or more fixed channels.
在一实施方式中,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的所述第二数据包括:当所述通道包括逻辑通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两个以上的第三数据帧;所述第一网络节点确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置,并根据确定的位置把每份子数据 组装后得到所述第二数据;当所述通道包括物理通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两份以上的子数据帧,其中,所述子数据帧为所述第二数据封装成的第四数据帧的一部分;所述第一网络节点确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置,并根据确定的位置把每份子数据帧组装后得到所述第二数据封装成的第四数据帧;所述第一网络节点从所述第二数据封装成的第四数据帧中获取所述第二数据。In an embodiment, the receiving, by the first network node, the second data from the second network node by using the two or more channels includes: when the channel includes a logical channel, the first network node Receiving more than two third data frames from the second network node by the two or more channels; the first network node determining that the sub data included in the two or more third data frames are in the The position in the second data, and each sub-data according to the determined position Obtaining the second data after the assembly; when the channel includes a physical channel, the first network node receives more than two sub-data frames from the second network node by using the two or more channels, where The sub data frame is a part of a fourth data frame encapsulated by the second data; the first network node determines a fourth data frame in which the two or more sub data frames are encapsulated in the second data a position in the middle, and assembling each sub-data frame according to the determined position to obtain a fourth data frame encapsulated by the second data; the first network node is encapsulated into a fourth data frame from the second data Obtaining the second data.
在一实施方式中,所述第一网络节点确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置包括:所述第一网络节点按照预先约定的方式确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置;或者,所述第一网络节点获取所述两个以上的第三数据帧中携带的第三标识信息;所述第一网络节点根据所述第三标识信息确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置。In an embodiment, the determining, by the first network node, the location of the sub-data included in the two or more third data frames in the second data comprises: the first network node according to a pre-agreed manner Determining a position of the sub data included in the two or more third data frames in the second data; or, the first network node acquiring a third carried in the two or more third data frames And identifying, by the first network node, a location of the sub data included in the two or more third data frames in the second data according to the third identifier information.
在一实施方式中,所述第一网络节点确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置包括:所述第一网络节点按照预先约定的方式确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置;或者,所述第一网络节点获取所述两份以上的子数据帧中携带的第四标识信息;所述第一网络节点根据所述第四标识信息确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置。In an embodiment, the determining, by the first network node, the location of the two or more sub-data frames in the fourth data frame encapsulated by the second data comprises: the first network node according to a pre-agreed The method determines a location of the two or more sub data frames in a fourth data frame encapsulated by the second data; or, the first network node acquires a number carried in the two or more sub data frames And determining, by the first network node, a location of the two or more sub data frames in a fourth data frame encapsulated by the second data according to the fourth identifier information.
在一实施方式中,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两份以上的子数据帧包括:所述第一网络节点通过如下方式至少之一确定所述两个以上通道中的子数据帧净荷的起始位置:根据所述两个以上通道的帧起始位置中插入的用于确定所述两个以上通道中的子数据帧净荷的起始位置的帧头的方式;通过与所述第二网络节点约定所述物理通道中的所述子数据帧净荷的起始位置的方式;通过与所述第二网络节点约定或者由所述第二网络节点通知所述物理通道中的所述子数据帧净荷的起始位置与所述第二网络节点之前向所述第一网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同的方式,其中,所述第二网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其 中,所述帧头用于标识所述物理通道中的子数据帧净荷的起始位置;根据确定的所述两个以上通道中的子数据帧净荷的起始位置从所述两个以上通道中确定来自所述第二网络节点的两份以上的子数据帧净荷。In an embodiment, the receiving, by the first network node, the two or more sub-data frames from the second network node by using the two or more channels, that the first network node is determined by at least one of the following manners: a starting position of the sub-data frame payload in the two or more channels: determining, according to a frame start position of the two or more channels, a sub-data frame payload in the two or more channels The manner of the frame header of the starting position; the manner of arranging the starting position of the sub-data frame payload in the physical channel with the second network node; by agreeing with the second network node or by Notifying the second network node of a start location of the sub-data frame payload in the physical channel and a sub-data frame in a physical channel when the second network node previously performs data transmission to the first network node a manner in which the start position of the payload is the same, wherein the second network node periodically inserts a frame header at a frame start position of two or more physical channels, The frame header is used to identify a start position of a sub data frame payload in the physical channel; according to the determined start position of the sub data frame payload in the two or more channels from the two More than two sub-data frame payloads from the second network node are determined in the above channels.
根据本发明的另一个实施例,提供了一种数据传输方法,包括:第一网络节点通过两个以上通道接收来自第二网络节点的第二数据,其中,所述第二数据在所述两个以上通道中均匀发送;其中,所述第一网络节点为光纤线路终端OLT,所述第二网络节点为光纤网络单元ONU;或者,所述第一网络节点为ONU,所述第二网络节点为OLT。According to another embodiment of the present invention, a data transmission method is provided, including: a first network node receives second data from a second network node through two or more channels, wherein the second data is in the two Uniformly transmitted in more than one channel; wherein the first network node is a fiber line terminal OLT, the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node For the OLT.
在一实施方式中,所述第一网络节点通过两个以上通道接收来自所述第二网络节点的所述第二数据包括:所述第一网络节点通过固定的两个以上通道接收来自所述第二网络节点的所述第二数据。In an embodiment, the receiving, by the first network node, the second data from the second network node by using two or more channels includes: receiving, by the first network node, by using two or more fixed channels The second data of the second network node.
在一实施方式中,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的所述第二数据包括:当所述通道包括逻辑通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两个以上的第三数据帧;所述第一网络节点确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置,并根据确定的位置把每份子数据组装后得到所述第二数据;当所述通道包括物理通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两份以上的子数据帧,其中,所述子数据帧为所述第二数据封装成的第四数据帧的一部分;所述第一网络节点确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置,并根据确定的位置把每份子数据帧组装后得到所述第二数据封装成的第四数据帧;所述第一网络节点从所述第二数据封装成的第四数据帧中获取所述第二数据。In an embodiment, the receiving, by the first network node, the second data from the second network node by using the two or more channels includes: when the channel includes a logical channel, the first network node Receiving more than two third data frames from the second network node by the two or more channels; the first network node determining that the sub data included in the two or more third data frames are in the a location in the second data, and assembling the sub-data according to the determined location to obtain the second data; when the channel includes a physical channel, the first network node receives the source through the two or more channels Two or more sub-data frames of the second network node, wherein the sub-data frame is part of a fourth data frame encapsulated by the second data; the first network node determines the two or more a position of the sub-data frame in the fourth data frame encapsulated by the second data, and assembling each sub-data frame according to the determined position to obtain a fourth data frame encapsulated by the second data; A first network node to a second data package from the fourth data frame to acquire the second data.
根据本发明的另一个实施例,提供了一种数据传输装置,所述装置应用于第一网络节点中,包括:发送模块,设置为将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给所述第二网络节点;其中,所述第一网络节点为光纤线路终端OLT,所述第二网络节点为光纤网络单元ONU;或者,所述第一网络节点为ONU,所述第二网络节点为OLT。According to another embodiment of the present invention, there is provided a data transmission apparatus, the apparatus being applied to a first network node, comprising: a sending module, configured to uniformly pass first data to be sent to a second network node The two or more channels are sent to the second network node; wherein the first network node is a fiber line terminal OLT, the second network node is a fiber network unit ONU; or the first network node is an ONU, The second network node is an OLT.
在一实施方式中,所述装置还包括:接收模块,设置为通过两个以上通 道接收来自第二网络节点的第二数据,其中,所述第二数据在所述两个以上通道中均匀发送。In an embodiment, the device further includes: a receiving module, configured to pass more than two passes The track receives second data from the second network node, wherein the second data is uniformly transmitted in the two or more channels.
根据本发明的一个实施例,提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述数据传输方法。According to an embodiment of the present invention, there is provided a computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the data transfer method described above.
通过上述步骤,由于OLT与ONU之间进行数据传输的通道为两条以上,因此,在OLT与ONU之间进行数据传输时,可以同时利用两条以上的通道传输数据,并且,由于数据在两个以上通道中均匀地进行传输,能够保证接收数据的一端接收到完整的数据(即,确定同时(或相差小于预定时间)接收到的数据来自同一个网络节点,保证了接收的数据的完整性)。本发明实施例中的方案能够简单有效地在多通道上同时传输数据,保证了数据的完整性。Through the above steps, since there are more than two channels for data transmission between the OLT and the ONU, when data is transmitted between the OLT and the ONU, data can be transmitted by using more than two channels at the same time, and since the data is in two Uniform transmission in more than one channel ensures that one end of the received data receives the complete data (ie, determines that the received data at the same time (or less than a predetermined time) comes from the same network node, ensuring the integrity of the received data. ). The solution in the embodiment of the present invention can simultaneously and efficiently transmit data on multiple channels, thereby ensuring data integrity.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是PON架构和拓扑示意图;1 is a schematic diagram of a PON architecture and topology;
图2是NG-PON2数据封装示意图;2 is a schematic diagram of NG-PON2 data encapsulation;
图3是EPON/10GEPON数据封装示意图;3 is a schematic diagram of EPON/10GEPON data encapsulation;
图4是多路径PON架构和拓扑示意图;4 is a schematic diagram of a multi-path PON architecture and topology;
图5是根据本发明实施例的数据传输方法的流程图;FIG. 5 is a flowchart of a data transmission method according to an embodiment of the present invention; FIG.
图6是根据本发明实施例一的数据传输示意图;FIG. 6 is a schematic diagram of data transmission according to Embodiment 1 of the present invention; FIG.
图7是根据本发明实施例二的数据传输示意图一;7 is a schematic diagram 1 of data transmission according to Embodiment 2 of the present invention;
图8是根据本发明实施例二的数据传输示意图二;FIG. 8 is a second schematic diagram of data transmission according to Embodiment 2 of the present invention; FIG.
图9是根据本发明实施例三的数据封装示意图一;9 is a first schematic diagram of data encapsulation according to a third embodiment of the present invention;
图10是根据本发明实施例三的数据封装示意图二;FIG. 10 is a second schematic diagram of data encapsulation according to Embodiment 3 of the present invention; FIG.
图11是根据本发明实施例的数据传输装置的结构框图。 11 is a block diagram showing the structure of a data transmission device according to an embodiment of the present invention.
详述Detailed
下文中将参考附图并结合实施例来详细说明本申请。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present application will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order.
ONU支持在多通道上发送和接收数据,OLT为了支持ONU的这种多通道收发,也支持在ONU所支持的多通道上同时发送和接收数据。The ONU supports sending and receiving data on multiple channels. The OLT supports simultaneous transmission and reception of data on multiple channels supported by the ONU in order to support such multi-channel transmission and reception of the ONU.
图5是根据本发明实施例的数据传输方法的流程图,如图5所示,该流程包括如下步骤:FIG. 5 is a flowchart of a data transmission method according to an embodiment of the present invention. As shown in FIG. 5, the process includes the following steps:
步骤S502,第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点;Step S502, the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels;
其中,上述第一网络节点为光纤线路终端OLT,第二网络节点为光纤网络单元ONU;或者,第一网络节点为光纤网络单元ONU,第二网络节点为光纤线路终端OLT。The first network node is a fiber line terminal OLT, and the second network node is a fiber network unit ONU; or the first network node is a fiber network unit ONU, and the second network node is a fiber line terminal OLT.
该数据传输方法还可包括:步骤S504,第一网络节点通过两个以上通道接收来自第二网络节点的第二数据,其中,上述第二数据在两个以上通道中均匀发送;The data transmission method may further include: step S504, the first network node receives the second data from the second network node by using two or more channels, wherein the second data is uniformly transmitted in the two or more channels;
所述步骤S504可以单独存在,也可以与步骤S502同时存在,且两个步骤并没有前后顺序。通过上述步骤,由于OLT与ONU之间进行数据传输的通道为两条以上,因此,在OLT与ONU之间进行数据传输时,可以同时利用两条以上的通道传输数据,并且,由于数据在两个以上通道中均匀地进行传输,能够保证接收数据的一端接收到完整的数据(即,确定同时(或相差小于预定时间)接收到的数据来自同一个网络节点,保证了接收的数据的完整性)。相对于相关技术中的传输数据的方式,本发明实施例中的方案能够简单有效地在多通道上同时发送和/或接收数据,保证了数据的完整性。The step S504 may exist separately or may exist simultaneously with the step S502, and the two steps are not in the order. Through the above steps, since there are more than two channels for data transmission between the OLT and the ONU, when data is transmitted between the OLT and the ONU, data can be transmitted by using more than two channels at the same time, and since the data is in two Uniform transmission in more than one channel ensures that one end of the received data receives the complete data (ie, determines that the received data at the same time (or less than a predetermined time) comes from the same network node, ensuring the integrity of the received data. ). Compared with the manner of transmitting data in the related art, the solution in the embodiment of the present invention can simultaneously and efficiently transmit and/or receive data on multiple channels, thereby ensuring data integrity.
下面对第一网络节点和第二网络节点之间如何利用多条通道进行数据传输进行说明: The following describes how to use multiple channels for data transmission between the first network node and the second network node:
在一个实施例中,上述第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点包括:该第一网络节点将待发送给第二网络节点的第一数据均匀地通过固定的两个以上通道发送给第二网络节点。In an embodiment, the first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels, where the first network node is to be sent to the second network. The first data of the node is sent to the second network node uniformly through the fixed two or more channels.
在一个实施例中,上述第一网络节点通过两个以上通道接收来自第二网络节点的第二数据包括:该第一网络节点通过固定的两个以上通道接收来自第二网络节点的第二数据。在该实施例中,第一网络节点和第二网络节点之间进行数据传输的通道可以是固定的通道,该固定的通道可以是由双方协商确定的,也可以是预先配置好的或者是协议规定好的。In an embodiment, the receiving, by the first network node, the second data from the second network node by using the two or more channels, the first network node receiving the second data from the second network node by using the fixed two or more channels. . In this embodiment, the channel for data transmission between the first network node and the second network node may be a fixed channel, and the fixed channel may be determined by negotiation between the two parties, or may be pre-configured or protocol. The rules are good.
在一个实施例中,在上述步骤S502中,第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点时,可以通过如下方式实现:当上述通道包括逻辑通道(例如XGEM port等逻辑通道)时,第一网络节点将第一数据均匀地分割成两份以上的子数据并分别封装成第一数据帧;第一网络节点通过两个以上逻辑通道将封装后的两个以上的第一数据帧发送给第二网络节点。在本实施例中,当第一网络节点将封装成的两个以上的第一数据帧通过两个以上逻辑通道进行发送时,可以有多种发送方式,一种发送方式为:一对一发送,即每个数据帧分别通过不同的逻辑通道进行发送,且同时发送封装的所有数据帧,这样可以保证所有的数据帧同时发送到第二网络节点侧;一种发送方式为多对一发送,即,多个数据帧在一个逻辑通道上发送,每个逻辑通道上发送的数据帧数相同,例如,将M个数据帧在M/2个逻辑通道上进行发送,每个逻辑通道上承载2个数据帧,可以采用循环分配的方式在逻辑通道上承载多个数据帧,还可以通过其他例子实现,例如,将4个数据帧在2个逻辑通道上进行发送,第1个数据帧在逻辑通道1上发送,第2个数据帧在逻辑通道2上发送,第3个数据帧又在逻辑通道1上发送,第4个数据帧又在逻辑通道2上发送。In an embodiment, in the foregoing step S502, when the first network node sends the first data to be sent to the second network node to the second network node through two or more channels, the method may be implemented as follows: When the channel includes a logical channel (for example, a logical channel such as an XGEM port), the first network node uniformly divides the first data into two or more sub-data and respectively encapsulates the first data frame; the first network node passes two or more The logical channel sends the encapsulated two or more first data frames to the second network node. In this embodiment, when the first network node sends the encapsulated two or more first data frames through two or more logical channels, there may be multiple transmission modes, and one transmission mode is: one-to-one transmission. That is, each data frame is sent through different logical channels, and all data frames encapsulated are simultaneously transmitted, so that all data frames can be simultaneously sent to the second network node side; one transmission mode is many-to-one transmission, That is, multiple data frames are sent on one logical channel, and the number of data frames sent on each logical channel is the same. For example, M data frames are transmitted on M/2 logical channels, and each logical channel carries 2 Data frames can be cyclically allocated to carry multiple data frames on a logical channel. Other examples can be used. For example, four data frames are transmitted on two logical channels, and the first data frame is in logic. Transmitted on channel 1, the second data frame is sent on logical channel 2, the third data frame is sent on logical channel 1, and the fourth data frame is sent on logical channel 2.
在一个实施例中,在上述步骤S502中,第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点时,也可以通过如下方式实现:当上述通道包括物理通道时,第一网络节点将第 一数据封装成第二数据帧(即,物理帧);第一网络节点将第二数据帧均匀地分割成两份以上的子数据帧;第一网络节点通过上述两个以上物理通道将两份以上的子数据帧发送给第二网络节点。在本实施例中,在通过两个以上物理通道发送两份以上的子数据帧时,可以根据子数据帧的数量来确定资源的分配,可以采用循环分配的方式将多个子数据帧承载在物理通道上进行发送,例如,当物理通道数量为4,分割成的子数据帧的数量为Q个时,可以将Q个中的第1至第4个子数据帧分别承载在第1至第4个物理通道上进行发送,再将第5至第8个子数据帧承载在第1至第4个物理通道上进行发送,以此类推。In an embodiment, in the foregoing step S502, when the first network node sends the first data to be sent to the second network node to the second network node through two or more channels, the method may also be implemented as follows: When the above channel includes a physical channel, the first network node will be the first One data is encapsulated into a second data frame (ie, a physical frame); the first network node evenly divides the second data frame into two or more sub data frames; the first network node passes two copies through the two or more physical channels The above sub data frame is sent to the second network node. In this embodiment, when two or more sub-data frames are transmitted through two or more physical channels, resource allocation may be determined according to the number of sub-data frames, and multiple sub-data frames may be carried in physical by cyclic allocation. The transmission is performed on the channel. For example, when the number of physical channels is 4 and the number of divided sub-data frames is Q, the first to fourth sub-data frames of the Q may be carried in the first to fourth respectively. The physical channel is transmitted, and the 5th to 8th sub-data frames are carried on the 1st to 4th physical channels for transmission, and so on.
在一个实施例中,当第一网络节点通过两个以上逻辑通道将封装后的两个以上的第一数据帧发送给第二网络节点时,可以采用如下方式:第一网络节点按照预先约定的方式将两个以上的第一数据帧分配至两个以上逻辑通道中;并且,通过两个以上逻辑通道将分配的两个以上的第一数据帧发送给第二网络节点;或者,第一网络节点在两个以上的第一数据帧中添加第一标识信息,其中,该第一标识信息用于标识第一数据帧中携带的子数据在第一数据中的位置;将添加了第一标识信息的两个以上的第一数据帧分配至两个以上逻辑通道中;通过上述两个以上逻辑通道将分配的两个以上的第一数据帧发送给第二网络节点。在本实施例中,预先约定的方式可以是第一网络节点和第二网络节点协商的方式,或者是协议规定的方式,或者是固定配置的方式,例如,可以约定第一个逻辑通道中发送两个以上的第一数据帧中的第一个数据帧,第二个逻辑通道中发送第二个数据帧……,这样,当第二网络节点通过逻辑通道接收到数据帧后,能够确定多个第一数据帧中携带的子数据的位置关系,从而得到完整正确的数据。在本实施例中,还可以采用标识信息进行标识的方式确定第一数据帧中携带的子数据的位置,例如,当标识信息为00时,表示该数据帧中携带的子数据是第一数据中的最开始的部分的子数据,当标识信息为01时,表示该数据帧中携带的子数据是第一数据中的第二部分的子数据,依此类推。In an embodiment, when the first network node sends the encapsulated two or more first data frames to the second network node by using two or more logical channels, the following manner may be adopted: the first network node is pre-agreed Manipulating two or more first data frames into two or more logical channels; and transmitting two or more first data frames allocated to the second network node through two or more logical channels; or, the first network The node adds the first identifier information to the two or more first data frames, where the first identifier information is used to identify the location of the child data carried in the first data frame in the first data; the first identifier is added Two or more first data frames of information are allocated to more than two logical channels; two or more first data frames allocated by the two or more logical channels are sent to the second network node. In this embodiment, the pre-agreed manner may be a manner in which the first network node and the second network node negotiate, or a manner specified by the protocol, or a fixed configuration manner, for example, the first logical channel may be agreed to be sent. The first data frame of the two or more first data frames, and the second data frame of the second logical channel, ..., so that when the second network node receives the data frame through the logical channel, it can determine more The positional relationship of the sub-data carried in the first data frame, thereby obtaining complete and correct data. In this embodiment, the location of the sub-data carried in the first data frame may be determined by using the identifier information, for example, when the identifier information is 00, indicating that the sub-data carried in the data frame is the first data. The sub-data of the first part of the middle, when the identification information is 01, indicates that the sub-data carried in the data frame is the sub-data of the second part in the first data, and so on.
在一个实施例中,当上述第一网络节点通过两个以上物理通道将两份以上的子数据帧发送给第二网络节点时,可以采用如下方式:第一网络节 点按照预先约定的方式将两份以上的子数据帧分配至两个以上物理通道中;并且,通过上述两个以上物理通道将分配的两份以上的子数据帧发送给第二网络节点;或者,上述第一网络节点在两份以上的子数据帧中添加第二标识信息,其中,该第二标识信息用于标识子数据帧在第一数据所封装成的第二数据帧中的位置;将添加了第二标识信息的两份以上的子数据帧分配至两个以上物理通道中;通过该两个以上物理通道将分配的两份以上的子数据帧发送给第二网络节点。类似于前述的实施例,在本实施例中,也可以采用约定的方式或者采用标识信息标识的方式进行子数据帧的分配。In an embodiment, when the first network node sends more than two sub-data frames to the second network node by using two or more physical channels, the following manner may be adopted: Assigning more than two sub-data frames to more than two physical channels in a pre-agreed manner; and transmitting more than two sub-data frames allocated to the second network node through the two or more physical channels; or The first network node adds the second identifier information to the two or more sub-data frames, where the second identifier information is used to identify the location of the sub-data frame in the second data frame encapsulated by the first data. Two or more sub-data frames to which the second identification information is added are allocated to two or more physical channels; and the two or more sub-data frames allocated by the two or more physical channels are transmitted to the second network node. Similar to the foregoing embodiment, in this embodiment, the allocation of the sub-data frames may also be performed in an agreed manner or in a manner of identifying the identification information.
在一个实施例中,上述第一网络节点将第一数据封装成第二数据帧包括:第一网络节点将第一数据封装进第二数据帧的净荷部分;第一网络节点将第二数据帧均匀地分割成两份以上的子数据帧包括:第一网络节点将所述第二数据帧的净荷部分均匀地分割成两份以上的子数据帧净荷;第一网络节点通过两个以上物理通道将两份以上的子数据帧发送给第二网络节点包括:第一网络节点将两份以上的子数据帧净荷封装进两个以上物理通道中;第一网络节点通过两个以上物理通道将两份以上的子数据帧净荷发送给第二网络节点,并通过如下方式至少之一告知第二网络节点上述物理通道中的所述子数据帧净荷的起始位置:第一网络节点在两个以上物理通道的帧起始位置插入帧头,其中,该帧头用于标识物理通道中的子数据帧净荷的起始位置;上述第一网络节点与第二网络节点约定物理通道中的子数据帧净荷的起始位置;第一网络节点与第二网络节点约定或者通知第二网络节点上述物理通道中的子数据帧净荷的起始位置与第一网络节点之前向第二网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同,其中,该第一网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,该帧头用于标识物理通道中的子数据帧净荷的起始位置。在本实施例中,在将第一数据封装进数据帧的净荷部分时,可以不需要数据帧的帧头,只封装出净荷部分即可。并且,在本实施例中,可以在每个物理通道的起始位置插入帧头(可以每次发送数据是都插入帧头,也可以周期性的插入,并且,每次进行数据传输时的物理通道中的子数据帧净荷的起始位置相同),从而可以使得接收方(即,第二网络节点)按照物理 通道上插入的帧头找到每个通道中的子数据帧的起始位置(当第一网络节点周期性插入帧头时,第二网络节点可以按照之前的物理通道上插入的帧头确定上述起始位置),从而拼接成得到完整的数据。In an embodiment, the foregoing first network node encapsulating the first data into the second data frame includes: the first network node encapsulates the first data into a payload portion of the second data frame; the first network node uses the second data Uniformly dividing the frame into two or more sub-data frames includes: the first network node uniformly splits the payload portion of the second data frame into two or more sub-data frame payloads; the first network node passes two The sending, by the physical channel, the two or more sub-data frames to the second network node includes: the first network node encapsulating more than two sub-data frame payloads into two or more physical channels; the first network node passes two or more The physical channel sends more than two sub-data frame payloads to the second network node, and informs the second network node of the starting position of the sub-data frame payload in the physical channel by at least one of the following manners: The network node inserts a frame header at a frame start position of two or more physical channels, where the frame header is used to identify a start position of a sub data frame payload in the physical channel; the first network section Determining, with the second network node, a starting location of the sub-data frame payload in the physical channel; the first network node agrees with the second network node or notifies the second network node of the starting position of the sub-data frame payload in the physical channel The start position of the sub data frame payload in the physical channel when the first network node previously performs data transmission to the second network node, wherein the first network node periodically starts from the frame of the two or more physical channels The start position is inserted into the frame header, wherein the frame header is used to identify the start position of the sub data frame payload in the physical channel. In this embodiment, when the first data is encapsulated into the payload portion of the data frame, the frame header of the data frame may not be needed, and only the payload portion may be encapsulated. Moreover, in the present embodiment, a frame header can be inserted at the beginning of each physical channel (the data header can be inserted every time the data is transmitted, or can be periodically inserted, and the physical time of each data transmission is performed. The start position of the sub-data frame payload in the channel is the same), so that the receiver (ie, the second network node) can be made to physical The header inserted in the channel finds the starting position of the sub-data frame in each channel (when the first network node periodically inserts the frame header, the second network node can determine the above-mentioned frame header inserted on the previous physical channel) Start position), thus splicing into complete data.
上述的各实施例主要针对第一网络节点如何向第二网络节点发送数据进行的说明,下面从第一网络节点如何接收来自第二网络节点的数据进行说明:The foregoing embodiments are mainly directed to how the first network node sends data to the second network node, and how the first network node receives data from the second network node is described below:
在一个实施例中,在上述步骤S504中,第一网络节点通过两个以上通道接收来自第二网络节点的第二数据时,可以采用如下方式:当上述通道包括逻辑通道时,第一网络节点通过上述两个以上通道接收来自第二网络节点的两个以上的第三数据帧;第一网络节点确定该两个以上的第三数据帧中包含的数据在第二数据中的位置,并根据确定的位置把每份子数据组装后得到第二数据;还可以采用如下的方式通过两个以上通道接收来自第二网络节点的第二数据:当上述通道包括物理通道时,第一网络节点通过两个以上通道接收来自第二网络节点的两份以上的子数据帧,其中,该子数据帧为第二数据封装成的第四数据帧(即,物理帧)的一部分;第一网络节点确定上述两份以上的子数据帧在第二数据封装成的第四数据帧中的位置,并根据确定的位置把每份子数据帧组装后得到第二数据封装成的第四数据帧;第一网络节点从第二数据封装成的第四数据帧中获取第二数据。In an embodiment, in the foregoing step S504, when the first network node receives the second data from the second network node by using two or more channels, the following manner may be adopted: when the channel includes the logical channel, the first network node Receiving two or more third data frames from the second network node through the two or more channels; the first network node determining a location of the data included in the two or more third data frames in the second data, and according to The determined location obtains the second data after assembling each sub-data; and the second data from the second network node may also be received through two or more channels in the following manner: when the channel includes the physical channel, the first network node passes two More than two channels receive more than two sub-data frames from the second network node, wherein the sub-data frame is part of a fourth data frame (ie, a physical frame) encapsulated by the second data; the first network node determines the foregoing The position of the two or more sub data frames in the fourth data frame encapsulated by the second data, and each sub data according to the determined position Obtain a second encapsulated data is assembled into a fourth data frame; a first network node acquires second data from the second data encapsulated into a fourth data frame.
在一个实施例中,第一网络节点确定两个以上的第三数据帧中包含的子数据在第二数据中的位置包括:第一网络节点按照预先约定的方式确定上述两个以上的第三数据帧中包含的子数据在第二数据中的位置;或者,第一网络节点获取两个以上的第三数据帧中携带的第三标识信息;第一网络节点根据第三标识信息确定两个以上的第三数据帧中包含的子数据在第二数据中的位置。在本实施例中,第二网络节点在利用通道发送第三数据帧时,可以按照约定的方式进行发送,也可以在发送的第三数据帧中携带用于标识位置信息的标识信息的方式来告知第一网络节点每个第三数据帧的先后顺序,从而使得第一网络节点确定每个第三数据帧中的数据的先后顺序,进而得到完整准确的数据。In an embodiment, the determining, by the first network node, the location of the sub-data included in the two or more third data frames in the second data comprises: determining, by the first network node, the two or more thirds in a predetermined manner Position of the sub-data included in the data frame in the second data; or, the first network node acquires the third identifier information carried in the two or more third data frames; the first network node determines two according to the third identifier information The position of the sub data contained in the third data frame above in the second data. In this embodiment, when the third network node sends the third data frame by using the channel, the second network node may send the information in the agreed manner, or may carry the identifier information for identifying the location information in the sent third data frame. The first network node is informed of the sequence of each third data frame, so that the first network node determines the order of the data in each third data frame, thereby obtaining complete and accurate data.
在一个实施例中,上述第一网络节点确定两份以上的子数据帧在第二 数据封装成的第四数据帧中的位置包括:第一网络节点按照预先约定的方式确定两份以上的子数据帧在第二数据封装成的第四数据帧中的位置;或者,第一网络节点获取两份以上的子数据帧中携带的第四标识信息;第一网络节点根据第四标识信息确定两份以上的子数据帧在第二数据封装成的第四数据帧中的位置。在本实施例中,第二网络节点在利用通道发送子数据帧时,可以按照约定的方式进行发送,也可以在发送的子数据帧中携带用于标识位置信息的标识信息的方式来告知第一网络节点每份子数据帧的先后顺序,从而使得第一网络节点确定每份子数据帧中的数据的先后顺序,进而得到完整准确的数据。In one embodiment, the first network node determines that more than two sub-data frames are in the second The location in the fourth data frame encapsulated by the data includes: determining, by the first network node, a location of the two or more sub data frames in the fourth data frame encapsulated by the second data according to a pre-agreed manner; or, the first network The node acquires the fourth identifier information carried in the two or more sub-data frames; the first network node determines, according to the fourth identifier information, the position of the two or more sub-data frames in the fourth data frame encapsulated by the second data. In this embodiment, when the second network node sends the sub-data frame by using the channel, the second network node may send the information according to the agreed manner, or may send the identifier information for identifying the location information in the sent sub-data frame to notify the first The sequence of each sub-data frame of a network node, so that the first network node determines the sequence of data in each sub-data frame, thereby obtaining complete and accurate data.
在一个实施例中,上述第一网络节点通过两个以上通道接收来自第二网络节点的两份以上的子数据帧包括:第一网络节点通过如下方式至少之一确定上述两个以上通道中的子数据帧净荷的起始位置:根据上述两个以上通道的帧起始位置中插入的用于确定两个以上通道中的子数据帧净荷的起始位置的帧头的方式;通过与上述第二网络节点约定物理通道中的子数据帧净荷的起始位置的方式;通过与第二网络节点约定或者由第二网络节点通知物理通道中的子数据帧净荷的起始位置与第二网络节点之前向第一网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同的方式,其中,该第二网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,该帧头用于标识上述物理通道中的子数据帧净荷的起始位置;根据确定的上述两个以上通道中的子数据帧净荷的起始位置从两个以上通道中确定来自第二网络节点的两份以上的子数据帧净荷。在本实施例中,可以在每个通道的帧起始位置中都插入用于确定子数据帧净荷的起始位置的帧头,也可以周期性地插入上述帧头,第一网络节点可以根据该帧头确定子数据帧净荷的起始位置。In an embodiment, the receiving, by the first network node, the two or more sub-data frames from the second network node by using the two or more channels includes: determining, by the first network node, at least one of the two or more channels Start position of the sub data frame payload: a manner of inserting a frame header for determining a start position of a sub data frame payload in two or more channels according to a frame start position of the above two or more channels; The manner in which the foregoing second network node appoints the start position of the sub-data frame payload in the physical channel; by agreeing with the second network node or by the second network node, notifying the start position of the sub-data frame payload in the physical channel a manner in which the start position of the sub data frame payload in the physical channel when the second network node performs data transmission to the first network node is the same, wherein the second network node periodically frames on more than two physical channels The start position is inserted into a frame header, where the frame header is used to identify a start position of a sub data frame payload in the physical channel; Starting position of the data sub-frame payload determined two or more sub-frame payload data from the second network node from two or more channels. In this embodiment, a frame header for determining a start position of a sub data frame payload may be inserted in a frame start position of each channel, or the frame header may be periodically inserted, and the first network node may The starting position of the sub data frame payload is determined according to the frame header.
从上述实施例可知,OLT和ONU之间,数据帧或者数据均匀地通过固定的多个通道进行发送和接收。其中,通道可以是XGEM port等逻辑通道,也可以是波长等物理通道。当通道是XGEM Port等逻辑通道时,数据均匀地通过固定的多个逻辑通道进行发送和接收;当通道是波长等物理通道时,数据先被封装进数据帧,数据帧在固定的多个物理通道上被均匀地 发送和接收。在上行方向,OLT给ONU分配的带宽,可以均匀分配在固定的多个通道上。It can be seen from the above embodiment that between the OLT and the ONU, data frames or data are uniformly transmitted and received through a plurality of fixed channels. The channel may be a logical channel such as an XGEM port, or may be a physical channel such as a wavelength. When the channel is a logical channel such as XGEM Port, the data is uniformly transmitted and received through a plurality of fixed logical channels; when the channel is a physical channel such as a wavelength, the data is first encapsulated into a data frame, and the data frame is fixed in multiple physical Uniformly on the channel Send and receive. In the uplink direction, the bandwidth allocated by the OLT to the ONU can be evenly distributed on multiple fixed channels.
首先结合实施例一和实施例二对通道包括物理通道时的情况进行说明:First, the case where the channel includes the physical channel is described in conjunction with the first embodiment and the second embodiment:
实施例一Embodiment 1
在本实施例中,以OLT和ONU之间支持4通道为例,数据完成封装并形成物理帧(对应于上述的第二数据帧)后,可以把物理帧平均分成4×N部分,若不能分成4×N份,可采用补充缺失部分的方式补充为4×N份,再按照块顺序把每个部分分配到4个物理通道上发送,例如,第一部分在通道1发送,第二部分在通道2发送,第三部分在通道3发送,第四部分在通道4发送,第五部分在通道1发送,第六部分在通道2发送,第七部分在通道3发送,第八部分在通道4发送,依此类推。收方(当发送方为OLT时,收方为ONU;当发送方为ONU时,收方为OLT)按照通道顺序分别4个部分4个部分地接收每个通道数据,然后搜索物理帧头,解析物理帧净荷。图6所示的是一个示例,即,把一个物理帧分割成4块,分别在4个通道上进行发送和接收。In this embodiment, the OLT and the ONU support 4 channels as an example. After the data is encapsulated and a physical frame is formed (corresponding to the second data frame), the physical frame can be equally divided into 4×N parts. Divided into 4 × N parts, supplemented by 4 × N parts by adding missing parts, and then distributed each part to 4 physical channels in block order, for example, the first part is sent in channel 1, the second part is in Channel 2 is transmitted, the third part is transmitted on channel 3, the fourth part is transmitted on channel 4, the fifth part is transmitted on channel 1, the sixth part is transmitted on channel 2, the seventh part is transmitted on channel 3, and the eighth part is transmitted on channel 3, and the eighth part is in channel 4. Send, and so on. The receiving party (when the sending party is the OLT, the receiving party is the ONU; when the sending party is the ONU, the receiving party is the OLT), each channel data is received in four parts and four parts in the channel order, and then the physical frame header is searched. Parse the physical frame payload. Figure 6 shows an example in which one physical frame is divided into four blocks, which are transmitted and received on four channels, respectively.
如图6所示,以ITU-T(International Telecommunications Union-Telecommunications standardization sector,国际电信联盟—电信标准部)封装、数据收发为例,每份数据先封装进XGEM帧,每份数据作为XGEM净荷进行封装,然后每个XGEM帧作为超帧净荷封装进超帧,超帧进行FEC等相关处理后作为物理帧净荷封装进物理帧,物理帧被分割成4份子物理帧(对应于上述的子数据帧),分别在通道1、2、3、4上发送。接收方分别在通道1、2、3、4的相同位置上取出相同大小的子物理帧,按照发送规则,从通道1取出的子物理帧放在最前,从通道2取出的子物理帧放在第二位置,从通道3取出的子物理帧放在第三位置,从通道4取出的子物理帧放在最后,组成完成的物理帧,检查物理帧头,并依次解析物理帧净荷、超帧净荷、XGEM净荷直到解析出数据。As shown in Figure 6, the ITU-T (International Telecommunications Union-Telecommunications Standardization Sector) package, data transmission and reception as an example, each data is first encapsulated into XGEM frames, each data as XGEM payload Encapsulation, and then each XGEM frame is encapsulated into a superframe as a superframe payload, and the superframe is subjected to FEC and other related processing, and then encapsulated into a physical frame as a physical frame payload, and the physical frame is divided into 4 sub-physical frames (corresponding to the above Subdata frames) are sent on channels 1, 2, 3, and 4, respectively. The receiver extracts the same size sub-physical frame at the same position of the channels 1, 2, 3, and 4 respectively. According to the transmission rule, the sub-physical frame taken out from the channel 1 is placed at the forefront, and the sub-physical frame taken from the channel 2 is placed. In the second position, the sub-physical frame taken out from channel 3 is placed in the third position, and the sub-physical frame taken out from channel 4 is placed at the end to form a completed physical frame, the physical frame header is checked, and the physical frame payload and the super-resolution are sequentially analyzed. Frame payload, XGEM payload until the data is parsed.
实施例二 Embodiment 2
在本实施例中,以OLT和ONU之间支持4通道为例,数据完成封装并形成物理帧(对应于上述的第二数据帧)后,可以把物理帧平均分成4×N部分,若不能分成4×N份,可采用补充缺失部分的方式补充为4×N份,再按照块顺序把每个部分分配到4个物理通道上发送,在每个通道的子物理帧起始位置插入物理帧头(对应于上述的帧头),例如,第一部分在通道1发送,第二部分在通道2发送,第三部分在通道3发送,第四部分在通道4发送,第五部分在通道1发送,第六部分在通道2发送,第七部分在通道3发送,第八部分在通道4发送,依此类推。接收方(当发送方为OLT时,收方为ONU;当发送方为ONU时,收方为OLT)只要在每个通道上按照物理帧头即可找到每个通道中的子物理帧起始,把子物理帧进行拼接后即可获得整个物理帧的起始位置。原来物理帧的物理帧头其实不需要了,仍然保持原来物理帧的物理帧头也是可以的,完成物理帧拼接后可以像实施例一中的接收方一样搜索物理帧头。In this embodiment, the OLT and the ONU support 4 channels as an example. After the data is encapsulated and a physical frame is formed (corresponding to the second data frame), the physical frame can be equally divided into 4×N parts. Divided into 4 × N parts, can be supplemented by 4 × N parts by adding missing parts, and then allocated each part to 4 physical channels in block order, inserting physics at the beginning of the sub-physical frame of each channel The frame header (corresponding to the above-mentioned frame header), for example, the first part is transmitted on channel 1, the second part is transmitted on channel 2, the third part is transmitted on channel 3, the fourth part is transmitted on channel 4, and the fifth part is transmitted on channel 4. Send, the sixth part is sent on channel 2, the seventh part is sent on channel 3, the eighth part is sent on channel 4, and so on. The receiver (when the sender is the OLT, the receiver is the ONU; when the sender is the ONU, the receiver is the OLT), as long as the physical frame header is found on each channel, the sub-physical frame start in each channel can be found. After the sub-physical frames are spliced, the starting position of the entire physical frame can be obtained. The physical frame header of the original physical frame is actually unnecessary, and the physical frame header of the original physical frame is still possible. After the physical frame is spliced, the physical frame header can be searched like the receiver in the first embodiment.
如图7所示,以ITU-T封装、数据收发为例,每份数据先封装进XGEM帧,每份数据作为XGEM净荷进行封装,然后每个XGEM帧作为超帧净荷封装进超帧,超帧进行FEC等相关处理后作为物理帧净荷封装进物理帧,在本实施例中,物理帧未加物理帧头,物理帧被分割成4份子物理帧,分别在通道1、2、3、4上发送,并在每个子物理帧前加物理帧头。接收方分别在通道1、2、3、4上检测物理帧头,检测到物理帧头则取出相同大小的子物理帧,按照发送规则,从通道1取出的子物理帧放在最前,从通道2取出的子物理帧放在第二位置,从通道3取出的子物理帧放在第三位置,从通道4取出的子物理帧放在最后,组成完成的物理帧,解析物理帧净荷、超帧净荷、XGEM净荷直到解析出数据。As shown in FIG. 7 , taking ITU-T encapsulation and data transceiving as an example, each data is first encapsulated into an XGEM frame, and each data is encapsulated as an XGEM payload, and then each XGEM frame is encapsulated into a superframe as a superframe payload. The super frame is encapsulated into a physical frame as a physical frame payload after performing related processing such as FEC. In this embodiment, the physical frame is not added with a physical frame header, and the physical frame is divided into 4 sub-physical frames, respectively, in channels 1, 2, respectively. 3, 4 send, and add a physical frame header before each sub-physical frame. The receiver detects the physical frame header on the channels 1, 2, 3, and 4 respectively, and extracts the sub-physical frame of the same size when the physical frame header is detected. According to the transmission rule, the sub-physical frame taken out from the channel 1 is placed at the forefront, and the slave channel is placed at the forefront. 2 The extracted sub-physical frame is placed in the second position, the sub-physical frame taken out from channel 3 is placed in the third position, and the sub-physical frame taken out from channel 4 is placed at the end to form a completed physical frame, and the physical frame payload is parsed. Superframe payload, XGEM payload until the data is parsed.
如图8所示,以IEEE(Institute of Electrical and Electronics Engineers,美国电气与电子工程师协会)封装、数据收发为例,每份数据先封装进MAC(Media Access Control,媒体接入控制)帧,每份数据作为MAC净荷进行封装,然后每个MAC帧进行FEC等相关处理后作为物理帧净荷封装进物理帧,在本实施例中,物理帧中未加物理帧头,物理帧被分割成4份子物理帧,分别在通道1、2、3、4上发送,并在每个子物理帧前加物理帧 头。接收方分别在通道1、2、3、4上检测物理帧头,检测到物理帧头则取出相同大小的子物理帧,按照发送规则,从通道1取出的子物理帧放在最前,从通道2取出的子物理帧放在第二位置,从通道3取出的子物理帧放在第三位置,从通道4取出的子物理帧放在最后,组成完成的物理帧,解析物理帧净荷、MAC净荷直到解析出数据。As shown in FIG. 8 , an IEEE (Institute of Electrical and Electronics Engineers) package and data transmission and reception is taken as an example. Each data is first encapsulated into a MAC (Media Access Control) frame. The data is encapsulated as a MAC payload, and then each MAC frame is subjected to FEC and other related processing and then encapsulated into a physical frame as a physical frame payload. In this embodiment, a physical frame is not added to the physical frame, and the physical frame is divided into 4 sub-physical frames, which are sent on channels 1, 2, 3, and 4, respectively, and physical frames are added before each sub-physical frame. head. The receiver detects the physical frame header on the channels 1, 2, 3, and 4 respectively, and extracts the sub-physical frame of the same size when the physical frame header is detected. According to the transmission rule, the sub-physical frame taken out from the channel 1 is placed at the forefront, and the slave channel is placed at the forefront. 2 The extracted sub-physical frame is placed in the second position, the sub-physical frame taken out from channel 3 is placed in the third position, and the sub-physical frame taken out from channel 4 is placed at the end to form a completed physical frame, and the physical frame payload is parsed. MAC payload until the data is parsed.
下面结合实施例三和实施例四对通道包括逻辑通道时的情况进行说明:数据/管理帧可以被均匀地分配进多个固定的XGEM Port等逻辑通道,分别形成逻辑通道封装帧,每个逻辑通道封装帧独立地进入各自的物理帧进行发送和接收处理。The following describes the case when the channel includes the logical channel in combination with the third embodiment and the fourth embodiment: the data/management frame can be evenly distributed into multiple fixed logical channels such as XGEM Port to form logical channel encapsulation frames, each logic. The channel encapsulation frames independently enter their respective physical frames for transmission and reception processing.
实施例三Embodiment 3
在本实施例中,以OLT和ONU之间支持2通道为例,数据被平均分割成2份子数据,并添加每份子数据的标记,表示每份子数据和数据之间的关系,分别通过2个逻辑通道进行封装和发送,接收端(对应于上述的收方)对2个通道的封装帧解出净荷后,根据标记进行重新组装。In this embodiment, taking 2 channels between the OLT and the ONU as an example, the data is equally divided into 2 sub-data, and each sub-data tag is added to represent the relationship between each sub-data and data, respectively, through 2 The logical channel is encapsulated and transmitted, and the receiving end (corresponding to the above-mentioned receiver) solves the payload of the encapsulated frame of the two channels, and then reassembles according to the mark.
如图9所示,以ITU-T封装、数据收发为例,每份数据根据逻辑通道XGEM Port数,被平均分割成2份子数据,并分别在两个逻辑通道XGEM Port中发送,各自封装进XGEM帧,每份子数据作为XGEM净荷进行封装,然后每个XGEM帧作为超帧净荷封装进超帧,超帧进行FEC等相关处理后作为物理帧净荷封装进物理帧,分别在通道1、2上发送。接收方分别在通道1、2上取出物理帧,按照发送规则,检查物理帧头,并依次解析物理帧净荷、超帧净荷、XGEM净荷直到解析出数据,当解析XGEM帧及其净荷时,检查其标记,并将相关的子数据进行重组成完整的数据。As shown in FIG. 9 , taking ITU-T encapsulation and data transceiving as an example, each data is equally divided into 2 sub-data according to the number of logical channels XGEM Port, and respectively sent in two logical channels XGEM Port, and each packaged into XGEM frames, each sub-data is encapsulated as an XGEM payload, and then each XGEM frame is encapsulated into a superframe as a superframe payload, and the superframe is subjected to FEC and other related processing, and then encapsulated into a physical frame as a physical frame payload, respectively in channel 1. , 2 sent. The receiver extracts the physical frame on the channels 1, 2, checks the physical frame header according to the sending rule, and sequentially parses the physical frame payload, the superframe payload, and the XGEM payload until the data is parsed, and parses the XGEM frame and its net. When it comes to time, check its markup and recombine the relevant subdata into complete data.
如图10所示,以IEEE封装、数据收发为例,每份数据根据逻辑通道LLID(Logical Link Identifier,逻辑链路标记)数,被平均分割成2份子数据,并分别在两个逻辑通道LLID中发送,各自封装进MAC帧,每份子数据作为MAC净荷进行封装,然后每个MAC帧作为超帧净荷封装进超帧,超帧进行FEC等相关处理后作为物理帧净荷封装进物理帧,分别在通道1、2上发送。接收方分别在通道1、2上取出物理帧,按照发送规则,检查 物理帧头,并依次解析物理帧净荷、MAC净荷直到解析出数据,当解析XGEM帧及其净荷时,检查其标记,并将相关的子数据进行重组,组成完整的数据。As shown in FIG. 10, taking IEEE encapsulation and data transceiving as an example, each piece of data is equally divided into 2 sub-data according to the number of logical channel LLIDs (Logical Link Identifiers), and is respectively in two logical channels LLID. In the middle, each packet is encapsulated into a MAC frame, and each sub-data is encapsulated as a MAC payload, and then each MAC frame is encapsulated into a superframe as a superframe payload, and the superframe is subjected to FEC and other related processing and then encapsulated into a physical frame payload as a physical payload. Frames are sent on channels 1, 2 respectively. The receiver takes physical frames on channels 1, 2 and checks them according to the sending rules. Physical frame header, and parse the physical frame payload and MAC payload in turn until the data is parsed. When parsing the XGEM frame and its payload, check the tag and reorganize the relevant sub-data to form complete data.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明每个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, or by hardware, but in many cases, the former is more Good implementation. Based on the understanding, the technical solution of the embodiment of the present invention may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM, a magnetic disk, an optical disk), and includes a plurality of instructions for making a A terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) performs the method described in each embodiment of the present invention.
在本实施例中还提供了一种数据传输装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a data transmission device is also provided, which is used to implement the foregoing embodiments and implementation manners, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图11是根据本发明实施例的数据传输装置的结构框图,该装置可以应用于第一网络节点中,如图11所示,该装置包括发送模块112和/或接收模块114,下面对该装置进行说明。11 is a structural block diagram of a data transmission apparatus according to an embodiment of the present invention. The apparatus may be applied to a first network node. As shown in FIG. 11, the apparatus includes a transmitting module 112 and/or a receiving module 114. The device is described.
发送模块112,设置为将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点;The sending module 112 is configured to send the first data to be sent to the second network node to the second network node through two or more channels uniformly;
接收模块114,设置为通过两个以上通道接收来自第二网络节点的第二数据,其中,该第二数据在两个以上通道中均匀发送;The receiving module 114 is configured to receive second data from the second network node by using two or more channels, where the second data is uniformly sent in more than two channels;
其中,上述第一网络节点为光纤线路终端OLT,第二网络节点为光纤网络单元ONU;或者,第一网络节点为光纤网络单元ONU,第二网络节点为光纤线路终端OLT。The first network node is a fiber line terminal OLT, and the second network node is a fiber network unit ONU; or the first network node is a fiber network unit ONU, and the second network node is a fiber line terminal OLT.
在一个实施例中,上述发送模块112可以利用如下方式将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点:将 待发送给第二网络节点的第一数据均匀地通过固定的两个以上通道发送给第二网络节点。在另一个实施例中,上述接收模块114可以通过如下方式接收来自第二网络节点的第二数据:通过固定的两个以上通道接收来自第二网络节点的第二数据。在该实施例中,第一网络节点和第二网络节点之间进行数据传输的通道可以是固定的通道,该固定的通道可以是由双方协商确定的,也可以是预先配置好的或者是协议规定好的。In an embodiment, the sending module 112 may send the first data to be sent to the second network node to the second network node uniformly through two or more channels by using: The first data to be sent to the second network node is sent to the second network node uniformly through the fixed two or more channels. In another embodiment, the receiving module 114 may receive the second data from the second network node by receiving the second data from the second network node through the fixed two or more channels. In this embodiment, the channel for data transmission between the first network node and the second network node may be a fixed channel, and the fixed channel may be determined by negotiation between the two parties, or may be pre-configured or protocol. The rules are good.
在一个实施例中,上述发送模块112可以利用如下方式将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给第二网络节点:当上述通道包括逻辑通道时,将第一数据均匀地分割成两份以上的子数据并分别封装成第一数据帧;通过两个以上逻辑通道将封装后的两个以上的第一数据帧发送给第二网络节点;当上述通道包括物理通道时,将第一数据封装成第二数据帧;将第二数据帧均匀地分割成两份以上的子数据帧;通过上述两个以上物理通道将两份以上的子数据帧发送给第二网络节点。In an embodiment, the sending module 112 may send the first data to be sent to the second network node to the second network node uniformly through two or more channels by using the following manner: when the channel includes the logical channel, The data is evenly divided into two or more sub-data and respectively encapsulated into a first data frame; the encapsulated two or more first data frames are sent to the second network node through two or more logical channels; when the channel includes In the physical channel, the first data is encapsulated into a second data frame; the second data frame is evenly divided into two or more sub data frames; and two or more sub data frames are sent to the first through the two or more physical channels Two network nodes.
在一个实施例中,上述发送模块112可以利用如下方式通过两个以上逻辑通道将封装后的两个以上的第一数据帧发送给第二网络节点:按照预先约定的方式将两个以上的第一数据帧分配至两个以上逻辑通道中;并且,通过两个以上逻辑通道将分配的两个以上的第一数据帧发送给第二网络节点;或者,在两个以上的第一数据帧中添加第一标识信息,其中,该第一标识信息用于标识第一数据帧中携带的子数据在第一数据中的位置;将添加了第一标识信息的两个以上的第一数据帧分配至两个以上逻辑通道中;通过上述两个以上逻辑通道将分配的两个以上的第一数据帧发送给第二网络节点。In an embodiment, the sending module 112 may send the encapsulated two or more first data frames to the second network node by using two or more logical channels by using two or more pre-agreed manners. One data frame is allocated to more than two logical channels; and two or more first data frames allocated are transmitted to the second network node through two or more logical channels; or, in two or more first data frames Adding first identifier information, where the first identifier information is used to identify a location of the child data carried in the first data frame in the first data; and to allocate two or more first data frames to which the first identifier information is added And to two or more logical channels; and the two or more first data frames allocated by the two or more logical channels are sent to the second network node.
在一个实施例中,上述发送模块112可以利用如下方式通过两个以上物理通道将两份以上的子数据帧发送给第二网络节点:按照预先约定的方式将两份以上的子数据帧分配至两个以上物理通道中;并且,通过上述两个以上物理通道将分配的两份以上的子数据帧发送给第二网络节点;或者,在上述两份以上的子数据帧中添加第二标识信息,其中,该第二标识信息用于标识子数据帧在第一数据所封装成的第二数据帧中的位置;将添加了第二标识信息的两份以上的子数据帧分配至两个以上物理通道中;通 过上述两个以上物理通道将分配的两份以上的子数据帧发送给第二网络节点。In an embodiment, the sending module 112 may send more than two sub-data frames to the second network node by using two or more physical channels by: allocating more than two sub-data frames to the pre-agreed manner. And transmitting the two or more sub-data frames allocated to the second network node by using the two or more physical channels; or adding the second identification information to the two or more sub-data frames The second identification information is used to identify a position of the sub data frame in the second data frame encapsulated by the first data; and to allocate two or more sub data frames to which the second identification information is added to two or more Physical channel More than two sub-data frames allocated are sent to the second network node through the above two physical channels.
在一个实施例中,上述发送模块112可以利用如下方式将第一数据封装成第二数据帧:将上述第一数据封装进第二数据帧的净荷部分;上述发送模块112可以利用如下方式将第二数据帧均匀地分割成两份以上的子数据帧:将上述第二数据帧的净荷部分均匀地分割成两份以上的子数据帧净荷;上述发送模块112可以利用如下方式通过两个以上物理通道将两份以上的子数据帧发送给第二网络节点:将上述两份以上的子数据帧净荷封装进两个以上物理通道中;通过上述两个以上物理通道将两份以上的子数据帧净荷发送给第二网络节点,并通过如下方式至少之一告知第二网络节点上述物理通道中的子数据帧净荷的起始位置:在两个以上物理通道的帧起始位置插入帧头,其中,该帧头用于标识物理通道中的子数据帧净荷的起始位置;与第二网络节点约定物理通道中的子数据帧净荷的起始位置;与第二网络节点约定或者通知第二网络节点上述物理通道中的子数据帧净荷的起始位置与第一网络节点之前向第二网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同,其中,该第一网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,该帧头用于标识物理通道中的子数据帧净荷的起始位置。In an embodiment, the sending module 112 may encapsulate the first data into a second data frame by encapsulating the first data into a payload portion of the second data frame. The sending module 112 may use the following manner. The second data frame is evenly divided into two or more sub data frames: the payload portion of the second data frame is evenly divided into two or more sub data frame payloads; and the sending module 112 can pass the following two ways. More than one physical channel sends more than two sub-data frames to the second network node: the above two or more sub-data frame payloads are encapsulated into two or more physical channels; more than two of the above two physical channels are used Transmitting the sub-data frame payload to the second network node, and informing the second network node of the starting position of the sub-data frame payload in the physical channel by at least one of: starting at a frame of two or more physical channels Position inserting a frame header, wherein the frame header is used to identify a start position of a sub data frame payload in the physical channel; and a physical channel is agreed with the second network node a starting position of the sub-data frame payload; agreeing with the second network node or notifying the second network node of the starting position of the sub-data frame payload in the physical channel and transmitting data to the second network node before the first network node The start position of the sub data frame payload in the physical channel is the same, wherein the first network node periodically inserts a frame header at a frame start position of two or more physical channels, where the frame header is used for identification The starting position of the subdata frame payload in the physical channel.
在一个实施例中,上述接收模块114可以利用如下方式通过两个以上通道接收来自第二网络节点的第二数据:当上述通道包括逻辑通道时,通过两个以上通道接收来自第二网络节点的两个以上的第三数据帧;确定上述两个以上的第三数据帧中包含的数据在第二数据中的位置,并根据确定的位置把每个子数据组装后得到第二数据;当上述通道包括物理通道时,通过两个以上通道接收来自第二网络节点的两份以上的子数据帧,其中,该子数据帧为上述第二数据封装成的第四数据帧的一部分;确定上述两份以上的子数据帧在第二数据封装成的第四数据帧中的位置,并根据确定的位置把每个子数据帧组装后得到第二数据封装成的第四数据帧;从上述第二数据封装成的第四数据帧中获取第二数据。In an embodiment, the receiving module 114 may receive second data from the second network node through two or more channels by receiving the logical channel from the second network node when the channel includes the logical channel. Two or more third data frames; determining a position of the data contained in the two or more third data frames in the second data, and assembling each sub data according to the determined position to obtain second data; When the physical channel is included, the two or more sub-data frames from the second network node are received by the two or more channels, wherein the sub-data frame is a part of the fourth data frame encapsulated by the second data; determining the two copies The position of the above sub data frame in the fourth data frame encapsulated by the second data, and assembling each sub data frame according to the determined position to obtain a fourth data frame encapsulated by the second data; The second data is acquired in the fourth data frame.
在一个实施例中,上述接收模块114可以利用如下方式确定两个以上 的第三数据帧中包含的子数据在第二数据中的位置:按照预先约定的方式确定两个以上的第三数据帧中包含的子数据在第二数据中的位置;或者,获取上述两个以上的第三数据帧中携带的第三标识信息;根据上述第三标识信息确定两个以上的第三数据帧中包含的子数据在第二数据中的位置。In an embodiment, the receiving module 114 can determine more than two by using the following manners. Position of the sub data included in the third data frame in the second data: determining the position of the sub data included in the two or more third data frames in the second data in a predetermined manner; or, acquiring the above two And third identifier information carried in the third data frame; determining, according to the third identifier information, a position of the sub data included in the two or more third data frames in the second data.
在一个实施例中,上述接收模块114可以利用如下方式确定两份以上的子数据帧在第二数据封装成的第四数据帧中的位置:按照预先约定的方式确定两份以上的子数据帧在第二数据封装成的第四数据帧中的位置;或者,获取上述两份以上的子数据帧中携带的第四标识信息;根据上述第四标识信息确定两份以上的子数据帧在第二数据封装成的第四数据帧中的位置。In an embodiment, the receiving module 114 may determine the position of the two or more sub data frames in the fourth data frame encapsulated by the second data by determining two or more sub data frames according to a predetermined manner. a position in the fourth data frame encapsulated by the second data; or acquiring fourth identification information carried in the two or more sub data frames; determining, by the fourth identification information, that the two or more sub data frames are in the The location in the fourth data frame encapsulated by the second data.
在一个实施例中,上述接收模块114可以利用如下方式通过上述两个以上通道接收来自第二网络节点的两份以上的子数据帧:通过如下方式至少之一确定上述两个以上通道中的子数据帧净荷的起始位置:根据上述两个以上通道的帧起始位置中插入的用于确定两个以上通道中的子数据帧净荷的起始位置的帧头的方式;通过与上述第二网络节点约定物理通道中的子数据帧净荷的起始位置的方式;通过与第二网络节点约定或者由第二网络节点通知物理通道中的子数据帧净荷的起始位置与第二网络节点之前向第一网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同的方式,其中,该第二网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,该帧头用于标识上述物理通道中的子数据帧净荷的起始位置;根据确定的两个以上通道中的子数据帧净荷的起始位置从两个以上通道中确定来自第二网络节点的两份以上的子数据帧净荷。In an embodiment, the receiving module 114 may receive more than two sub-data frames from the second network node by using the two or more channels: determining, by at least one of the foregoing two or more channels The start position of the data frame payload: a manner of inserting a frame header for determining a start position of a sub data frame payload in more than two channels according to the frame start positions of the above two or more channels; The manner in which the second network node stipulates the start position of the sub-data frame payload in the physical channel; by agreeing with the second network node or by the second network node notifying the start position of the sub-data frame payload in the physical channel a manner in which the start position of the sub data frame payload in the physical channel when the second network node performs data transmission to the first network node is the same, wherein the second network node periodically starts from the frame of the two or more physical channels Inserting a frame header, wherein the frame header is used to identify a starting position of a sub-data frame payload in the physical channel; two or more channels according to the determination Start position determination sub-data frame payload of two or more sub-frame payload data from the second network node from two or more channels.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
本发明的实施例还提供了一种存储介质。在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. In this embodiment, the above storage medium may be configured to store program code for performing the following steps:
S1,第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给所述第二网络节点;和/或, S1. The first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels; and/or,
S2,第一网络节点通过两个以上通道接收来自第二网络节点的第二数据,其中,上述第二数据在两个以上通道中均匀发送;其中,上述第一网络节点为光纤线路终端OLT,第二网络节点为光纤网络单元ONU;或者,第一网络节点为光纤网络单元ONU,第二网络节点为光纤线路终端OLT。S2. The first network node receives the second data from the second network node by using the two or more channels, where the second data is uniformly sent in the two or more channels, where the first network node is the optical fiber line terminal OLT. The second network node is a fiber network unit ONU; or the first network node is a fiber network unit ONU, and the second network node is a fiber line terminal OLT.
在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In this embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
在本实施例中,处理器根据存储介质中已存储的程序代码执行上述各步骤。In the present embodiment, the processor executes the above steps in accordance with the program code already stored in the storage medium.
本实施例中的示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。For examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and implementation manners, and details are not described herein again.
上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。The modules or steps of the above embodiments of the present invention may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices, which may be implemented by computing devices. The executed program code is implemented such that they can be stored in a storage device by a computing device, and in some cases, the steps shown or described can be performed in a different order than here, or they can be Each of the integrated circuit modules is fabricated separately, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only for the embodiments of the present invention, and is not intended to limit the present application, and various changes and modifications may be made by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this application are intended to be included within the scope of the present application.
工业实用性Industrial applicability
在本发明实施中,由于OLT与ONU之间进行数据传输的通道为两条以上,因此,在OLT与ONU之间进行数据传输时,可以同时利用两条以上的 通道传输数据,并且,由于数据在两个以上通道中均匀地进行传输,能够保证接收数据的一端接收到完整的数据(即,确定同时(或相差小于预定时间)接收到的数据来自同一个网络节点,保证了接收的数据的完整性)。本发明实施例中的方案能够简单有效地在多通道上同时传输数据,保证了数据的完整性。 In the implementation of the present invention, since there are more than two channels for data transmission between the OLT and the ONU, when data is transmitted between the OLT and the ONU, more than two channels can be utilized at the same time. The channel transmits data, and since the data is uniformly transmitted in more than two channels, it can be ensured that one end of the received data receives the complete data (ie, it is determined that the data received at the same time (or less than a predetermined time) comes from the same network. The node guarantees the integrity of the received data). The solution in the embodiment of the present invention can simultaneously and efficiently transmit data on multiple channels, thereby ensuring data integrity.

Claims (17)

  1. 一种数据传输方法,包括:A data transmission method includes:
    第一网络节点将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给所述第二网络节点;The first network node sends the first data to be sent to the second network node to the second network node uniformly through two or more channels;
    其中,所述第一网络节点为光纤线路终端OLT,所述第二网络节点为光纤网络单元ONU;或者,所述第一网络节点为ONU,所述第二网络节点为OLT。The first network node is an optical fiber line terminal OLT, and the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node is an OLT.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    所述第一网络节点将待发送给所述第二网络节点的所述第一数据均匀地通过两个以上通道发送给所述第二网络节点包括:所述第一网络节点将待发送给所述第二网络节点的所述第一数据均匀地通过固定的两个以上通道发送给所述第二网络节点。Transmitting, by the first network node, the first data to be sent to the second network node to the second network node by using two or more channels: the first network node is to be sent to the The first data of the second network node is sent to the second network node uniformly through two or more fixed channels.
  3. 根据权利要求1或2所述的方法,其中,所述第一网络节点将待发送给所述第二网络节点的所述第一数据均匀地通过两个以上通道发送给所述第二网络节点包括:The method according to claim 1 or 2, wherein the first network node transmits the first data to be sent to the second network node to the second network node uniformly through two or more channels. include:
    当所述通道包括逻辑通道时,所述第一网络节点将所述第一数据均匀地分割成两份以上的子数据并分别封装成第一数据帧;所述第一网络节点通过所述两个以上逻辑通道将封装后的两个以上的所述第一数据帧发送给所述第二网络节点;When the channel includes a logical channel, the first network node uniformly divides the first data into two or more sub-data and respectively encapsulates into a first data frame; the first network node passes the two And more than one logical channel sends the encapsulated two or more of the first data frames to the second network node;
    当所述通道包括物理通道时,所述第一网络节点将所述第一数据封装成第二数据帧;所述第一网络节点将所述第二数据帧均匀地分割成两份以上的子数据帧;所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧发送给所述第二网络节点。When the channel includes a physical channel, the first network node encapsulates the first data into a second data frame; the first network node evenly divides the second data frame into two or more sub-children a data frame; the first network node sends the two or more sub data frames to the second network node by using the two or more physical channels.
  4. 根据权利要求3所述的方法,其中,所述第一网络节点通过所述两个以上逻辑通道将封装后的两个以上的所述第一数据帧发送给所述第二网络节点包括:The method of claim 3, wherein the transmitting, by the first network node, the encapsulated two or more of the first data frames to the second network node by using the two or more logical channels comprises:
    所述第一网络节点按照预先约定的方式将两个以上的所述第一数据帧分配至所述两个以上逻辑通道中;并且,通过所述两个以上逻辑通道将分配的 两个以上的所述第一数据帧发送给所述第二网络节点;或者,The first network node allocates more than two of the first data frames to the two or more logical channels in a pre-agreed manner; and, through the two or more logical channels Transmitting two or more of the first data frames to the second network node; or
    所述第一网络节点在所述两个以上的所述第一数据帧中添加第一标识信息,其中,所述第一标识信息用于标识所述第一数据帧中携带的子数据在所述第一数据中的位置;将添加了第一标识信息的两个以上的所述第一数据帧分配至所述两个以上逻辑通道中;通过所述两个以上逻辑通道将分配的两个以上的所述第一数据帧发送给所述第二网络节点。The first network node adds the first identifier information to the two or more first data frames, where the first identifier information is used to identify the child data carried in the first data frame. Locating a location in the first data; assigning more than two of the first data frames to which the first identification information is added to the two or more logical channels; two of the two or more logical channels to be allocated The above first data frame is sent to the second network node.
  5. 根据权利要求3所述的方法,其中,所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧发送给所述第二网络节点包括:The method of claim 3, wherein the transmitting, by the first network node, the two or more sub-data frames to the second network node by using the two or more physical channels comprises:
    所述第一网络节点按照预先约定的方式将所述两份以上的子数据帧分配至所述两个以上物理通道中;并且,通过所述两个以上物理通道将分配的所述两份以上的子数据帧发送给所述第二网络节点;或者,The first network node allocates the two or more sub-data frames to the two or more physical channels in a pre-agreed manner; and, the two or more copies to be allocated by the two or more physical channels a sub-data frame is sent to the second network node; or
    所述第一网络节点在所述两份以上的子数据帧中添加第二标识信息,其中,所述第二标识信息用于标识所述子数据帧在所述第一数据所封装成的第二数据帧中的位置;将添加了第二标识信息的所述两份以上的子数据帧分配至所述两个以上物理通道中;通过所述两个以上物理通道将分配的所述两份以上的子数据帧发送给所述第二网络节点。The first network node adds second identification information to the two or more sub-data frames, where the second identification information is used to identify that the sub-data frame is encapsulated in the first data. a location in the two data frames; allocating the two or more sub-data frames to which the second identification information is added to the two or more physical channels; the two copies to be allocated by the two or more physical channels The above sub data frame is sent to the second network node.
  6. 根据权利要求3或5所述的方法,其中,The method according to claim 3 or 5, wherein
    所述第一网络节点将所述第一数据封装成所述第二数据帧包括:所述第一网络节点将所述第一数据封装进所述第二数据帧的净荷部分;Encapsulating the first data into the second data frame by the first network node includes: the first network node encapsulating the first data into a payload portion of the second data frame;
    所述第一网络节点将所述第二数据帧均匀地分割成两份以上的子数据帧包括:所述第一网络节点将所述第二数据帧的净荷部分均匀地分割成两份以上的子数据帧净荷;The first network node uniformly dividing the second data frame into two or more sub data frames includes: the first network node uniformly splits a payload portion of the second data frame into two or more parts Child data frame payload;
    所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧发送给所述第二网络节点包括:所述第一网络节点将所述两份以上的子数据帧净荷封装进所述两个以上物理通道中;所述第一网络节点通过所述两个以上物理通道将所述两份以上的子数据帧净荷发送给所述第二网络节点,并通过如下方式至少之一告知所述第二网络节点所述物理通道中的所述子数据帧净荷的起始位置: Sending, by the first network node, the two or more sub data frames to the second network node by using the two or more physical channels, that: the first network node, the two or more sub data frames The payload is encapsulated into the two or more physical channels; the first network node sends the two or more sub-data frame payloads to the second network node through the two or more physical channels, and passes At least one of the following manners is to inform the second network node of the starting position of the sub-data frame payload in the physical channel:
    所述第一网络节点在所述两个以上物理通道的帧起始位置插入帧头,其中,所述帧头用于标识所述物理通道中的所述子数据帧净荷的起始位置;The first network node inserts a frame header at a frame start position of the two or more physical channels, where the frame header is used to identify a start position of the sub data frame payload in the physical channel;
    所述第一网络节点与所述第二网络节点约定所述物理通道中的所述子数据帧净荷的起始位置;The first network node and the second network node stipulate a starting position of the payload of the sub-data frame in the physical channel;
    所述第一网络节点与所述第二网络节点约定或者通知所述第二网络节点所述物理通道中的所述子数据帧净荷的起始位置与所述第一网络节点之前向所述第二网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同,其中,所述第一网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,所述帧头用于标识所述物理通道中的子数据帧净荷的起始位置。The first network node and the second network node agree or notify the second network node that the starting position of the sub-data frame payload in the physical channel is forwarded to the first network node The start position of the sub data frame payload in the physical channel when the second network node performs data transmission is the same, wherein the first network node periodically inserts a frame header at a frame start position of two or more physical channels. The frame header is used to identify a starting position of a sub data frame payload in the physical channel.
  7. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    所述第一网络节点通过两个以上通道接收来自所述第二网络节点的第二数据,其中,所述第二数据在所述两个以上通道中均匀发送。The first network node receives second data from the second network node through two or more channels, wherein the second data is uniformly transmitted in the two or more channels.
  8. 根据权利要求7所述的方法,其中:The method of claim 7 wherein:
    所述第一网络节点通过两个以上通道接收来自所述第二网络节点的所述第二数据包括:Receiving, by the first network node, the second data from the second network node by using two or more channels includes:
    所述第一网络节点通过固定的两个以上通道接收来自所述第二网络节点的所述第二数据。The first network node receives the second data from the second network node through two or more fixed channels.
  9. 根据权利要求7或8所述的方法,其中,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的所述第二数据包括:The method according to claim 7 or 8, wherein the receiving, by the first network node, the second data from the second network node by using the two or more channels comprises:
    当所述通道包括逻辑通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两个以上的第三数据帧;所述第一网络节点确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置,并根据确定的位置把每份子数据组装后得到所述第二数据;When the channel includes a logical channel, the first network node receives more than two third data frames from the second network node through the two or more channels; the first network node determines the two Positions of the sub-data included in the third data frame in the second data, and assembling the sub-data according to the determined position to obtain the second data;
    当所述通道包括物理通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两份以上的子数据帧,其中,所述子数据帧为所述第二数据封装成的第四数据帧的一部分;所述第一网络节点确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置,并根据确 定的位置把每份子数据帧组装后得到所述第二数据封装成的第四数据帧;所述第一网络节点从所述第二数据封装成的第四数据帧中获取所述第二数据。When the channel includes a physical channel, the first network node receives more than two sub-data frames from the second network node by using the two or more channels, where the sub-data frame is the a part of the fourth data frame encapsulated by the second data; the first network node determines a position of the two or more sub data frames in a fourth data frame encapsulated by the second data, and according to Positioning each sub-data frame to obtain a fourth data frame encapsulated by the second data; the first network node acquiring the second data from a fourth data frame encapsulated by the second data .
  10. 根据权利要求9所述的方法,其中,所述第一网络节点确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置包括:The method according to claim 9, wherein the determining, by the first network node, the location of the subdata included in the two or more third data frames in the second data comprises:
    所述第一网络节点按照预先约定的方式确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置;或者,Determining, by the first network node, a location of the sub data included in the two or more third data frames in the second data according to a pre-agreed manner; or
    所述第一网络节点获取所述两个以上的第三数据帧中携带的第三标识信息;所述第一网络节点根据所述第三标识信息确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置。Determining, by the first network node, third identifier information carried in the two or more third data frames; the first network node determining, according to the third identifier information, the two or more third data frames The location of the included subdata in the second data.
  11. 根据权利要求9所述的方法,其中,所述第一网络节点确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置包括:The method of claim 9, wherein the determining, by the first network node, the location of the two or more sub-data frames in the fourth data frame encapsulated by the second data comprises:
    所述第一网络节点按照预先约定的方式确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置;或者,Determining, by the first network node, a position of the two or more sub data frames in a fourth data frame encapsulated by the second data according to a pre-agreed manner; or
    所述第一网络节点获取所述两份以上的子数据帧中携带的第四标识信息;所述第一网络节点根据所述第四标识信息确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置。Determining, by the first network node, fourth identifier information carried in the two or more sub-data frames; the first network node determining, according to the fourth identifier information, that the two or more sub-data frames are in the The second data is encapsulated into a location in a fourth data frame.
  12. 根据权利要求9或11所述的方法,其中,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两份以上的子数据帧包括:The method according to claim 9 or 11, wherein the receiving, by the first network node, two or more sub-data frames from the second network node by using the two or more channels comprises:
    所述第一网络节点通过如下方式至少之一确定所述两个以上通道中的子数据帧净荷的起始位置:根据所述两个以上通道的帧起始位置中插入的用于确定所述两个以上通道中的子数据帧净荷的起始位置的帧头的方式;通过与所述第二网络节点约定所述物理通道中的所述子数据帧净荷的起始位置的方式;通过与所述第二网络节点约定或者由所述第二网络节点通知所述物理通道中的所述子数据帧净荷的起始位置与所述第二网络节点之前向所述第一网络节点进行数据传输时的物理通道中的子数据帧净荷的起始位置相同的方式,其中,所述第二网络节点周期性地在两个以上物理通道的帧起始位置插入帧头,其中,所述帧头用于标识所述物理通道中的子数据帧净荷的起始位置; Determining, by the at least one of the two or more channels, a starting position of a sub data frame payload in the first network node by: inserting, in the frame start position of the two or more channels, a determining location Means of a frame header of a start position of a sub-data frame payload in two or more channels; a manner of arranging a start position of the sub-data frame payload in the physical channel with the second network node By initiating with the second network node or by the second network node notifying the start location of the sub-data frame payload in the physical channel and the second network node before the first network a manner in which a start position of a sub data frame payload in a physical channel when a node performs data transmission is the same, wherein the second network node periodically inserts a frame header at a frame start position of two or more physical channels, where The frame header is used to identify a starting position of a sub data frame payload in the physical channel;
    根据确定的所述两个以上通道中的子数据帧净荷的起始位置从所述两个以上通道中确定来自所述第二网络节点的两份以上的子数据帧净荷。Determining more than two sub-data frame payloads from the second network node from the two or more channels based on the determined starting position of the sub-data frame payload in the two or more channels.
  13. 一种数据传输方法,包括:A data transmission method includes:
    第一网络节点通过两个以上通道接收来自第二网络节点的第二数据,其中,所述第二数据在所述两个以上通道中均匀发送;The first network node receives the second data from the second network node through the two or more channels, wherein the second data is uniformly transmitted in the two or more channels;
    其中,所述第一网络节点为光纤线路终端OLT,所述第二网络节点为光纤网络单元ONU;或者,所述第一网络节点为ONU,所述第二网络节点为OLT。The first network node is an optical fiber line terminal OLT, and the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node is an OLT.
  14. 根据权利要求13所述的方法,其中:The method of claim 13 wherein:
    所述第一网络节点通过两个以上通道接收来自所述第二网络节点的所述第二数据包括:Receiving, by the first network node, the second data from the second network node by using two or more channels includes:
    所述第一网络节点通过固定的两个以上通道接收来自所述第二网络节点的所述第二数据。The first network node receives the second data from the second network node through two or more fixed channels.
  15. 根据权利要求13或14所述的方法,其中,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的所述第二数据包括:The method according to claim 13 or 14, wherein the receiving, by the first network node, the second data from the second network node by using the two or more channels comprises:
    当所述通道包括逻辑通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两个以上的第三数据帧;所述第一网络节点确定所述两个以上的第三数据帧中包含的子数据在所述第二数据中的位置,并根据确定的位置把每份子数据组装后得到所述第二数据;When the channel includes a logical channel, the first network node receives more than two third data frames from the second network node through the two or more channels; the first network node determines the two Positions of the sub-data included in the third data frame in the second data, and assembling the sub-data according to the determined position to obtain the second data;
    当所述通道包括物理通道时,所述第一网络节点通过所述两个以上通道接收来自所述第二网络节点的两份以上的子数据帧,其中,所述子数据帧为所述第二数据封装成的第四数据帧的一部分;所述第一网络节点确定所述两份以上的子数据帧在所述第二数据封装成的第四数据帧中的位置,并根据确定的位置把每份子数据帧组装后得到所述第二数据封装成的第四数据帧;所述第一网络节点从所述第二数据封装成的第四数据帧中获取所述第二数据。When the channel includes a physical channel, the first network node receives more than two sub-data frames from the second network node by using the two or more channels, where the sub-data frame is the a portion of the fourth data frame encapsulated by the second data; the first network node determining a location of the two or more sub data frames in a fourth data frame encapsulated by the second data, and according to the determined location And assembling, by each sub-data frame, a fourth data frame encapsulated by the second data; the first network node acquiring the second data from a fourth data frame encapsulated by the second data.
  16. 一种数据传输装置,应用于第一网络节点中,包括:A data transmission device is applied to a first network node, including:
    发送模块,设置为将待发送给第二网络节点的第一数据均匀地通过两个以上通道发送给所述第二网络节点; a sending module, configured to send the first data to be sent to the second network node to the second network node through two or more channels uniformly;
    其中,所述第一网络节点为光纤线路终端OLT,所述第二网络节点为光纤网络单元ONU;或者,所述第一网络节点为ONU,所述第二网络节点为OLT。The first network node is an optical fiber line terminal OLT, and the second network node is a fiber network unit ONU; or the first network node is an ONU, and the second network node is an OLT.
  17. 根据权利要求16所述的装置,还包括:The apparatus of claim 16 further comprising:
    接收模块,设置为通过两个以上通道接收来自第二网络节点的第二数据,其中,所述第二数据在所述两个以上通道中均匀发送。 The receiving module is configured to receive second data from the second network node through the two or more channels, wherein the second data is uniformly transmitted in the two or more channels.
PCT/CN2017/077907 2016-05-12 2017-03-23 Data transmission method and device WO2017193711A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610316620.5 2016-05-12
CN201610316620.5A CN107370688B (en) 2016-05-12 2016-05-12 Data transmission method and device

Publications (1)

Publication Number Publication Date
WO2017193711A1 true WO2017193711A1 (en) 2017-11-16

Family

ID=60266209

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077907 WO2017193711A1 (en) 2016-05-12 2017-03-23 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN107370688B (en)
WO (1) WO2017193711A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637112A (en) * 2019-10-09 2021-04-09 中兴通讯股份有限公司 Multichannel data transmission method, multichannel data assembly method, multichannel data transmission device, multichannel data assembly medium, and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322773B (en) * 2018-02-01 2020-05-05 安徽创世科技股份有限公司 Self-adaptive network bandwidth real-time data stream transmission method based on multi-card binding
CN110943935B (en) * 2018-09-25 2023-05-19 华为技术有限公司 Method, device and system for realizing data transmission

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980109A (en) * 2005-12-02 2007-06-13 北京邮电大学 Whole-business accessing method and WDM passive light network system
CN102497228A (en) * 2011-12-08 2012-06-13 上海市共进通信技术有限公司 Method for realizing dynamic multichannel OMCI (ONT (Optical Network Terminal) Management and Control Interface) information transmission between OLT (Optical Line Terminal) and ONU (Optical Network Unit) in PON (Passive Optical Network) system
CN103220588A (en) * 2012-01-18 2013-07-24 中兴通讯股份有限公司 Registration method and registration system of optical network unit (ONU)
CN103856836A (en) * 2012-11-29 2014-06-11 中兴通讯股份有限公司 Method for sending user data in passive optical network (PON), method for receiving user data in PON, system for sending and receiving user data in PON, and equipment
US20140270779A1 (en) * 2013-03-14 2014-09-18 Electronics And Telecommunications Research Institute Wavelength selection and configuration method for multi-wavelength optical communication system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7362704B2 (en) * 2003-09-15 2008-04-22 Teknovus, Inc. Method and apparatus for dynamically allocating upstream bandwidth in passive optical networks
CN104753701A (en) * 2013-12-27 2015-07-01 中兴通讯股份有限公司 Data processing method, device and system for optical network unit (ONU)
CN107302397B (en) * 2016-04-14 2019-11-15 中兴通讯股份有限公司 Passive optical network framework and its method and optical network device for realizing data transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1980109A (en) * 2005-12-02 2007-06-13 北京邮电大学 Whole-business accessing method and WDM passive light network system
CN102497228A (en) * 2011-12-08 2012-06-13 上海市共进通信技术有限公司 Method for realizing dynamic multichannel OMCI (ONT (Optical Network Terminal) Management and Control Interface) information transmission between OLT (Optical Line Terminal) and ONU (Optical Network Unit) in PON (Passive Optical Network) system
CN103220588A (en) * 2012-01-18 2013-07-24 中兴通讯股份有限公司 Registration method and registration system of optical network unit (ONU)
CN103856836A (en) * 2012-11-29 2014-06-11 中兴通讯股份有限公司 Method for sending user data in passive optical network (PON), method for receiving user data in PON, system for sending and receiving user data in PON, and equipment
US20140270779A1 (en) * 2013-03-14 2014-09-18 Electronics And Telecommunications Research Institute Wavelength selection and configuration method for multi-wavelength optical communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637112A (en) * 2019-10-09 2021-04-09 中兴通讯股份有限公司 Multichannel data transmission method, multichannel data assembly method, multichannel data transmission device, multichannel data assembly medium, and electronic device

Also Published As

Publication number Publication date
CN107370688A (en) 2017-11-21
CN107370688B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
CN109302372A (en) A kind of communication means, equipment and storage medium
US8929396B2 (en) Ethernet media access control organization specific extension
JP2004112803A (en) Oam function discovery method in ethernet (r) passive optical subscriber network
JP2004187302A (en) Method of allocating bandwidth for voice service of gigabit ethernet (r) passive optical subscriber network
WO2017193711A1 (en) Data transmission method and device
CN112492409B (en) Service configuration method and device
US11438098B2 (en) Data transmission method, sending apparatus, and receiving apparatus
CN104581446B (en) The method and apparatus that direct communication between base stations are supported in PON system
KR20180044378A (en) Passive optical network communication method, apparatus, and system
WO2019114544A1 (en) Data transport method, device and system
WO2017177549A1 (en) Passive optical network architecture, method for passive optical network architecture to implement data transmission, and optical network device
US10798472B2 (en) Data transmission method, data receiving method, optical line terminal and optical network unit
US11412508B2 (en) Data transmission method and device
US8619590B2 (en) Method for transmitting OAM message and processing error in PON system
EP3537673A1 (en) Data sending and receiving method and device, onu, and olt
WO2009000194A1 (en) Bandwidth allocation method, system and apparatus in optical network
CN101959091B (en) Data transmission method, system and operator fringe node
TWI474682B (en) System and method for applying an extended multipoint protocol to wireless access systems
WO2019085809A1 (en) Method, relevant device and system for acquiring a target transmission path
WO2017215438A1 (en) Service activating method, device and system, and storage medium
WO2010048791A1 (en) Method and apparatus for transmitting physical layer operations administration and maintenance message
CN108574530A (en) Data sending, receiving method and device and multichannel EPON system
WO2017028623A1 (en) Method and device for channel configuration
US20220217456A1 (en) Method, device and computer readable storage medium implemented in an optical network
WO2022267543A1 (en) Data frame fragmentation method, data frame parsing method and related device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17795329

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17795329

Country of ref document: EP

Kind code of ref document: A1