Multi-channel downlink superframe sending method, assembling method, device, medium and electronic equipment

By sending frame header data units on only one channel in a passive optical network and indicating the starting position of other channels through the frame header, the problem of low data efficiency in multi-channel data transmission is solved, and higher data transmission is achieved efficiency.

CN118945240APending Publication Date: 2024-11-12ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410964674.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2019-10-09
Filing Date
2019-10-10
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In passive optical networks, when multi-channel data transmission, the data efficiency is low due to the addition of frame headers on each channel, and the prior art is difficult to effectively improve channel capacity and peak rate.

Method used

The multi-channel data transmission method is adopted to transmit the frame header data unit only on one channel, and the starting transmission position of other channels is indicated in the frame header data unit to improve the efficiency of the data packet.

Benefits of technology

By reducing the repeated addition of frame headers, the efficiency of data transmission is improved, especially in multi-channel cases, data efficiency is significantly improved, for example, in dual-channel or quad-channel transmission compared to traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945240A_ABST
    Figure CN118945240A_ABST
Patent Text Reader

Abstract

The invention provides a multi-channel downlink superframe sending method, a downlink superframe comprises a physical synchronization block, and the method comprises the step of synchronously sending the physical synchronization block in each channel. The invention further provides an assembling method of the multi-channel downlink superframe, a transmitting device of the multi-channel downlink superframe, an assembling device of the multi-channel downlink superframe, a computer readable storage medium and electronic equipment. When the multi-channel downlink superframe sending method is used for sending information, the data efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This case is an application with application number "201910960282.2" and application date "October 2019

[0002] On the 10th, a divisional application for an invention patent application entitled “Multi-channel data transmission method, assembly method, device, medium, and electronic device” was filed. Technical Field

[0003] The present disclosure relates to the field of communications, and in particular, to a multi-channel data sending method, a multi-channel data assembling method, a multi-channel downlink superframe sending method, a multi-channel downlink superframe assembling method, a multi-channel data sending device, a multi-channel data receiving device, a computer-readable storage medium and an electronic device. Background Art

[0004] In the data transmission standards of passive optical networks, the focus of discussion is on the issue of multi-channel binding to increase channel capacity and peak rate. Specifically, when transmitting information, the data of the information is mostly distributed on different channels. However, when transmitting data according to the current transmission standards, the problem of low data efficiency is brought about. Summary of the invention

[0005] The purpose of the present disclosure is to provide a multi-channel data transmission method, a multi-channel data assembly method, a multi-channel downlink superframe transmission method, a multi-channel downlink superframe assembly method, a multi-channel data transmission device, a multi-channel data receiving device, a computer-readable storage medium and an electronic device. When information is sent using the multi-channel data transmission method, data efficiency can be improved.

[0006] In order to achieve the above object, as one aspect of the present disclosure, a multi-channel data transmission method for a passive optical network is provided, comprising:

[0007] Sending multiple data units of a data packet, the multiple data units including a frame header data unit and multiple pure data units, wherein sending the frame header data unit in the multiple data units includes:

[0008] A frame header data unit is sent on one of the multiple channels, wherein the frame header data unit indicates an identifier of the channel used to send the data unit and a start sending position of the channel used to send the data unit.

[0009] Optionally, the starting sending position of the channel for sending data indicated in the frame header data unit includes the starting sending positions of other channels for sending data except the channel for sending the frame header data unit.

[0010] Optionally, the multi-channel data sending method further comprises, before the step of sending the multiple data units of the data packet:

[0011] Get the starting sending position of each channel;

[0012] In the step of sending multiple data units of a data packet, when sending each data unit:

[0013] The channel with the earliest starting sending position among the multiple channels is used as the channel for sending the data unit.

[0014] Optionally, when there are multiple earliest starting sending positions among multiple channels, in the step of using the channel with the earliest starting sending position among the multiple channels as the channel for sending the data unit, a channel whose channel identifier conforms to a predetermined rule is selected as the channel for sending the corresponding data unit.

[0015] Optionally, in the step of sending multiple data units of the data packet, the frame header data unit is sent first, and then each pure data unit is sent.

[0016] Optionally, the multi-channel data sending method further comprises, before the step of sending the multiple data units of the data packet:

[0017] Preprocess the information segment to be sent to obtain a data packet, including:

[0018] Forming an initial frame header according to a channel for sending a frame header data unit and each channel for sending a data unit;

[0019] Calculate the difference between the starting sending position of each channel for sending the data unit and the starting sending position of the channel for sending the frame header data unit;

[0020] Adding relevant initial data to the initial frame to generate a frame header data unit, wherein the relevant initial data includes the difference value obtained by calculation and the identifier of each channel used to send data to generate the frame header data unit.

[0021] Optionally, the relevant initial data also includes information of channels that are not used to send data.

[0022] Optionally, the step of preprocessing the information segment to be sent to obtain a data packet further includes:

[0023] The information segment to be sent is divided into a plurality of the pure data units.

[0024] Optionally, when the difference between the starting sending position of the channel for sending the frame header data unit and the starting sending position of other channels for sending data except the channel for sending the frame header data unit is not less than a preset value, the multi-channel data sending method further includes:

[0025] Dividing the information to be sent into a plurality of information segments;

[0026] Processing multiple information segments into multiple data packets; wherein, when sending the data packets, the multiple data packets are sent sequentially.

[0027] As a second aspect of the present disclosure, a multi-channel data assembly method is provided, comprising:

[0028] A plurality of data units of a data packet are received, wherein the plurality of data units include a frame header data unit and a plurality of pure data units, wherein the frame header data unit indicates an identifier of a channel for sending data and a starting sending position of the channel for sending the data unit.

[0029] Optionally, the multi-channel data assembly method further comprises, before the step of receiving a plurality of data units of a data packet:

[0030] Get the starting receiving position of each channel;

[0031] In the step of receiving multiple data units of the data packet, when receiving each data unit, the channel with the earliest start receiving position among the multiple channels is used as the channel for receiving the data unit.

