Data sending and receiving method, device, sending device, receiving device and medium
By dividing the data frame into multiple data units and sending and receiving them channel by channel, the problem of low transmission efficiency caused by the increase of frame headers in multi-channel passive optical networks is solved and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202010820994.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-08-14
AI Technical Summary
In multi-channel passive optical networks, adding frame headers to identify data distribution and transmission conditions results in reduced data transmission efficiency, especially when the data to be transmitted is short or multi-channel binding.
By dividing the data frame into multiple data units and sending and receiving them one by one through multiple channels according to predetermined principles, it avoids adding additional frame header processing on each channel, and uses the channel bandwidth and predetermined principles to determine the transmission of data units.
It improves data transmission efficiency, reduces frame header overhead, and simplifies the process of data transmission and reception on multiple channels.
Smart Images

Figure CN114079550B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to an optical network, for example, to a data sending and receiving method, apparatus, sending device, receiving device and medium. Background Art
[0002] In the Next Generation Ethernet Passive Optical Network (NG EPON) standard, when the data to be transmitted is distributed on multiple channels for transmission, in order to clarify the data distribution and transmission status on each channel, the data to be transmitted on each channel needs to be encapsulated separately, and each encapsulation needs to add a frame header to indicate the distribution and transmission of data on each channel. However, adding a frame header will bring additional overhead and affect the data transmission efficiency, especially when the data to be transmitted is relatively short or multi-channel binding, the transmission efficiency is low. For example, when the length of the data to be transmitted is 64 bytes, if it is transmitted on a single channel and an 8-byte frame header is added, the data transmission efficiency is 88.89%; if it is sent on two channels, frame headers need to be added on each of the two channels, and the data transmission efficiency is 80%; if it is sent on four channels, frame headers need to be added on each of the four channels, and the data transmission efficiency is only 66.67%. Summary of the invention
[0003] The present application provides a data sending and receiving method, apparatus, sending device, receiving device and medium to improve data transmission efficiency.
[0004] The present application provides a data transmission method, including:
[0005] Generate data frames for the data to be transmitted according to the bandwidth of each channel;
[0006] Splitting the data frame into at least two data units;
[0007] The data units are sent one by one through at least two channels according to a predetermined principle.
[0008] The present application also provides a data receiving method, including:
[0009] receiving data units one by one through at least two channels according to a predetermined principle based on the bandwidth on each channel;
[0010] The data units are assembled into data frames according to the order of reception.
[0011] The embodiment of the present application also provides a data sending device, including:
[0012] A framing module, configured to generate data frames for data to be transmitted according to the bandwidth on each channel;
[0013] A segmentation module, configured to segment the data frame into at least two data units;
[0014] The sending module is configured to send each of the data units one by one through at least two channels according to a predetermined principle.
[0015] The present application also provides a data receiving device, including:
[0016] A receiving module configured to receive data units one by one through at least two channels according to a predetermined principle based on the bandwidth on each channel;
[0017] The processing module is configured to combine the data units into data frames according to the receiving order.
[0018] The embodiment of the present application also provides a sending device, including:
[0019] one or more processors;
[0020] A storage device for storing one or more programs;
[0021] When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned data sending method.
[0022] The embodiment of the present application also provides a receiving device, including:
[0023] one or more processors;
[0024] A storage device for storing one or more programs;
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned data receiving method.
[0026] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the above-mentioned data sending method or data receiving method is implemented.
[0027] The embodiments of the present application provide a data transmission and reception method, apparatus, transmission device, reception device and medium. The method generates a data frame from the data to be transmitted according to the bandwidth on each channel; divides the data frame into at least two data units; and transmits each of the data units one by one through at least two channels according to a predetermined principle. By transmitting each data unit one by one according to the bandwidth of each channel and the predetermined principle, the transmission status of the data on each channel can be clearly determined, without the need for additional frame header processing on each channel, thereby reducing the overhead of the frame header and improving the efficiency of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A flowchart of a data sending method provided by an embodiment;
[0029] Figure 2 A schematic diagram of an uplink XGTC frame provided by an embodiment;
[0030] Figure 3 A schematic diagram of converting an XGTC frame into a physical layer frame provided by an embodiment;
[0031] Figure 4 A schematic diagram of sending a data frame in an uplink direction provided by an embodiment;
[0032] Figure 5 A schematic diagram of sending a data frame in an uplink direction provided by another embodiment;
[0033] Figure 6 A schematic diagram of sending a data frame in an uplink direction provided by yet another embodiment;
[0034] Figure 7 A schematic diagram of an XGEM frame sequence provided by an embodiment;
[0035] Figure 8 A schematic diagram of converting an XGTC frame into a physical layer frame provided by another embodiment;
[0036] Fig. 9 A schematic diagram of sending a data frame in a downlink direction provided by an embodiment;
[0037] Fig.10 A flowchart of a data receiving method provided by an embodiment;
[0038] Fig.11 A schematic diagram of the structure of a data sending device provided by an embodiment;
[0039] Fig.12 A schematic diagram of the structure of a data receiving device provided by an embodiment;
[0040] Fig.13 A schematic diagram of the hardware structure of a sending device provided by an embodiment;
[0041] Fig.14 A schematic diagram of the hardware structure of a receiving device provided in an embodiment. DETAILED DESCRIPTION
[0042] The present application is described below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other arbitrarily. It should also be noted that, for ease of description, only the parts related to the present application rather than all structures are shown in the accompanying drawings.
[0043] In an embodiment of the present application, a data transmission method is provided, which can be applied to a transmission device in a passive optical network (PON), such as an optical line terminal (OLT) or an optical network unit (ONU). PON is a point-to-many network architecture, and a PON may include an OLT and at least one ONU.
[0044] Figure 1 A flowchart of a data sending method provided by an embodiment is shown in FIG. Figure 1 As shown, the method provided in this embodiment includes steps 110-130.
[0045] In step 110, data frames are generated from the data to be transmitted according to the bandwidth of each channel.
[0046] In this embodiment, in the case of multi-channel binding, the data to be transmitted is first encapsulated into data frames in a single-channel manner. For example, according to the bandwidth and time slot available to the sending device, the data to be transmitted is composed into data frames in a standard format.
[0047] In step 120, the data frame is divided into at least two data units.
[0048] In this embodiment, during the transmission of a data frame, the data frame is divided into a plurality of data units.
[0049] In step 130, the data units are sent one by one through at least two channels according to a predetermined principle.
[0050] In this embodiment, each data unit is sequentially allocated to different channels according to a predetermined principle and sent one by one until the data frame is sent. In this case, the sending status of each data unit on each channel can be determined by combining the bandwidth on each channel and the predetermined principle, and no additional frame header processing is required on each channel, thereby reducing the overhead of the frame header and improving data transmission efficiency.
[0051] In this embodiment, the predetermined principle is used to describe which channel each data unit should be sent through in sequence. The predetermined principle can be determined based on the bandwidth and time slot available for each channel, the number of each channel, the priority of each channel, the data transmission quality of each channel, etc. For example, the predetermined principle can be the earliest minimum principle, that is, for each data unit, it is sent through the channel with the earliest sending time among all channels. If there are multiple channels with the earliest time, the channel with the smallest channel number can be further selected for sending. For another example, the predetermined principle can be the earliest optimal principle, that is, for each data unit, it is sent through the channel with the earliest sending time among all channels. If there are multiple channels with the earliest time, the channel with the highest priority can be further selected for sending. The priority of each channel can be predefined, or stored locally, or indicated by signaling, or determined according to the data transmission quality, etc.
[0052] In this embodiment, the data unit may also be understood as a transmission unit (TU) of data, for example, every 8 bytes is a data unit, or every 4 bytes is a data unit.
[0053] In the data sending method of this embodiment, the sending device encapsulates the data to be transmitted into a data frame, and then divides the data frame into multiple data units, and sends them one by one through different channels according to predetermined rules. In this process, the transmission status of the data on each channel can be clearly determined according to the bandwidth and the predetermined rules, and there is no need to perform additional frame header processing on each channel, which reduces the overhead of the frame header and improves data transmission efficiency.
[0054] In one embodiment, step 130 includes:
[0055] For each data unit, the data unit is sent through the channel with the earliest sending time; when there are at least two channels with the earliest sending time, one channel is selected from the channels with the earliest sending time according to the minimum or maximum channel number, and the data unit is sent through the channel.
[0056] In this embodiment, the predetermined principle includes the earliest minimum principle or the earliest maximum principle, that is, for each data unit, it is sent through the channel with the earliest sending time among all channels; if there are multiple channels with the earliest time, the channel with the smallest channel number or the channel with the largest channel number can be further selected to send the data unit.
[0057] In one embodiment, it further includes:
[0058] Step 101: in the uplink direction, determine the uplink bandwidth allocation of each channel according to the bandwidth allocation information carried in the downlink frame.
[0059] In this embodiment, the OLT allocates upstream bandwidth to each ONU and sends the upstream bandwidth allocation result to each ONU through a downstream frame. If the upstream bandwidth allocation has not changed, the OLT can continue to send the upstream bandwidth allocation through the downstream frame, or wait until the upstream bandwidth allocation is updated before sending it.
[0060] In this embodiment, in the uplink direction, the sending device is the ONU and the receiving device is the OLT. Before data transmission, the OLT can send a downlink frame to the ONU, which carries the bandwidth allocation information of each ONU. The ONU can determine its own bandwidth allocation for sending uplink data on each channel according to the bandwidth allocation information, that is, determine the bandwidth of each channel.
[0061] The upstream transmission of ONU is controlled by OLT. OLT sends the upstream bandwidth allocation information to each ONU according to the request of ONU or according to the traffic statistics of ONU. For example, OLT can allocate the upstream bandwidth to each ONU through the bandwidth map (BandWidth Map). ONU parses the bandwidth entry belonging to itself in the bandwidth map and sends the upstream data and management information to OLT within the bandwidth specified by the corresponding bandwidth entry. ONU calculates the sum of the upstream bandwidth on each channel according to its own corresponding bandwidth, and can further calculate the sum of the bandwidth of each service container (Transmission Container, T-CONT) on each channel, and encapsulates the transmission data into data frames accordingly. It should be noted that the bandwidth map may not be sent for each downstream frame. ONU can save its own corresponding bandwidth locally. If the bandwidth map is not received, the upstream data and management information are sent according to the locally stored bandwidth. In addition, for certain determined bandwidths, such as fixed-size bandwidths, including XGTC frame headers and frame tails, or calculated bandwidths, including FEC checks, although the OLT has allocated these bandwidths to the ONU, these bandwidth allocation information may not be sent to the ONU, but the ONU can still use these bandwidths.
[0062] In one embodiment, the data frame includes but is not limited to: an uplink transmission convergence (TC) data frame, or an uplink dynamic bandwidth report (DBRu) and a Gigabits Encapsulation Method (GEM) frame sequence, or a GEM frame sequence.
[0063] In this embodiment, in the uplink direction, the sending device is an ONU and the receiving device is an OLT. The data to be transmitted can be encapsulated into a TC data frame, or a DBRu and GEM frame sequence, or a GEM frame sequence.
[0064] Figure 2 Schematic diagram of an uplink XGTC frame provided in an embodiment, where the uplink XGTC frame is an example of an uplink TC data frame. In this embodiment, the data to be transmitted is encapsulated as a TC data frame, and a 10 Gigabit Passive Optical Network Transmission Convergence (XG-PON Transmission Convergence, XGTC) data frame is generated as an example. Figure 2 As shown, on the bandwidth corresponding to the ONU, the data to be transmitted is encapsulated as a payload, and together with the DBRu, XGTC frame header, and XGTC frame tail, an XGTC frame is formed. Among them, the XGTC frame header includes an ONU identifier (ONU-ID), a frame indication (Indication, Ind), a hybrid error correction (HEC) code, and an upstream physical layer operation management and maintenance (PLOAMu); the DBRu includes a buffer occupancy (BufOcc) and a cyclic redundancy check (CRC) code, and the XGTC frame tail includes a bit-interleaved even parity (BIP).
[0065] In one embodiment, step 120 includes: adding a physical synchronization block (PSB) to each channel, and adding a forward error correction (FEC) code to each FEC data block.
[0066] Figure 3 FIG. 1 is a schematic diagram of converting an XGTC frame into a physical layer frame according to an embodiment. Figure 3As shown, the transmission convergence burst (Upstream XGTC Burst) of the upstream XG-PON sent by the ONU includes an XGTC frame header, an XGTC frame tail and the upstream data in the middle, forming an upstream XGTC frame, and the upstream XGTC frame is divided into multiple FEC data blocks. For example, starting from the XGTC frame header, every 232 bytes of data are divided into a group, and the code words corresponding to each group include #1, #2, ... #K, and the number of bytes of data contained in the last group is less than or equal to 232; each group of data is respectively added with an FEC check to form an FEC codeword, wherein the FEC check can be a 16-byte parity check bit (Parity) to realize the segmentation of the FEC data block; an upstream physical layer burst (Upstream Physical Burst) can be formed by adding an upstream physical synchronization block (Physical Synchronization Block Upstream, PSBu) at the front of the XGTC frame.
[0067] In this embodiment, after the data units cut from the data frame are distributed to each channel, an XGTC subframe is formed in each channel. The XGTC subframe can be Figure 3 PSBu and FEC check can be added in this way.
[0068] In this embodiment, in the uplink direction, the data frame is an XGTC frame, and the data frame is divided into at least two data units.
[0069] Figure 4 FIG. 1 is a schematic diagram of sending a data frame in the uplink direction provided by an embodiment. Figure 4 As shown, an uplink XGTC frame (uplink XGTC burst) is divided into 19 data units from the XTGC frame header to the XGTC frame tail, numbered 0 to 18; there are three channels, numbered λ1, λ2, and λ3, among which λ3 is the earliest channel to be sent according to the uplink bandwidth allocation. Data units 0 to 4 are all sent through λ3; when sending to data unit 5, λ2 and λ3 are both the earliest channels to be sent at this time. In this case, you can select the channel with a smaller number, that is, λ2 sends data unit 5, and then when sending data unit 6, the earliest channel to be sent is only λ3; similarly, when sending to data unit 7, λ1, λ2, and λ3 are all the earliest channels to be sent at this time, you can select λ1 to send data unit 7, and then select λ2 to send data unit 8, and then when sending data unit 9, the earliest channel to be sent is only λ3. And so on, until data unit 18 is sent. The data unit sequence on each channel is used as an XGTC subframe, and then according to Figure 3 The PSBu and FEC check are added to the XGTC subframes on each channel. Figure 4An example of processing channel λ3 is shown in FIG. 1 , and similar processing is performed on channels λ1 and λ2. Figure 4 In addition, the OLT allocates bandwidth to the ONU on each channel, and only one XGTC frame header and one XGTC frame tail can be sent in these bandwidths.
[0070] In one embodiment, the OLT (a receiving device in the upstream direction and a sending device in the downstream direction) also informs the ONU (a sending device in the upstream direction and a receiving device in the downstream direction) of the bandwidth occupied by each T-CONT through downstream bandwidth allocation information, and the ONU determines the bandwidth occupied by each T-CONT accordingly. The bandwidth occupied by each T-CONT is used to send the DBRu and / or data of the T-CONT, wherein the data is encapsulated into a GEM frame sequence to form an XGTC payload.
[0071] In another embodiment, in the uplink direction, the data frame is a DBRu and an XGTC payload, the XGTC payload is generally a GEM frame sequence, and the data frame is divided into at least two data units. The data frame may be composed of a DBRu and GEM frame sequence of one T-CONT, or may be composed of a DBRu and GEM frame sequence of multiple T-CONTs.
[0072] Figure 5 A schematic diagram of sending data frames in the uplink direction provided by another embodiment. In this embodiment, the data frame is a sequence of DBRu and GEM frames, and the XGTC frame header and XGTC frame trailer are sent on each channel, and their specific contents are determined according to the specific conditions of each channel. Figure 5 As shown, the data frame includes 19 data units from the first DBRu to the last XGTC payload, which are numbered 0 to 18. There are three channels, and the channel numbers are λ1, λ2, and λ3, where λ3 is the channel with the earliest transmission time. The 19 data units are sent one by one on the three channels according to the earliest and smallest principle. Before sending the data unit on each channel, an XGTC frame header is sent, and after the data unit is sent, an XGTC frame tail is sent. The XGTC frame header, data unit sequence, and XGTC frame tail on each channel each form an XGTC subframe. Each channel is sent according to Figure 3 The PSBu and FEC check are added to the XGTC subframes of each channel. Figure 5 An example of processing channel λ3 is shown in FIG. 1 , and similar processing is performed on channels λ1 and λ2. Figure 5In addition, in this embodiment, the OLT allocates bandwidth to the ONU on each channel, and the bandwidth supports sending an XGTC frame header and an XGTC frame trailer on each channel. In addition, the ONU is informed of the bandwidth occupied by each T-CONT, and the bandwidth occupied by each T-CONT is used to send the DBRu and / or data of the T-CONT, wherein the data is encapsulated into a GEM frame sequence to form an XGTC payload. Figure 5 The data frame in the embodiment is composed of DBRu and GEM frame sequences of multiple T-CONTs. It should be noted that if the data frame is composed of DBRu and GEM frame sequence of one T-CONT, this embodiment is also applicable.
[0073] In another embodiment, in the uplink direction, the data frame is a GEM frame sequence, and the data frame is divided into at least two data units. The data frame can be composed of a GEM frame sequence of one T-CONT or a plurality of GEM frame sequences of multiple T-CONTs.
[0074] Figure 6 A schematic diagram of sending a data frame in the uplink direction provided by another embodiment. Figure 6 As shown, according to the bandwidth allocation, the data to be sent is encapsulated into an XGEM frame sequence as a data frame, and the data frame is divided into 19 data units, numbered 0 to 18; there are three channels, the channel numbers are λ1, λ2, and λ3, among which λ3 is the channel with the earliest sending time. Data units 0 to 4 are all sent through λ3; when sending to data unit 5, λ2 and λ3 are both the channels with the earliest sending time at this time. In this case, you can select a channel with a smaller number, that is, λ2 sends data unit 5, and then when sending data unit 6, the channel with the earliest sending time is only λ3; similarly, when sending to data unit 7, λ1, λ2, and λ3 are all the channels with the earliest sending time at this time, you can select λ1 to send data unit 7, and then select λ2 to send data unit 8, and then when sending data unit 9, the channel with the earliest sending time is only λ3. And so on, until data unit 18 is sent. These data unit sequences and other data units on each channel, as well as the XGTC frame header and XGTC frame tail each form an XGTC subframe, and each channel is sent according to Figure 3 The PSBu and FEC check are added to the XGTC subframes of each channel. Figure 6 An example of processing the XGTC subframe of channel λ3 is shown in FIG. 1 , and similar processing is performed on channels λ1 and λ2. Figure 6In addition, in this embodiment, the OLT allocates bandwidth to the ONU on each channel, and the bandwidth supports sending an XGTC frame header and an XGTC frame trailer on each channel. In addition, the ONU is informed of the bandwidth occupied by each T-CONT, and the bandwidth occupied by each T-CONT is used to send the data of the T-CONT, wherein the data is encapsulated into a GEM frame sequence to form an XGTC payload. Figure 6 The data frame in the embodiment is composed of a plurality of GEM frame sequences of T-CONTs. It should be noted that if the data frame is composed of a GEM frame sequence of one T-CONT, this embodiment is also applicable.
[0075] In one embodiment, step 110 includes: in the downlink direction, encapsulating the data to be transmitted into a GEM frame sequence according to the bandwidth on each channel.
[0076] In this embodiment, in the downstream direction, the sending device is the OLT and the receiving device is the ONU. The OLT can use time division multiplexing to send data to each ONU. The OLT can form a downstream bandwidth allocation entry after completing the scheduling of each ONU service data, and send the downstream bandwidth allocation entry to the ONU together with the service data in the downstream frame; the OLT can also first allocate the downstream bandwidth and form a downstream bandwidth allocation entry, and then send the service data to each ONU according to the bandwidth allocation. The downstream bandwidth allocation entry can be before the service data, so that the ONU can first parse the downstream bandwidth allocation and then receive the service data according to the bandwidth allocation. Since the downstream traffic of the ONU is variable, the downstream bandwidth allocation entry needs to be updated for each downstream frame of each channel. If the downstream traffic of the ONU is fixed, the bandwidth required by these ONUs is unchanged. In this case, the downstream bandwidth allocation entry does not need to be sent in each downstream frame, and can be sent only when it needs to be updated.
[0077] In this embodiment, the OLT allocates the downstream bandwidth on each channel, determines the bandwidth allocated to each ONU, and then encapsulates the data to be transmitted into a data frame according to the bandwidth size on each channel for a specific ONU. The data frame includes one or more GEM frames to form a GEM frame sequence. On this basis, the GEM frame sequence is divided into a number of data units (TU sequences), and each data unit is sent on each channel according to a predetermined principle until each data unit is sent.
[0078] Figure 7 Schematic diagram of an XGEM frame sequence provided by an embodiment. In this embodiment, the data to be transmitted is encapsulated into a data frame, taking a 10 Gigabit Encapsulation Method (XGEM) frame as an example. Figure 7As shown, the XGEM frame sequence includes an XGEM frame header and an XGEM payload, and the encapsulated data frame is a sequence of one or more XGEM frames.
[0079] Figure 8 A schematic diagram of converting an XGTC frame into a physical layer frame provided in another embodiment. Figure 8 As shown, the downstream XGTC frame sent by the OLT includes an XGTC frame header and an XGTC payload. The downstream XGTC frame is divided into multiple FEC data blocks. For example, starting from the XGTC frame header, every 216 bytes of data are divided into a group, and the code words corresponding to each group include #1, #2, ... #627; each group of data is added with an FEC check to form an FEC code word, wherein the FEC check can be a 32-byte check bit (Parity); PSBd is added to the front of the XGTC frame to form a downstream physical layer frame.
[0080] Fig. 9 FIG. 1 is a schematic diagram of sending a data frame in the downlink direction according to an embodiment. Fig. 9 As shown, according to the bandwidth allocation, the transmission data is encapsulated into an XGEM frame sequence as a data frame, and the data frame is divided into 19 data units, numbered 0 to 18; there are three channels, the channel numbers are λ1, λ2, and λ3, among which λ3 is the channel with the earliest transmission time. Data units 0 to 4 are all sent through λ3; when sending to data unit 5, λ2 and λ3 are both the channels with the earliest transmission time at this time. In this case, you can select the channel with a smaller number, that is, λ2 sends data unit 5, and then when sending data unit 6, the channel with the earliest transmission time is only λ3; similarly, when sending to data unit 7, λ1, λ2, and λ3 are all the channels with the earliest transmission time at this time, you can select λ1 to send data unit 7, and then select λ2 to send data unit 8, and then when sending data unit 9, the channel with the earliest transmission time is only λ3. And so on, until data unit 18 is sent. These data unit sequences and other data units on each channel and the XGTC frame header each form an XGTC subframe, and each channel is sent according to Figure 8 The PSBd and FEC check are added to the XGTC subframes of each channel. Fig. 9 An example of processing the XGTC subframe of channel λ3 is shown in FIG. 1 , and similar processing is performed on channels λ1 and λ2. Fig. 9 is not shown in .
[0081] In one embodiment, it further includes:
[0082] Step 102: In the case of a downlink direction, determine the bandwidth allocation for downlink of each channel according to the pre-sending or pre-filling information of each data unit in each channel.
[0083] In this embodiment, the sending device is an OLT and the receiving device is an ONU. The OLT may first pre-send or pre-fill each data unit on each channel to form a sequence of data units, and then form a bandwidth allocation result for the sequence of data units on each channel. If the downstream bandwidth allocation entry is not sent for each downstream frame, each time the downstream bandwidth allocation entry is calculated, the OLT needs to store the downstream bandwidth allocation entry locally, and when the bandwidth allocation does not need to be updated, send the downstream data and management information according to the locally stored downstream bandwidth allocation entry.
[0084] In one embodiment, it further includes:
[0085] Step 103: In the case of a downlink direction, allocate downlink bandwidth to the receiving device.
[0086] In this embodiment, the sending device is an OLT and the receiving device is an ONU. According to the request of the ONU or according to the traffic statistics of the OLT on the ONU, a downstream bandwidth is allocated to each ONU for transmitting downstream data. For example, the OLT can allocate the downstream bandwidth to each ONU through a bandwidth map, and the ONU parses the bandwidth entry belonging to itself in the bandwidth map, and receives the downstream data and management information sent by the OLT within the bandwidth specified by the corresponding bandwidth entry.
[0087] In one embodiment, it further includes:
[0088] Step 104: In the case of a downlink direction, the downlink bandwidth allocation is sent to the receiving device.
[0089] In this embodiment, the sending device is an OLT and the receiving device is an ONU. The OLT sends the downstream bandwidth allocation to each ONU. The downstream bandwidth allocation can be determined based on the result of sending or pre-filling, or based on the traffic statistics of the OLT on the ONU.
[0090] In one embodiment, it further includes:
[0091] Step 105: Determine a common bandwidth allocation reference point on each of the channels.
[0092] In this embodiment, the bandwidth allocation reference point of each channel can be determined according to the downlink physical synchronization block in the data frame.
[0093] In one embodiment, step 105 includes: synchronously sending a downlink physical synchronization block on each of the channels, and using the downlink physical synchronization block as a common downlink bandwidth allocation reference point on each of the channels.
[0094] In this embodiment, in the downstream direction, the OLT synchronously sends the downstream physical synchronization block ( Figure 8PSBd in the downlink bandwidth allocation reference point is used so that each channel has a common downlink bandwidth allocation reference point. The receiving device can determine the starting position of the physical layer subframe in each channel and determine the relative position relationship of the starting position of each channel according to the bandwidth allocation of each channel.
[0095] In one embodiment, step 105 includes: adding a time delay based on the received downlink physical synchronization block as a common uplink bandwidth allocation reference point on each of the channels.
[0096] In this embodiment, in the uplink direction, the ONU receives PSBd on each channel, and then after corresponding time delays, including response time, equalization delay time, etc., obtains the starting position of the uplink physical layer frame as a common uplink bandwidth allocation reference point for each channel in the uplink direction.
[0097] It should be noted that the above method of determining the bandwidth allocation reference point is a preferred method. In some embodiments, the bandwidth allocation reference point can also be determined by other methods. For example, in the downlink direction, PSBd is not sent synchronously, but there is a certain interval between them. Based on this, the bandwidth allocation reference point can also be determined.
[0098] In one embodiment, it further includes:
[0099] Step 106: Transmit the downlink or uplink bandwidth allocation in each downlink frame; or, transmit the downlink or uplink bandwidth allocation when the bandwidth allocation is updated.
[0100] In this embodiment, bandwidth allocation can be transmitted between the OLT and each ONU through a downstream frame, and the bandwidth allocation may be transmitted in each downstream frame, or may not be transmitted in each downstream frame. If the downstream frame does not include bandwidth allocation, the ONU can transmit data and management information according to the locally stored bandwidth corresponding to itself without receiving the bandwidth map.
[0101] In one embodiment, the time slots available for data transmission on each channel may be completed through bandwidth allocation or may be formed during the data transmission process. These time slots may be sent to the receiving device in advance or may be sent to the receiving device together with the data to be transmitted. In addition, if these time slots remain unchanged for a certain period of time, they may be stored locally on the receiving device and sent to the receiving device only when they need to be updated.
[0102] In the data sending method of the present embodiment, data framing can be performed in a single-channel manner, that is, there is only one frame header for data encapsulation, thereby reducing frame header overhead; in addition, the sending device and the receiving device share the bandwidth allocation on each channel and the relevant information of the target time slot, clarify the channel and the corresponding time slot for data sending and receiving, and effectively determine the starting position and the ending position of data sending and receiving on each channel. By dividing the data frame into multiple data units and sending them one by one according to a predetermined rule, the data units can be received one by one according to the same principle on this basis, without the need for specific processing or additional processing of the data frame header, thereby simply and effectively reducing the frame header overhead on each channel and improving the data transmission efficiency.
[0103] The embodiment of the present application also provides a data receiving method, which can be applied to a receiving device in a PON, and the receiving device can be an OLT or an ONU. It should be noted that the data receiving method in this embodiment and the data sending method in the above embodiment belong to the same concept, and the operation performed by the receiving device corresponds to the operation performed by the sending device in the above embodiment. For technical details not described in detail in this embodiment, refer to any of the above embodiments.
[0104] Fig.10 A flowchart of a data receiving method provided by an embodiment is shown in FIG. Fig.10 As shown, the method provided in this embodiment includes step 210 and step 220.
[0105] In step 210, data units are received one by one through at least two channels according to a predetermined principle based on the bandwidth of each channel.
[0106] In step 220, the data units are grouped into data frames in the order of reception.
[0107] In this embodiment, in the case of multi-channel binding, the receiving device determines the time slot for transmitting the data unit on each channel, and receives the data units one by one in the corresponding time slot of each channel according to a predetermined rule, and then assembles the data units into data frames according to the receiving order to complete the reception of the data units. On this basis, step 220 may also include: parsing the data frames composed of the data units to obtain the transmitted data.
[0108] The principle of the data receiving method of this embodiment can be understood as follows: Figure 4 , Figure 5 , Figure 6 or Fig. 9The reverse process of the data frame sending process shown, for example, in the downstream direction, the ONU parses the PSBd in each channel, obtains the reference point, performs FEC check and error correction, obtains the XGTC subframe, and parses out its own downstream bandwidth allocation if there is downstream bandwidth allocation information, or obtains the downstream bandwidth allocation from the local, and receives data units from each channel one by one according to a predetermined rule according to the downstream bandwidth allocation, and forms a data unit sequence in sequence. After the data unit is received, the data unit sequence is a data frame, which is a GEM frame sequence. The GEM frame sequence is parsed according to the GEM frame format to obtain data. For example, in the upstream direction, the OLT parses PSBu in each channel according to the upstream bandwidth allocation sent to the ONU stored locally, performs FEC check and error correction, obtains the XGTC subframe, receives data units from each channel one by one according to the predetermined rules according to the upstream bandwidth allocation, and forms a data unit sequence in order. After the data unit is received, the data unit sequence is a data frame, which is an XGTC frame, or a DBRu and GEM frame sequence, or a GEM frame sequence. The data frame is parsed according to the XGTC frame format, or the DBRu and GEM frame sequence format, or the GEM frame format to obtain data. In this case, it is only necessary to parse the data frame in each channel according to the bandwidth allocation and the predetermined rules, and there is no need to additionally process the frame header, thereby reducing the overhead of the frame header and improving the data transmission efficiency.
[0109] In this embodiment, the predetermined principle is used to describe which channel each data unit should be received through in sequence, and the predetermined principle can be determined according to the bandwidth and time slot available for each channel, the number of each channel, the priority of each channel, the data transmission quality of each channel, etc. For example, in multiple channels, the earliest received data unit is obtained each time. If there are multiple such data units, the data unit on one of the channels is received according to a certain rule (such as the smallest or largest channel number) until the data units in the XGTC subframes of each channel are received. All data units are assembled into a complete data frame, such as an XGTC frame, or a DBRu and GEM frame sequence, or a GEM frame sequence in the order of reception, and then the data frame is parsed.
[0110] In the data sending method of this embodiment, the receiving device receives data units one by one according to certain rules, and then composes data frames and parses them. In this process, it is only necessary to parse the data frames in each channel according to the bandwidth allocation and reservation rules, and there is no need to additionally process the frame header, which reduces the overhead of the frame header and improves data transmission efficiency.
[0111] In one embodiment, step 210 includes:
[0112] For each reception of a data unit, a data unit on the channel with the earliest transmission time is received;
[0113] In the case that there are at least two channels with the earliest sending time, a channel is determined from the channels with the earliest sending time according to the smallest or largest channel number, and the data unit is received through the channel.
[0114] In one embodiment, before step 220, the method further includes:
[0115] Step 201: In the case of the uplink direction, for each channel, the relative position relationship of the starting position of each channel is determined according to the uplink bandwidth allocation of each channel.
[0116] In this embodiment, the transmitting device is an ONU, and the receiving device is an OLT. The OLT parses the PSBu for each channel to determine the starting position of each physical layer subframe in each channel; the relative position relationship of the starting position of each channel is determined according to the upstream bandwidth allocation of each channel; in addition, the XGTC subframe is determined by decoding the FEC in each channel, and data units are received one by one from each channel according to a predetermined rule to form a data frame, and the data frame is parsed in a corresponding format to obtain data.
[0117] In one embodiment, before step 210, the method further includes:
[0118] Step 202: In the downlink direction, for each channel, the start position of each physical layer subframe is determined by parsing the corresponding PSBd.
[0119] Step 203: Determine the relative position relationship of the start positions of each channel according to the downlink bandwidth allocation of each channel.
[0120] In this embodiment, the sending device is OLT, and the receiving device is ONU. ONU parses PSBd for each channel to determine the starting position of each physical layer subframe in each channel. The bandwidth allocation corresponding to the ONU itself can be determined according to the downstream bandwidth allocation, and the bandwidth corresponding to all channels can be obtained. The relative position relationship of the starting position of each channel is determined according to the upstream bandwidth allocation of each channel. In addition, FEC in each channel is decoded, and data units are received one by one according to predetermined rules within the bandwidth corresponding to all channels to form a data frame, and the data frame is parsed according to the corresponding format to obtain data.
[0121] In one embodiment, in the uplink direction, the data frame is an XGTC frame composed of the data units, or a DBRu and GEM frame sequence, or a GEM frame sequence; in the downlink direction, the data frame is a GEM frame sequence composed of the data units.
[0122] In this embodiment, in the uplink direction, the receiving device is the OLT, and each data unit is composed of an XGTC frame, or a DBRu and GEM frame sequence, or a GEM frame sequence; in the downlink direction, the receiving device is the ONU, and each data unit is composed of an XGEM frame sequence.
[0123] In the data receiving method of the present embodiment, the receiving device only needs to receive data units and form data frames on each channel according to the bandwidth allocation and predetermined rules, thereby reducing the frame header overhead; in addition, the sending device and the receiving device share the bandwidth allocation on each channel and the relevant information of the target time slot, clarify the channel and the corresponding time slot for data sending and receiving, and can effectively determine the starting position and the ending position of data sending and receiving on each channel. By dividing the data frame into multiple data units and sending them one by one according to the predetermined rules, the data units can be received one by one according to the same principle on this basis, without the need for specific processing or additional processing of the data frame header, thereby simply and effectively reducing the frame header overhead on each channel and improving the data transmission efficiency.
[0124] The embodiment of the present application also provides a data sending device. Fig.11 FIG. 1 is a schematic diagram of a data sending device provided by an embodiment. Fig.11 As shown, the data sending device includes: a framing module 310, a segmentation module 320 and a sending module 330.
[0125] The framing module 310 is configured to generate data frames from the data to be transmitted according to the bandwidth on each channel;
[0126] A segmentation module 320, configured to segment the data frame into at least two data units;
[0127] The sending module 330 is configured to send each of the data units one by one through at least two channels according to a predetermined principle.
[0128] The data sending device of this embodiment frames the data to be transmitted, and then divides the data frame into multiple data units, and sends them one by one through different channels according to certain rules. In this process, the transmission status of the data on each channel can be clarified only according to the bandwidth of each channel and the predetermined rules, thereby reducing the overhead of the frame header and improving the data transmission efficiency.
[0129] In one embodiment, the sending module 330 is configured to:
[0130] For each data unit, send the data unit through the channel with the earliest sending time;
[0131] In the case that there are at least two channels with the earliest sending time, one channel is selected from the channels with the earliest sending time according to the smallest or largest channel number, and the data unit is sent through the channel.
[0132] In one embodiment, it further includes:
[0133] The bandwidth determination module is configured to determine the uplink bandwidth allocation of each channel according to the bandwidth allocation information carried in the downlink frame in the uplink direction.
[0134] In one embodiment, the data frame includes:
[0135] TC data frame, or DBRu and GEM frame sequence, or GEM frame sequence.
[0136] In one embodiment, it further includes:
[0137] The pre-allocation module is configured to determine the downlink bandwidth allocation of each channel according to the pre-sending or pre-filling information of each data unit in each channel in the downlink direction.
[0138] In one embodiment, it further includes:
[0139] The allocation module is configured to allocate downlink bandwidth on each channel to the receiving device in the downlink direction.
[0140] In one embodiment, it further includes:
[0141] The bandwidth allocation sending module is configured to send the downlink bandwidth allocation to the receiving device in the downlink direction.
[0142] In one embodiment, it further includes:
[0143] The indication module is configured to indicate the bandwidth size of the service container through the bandwidth allocation information in the downlink frame.
[0144] In one embodiment, it further includes:
[0145] The reference point determination module is configured to determine a common bandwidth allocation reference point on each of the channels.
[0146] In one embodiment, the reference point determination module is configured as follows:
[0147] Downlink physical synchronization blocks are synchronously sent on each of the channels, and the downlink physical synchronization blocks are used as common downlink bandwidth allocation reference points on each of the channels.
[0148] In one embodiment, the reference point determination module is configured as follows:
[0149] Add a time delay based on the received downlink physical synchronization block as a common uplink bandwidth allocation reference point on each channel
[0150] In one embodiment, the bandwidth allocation sending module is configured as follows:
[0151] The downstream or upstream bandwidth allocation is transmitted in each downstream frame; or, the downstream or upstream bandwidth allocation is transmitted when the bandwidth allocation is updated.
[0152] The data sending device proposed in this embodiment and the data sending method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the data sending method.
[0153] The embodiment of the present application also provides a data sending device. Fig.12 FIG. 1 is a schematic diagram of a data receiving device provided by an embodiment. Fig.12 As shown, the data receiving device includes: a receiving module 410 and a processing module 420.
[0154] The receiving module 410 is configured to receive data units one by one through at least two channels according to a predetermined principle based on the bandwidth on each channel;
[0155] The processing module 420 is configured to combine the data units into data frames according to the receiving order.
[0156] The data receiving device of this embodiment receives data units one by one according to certain rules, and then composes data frames and parses them. In this process, the transmission status of data on each channel can be clarified based on the bandwidth of each channel and predetermined rules, thereby reducing the overhead of the frame header and improving data transmission efficiency.
[0157] In one embodiment, the receiving module 410 is specifically configured to include:
[0158] For each reception of a data unit, a data unit on the channel with the earliest transmission time is received;
[0159] In the case that there are at least two channels with the earliest sending time, a channel is determined from the channels with the earliest sending time according to the smallest or largest smallest or largest channel number, and the data unit is received through the channel.
[0160] In one embodiment, it further includes:
[0161] The first position determination module is configured to determine the relative position relationship of the start position of each channel according to the uplink bandwidth allocation of each channel in the uplink direction before the data units are combined into a data frame in the receiving order.
[0162] In one embodiment, it further includes:
[0163] The second position determination module is configured to determine the start position of each physical layer subframe by parsing the corresponding PSBd for each channel in the downlink direction, and determine the relative position relationship of the start position of each channel according to the downlink bandwidth allocation of each channel.
[0164] In one embodiment, in the uplink direction, the data frame is a TC data frame composed of the data units, or a DBRu and GEM frame sequence, or a GEM frame sequence; in the downlink direction, the data frame is an XGEM frame sequence composed of the data units.
[0165] The data receiving device proposed in this embodiment and the data receiving method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the data sending method.
[0166] The embodiment of the present application also provides a sending device. The data sending method can be executed by a data sending device, which can be implemented by software and / or hardware and integrated in the sending device. The sending device can be an OLT or ONU in a PON.
[0167] Fig.13 FIG. 1 is a schematic diagram of the hardware structure of a sending device provided in an embodiment. Fig.13 As shown, a sending device provided in this embodiment includes: a processor 510 and a storage device 520. The processor in the sending device may be one or more, Fig.13 Taking a processor 510 as an example, the processor 510 and the storage device 520 in the device may be connected via a bus or other means. Fig.13 The example of connecting through bus is taken in the following.
[0168] The one or more programs are executed by the one or more processors 510, so that the one or more processors implement the data sending method described in any of the above embodiments.
[0169] The storage device 520 in the sending device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the data sending method in the embodiment of the present invention (for example, the attached Fig.11 The modules in the data sending device shown include: a framing module 310, a segmentation module 320 and a sending module 330). The processor 510 executes various functional applications and data processing of the sending device by running the software programs, instructions and modules stored in the storage device 520, that is, the data sending method in the above method embodiment is implemented.
[0170] The storage device 520 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the device (such as the data to be transmitted, data frames, etc. in the above embodiments). In addition, the storage device 520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 520 may further include a memory remotely arranged relative to the processor 510, and these remote memories may be connected to the sending device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0171] Furthermore, when one or more programs included in the above-mentioned sending device are executed by the one or more processors 510, the following operations are implemented: generating a data frame for the data to be transmitted according to the bandwidth on each channel; dividing the data frame into at least two data units; and sending each of the data units one by one through at least two channels according to a predetermined principle.
[0172] The sending device proposed in this embodiment and the data sending method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the data sending method.
[0173] The embodiment of the present application also provides a receiving device. The data receiving method can be executed by a data receiving device, which can be implemented by software and / or hardware and integrated in the receiving device. The sending device can be an OLT or ONU in a PON.
[0174] Fig.14 FIG. 1 is a schematic diagram of the hardware structure of a receiving device provided by an embodiment. Fig.14As shown, a receiving device provided in this embodiment includes: a processor 610 and a storage device 620. The processor in the receiving device may be one or more, Fig.14 Taking a processor 610 as an example, the processor 610 and the storage device 620 in the device may be connected via a bus or other means. Fig.14 The example of connecting through bus is taken in the following.
[0175] The one or more programs are executed by the one or more processors 610, so that the one or more processors implement the data receiving method described in any of the above embodiments.
[0176] The storage device 620 in the receiving device is a computer-readable storage medium that can be used to store one or more programs, which can be software programs, computer executable programs, and modules, such as program instructions / modules corresponding to the data receiving method in the embodiment of the present invention (for example, the attached Fig.12 The modules in the data receiving device shown include: a receiving module 410 and a processing module 420). The processor 610 executes various functional applications and data processing of the receiving device by running the software programs, instructions and modules stored in the storage device 620, that is, implements the data receiving method in the above method embodiment.
[0177] The storage device 620 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the device (such as the data to be transmitted, data frames, etc. in the above embodiments). In addition, the storage device 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the storage device 620 may further include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to a receiving device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0178] Furthermore, when one or more programs included in the above-mentioned receiving device are executed by the one or more processors 610, the following operations are implemented: according to the bandwidth on each channel, data units are received one by one through at least two channels according to a predetermined principle; and each of the data units is organized into a data frame according to the receiving order.
[0179] The receiving device proposed in this embodiment and the data receiving method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the data receiving method.
[0180] An embodiment of the present application also provides a storage medium containing computer executable instructions, which are used to execute a data sending method or a data receiving method when executed by a computer processor.
[0181] The data transmission method comprises: generating a data frame from the data to be transmitted according to the bandwidth on each channel; dividing the data frame into at least two data units; transmitting each of the data units one by one through at least two channels according to a predetermined principle,
[0182] The data receiving method comprises: receiving data units one by one through at least two channels according to a predetermined principle based on the bandwidth of each channel; and composing the data units into data frames according to a receiving sequence.
[0183] Through the above description of the implementation method, the technical personnel in the relevant field can understand that the present application can be implemented by means of software and general hardware, or by hardware. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including multiple instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the method described in any embodiment of the present application.
[0184] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
[0185] The block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions. The computer program can be stored on a memory. The memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc. Computer-readable media may include non-transient storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
[0186] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present invention. Therefore, the proper scope of the present invention will be determined according to the claims.
Claims
1. A data transmission method, applied to a transmission device in a passive optical network, wherein the transmission device is an optical line terminal or an optical network unit, characterized in that: The method comprises: Generate data frames for the data to be transmitted according to the bandwidth of each channel; Splitting the data frame into at least two data units; Sending each of the data units one by one through at least two channels according to the bandwidth on each channel and a predetermined principle; The step of generating a data frame from the data to be transmitted according to the bandwidth of each channel includes: According to the sum of the bandwidths on each channel, data frames are generated from the data to be transmitted in a single-channel format, and no frame header processing is performed on each of the channels; The sending of each of the data units one by one through at least two channels according to the bandwidth of each channel and a predetermined principle comprises: allocating each of the data units to different channels in turn and sending them one by one according to the bandwidth of each channel and a predetermined principle until the data frame is sent completely; The predetermined principle is determined according to one of the following: bandwidth and time slot available for each channel, number of each channel, priority of each channel, and data transmission quality of each channel.
2. The method according to claim 1, characterized in that The data units are sent one by one through at least two channels according to a predetermined principle, including: For each data unit, send the data unit through the channel with the earliest sending time; In the case that there are at least two channels with the earliest sending time, one channel is selected from the channels with the earliest sending time according to the smallest or largest channel number, and the data unit is sent through the channel.
3. The method according to claim 1, characterized in that Also includes: In the case of the uplink direction, the uplink bandwidth allocation of each channel is determined according to the bandwidth allocation information carried in the downlink frame.
4. The method according to claim 1, characterized in that: The data frame includes: Transmitting converged TC data frames, or uplink dynamic bandwidth report DBRu and gigabit encapsulation method GEM frame sequence, or GEM frame sequence.
5. The method according to claim 1, characterized in that Also includes: In the case of a downlink direction, the downlink bandwidth allocation of each channel is determined according to the pre-sending or pre-filling information of each data unit in each channel.
6. The method according to claim 1, characterized in that Also includes: In the case of the downstream direction, the downstream bandwidth on each channel is allocated to the receiving device.
7. The method according to claim 5 or 6, characterized in that: Also includes: In the case of the downlink direction, the downlink bandwidth allocation is sent to the receiving device.
8. According to claim 3, it is characterized in that Also includes: The bandwidth size of the service container is indicated by the bandwidth allocation information in the downlink frame.
9. The method according to claim 1, characterized in that: Also includes: A common bandwidth allocation reference point is determined on each of the channels.
10. The method according to claim 9, characterized in that Determining a common bandwidth allocation reference point on each of the channels comprises: Downlink physical synchronization blocks are synchronously sent on each of the channels, and the downlink physical synchronization blocks are used as common downlink bandwidth allocation reference points on each of the channels.
11. The method according to claim 9, characterized in that Determining a common bandwidth allocation reference point on each of the channels comprises: A time delay is added based on the received downlink physical synchronization block as a common uplink bandwidth allocation reference point on each of the channels.
12. The method according to claim 1, characterized in that Also includes: Transmitting the downstream or upstream bandwidth allocation in each downstream frame; or, Transmit the downlink or uplink bandwidth allocation in case of bandwidth allocation update.
13. A data receiving method, applied to a receiving device in a passive optical network, wherein the receiving device is an optical line terminal or an optical network unit, characterized in that: include: According to the bandwidth on each channel, data units are received one by one through at least two channels according to a predetermined principle, each of the data units is obtained by dividing a data frame by a sending device, and the data frame is generated by the sending device according to the format of a single channel according to the sum of the bandwidth on each channel; Combining the data units into data frames according to the order of reception; According to the bandwidth of each channel, receiving the data units one by one through at least two channels according to a predetermined principle, including: each of the data units is sequentially distributed to different channels according to the bandwidth of each channel and the predetermined principle, and received one by one until the data frame is received; The predetermined principle is determined according to one of the following: bandwidth and time slot available for each channel, number of each channel, priority of each channel, and data transmission quality of each channel.
14. The method according to claim 13, characterized in that The step of receiving the data units one by one through at least two channels according to a predetermined principle comprises: For each reception of a data unit, a data unit on the channel with the earliest transmission time is received; In the case that there are at least two channels with the earliest sending time, a channel is determined from the channels with the earliest sending time according to the smallest or largest channel number, and the data unit is received through the channel.
15. The method according to claim 13, characterized in that Before the data units are combined into a data frame in the order of reception, the method further comprises: In the case of the uplink direction, for each channel, the relative position relationship of the starting positions of each channel is determined according to the uplink bandwidth allocation of each channel.
16. The method according to claim 13, characterized in that Before the data units are combined into a data frame in the order of reception, the method further comprises: In the downlink direction, for each channel, the start position of each physical layer subframe is determined by parsing the corresponding downlink physical synchronization block, and the relative position relationship of the start position of each channel is determined according to the downlink bandwidth allocation of each channel.
17. The method according to claim 13, characterized in that In the case of an uplink direction, the data frame is a TC data frame composed of the data units, or a sequence of DBRu and GEM frames, or a sequence of GEM frames; In the downlink direction, the data frame is a GEM frame sequence composed of the data units.
18. A data sending device, characterized in that: include: A framing module, configured to generate data frames for data to be transmitted according to the bandwidth on each channel; A segmentation module, configured to segment the data frame into at least two data units; A sending module, configured to send each of the data units one by one through at least two channels according to the bandwidth on each channel and a predetermined principle; The step of generating a data frame from the data to be transmitted according to the bandwidth of each channel includes: According to the sum of the bandwidths on each channel, data frames are generated from the data to be transmitted in a single-channel format, and no frame header processing is performed on each of the channels; The sending of each of the data units one by one through at least two channels according to the bandwidth of each channel and a predetermined principle comprises: allocating each of the data units to different channels in turn and sending them one by one according to the bandwidth of each channel and a predetermined principle until the data frame is sent completely; The predetermined principle is determined according to one of the following: bandwidth and time slot available for each channel, number of each channel, priority of each channel, and data transmission quality of each channel.
19. A data receiving device, characterized in that: include: A receiving module, configured to receive data units one by one through at least two channels according to a predetermined principle based on the bandwidth on each channel, each of the data units being obtained by dividing a data frame by a sending device, and the data frame being generated by the sending device in a single-channel format according to the sum of the bandwidths on each channel; A processing module, configured to combine the data units into data frames according to the order in which they are received; According to the bandwidth of each channel, receiving the data units one by one through at least two channels according to the bandwidth of each channel and the predetermined principle, including: each of the data units is sequentially distributed to different channels according to the bandwidth of each channel and the predetermined principle, and received one by one until the data frame is received; The predetermined principle is determined according to one of the following: bandwidth and time slot available for each channel, number of each channel, priority of each channel, and data transmission quality of each channel.
20. A sending device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data sending method according to any one of claims 1 to 12.
21. A receiving device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data receiving method as described in any one of claims 13-17.
22. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the data sending method as described in any one of claims 1 to 12 or the data receiving method as described in any one of claims 13 to 17 is implemented.
Citation Information
Cited By
Method and device for transmitting and receiving data, transmitting device, receiving device, and medium
WO2022033559A1