[0032] Optionally, when there are multiple currently earliest starting receiving positions among multiple channels, in the step of using the channel with the earliest starting receiving position among the multiple channels as the channel for receiving the data unit, a channel whose channel identifier conforms to a predetermined rule is selected as the channel for receiving the corresponding data unit.

[0033] Optionally, the frame header data unit is received first, and then each pure data unit is received.

[0034] Optionally, the step of receiving a plurality of data units of a data packet comprises:

[0035] Receive frame header data unit;

[0036] Parsing the frame header data unit to obtain the start sending position of each channel, and using the start sending position of each channel as the start receiving position of the corresponding channel;

[0037] According to the time sequence of the start receiving positions of each channel, pure data units are obtained in each channel;

[0038] The multi-channel data assembly method also includes:

[0039] Sort the received pure data units in the order they are received.

[0040] As a third aspect of the present disclosure, a multi-channel downlink superframe sending method is provided, wherein the information domain of the downlink superframe includes an XGEM frame, and the downlink superframe sending method includes:

[0041] The multi-channel data sending method provided by the present disclosure is used to send an XGEM frame, wherein the XGEM frame includes a frame header data unit and a plurality of pure data units.

[0042] Optionally, the downlink superframe further includes a physical synchronization block PSBd and a physical frame information field, the physical frame information field includes the XGEM frame, the physical frame information field includes a downlink XGTC frame, the downlink XGTC frame includes a bandwidth allocation map BWmap and physical layer operation and maintenance management information PLOAMd, and the downlink superframe sending method further includes the following steps before sending the XGEM frame:

[0043] Synchronously sending the physical synchronization blocks in each channel;

[0044] Sending the BWmap in each channel;

[0045] The PLOAMd is sent in each channel.

[0046] Optionally, in the step of sending the BWmap in each channel, the BWmap on each channel only sends bandwidth allocation related to the channel.

[0047] Optionally, the PLOAMd includes a broadcast PLOAM message and a unicast PLOAM message, wherein:

[0048] In the step of sending the PLOAMd in each channel:

[0049] Sending the broadcast PLOAM message on each channel;

[0050] Among the channels supported by the optical network unit ONU, a channel with the earliest start sending position is selected to send the unicast PLOAM message.

[0051] Optionally, when sending the unicast PLOAM message, when the channels supported by the ONU include multiple channels with the earliest start sending positions, a channel with a predetermined rule of channel identifiers is selected as the channel for sending the unicast PLOAM message.

[0052] As a fourth aspect of the present disclosure, a method for assembling a multi-channel downlink superframe is provided, wherein the information domain of the downlink superframe includes an XGEM frame, and the method for assembling the multi-channel downlink superframe includes:

[0053] The XGEM frame is received using the multi-channel data assembly method provided by the present disclosure, wherein the XGEM frame includes a frame header data unit and a plurality of pure data units.

[0054] As a fifth aspect of the present disclosure, a multi-channel data sending device is provided, wherein the multi-channel data sending device includes a sending module, the sending module is used to send a data packet, the data packet includes a plurality of data units, the plurality of data units include a frame header data unit and a plurality of pure data units, the sending module is used to send the plurality of data units, wherein:

[0055] The sending module is used to send a frame header data unit on one channel among multiple channels, wherein the frame header data unit indicates an identifier of the channel used to send the data unit and a starting sending position of the channel used to send the data unit.

[0056] As a sixth aspect of the present disclosure, a multi-channel data assembling device for a passive optical network is provided, wherein the multi-channel data receiving device includes a receiving module, the receiving module is used to receive a data packet, the data packet includes multiple data units, the multiple data units include a frame header data unit and multiple pure data units, the receiving module is used to receive the multiple data units, wherein the frame header data unit indicates an identifier of a channel for sending data, and a starting sending position of the channel for sending the data unit.

[0057] As a seventh aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an executable program.

[0058] When the executable program is executed, the multi-channel data sending method can be executed; or, when the executable program is executed, the multi-channel data assembling method can be executed.

[0059] As an eighth aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0060] one or more processors;

[0061] A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more programs cause:

[0062] The one or more processors implement the multi-channel data sending method; or the one or more processors implement the multi-channel data assembling method.

[0063] When using the multi-channel data sending method provided by the present invention to send information (the information here can be a piece of text, a picture, an email, etc.), each data packet only includes a frame header data unit, that is, a frame header is added only on one channel among multiple channels for transmitting data, instead of adding a frame header on each channel as in the related art, thereby improving the data efficiency when transmitting data. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention. In the accompanying drawings:

[0065] Figure 1 is a flow chart of the multi-channel data sending method provided by the present disclosure;

[0066] Figure 2 This is a schematic diagram of the first frame format in the multi-channel data sending method provided by the present disclosure;

[0067] Figure 3 This is a schematic diagram of the second frame format in the multi-channel data sending method provided by the present disclosure;

[0068] Figure 4 This is a schematic diagram of the third frame format in the multi-channel data sending method provided by the present disclosure;

[0069] Figure 5 This is a schematic diagram of the fourth frame format in the multi-channel data sending method provided by the present disclosure;

[0070] Figure 6 This is a schematic diagram of the fifth frame format in the multi-channel data sending method provided by the present disclosure;

[0071] Figure 7 is a flow chart of the multi-channel data assembly method provided by the present disclosure;

[0072] Figure 8 It is a flowchart of a downlink superframe sending method provided by the present disclosure;

[0073] Fig. 9 It is a data structure diagram of the downlink superframe sending method provided by the present disclosure;

[0074] Fig.10 It is a schematic diagram of the data structure of PSBd;

[0075] Fig.11 is a schematic diagram of the data structure after the peer block is inserted into the downlink PHY frame;

[0076] Fig.12It is a schematic diagram of the data structure of a downlink XGTC frame;

[0077] Fig.13 It is a schematic diagram of the data structure of the XGTC information domain;

[0078] Fig.14 It is a data structure diagram of the uplink superframe sending method provided by the present disclosure;

[0079] Fig.15 It is a diagram of the data structure of PSBu;

[0080] Fig.16 is a schematic diagram of the uplink transmission data structure after the FEC peer block is inserted;

[0081] Fig.17 It is a schematic diagram of the data structure of the uplink XGTC frame;

[0082] Fig.18 It is a schematic diagram of the data structure of the improved uplink XGTC frame;

[0083] Fig.19 It is a module schematic diagram of the multi-channel data sending device provided by the present disclosure;

[0084] Fig. 20 It is a module schematic diagram of the multi-channel data assembly device provided by the present disclosure. DETAILED DESCRIPTION

[0085] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0086] The inventor of the present disclosure has found that the reason why the data rate is low when sending data is that when sending information formed by data through multiple channels, after dividing the information into multiple data units, a frame header needs to be added on each channel. For example, when the length of the data to be sent is 64 bytes, if it is sent on a single channel, plus an 8-byte frame header, the data efficiency is 88.98%, if it is sent on two channels, plus the frame headers on the two channels, the data efficiency is 80%, and if it is sent on four channels, plus the frame headers on the four channels, the data efficiency is 66.7%. This leads to low data efficiency when transmitting data through multiple channels.

[0087] In view of this, as one aspect of the present disclosure, a multi-channel data transmission method for a passive optical network is provided, such as Figure 1 As shown in , the multi-channel data sending method includes:

[0088] In step S130, multiple data units of the data packet are sent, the multiple data units include a frame header data unit and multiple pure data units, wherein sending the frame header data unit in the multiple data units includes:

[0089] A frame header data unit is sent on one of the multiple channels, wherein the frame header data unit indicates an identifier of the channel used to send the data unit and a start sending position of the channel used to send the data unit.

[0090] It should be noted that the multi-channel data transmission method provided by the present disclosure is used for the transmitting end. When using the multi-channel data transmission method provided by the present disclosure to send information (the information here can be a paragraph of text, a picture, an email, etc.), each data packet includes only one frame header data unit, that is, the frame header is added only on one channel among the multiple channels for transmitting data, instead of adding the frame header on each channel as in the related art, thereby improving the data efficiency when transmitting data.

[0091] For example, when the length of the data to be sent is 64 bytes, if it is sent on dual channels, plus an 8-byte frame header, the data efficiency is still 88.98%, which is a considerable improvement over 80% in the related art. When the length of the data to be sent is 64 bytes, if it is sent on four channels, plus an 8-byte frame header, the data efficiency is still 88.98%, which is a more significant improvement over 66.7% in the related art.

[0092] Since the frame header data unit contains an identifier for indicating the channel for sending the data unit and the starting sending position of the channel for sending the data unit, the receiving end can parse the frame header unit when receiving data to obtain information about other channels for sending data units, and assemble the data units sent by each channel according to the parsed information, so as to obtain correct information.

[0093] In the present disclosure, there is no special limitation on the type of network using the multi-channel data transmission method. For example, the multi-channel data transmission method provided by the present disclosure can be used in a passive optical network (PON, Passive Optical Network).

[0094] In the present disclosure, the channel identifier is any unique symbol that can represent the identity of the channel. For example, the channel identifier can be the channel number. When the channel number is 1#, the channel identifier indicated in the frame header data unit can be 1#. Specifically, in Figure 2 In the illustrated embodiment, the channels arranged from top to bottom are numbered 1#, 2#, 3#, and 4#, respectively.

[0095] In order to reduce the size of the frame header data unit, optionally, the starting sending position of the channel for sending data indicated in the frame header data unit includes: the starting sending position of other channels for sending data except the channel for sending the frame header data unit.

[0096] In the present disclosure, there is no special limitation on how to determine the starting position of each data unit. In order to shorten the overall time of sending data packets, optionally, the multi-channel data sending method further includes the following steps performed before step S130:

[0097] In step S110 , the starting sending position of each channel is obtained.

[0098] Accordingly, in step S130, when each data unit is sent:

[0099] The channel with the earliest starting sending position among the multiple channels is used as the channel for sending the data unit.

[0100] Currently, if there is an earliest start sending position in the multiple channels, the current data unit is sent using the start sending position.

[0101] For example, at a certain stage, among channels 1#, 2#, 3#, and 4#, the channel with the earliest starting transmission position is channel 1#, so the data unit to be transmitted currently is transmitted using channel 1#.

[0102] Currently, if there are multiple earliest starting sending positions among multiple channels, in the step of using the channel with the earliest starting sending position among the multiple channels as the channel for sending the data unit, a channel whose channel identifier meets a predetermined rule is selected as the channel for sending the corresponding data unit.

[0103] For example, at a certain stage, among channels 1#, 2#, 3#, and 4#, the channels with the earliest starting transmission positions are channels 1# and 2#. Then, it is necessary to select a channel whose channel identifier meets the predetermined rule from channels 1# and 2# to send the corresponding data unit.

[0104] In the present disclosure, the predetermined rule is not particularly limited. For example, when the channel identifier is the channel number, the predetermined rule may be the channel with the smallest channel number. Then, channel 1# may be selected as the channel for sending the current data unit. When the predetermined rule is the channel with the largest channel number, channel 2# may be selected as the channel for sending the current data unit.

[0105] In order to enable the receiving end to assemble the data units quickly and correctly, optionally, the frame header data unit may be sent first and then each pure data unit may be sent.

[0106] The above steps can be used to determine the channel for sending the frame header unit without any special limitation. As an optional implementation, the frame header unit can be sent using the channel with the earliest starting transmission position. That is, when sending data, the frame header unit is sent first. Accordingly, the first thing received by the receiving end is the frame header unit. By parsing the frame header unit, the data sent subsequently can be obtained and assembled to obtain complete information.

[0107] It should be noted that if there is a channel with the earliest starting transmission position among multiple channels, this channel will be used as the channel for sending the frame header data unit.

[0108] When there are multiple earliest start sending positions in multiple channels, a channel whose channel identifier meets a predetermined rule is selected as a channel for sending the frame header data unit.

[0109] As described above, in the implementation manner where the channel identifier is a channel number, the predetermined rule may be the channel with the smallest channel number, or the predetermined rule may also be the channel with the largest channel number.

[0110] In the present disclosure, similar to sending a frame header unit, when sending a pure data unit, if there is only one earliest start sending position, the earliest start sending position is used as the sending position for sending the current pure data unit.

[0111] When there are multiple earliest start sending positions, a channel whose channel identifier meets the predetermined rule is selected as the channel for sending the pure data unit.

[0112] Before sending a data packet, it is first necessary to determine the data included in the frame header data unit. Specifically, the multi-channel data sending method may also include the following steps before step S130:

[0113] In step S120, the information segment to be sent is preprocessed to obtain a data packet, including:

[0114] In step S121, an initial frame header is formed according to a channel for sending a frame header data unit and each channel for sending a data unit;

[0115] In step S122, the difference between the starting sending position of each channel for sending the data unit and the starting sending position of the channel for sending the frame header data unit is calculated;

[0116] In step S123, relevant initial data is added to the initial frame to generate a frame header data unit, wherein the relevant initial data includes the calculated difference value and the identifier of each channel used to send data to generate the frame header data unit.

[0117] It should be noted that not all channels are used to send data. In order to facilitate the receiving end to quickly assemble data, optionally, the relevant initial data also includes information about channels that are not used to send data units.

[0118] The information may include a channel identifier of a channel that is not used to send a data unit, and a corresponding no-data flag (eg, may be 0x3F).

[0119] As described above, pure data units may be assembled into information segments. Optionally, step S120 may further include:

[0120] The information segment to be sent is divided into a plurality of the pure data units.

[0121] Of course, when the information segment is divided, if the amount of data remaining is not enough to form a data unit, it can be padded to form a complete data unit.

[0122] The information to be sent may be sent in one data packet or in multiple data packets.

[0123] In order to improve the efficiency of assembling data at the receiving end, optionally, when the difference between the starting sending position of the channel for sending the frame header data unit and the starting sending position of other channels for sending data except the channel for sending the frame header data unit is not less than a preset value, the multi-channel data sending method further includes:

[0124] Dividing the information to be sent into a plurality of information segments;

[0125] Processing multiple information segments into multiple data packets; wherein, when sending the data packets, the multiple data packets are sent sequentially.

[0126] Combine the following Figures 2 to 6 Various implementations of the multi-channel data sending method provided by the present disclosure are introduced in detail.

[0127] The present disclosure does not impose any special restrictions on the frame header format, and it is sufficient to carry at least the above information. Figure 2 In the implementation manner shown in , the format of the frame header is a frame header in the XGEM frame format. Specifically, as Figures 2 to 6 As shown in the figure, in the frame header XGEMheader, PLI records the length of the transmitted data, and the option field of the frame header is divided into three parts, each with 6 bits. These three parts are used to identify the difference between the starting transmission position of each channel and the starting transmission position of the channel that sends the frame header data unit.

[0128] exist Figures 2 to 6In the implementation shown in , the channel identifiers are channel numbers, and the channels arranged from top to bottom are numbered 1#, 2#, 3#, and 4#, respectively.

[0129] Through detection, it can be known that channel 4# is the channel with the frontmost starting sending position. The difference between the starting sending position on channel 1# and the starting sending position of channel 4# is 8 data units; the difference between the starting sending position of channel 2# and the starting sending position of channel 4# is 8 data units; the difference between the starting sending position of channel 3# and the starting sending position of channel 4# is 7 data units.

[0130] H represents the frame header data unit, "1" represents the pure data unit 1, "2" represents the pure data unit 2, and so on.

[0131] The information of the frame header data unit H includes PLI, Keyindex, Options, LF, and HEC.

[0132] The data carried by PLI indicates the length of the original data, and the difference between the starting sending position of the channel that sends the frame header and the starting sending position of each data channel is written into the options field. As an optional implementation, the options field is divided into N-1 parts, and these N-1 parts can be represented by P1, P2...PN-1 respectively. In the present disclosure, there is no special limitation on the mapping relationship between the various parts of the options field and the various channels. For example, P1 to PN-1 can respectively represent the difference between the starting sending position of each channel that sends pure data packets and the starting sending position of the channel that sends the frame header data unit, which are arranged in sequence according to the channel sequence number.

[0133] For example, if the frame header data unit is sent on channel 1#, then P1 represents the difference between the starting sending position of channel 2# and the starting sending position of channel 1#, P2 represents the difference between the starting sending position of channel 3# and the starting sending position of channel 1#, and P3 represents the difference between the starting sending position of channel 4# and the starting sending position of channel 1#. Similarly, if the frame header data unit is sent on channel 2#, then P1 represents the difference between the starting sending position of channel 1# and the starting sending position of channel 2#, P2 represents the difference between the starting sending position of channel 3# and the starting sending position of channel 2#, and P3 represents the difference between the starting sending position of channel 4# and the starting sending position of channel 2#. And so on, and no exhaustive list is given here.

[0134] In order to make the frame header carry more information, the option field can be divided into N parts P1 to PN corresponding to N channels. The correspondence between each part of the option field and each channel is fixed. P1 corresponds to the difference between the starting sending position of channel 1# and the starting sending position of the channel that sends the frame header data unit; P2 corresponds to the difference between the starting sending position of channel 2# and the starting sending position of the channel that sends the frame header data unit; P3 corresponds to the difference between the starting sending position of channel 3# and the starting sending position of the channel that sends the frame header data unit... and so on. If the frame header data unit is sent on channel 4#, then P4 is 0. In this way, the amount of calculation can be reduced when setting the frame header information. Accordingly, each part of the option field is also relatively small.

[0135] In order to allow the frame header to carry more information, as an optional implementation, the option field of the frame header may be expanded so that the option field also includes the number of data units transmitted in each channel.

[0136] exist Figure 2 In the implementation shown in , data is sent on four channels (channel #1, channel #2, channel #3, and channel #4). The data to be sent is encapsulated in the format of an XGEM frame. H and XGEM header in the figure both represent frame headers. XGEM payload represents a data packet including multiple data units.

[0137] The starting transmission position of channel #4 is the frontmost, so channel #4 is selected as the channel for sending the frame header data unit.

[0138] The difference between the starting sending position of channel 1# and the starting sending position of channel 4# is 8 data units (i.e., P1 is 8), the difference between the starting sending position of channel 2# and the starting sending position of channel 4# is 8 data units (i.e., P2 is 8), and the difference between the starting sending position of channel 3# and the starting sending position of channel 4# is 7 data units (i.e., P3 is 7). The data length is 23 data units. Therefore, the actual length of the data packet is written into PLI, and the option field is divided into three parts: P1, P2, and P3. The specific values ​​of P1, P2, and P3 are written into the option field respectively to obtain the frame header data unit. Of course, when the information segment is divided, when the remaining amount of data is not enough to form a data unit, it can also be padded to form a complete data unit.

[0139] exist Figure 3In the implementation shown in , data is sent on four channels (channel #1, channel #2, channel #3, and channel #4). The data to be sent is encapsulated into the format of an XGEM frame. The H and XGEM header in the figure both represent frame headers. The XGEM payload represents a plurality of data units. Figure 3 In the implementation shown in , the preset value is 8.

[0140] The starting transmission position of channel 4# is the most forward, so channel 4# is selected as the channel for sending the frame header data unit. The difference between the starting transmission position of channel 4# and the starting transmission position of channel 1# is 9 data units, which exceeds 8. Therefore, the information to be sent is processed into two information segments, and each information segment is processed into a corresponding data packet. The first data packet is sent on channel 4# first. Then another data packet is sent. The first data packet has a frame header data unit, and the second data packet also includes a frame header data unit.

[0141] In the first data packet, the format of the frame header data unit is the same as the data format of the frame header data unit of the second data packet. Figure 3 In the specific implementation shown in , the data length of the first data packet is 5 data units. The value of each part of the option field of the frame header data unit of the first data packet is 0x3F.

[0142] In the second data packet, the start sending position of channel 1# differs from the start sending position of the main frame header on channel 4# by 3 data units (i.e., P1 is 3), the start sending position of channel 2# differs from the start sending position of the main frame header on channel 4# by 3 data units (i.e., P2 is 3), and the start sending position of channel 3# differs from the start sending position of the main frame header on channel 4# by 2 data units (i.e., P3 is 2). In the second data packet, the data length is 18 data units. Therefore, the actual length of the data packet is written into PLI, and the option field is divided into three parts: P1, P2, and P3. The specific values ​​of P1, P2, and P3 are written into the option field respectively to obtain the frame header data unit.

[0143] exist Figure 4 In the implementation shown in , there is a one-to-one mapping relationship between each channel and each part in the option field. The frame header data unit is sent on the 4# channel. In the option field, the P1 part indicates that there is a difference of 8 data units between the starting sending position of the 1# channel and the starting sending position of the 4# channel, the P2 part indicates that there is a difference of 8 data units between the starting sending position of the 2# channel and the starting sending position of the 4# channel, the P3 part indicates that there is a difference of 7 data units between the starting sending position of the 3# channel and the 4# channel, and the P4 part indicates that there is a difference of 0 data units between the starting sending position of the 4# channel and the 4# channel.

[0144] exist Figure 5 In the implementation shown in , the option field of the frame header data unit is further expanded so that each part of the option field carries two parts of information: one part is the difference between the starting sending position of the channel for sending pure data packets and the starting sending position of the channel for sending frame header data units, and the other part is the number of data units sent on the channel. For example, in Figure 5 In the embodiment shown in , the 4# channel sends the frame header data unit, P1 indicates that the difference between the starting sending position of the 1# channel and the starting sending position of the 4# channel is 8 data units, and 4 data units are transmitted on the 1# channel. P2 indicates that the difference between the starting sending position of the 2# channel and the starting sending position of the 4# channel is 8 data units, and 4 data units are transmitted on the 2# channel. P3 indicates that the difference between the starting sending position of the 3# channel and the starting sending position of the 4# channel is 7 data units, and 5 data units are transmitted on the 3# channel.

[0145] Figure 6 In the embodiment shown in FIG, the option field of the frame header data unit has an additional 14 bits of reserved field, and the rest of the field is the same as Figure 5 The embodiment shown in is similar.

[0146] As a second aspect of the present disclosure, a multi-channel data assembly method for a passive optical network is provided, such as Figure 7 As shown, the multi-channel data assembly method includes:

[0147] In step S210, multiple data units of a data packet are received, the multiple data units including a frame header data unit and multiple pure data units, wherein the frame header data unit indicates an identifier of a channel for sending data and a starting sending position of the channel for sending the data unit.

[0148] The multi-channel data assembly method is used at the receiving end. It should be noted that the multi-channel data assembly method is used in conjunction with the multi-channel data sending method.

[0149] In the present disclosure, after receiving the frame header data unit, the frame header data unit can be parsed to obtain the data transmission start position of other channels, and the data can be assembled according to the multi-channel data assembly method to obtain information. The multi-channel data assembly method will be described in detail below and will not be described here.

[0150] Optionally, when receiving any data unit, the channel with the earliest start sending position among the multiple channels is used as the channel for receiving the data unit.

[0151] Optionally, when there are multiple earliest starting sending positions among multiple channels, in the step of using the channel with the earliest starting sending position among the multiple channels as the channel for receiving the data unit, a channel whose channel identifier conforms to a predetermined rule is selected as the channel for receiving the corresponding data unit.

[0152] As described above, the frame header data unit is sent first, and then each pure data unit is sent. Accordingly, in the multi-channel data assembly method, the frame header data unit is received first, and then each pure data unit is received.

[0153] Optionally, step S210 may include:

[0154] In step S211, a frame header data unit is received;

[0155] In step S212, the frame header data unit is parsed to obtain the start sending position of each channel, and the start sending position of each channel is used as the start receiving position of the corresponding channel;

[0156] In step S213, pure data units are obtained in the channels respectively according to the time sequence of the start receiving positions of the channels.

[0157] Optionally, the multi-channel data assembly method further includes:

[0158] In step S220, the received pure data units are sorted according to the receiving order.

[0159] After the pure data units are sorted, they can be assembled to obtain the information sent by the sender.

[0160] As a third aspect of the present disclosure, a multi-channel downlink superframe transmission method is provided, wherein the information domain of the downlink superframe includes an XGEM frame, such as Figure 8 As shown, the downlink superframe sending method includes:

[0161] In step S320, an XGEM frame is sent using the multi-channel data sending method provided by the present disclosure. The XGEM frame includes a frame header data unit and a plurality of pure data units. It should be noted that the format of the XGEM frame header data unit is the same as that of the Figures 2 to 6 The format of the frame header data unit shown in is similar.

[0162] The multi-channel downlink superframe transmission method provided by the present disclosure can be used in a passive optical network. Accordingly, the data format of the downlink superframe is as follows: Fig. 9 As shown, it consists of a physical synchronization block PSBd and a physical frame information field (PHY frame payload), wherein the data format of PSBd is as follows Fig.10Specifically, PSBd includes PSync (length is 8 bytes), SFC structure (length is 8 bytes), and PON-ID structure (length is 8 bytes).

[0163] Accordingly, the downlink superframe sending method may further include the following steps performed before step S320:

[0164] In step S310, the physical sync block PSBd is synchronously transmitted in each channel.

[0165] In the multi-channel downlink superframe sending method provided in the present disclosure, PSBd is sent in each channel, and PSBd is sent synchronously in each channel. In addition, the superframe counters in the synchronously sent PSBd are the same.

[0166] In addition, if Fig.11 As shown, the PHY frame payload consists of a downstream XGTC frame inserted into an FEC parity block.

[0167] like Fig.12 As shown, the downlink XGTC frame consists of an XGTC frame header (XGTC header) and an XGTC information field (XGTC payload), wherein the XGTC header consists of HLend, a bandwidth allocation map (BWmap, Bandwidth map) and physical layer operation and maintenance management information PLOAMd (PLOAM, Physical Layer Operations Administration and Maintenance), wherein HLend consists of a BWmap length (BWmap length) and a PLOAM counter value (PLOAM count), wherein the BWmap length identifies how many bandwidth allocation entries there are in the BWmap, and the PLOAM count identifies how many PLOAM messages there are in the PLOAMd. Fig.13 As shown, the XGTC payload consists of an XGEM frame.

[0168] Accordingly, the multi-channel downlink superframe sending method may further include the following steps performed before step S320:

[0169] Sending the BWmap in each channel;

[0170] The PLOAMd is sent in each channel.

[0171] According to Figure 11, the XGTC payload size is fixed, 135432 bytes.

[0172] A BWmap is sent per channel, where the BWmap on each channel sends only the bandwidth allocation relevant to that channel.

[0173] Each channel sends PLOAMd, wherein PLOAMd includes a broadcast PLOAM message and a unicast PLOAM message.

[0174] Accordingly, a broadcast PLOAM message is sent in each channel, and, among the channels supported by the optical network unit (ONU), the channel with the earliest start sending position is selected to send the unicast PLOAM message.

[0175] Similarly, when sending the unicast PLOAM message, when the channels supported by the ONU include multiple channels with the earliest start sending positions, a channel with a predetermined rule of channel identification is selected as the channel for sending the unicast PLOAM message.

[0176] When the channel identifier is a channel number, the predetermined rule may be the channel with the smallest channel number, or the channel number with the largest channel number.

[0177] After determining BWmap and PLOAMd for each channel, HLend is determined, and BWmaplength and PLOAM count in HLend on each channel respectively represent the number of bandwidth allocation entries in BWmap and the number of PLOAM messages in PLOAMd on each channel.

[0178] After the PSBd and HLend fields of each channel are determined, the starting point for sending the XGTC payload of each channel is determined, and then the XGEM frame is sent. For each XGEM frame, according to the channels supported by the target ONU, the XGEM frame is sent on these channels according to implementation method 1. The data units obtained after the XGEM frame is split are distributed on these channels and sent as part of the XGTC payload. Fig.10 The XGTC frame structure is shown in Fig.13 Shown is the data structure of the XGTC information field.

[0179] After the XGTC payload of each channel is filled with data units, the FEC parity block is inserted to form a physical frame (PHY frame) and then sent.

[0180] As a fourth aspect of the present disclosure, a method for assembling a multi-channel downlink superframe is provided, wherein the information domain of the downlink superframe includes an XGEM frame, and the method for assembling the multi-channel downlink superframe includes:

[0181] The XGEM frame is received using the multi-channel data assembly method provided by the present disclosure, wherein the XGEM frame includes a frame header data unit and a plurality of pure data units.

[0182] As a specific implementation, a method for assembling a downlink superframe in a passive optical network includes:

[0183] ONU receives PSBd on the supported channels, where the superframe counters are the same. Each channel uses PSBd as a common receiving starting point, and then performs FEC check or error correction to obtain the XGTC frame header (XGTC header). According to the HLend therein, the corresponding BWmap and PLOAMd are parsed to obtain the XGTC payload receiving starting point on each channel, and then the XGEMframe is received, and the received data units are assembled according to the assembly method provided in the present disclosure.

[0184] In addition, the multi-channel data sending method provided by the present disclosure can also be used to send uplink superframes. Fig.14 The data structure of the existing uplink superframe is shown in FIG. The uplink superframe is an uplink physical frame burst (PHY burst), which consists of a physical frame header (PHY frame header) (ie, PSBu) and a physical frame information field (PHY frame payload). Fig.15 As shown in the figure, when there is FEC in the uplink, the PHY frame payload is as follows Fig.16 As shown in the figure, it is composed of upstream XTGC burst inserted with FECparity. When there is no FEC, it is directly composed of upstream XGTC burst. Fig.17 shown.

[0185] Specifically, when the multi-channel data transmission method provided by the present disclosure is used to send an uplink superframe, Fig.18 As shown, an Add field is inserted between HEC and PLOAMu of the existing uplink superframe, with a total of 32 bits, including three fields P1, P2, P3, and a reserved field. The Add field is equivalent to the option field described above in the present disclosure.

[0186] ONU obtains the channel to which bandwidth is allocated, sends PSBu on each channel, obtains the start time of data transmission on each channel, and forms an XGTC frame. Each data unit is 8 bytes, and each data unit is sent to each channel according to the earliest and smallest principle. The ONU-ID, Ind, Add and HEC fields in the XGTC header just form a data unit, and P1, P2 and P3 in Add support the transmission on other channels.

[0187] The following describes the reception and assembly of the uplink superframe in the channel:

[0188] OLT first parses PSBu on the channel where ONU obtains bandwidth allocation, and then receives the first data unit according to the earliest and smallest principle. The first data unit is ONU-ID, Ind, Add and HEC. After parsing Add, according to P1, P2 and P3, it receives data units on the corresponding channel according to the earliest and smallest principle and assembles XGTC frame.

[0189] As a fifth aspect of the present disclosure, a multi-channel data transmission device for a passive optical network is provided, wherein: Fig.19 As shown, the multi-channel data sending device includes a sending module 110, which is used to send a data packet, which includes multiple data units, and the multiple data units include a frame header data unit and multiple pure data units. The sending module is used to send the multiple data units, wherein the sending module is used to send the frame header data unit on one channel among the multiple channels, wherein the frame header data unit indicates an identifier of the channel used to send the data unit and a starting sending position of the channel used to send the data unit.

[0190] The multi-channel data sending device is used to execute the multi-channel data sending method provided by the present invention. The beneficial effects and working principles of the multi-channel data sending method have been described in detail above and will not be repeated here.

[0191] Optionally, the multi-channel data sending device further includes a sending position acquisition module 120, which is used to acquire the starting sending position of each channel.

[0192] Optionally, the multi-channel data transmission device further includes a preprocessing module 130, which is used to preprocess the information segment to be transmitted to obtain a data packet. Specifically, the preprocessing module is used to:

[0193] Forming an initial frame header according to a channel for sending a frame header data unit and each channel for sending a data unit;

[0194] Calculate the difference between the starting sending position of each channel for sending the data unit and the starting sending position of the channel for sending the frame header data unit;

[0195] Adding relevant initial data to the initial frame to generate a frame header data unit, wherein the relevant initial data includes the difference value obtained by calculation and the identifier of each channel used to send data to generate the frame header data unit.

[0196] Optionally, the pre-processing module 130 is further configured to divide the information segment to be sent into a plurality of the pure data units.

[0197] Optionally, the multi-channel data sending device also includes a segmentation module 140, which is used to divide the information to be sent into multiple information segments when the difference between the starting sending position of the channel for sending the frame header data unit and the starting sending position of other channels for sending data except the channel for sending the frame header data unit is not less than a preset value.

[0198] As a sixth aspect of the present disclosure, a multi-channel data assembly device for a passive optical network is provided, wherein: Fig. 20 As shown, the multi-channel data assembly device includes a receiving module 210, which is used to receive a data packet, the data packet includes multiple data units, the multiple data units include a frame header data unit and multiple pure data units, and the receiving module is used to receive multiple data units, wherein the frame header data unit indicates an identifier of a channel for sending data and a starting sending position of the channel for sending the data unit.

[0199] The multi-channel data receiving device is used to execute the above-mentioned multi-channel data assembling method provided by the present disclosure. The advantages and beneficial effects of the multi-channel data assembling method have been described in detail above and will not be repeated here.

[0200] Optionally, the multi-channel data assembly device also includes a frame header parsing module 220, which is used to parse the frame header data unit to obtain the starting sending position of each channel, and use the starting sending position of each channel as the starting receiving position of the corresponding channel.

[0201] The receiving module 210 is further configured to obtain pure data units in the channels respectively according to the time sequence of the start receiving positions of the channels.

[0202] The multi-channel data assembling device may further include an assembling module 230, wherein the assembling module 230 is configured to sort the received pure data units according to the receiving order.

[0203] As a seventh aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores an executable program.

[0204] When the executable program is executed, the multi-channel data sending method can be performed; or, when the executable program is executed, the multi-channel data assembling method can be performed.

[0205] Among them, computer-readable storage media include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer-readable storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage media, or any other medium that can be used to store the desired information and can be accessed by a computer.

[0206] As an eighth aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0207] one or more processors;

[0208] A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more programs cause:

[0209] The one or more processors implement the multi-channel data sending method; or the one or more processors implement the multi-channel data assembling method.

[0210] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A method for transmitting a multi-channel downlink superframe, wherein the downlink superframe includes a physical synchronization block, and the method comprises: The physical sync blocks are sent synchronously in each channel.

2. The multi-channel downlink superframe sending method according to claim 1, wherein: The superframe counters in each of the physical synchronization blocks are the same.

3. The multi-channel downlink superframe sending method according to claim 1, wherein: The downlink superframe further includes a physical frame information field, the physical frame information field includes an XGEM frame, the physical frame information field includes a downlink XGTC frame, the downlink XGTC frame includes a bandwidth allocation map BWmap and physical layer operation and maintenance management information PLOAMd, and the downlink superframe sending method further includes: Sending the BWmap in each channel; The PLOAMd is sent in each channel.

4. The multi-channel downlink superframe sending method according to claim 3, wherein: In the step of sending the BWmap in each channel, the BWmap on each channel only sends the bandwidth allocation related to the channel.

5. The multi-channel downlink superframe sending method according to claim 3, wherein: The PLOAMd includes broadcast PLOAM messages and unicast PLOAM messages, wherein: In the step of sending the PLOAMd in each channel: Sending the broadcast PLOAM message on each channel; Among the channels supported by the optical network unit ONU, a channel with the earliest start sending position is selected to send the unicast PLOAM message.

6. The multi-channel downlink superframe sending method according to claim 5, wherein: When sending the unicast PLOAM message, when the channels supported by the ONU include multiple channels with the earliest start sending positions, a channel with a predetermined rule of channel identification is selected as the channel for sending the unicast PLOAM message.

7. The multi-channel downlink superframe sending method according to claim 3, wherein: The downlink superframe sending method also includes: Sending multiple XGEM frames of a data packet, the multiple XGEM frames include a frame header data unit and a plurality of pure data units, wherein sending the frame header data unit in the multiple XGEM frames includes: A frame header data unit is sent on one of the multiple channels, wherein the frame header data unit indicates an identifier of the channel used to send the XGEM frame and a start sending position of the channel used to send the XGEM frame.

8. The multi-channel downlink superframe sending method according to claim 7, wherein: The starting sending position of the channel for sending the XGEM frame indicated in the frame header data unit includes: the starting sending position of other channels for sending the XGEM frame except the channel for sending the frame header data unit.

9. The multi-channel downlink superframe sending method according to claim 7, wherein: The multi-channel downlink superframe sending method also includes the following steps before the step of sending multiple XGEM frames of the data packet: Get the starting sending position of each channel; In the step of sending multiple XGEM frames of a data packet, when sending each XGEM frame: The channel with the earliest starting transmission position among the multiple channels is used as the channel for sending the XGEM frame.

10. The multi-channel downlink superframe sending method according to claim 9, wherein: When there are multiple earliest start sending positions among multiple channels, in the step of using the channel with the earliest start sending position among the multiple channels as the channel for sending the XGEM frame, a channel whose channel identifier meets a predetermined rule is selected as the channel for sending the XGEM frame.

11. The multi-channel downlink superframe sending method according to claim 9 or 10, wherein: In the step of sending a plurality of XGEM frames of a data packet, the frame header data unit is sent first, and then each pure data unit is sent.

12. The multi-channel downlink superframe sending method according to claim 11, wherein: The multi-channel downlink superframe sending method also includes the following steps before the step of sending multiple XGEM frames of the data packet: Preprocess the information segment to be sent to obtain a data packet, including: Forming an initial frame header according to a channel for sending a frame header data unit and each channel for sending a data unit; Calculate the difference between the starting sending position of each channel for sending the XGEM frame and the starting sending position of the channel for sending the frame header data unit; Adding relevant initial data to the initial frame to generate a frame header data unit, wherein the relevant initial data includes the difference value obtained by calculation and the identifier of each channel used to send data to generate the frame header data unit.

13. The multi-channel downlink superframe sending method according to claim 12, wherein: The relevant initial data also includes information of channels that are not used to send data.

14. The multi-channel downlink superframe sending method according to claim 12, wherein: The step of preprocessing the information segment to be sent to obtain a data packet also includes: The information segment to be sent is divided into a plurality of the pure data units.

15. The multi-channel downlink superframe sending method according to any one of claims 7 to 10, wherein: When the difference between the starting sending position of the channel for sending the frame header data unit and the starting sending position of other channels for sending data except the channel for sending the frame header data unit is not less than a preset value, the multi-channel downlink superframe sending method further includes: Dividing the information to be sent into a plurality of information segments; Processing multiple information segments into multiple data packets; wherein, when sending the data packets, the multiple data packets are sent sequentially.

16. A method for assembling a multi-channel downlink superframe, wherein the downlink superframe includes a physical synchronization block, the method comprising: The physical synchronization block is received on the channel supported by the ONU; wherein each channel takes the physical synchronization block as a common receiving starting point.

17. The method for assembling a multi-channel downlink superframe according to claim 16, wherein: The superframe counters in each of the physical synchronization blocks are the same.

18. The method for assembling a multi-channel downlink superframe according to claim 16, wherein: The information domain of the downlink superframe includes an XGEM frame, and the method for assembling the multi-channel downlink superframe further includes: A plurality of XGEM frames of a data packet are received, wherein the plurality of XGEM frames include a frame header data unit and a plurality of pure data units, wherein the frame header data unit indicates an identifier of a channel for sending data and a starting sending position of the channel for sending the XGEM frame.

19. The method for assembling a multi-channel downlink superframe according to claim 18, wherein: The multi-channel downlink superframe assembly method further includes the following steps before the step of receiving multiple XGEM frames of the data packet: Get the starting receiving position of each channel; In the step of receiving multiple XGEM frames of the data packet, when receiving each XGEM frame, a channel with the earliest start receiving position among the multiple channels is used as a channel for receiving the XGEM frame.

20. The method for assembling a multi-channel downlink superframe according to claim 19, wherein: When there are multiple earliest current start receiving positions among multiple channels, in the step of using the channel with the earliest start receiving position among the multiple channels as the channel for receiving the XGEM frame, a channel whose channel identifier meets a predetermined rule is selected as the channel for receiving the XGEM frame.

21. The method for assembling a multi-channel downlink superframe according to claim 19 or 20, wherein: The frame header data unit is received first, and then each pure data unit is received.

22. The method for assembling a multi-channel downlink superframe according to claim 21, wherein: The steps of receiving multiple XGEM frames of a data packet include: Receive frame header data unit; Parsing the frame header data unit to obtain the start sending position of each channel, and using the start sending position of each channel as the start receiving position of the corresponding channel; According to the time sequence of the start receiving positions of each channel, pure data units are obtained in each channel; The multi-channel downlink superframe assembly method also includes: Sort the received pure data units in the order they are received.

23. A multi-channel downlink superframe sending device, wherein: The multi-channel downlink superframe sending device includes a sending module, and the sending module is used to implement the multi-channel downlink superframe sending method according to any one of claims 1 to 15.

24. A device for assembling a multi-channel downlink superframe, wherein: The multi-channel downlink superframe assembly device comprises a receiving module, and the receiving module is used to implement the multi-channel downlink superframe assembly method according to any one of claims 16 to 22.

25. A computer-readable storage medium storing an executable program. When the executable program is executed, the multi-channel downlink superframe sending method described in any one of claims 1 to 15 can be implemented; or, when the executable program is executed, the multi-channel downlink superframe assembling method described in any one of claims 16 to 22 can be implemented.

26. An electronic device, comprising: one or more processors; A storage device having one or more programs stored thereon, which, when the one or more programs are executed by the one or more processors, causes: The one or more processors implement the multi-channel downlink superframe sending method described in any one of claims 1 to 15; or the one or more processors implement the multi-channel downlink superframe assembling method described in any one of claims 16 to 22.