WO2018166174A1 - Method and device for transmitting data, method and device for receiving data, and multi-channel epon system - Google Patents
Method and device for transmitting data, method and device for receiving data, and multi-channel epon system Download PDFInfo
- Publication number
- WO2018166174A1 WO2018166174A1 PCT/CN2017/103801 CN2017103801W WO2018166174A1 WO 2018166174 A1 WO2018166174 A1 WO 2018166174A1 CN 2017103801 W CN2017103801 W CN 2017103801W WO 2018166174 A1 WO2018166174 A1 WO 2018166174A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- time period
- data
- receiving
- end device
- identification information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims abstract description 120
- 230000003287 optical effect Effects 0.000 claims description 26
- 238000010586 diagram Methods 0.000 description 26
- 230000008569 process Effects 0.000 description 8
- 238000011084 recovery Methods 0.000 description 6
- 230000001934 delay Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/25—Arrangements specific to fibre transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
Definitions
- the present disclosure relates to, but is not limited to, the field of communications, and in particular, to a data transmitting and receiving method and apparatus, and a multi-channel Ethernet Passive Optical Network (EPON) system.
- EPON Ethernet Passive Optical Network
- NEPON Next Generation EPON
- ITU-T ITU Telecommunication Standardization Sector
- ONT optical line terminal
- ONU optical network unit
- Multi-channels are generally different wavelengths on the same fiber.
- Figure 1 is a system diagram of data transmission in a multi-channel EPON system. As shown in Figure 1, the transmission delay difference is small and stable in a particular system, but this transmission delay difference may change in different systems. In addition, the same channel in the same system is the same wavelength. Due to processing changes at the transmitting end and the receiving end, the transmission delay may also be time-varying. These changes can generally be limited to a range.
- FIG. 2 is a system diagram of data transmission in another multi-channel EPON system. As shown in Figure 2, the connection between different pigtails can occur on the OLT side. Since the OLT is in the equipment room and the pigtails are short, the difference can be controlled within a certain range.
- Figure 3a is a timing diagram of a data transmission sequence and a reception sequence.
- the data 1, 2, 3, and 4 are respectively transmitted on different channels in order
- FIG. 3b is another timing chart of the data transmitting sequence and the receiving sequence.
- data 1 arrives late
- data 4 arrives early
- the actual order of data reception is 2, 4, 3, 1, and the order of the data is disordered.
- the frame number of the EPON series and the Gigabit-Capable Passive Optical Network (GPON) series does not carry the frame number, the data that arrives at the receiving end first is preferentially processed, and then arrives at the receiving. The data at the end is behind.
- GPON Gigabit-Capable Passive Optical Network
- the data sequence can be recovered between the OLT and the ONU by carrying the frame number in the protocol encapsulation of the data. That is, a frame number indicating the transmission order is set in each data transmitted to the receiving device.
- a frame number indicating the transmission order is set in each data transmitted to the receiving device.
- the new generation of standards will try to reuse the old generation standards, so standards compatibility is required, and all data for data transmission carries frames for indicating the transmission order. Sequence number, so it can take up more protocol space to achieve, such as 2 bytes or more. Therefore, in the process of completing the new instrument standard after the improvement of the old generation standard, it is difficult to find the space carrying the frame number.
- This paper provides a data transmission and reception method and device, and a multi-channel EPON system, which can avoid the disorder of the reception sequence caused by the similar or identical data transmission time.
- An embodiment of the present disclosure provides a data transmission method, based on a multi-channel Ethernet passive optical network EPON system, where the method includes:
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first The order in which the data is sent during a period of time, or
- the transmitting device acquires data sent in the second time period, where the second time period
- the sent data carries the second identifier information, where the second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period, or
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
- the transmitting device sends a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period to the receiving end device through different transmission channels.
- the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero
- the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
- the method further includes:
- the receiving order is continued to be used starting from the minimum number corresponding to the receiving order.
- the maximum number corresponding to the number corresponding to the receiving order is greater than or equal to the number of the transmission channels.
- the transmitting end device in a plurality of consecutive intervals, will be multiple in the first time period, or the second time period, or the first time period and When the data sent in the second time period is sent to the receiving end device through different transmission channels, the method further includes: the sending end device determining whether any two consecutive intervals in the plurality of consecutive intervals Acquiring the data sent in the first time period, and if the determination result is yes, instructing the receiving end device to receive the data in an arbitrary receiving sequence in any two consecutive intervals;
- Each of the plurality of consecutive intervals includes: a first time period, or a second time period, or a first time period and a second time period.
- the transmitting end device when the transmitting end device is an optical line terminal OLT, The receiving end device is one or more optical network units ONU; when the transmitting end device is the one or more ONUs, the receiving end device is the OLT.
- the first time period is determined at least by: acquiring, on the different transmission channels, transmission of first time data of the source device to the receiver device Time; determining a maximum value of the difference of the transmission times between two transmission channels in the different transmission channels is the first time period.
- the first identification information is a relative frame number label.
- the second identification information is a default frame number label or a no-frame number label set in the data.
- Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data transmission method described above.
- the embodiment of the present disclosure further provides a data receiving method, based on multi-channel EPON, the method includes:
- the receiving end device obtains multiple data sent by the sending end device through different transmission channels, and obtains the first identification information carried in the data, or the second identification information, or the first identification information and the second identification information.
- the first identification information is used to indicate a sending order of the data sent by the sending end device in a first time period
- the second identification information is used to indicate that the sending end device is in a second time. The order in which the data is sent within the segment;
- the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
- the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero
- the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
- Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data receiving method described above.
- the embodiment of the present disclosure further provides a data sending apparatus, which is located at a transmitting end device based on a multi-channel EPON, and the apparatus includes:
- the acquiring module is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving device is The order in which the data is transmitted during the first time period, or
- the sending module is configured to: send the plurality of the data to the receiving end device through different transmission channels.
- the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero
- the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
- the device further includes: a determining module, configured to: determine whether to obtain in any two consecutive intervals of the plurality of consecutive intervals a data sent in the first time period; a determining module, configured to: when the determination result is yes, instructing the receiving device to receive the receiving device in an arbitrary receiving sequence in any two consecutive intervals Data; wherein each of the plurality of consecutive intervals comprises: a first time period, or a second time period, or a first time period and a second time period.
- the embodiment of the present disclosure further provides a data receiving apparatus, based on a multi-channel EPON, the apparatus includes:
- the acquiring module is configured to: obtain multiple data sent by the sending end device through different transmission channels, and obtain first identification information, or second identification information, or first identification information and And second identifier information, where the first identifier information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identifier information is used to indicate that the sending end device is in The order in which the data is sent during the second time period;
- a receiving module configured to: receive the data according to a receiving order in the first identification information, or
- the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero
- the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
- the embodiment of the present disclosure further provides a multi-channel EPON system, the system comprising:
- the sending end device is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identification information, or
- the receiving end device is configured to: acquire multiple data sent by the sending end device by using different transmission channels, and obtain first identification information carried in the data, or second identification information, or first The identification information and the second identification information; the receiving end device receives the data according to a receiving order in the first identification information, or
- the receiving end device And receiving, by the receiving end device, the data according to the receiving sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwarding the received data.
- Embodiments of the present disclosure also provide a storage medium.
- the storage medium is arranged to store program code for performing the following steps:
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the Determining the order in which the data is sent during the first time period, or
- the transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
- the sending end device sends, to the receiving end, a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period, respectively, through different transmission channels. device.
- Embodiments of the present disclosure also provide a storage medium.
- the storage medium is arranged to store program code for performing the following steps:
- the receiving device obtains multiple data sent by the sending device by using different transmission channels, and obtains first identifier information, or second identifier information, or first identifier information and second information carried in the data.
- Identification information wherein the first identification information user indicates a sending order of the data sent by the sending end device in a first time period, and the second identification information is used to indicate that the sending end device is in a second The order in which the data is sent during the time period;
- the receiving end device receives the data according to a sending sequence in the first identifier information, or
- the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
- the data receiving sequence between the OLT and the ONU can be simplified.
- the recovery implementation mode makes it possible to implement data sequence recovery between the OLT and the ONU simply and efficiently.
- 1 is a system diagram of data transmission in a multi-channel EPON system
- FIG. 2 is a system diagram of data transmission in another multi-channel EPON system
- Figure 3a is a timing diagram of a data transmission sequence and a reception sequence
- Figure 3b is another timing diagram of data transmission order and reception sequence
- FIG. 5 is a timing diagram of data transmission according to an embodiment of the present disclosure.
- FIG. 6 is a timing diagram of another data transmission in accordance with an embodiment of the present disclosure.
- FIG. 7 is a timing diagram of still another type of data transmission in accordance with an embodiment of the present disclosure.
- FIG. 8 is a timing diagram of still another type of data transmission in accordance with an embodiment of the present disclosure.
- FIG. 9 is a timing diagram of still another data transmission in accordance with an embodiment of the present disclosure.
- FIG. 10 is a flowchart of a data receiving method according to an embodiment of the present disclosure.
- FIG. 11 is a structural diagram of a data transmitting apparatus according to an embodiment of the present disclosure.
- FIG. 12 is a structural diagram of another data transmitting apparatus according to an embodiment of the present disclosure.
- FIG. 13 is a structural diagram of a data receiving apparatus according to an embodiment of the present disclosure.
- FIG. 14 is a system configuration diagram of a multi-channel EPON according to an embodiment of the present disclosure.
- Embodiments of the present disclosure provide a data transmission method that operates in the network architecture described in FIG. 1 or 2.
- the sending end device may be an optical line terminal OLT or one or more ONUs.
- the receiving end device may be one Or a plurality of optical network units ONU; when the transmitting end device is the one or more ONUs, the receiving end device may be the OLT.
- FIG. 4 is a flowchart of a data sending method according to an embodiment of the present disclosure. As shown in FIG. 4, the process may include the following steps:
- Step S402 the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is The order in which the data is transmitted during the first time period, or
- the transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
- the first time period is a time period in which the probability that the receiving end device is illegible to receive data sent by the sending end is greater than zero.
- the first time period may include: a sending time interval corresponding to data in which data transmission time is similar or the same between multiple data.
- the receiving device receives data transmitted via the channel 1 later than the data transmitted by the channel 2 due to a short interruption or the like of the transmission channel 1.
- the transmitting device preferentially transmits on channel 1
- the receiving end is also likely to have the receiving device receiving the data transmitted via channel 1 later than the data transmitted by channel 2. The situation, which caused the reception order to be disordered.
- the first time period may also include: other time ranges that may cause garbled reception.
- five data 10-14 with a transmission time of 1 ms are continuously transmitted on channel 1 and one transmission is transmitted on channel 2 in a certain period of time.
- the data is 20 ms in time.
- the sending order of the sender is 10-20-11-12-13-14. Since the data reception can be sequentially received in the transmission order on the same channel, the reception order of the data 10-14 may not change, but since the transmission time of the data 20 is longer than the data transmission time The sum of the transmission times of 10-14, therefore, the actual receiving order of the receiving end is 10-11-12-13-14-20. Therefore, in the above case, the receiving end may also be out of order.
- the first time period is obtained by, but not limited to, obtaining, on the different transmission channels, a transmission time of the first time data of the sending end device to the receiving end device; determining the difference
- the maximum value of the difference in transmission time between any two of the transmission channels is the first period of time.
- the first time period can average the multiple measurement results, and can also be updated in real time according to the sending and receiving process of each data.
- other calculation methods based on the above ideas can also be used to calculate the first time period.
- the second time period is a time period in which the probability that the receiving end device is illegible to receive data sent by the sending end is equal to zero. That is, the second time period may be a time period other than the first time period in the total transmission time of the data.
- the process may further include: when the receiving device receives the data in the first time period, when the number corresponding to the receiving sequence reaches a maximum value, starting from the minimum number corresponding to the receiving sequence, continuing to use The order of reception.
- the maximum value corresponding to the number corresponding to the receiving sequence is greater than or equal to the number of the transmission channels.
- FIG. 5 is a timing diagram of data transmission according to an embodiment of the present disclosure.
- the order of data transmission is data1-data2-data3- Data4-data5-data6.
- the set number of the receiving device in the sequence corresponds to a maximum value of 4. Therefore, the order of the order received by the receiving end may be 1-2-3-4-1-2.
- the set number of the corresponding receiving device may also be 6 or greater, so the corresponding number The order can be 1-2-3-4-5-6.
- the data sent in the first time period is fragmented, wherein each data segment may carry the first identification information.
- the first identification information may be a relative frame serial number label, which is used to indicate the order received by the receiving end
- the second identification information may be a default frame serial number label or a no-frame serial number label that is set in the data, and is used to indicate that the terminal directly forwards the label.
- the received data that is, the data can be received without being instructed according to the order indicated by the transmitting end.
- the concept of "relative" can refer to the order in which data is transmitted on the channel for a period of time in the transmission of all data.
- the transmission of data can be continuous or intermittent. For example, as shown in FIG. 5, if the data data 2 and data 6 on the channel 2 cannot be transmitted due to the reason of the transmitting end, the transmitting end can adjust the order of transmission, that is, adjust to data 1-data 3-data 4-data. 5.
- the foregoing first identifier information and the second identifier information may be implemented in a preamble of an EPON protocol.
- Table 1 is the EPON preamble definition.
- the NGEPON Media Access Control (MAC) layer determines that the frame header has changed from 0xd5/0x55/0x55 to 0xd5/0x15/0x55, and the highest 2 bits of 0x15 are not used for frame header judgment.
- 00, 01, 10 of the highest 2 bits in 0x15 may be used to carry the relative frame number label, and the relative frame number label may be used to indicate the order received by the receiving end, and 11 of 0x15 may be used to carry the default frame.
- the serial number label or the no-frame serial number label which carries the default frame number label or the no-frame number label, can be used to instruct the terminal to directly forward the received data, that is, the data can be received without being instructed according to the order indicated by the sending end. It can be noted that the above numbering supports cyclic use.
- offset 4 can also be used to indicate the identification information.
- the high three bits can be used to carry the relative frame number label in the order of 000, 001, 010, 011, 100, 101, 110, and 111 can be used to carry the default frame number label or the no frame number label.
- the preamble using the multi-channel EPON system is only a method for identifying the data receiving sequence listed in this embodiment, and therefore, other coding methods can also be used.
- 3 bits may be used to indicate the transmission order, for example, 000, 001, 010, 011, 100, 101, 110 may correspond to the transmission order of a first time period, 110, 101. 100, 011, 010, 001, 000 may correspond to the transmission order of another first time period, and when 3 bits are not enough to indicate the transmission order, 4 bits may be used to indicate the transmission order, such as 0000, 0001, 0010, 0011, 0100, 0101 may correspond to a sending sequence of a first time period, and 0111, 1000, 1001, 1010, 1011, 1100 may correspond to a sending sequence of another first time period, 1101, 1110, 0000, 0001, 0010. , 0011 can correspond to the order of transmission of another first time period.
- the second identification information identifying the default frame number label or the no frame number label, such as 11, 111 or 1111 appears, the end of the data transmission in the first time period is indicated. And if there is another first time period subsequently, then the identification may be performed according to the sending order of the other first time period.
- Step S404 the sending end device will be multiple in the first time period, or the second time period, or The data sent in the first time period and the second time period are respectively sent to the receiving end device through different transmission channels.
- the sending end device will be multiple in the first time period, or the second time period, or the first time period and the second time period
- the transmitting end device may determine whether the first time period is acquired in any two consecutive intervals of the plurality of consecutive intervals. If the result of the determination is YES, the receiving device may be instructed to receive the data in an arbitrary receiving sequence in any two consecutive intervals; wherein, in the plurality of consecutive intervals Each interval may include: a first time period, or a second time period, or a first time period and a second time period.
- an independent receiving sequence indication may be used in any two consecutive intervals.
- the receiving end device receives the data, or uses a receiving order of any one of the plurality of consecutive intervals.
- FIG. 6 is a timing diagram of another data transmission according to an embodiment of the present disclosure. As shown in FIG. 6, in the first time period, from channel 1 to channel 4, the order of data transmission is data1-data2-data3-data4. -data5, where data1 and data5 are both sent through channel 1.
- the order of receiving data of the corresponding receiving device is data1-data2-data3-data4-data5. Since data 1, data 2, data 3, data 4, and data 5 are in the same first time period, the sender can use the same sequence number for sorting. In addition, in order to reduce the occupation of the space in the data, only the three high bits in the offset 4 can be used, so the sequence number labels corresponding to the receiving order of the received terminals are: 000, 001, 010, 011, 100.
- FIG. 7 is a timing diagram of still another data transmission according to an embodiment of the present disclosure, as shown in FIG.
- the order of data transmission is data1-data2-data3-data4
- the order of data transmission from channel 1 to channel 4 is data5-data6-data7- Data8.
- the order of receiving data of the corresponding receiving device is data1-data2-data3-data4.
- Data5 to data8 receive in the default order after receiving data4, and perform corresponding forwarding operations after receiving. Since data 1, data 2, data 3, and data 4 are located in the same first time period, data5, data6, data7, and data8 are located in a first time period, so the sender can use the same sequence number for sorting. In addition, in order to reduce the occupation of the space in the data, only the two high bits in the offset 4 can be used. Therefore, the sequence number labels corresponding to the receiving order of the set receiving end are: 00, 01, 10, 00, 11, 11, 11,11.
- FIG. 8 is a timing diagram of still another data transmission according to an embodiment of the present disclosure. As shown in FIG. 8, in the first two first time periods, from the channel 1 to the channel in the first first time period. 4. The order of data transmission is data1-data2-data3-data4. In the second first time period, the order of data transmission from channel 1 to channel 4 is data5-data6-data7-data8.
- the order of receiving data of the corresponding receiving device is data1-data2-data3-data4-data5-data6-data7-data8. Since data 1, data 2, data 3, and data 4 are located in the first first time period. The data 5, data 6, data 7, and data 8 are located in the second first time period. Therefore, the sequence number labels corresponding to the receiving order of the receiving end may be different, and may belong to two different number spaces. That is, the sequence number label corresponding to the receiving sequence may be: 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, where 0000, 0001, 0010, 0011 is a number space, and 0100, 0101, 0110, 0111 are another Number space.
- FIG. 9 is a timing diagram of still another data transmission according to an embodiment of the present disclosure. As shown in FIG. 9, in the first time period, from channel 1 to channel 4, data packet1, packet2 are fragmented into data 11, respectively. Data 12, data 13, data 14, data 21, data 22, data 23, data 24.
- the data segments may be transmitted according to the transmission characteristics of the data, that is, in the order of the channels. Therefore, the order of receiving data of the corresponding receiving device may be data11-data12-data13-data14-data21-data 22-data 23-data24. Due to the above data bits In the same first time period, the sender can use the same sequence number to sort. In this scenario, the three high bits in offset4 can be used. Therefore, the sequence number labels corresponding to the receiving order of the receiver are: 000, 001, 010, 011, 100, 101, 110,000.
- data12, data13, data14 At least the data and the total number of data fragments can be specified in the transmission of these data segments, and data21, data 22, data 23, and data24 are also the same.
- data11-data12-data13-data14 and data21-data22-data23-data24 can also be sorted by two independent number spaces, that is, data11-data12-data13-data14 is numbered by 0000, 0001, 0010, 0011.
- data21-data22-data 23-data24 is numbered with 0100, 0101, 0110, 0111, 0000, 0001, 0010, 0011 and 0100, 0101, 0110, 0111 are two independent number spaces.
- the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware.
- the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
- the optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present disclosure.
- the embodiment of the present disclosure also provides a data receiving method running in the network architecture described in FIG. 1 or 2.
- the sending end device may be an optical line terminal OLT or one or more ONUs.
- the receiving end device may be one Or a plurality of optical network units ONU; when the transmitting end device is the one or more ONUs, the receiving end device may be the OLT.
- FIG. 10 is a flowchart of a data receiving method according to an embodiment of the present disclosure. As shown in FIG. 10, the process may include the following steps:
- the receiving end device obtains multiple data sent by the sending end device through different transmission channels, and obtains the first identification information carried in the data, or the second identification information, or a first identification information and a second identification information, where the first identification information is a sending order of the data sent by the sending end device in a first time period, and the second identification information is used to indicate the The sending order of the data sent by the sending device in the second time period;
- the receiving end device receives the data according to a sending sequence in the first identifier information, or
- the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
- the embodiment of the present disclosure further provides a data transmitting apparatus, which may be configured to implement the foregoing embodiments and optional embodiments, and details of the foregoing description are omitted.
- a data transmitting apparatus may be configured to implement the foregoing embodiments and optional embodiments, and details of the foregoing description are omitted.
- the term "module” may implement a combination of software of a predetermined function, or a combination of hardware, or a combination of software and hardware.
- the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 11 is a structural diagram of a data transmitting apparatus according to an embodiment of the present disclosure. As shown in FIG. 11, the apparatus may include an obtaining module 1102 and a transmitting module 1104.
- the obtaining module 1102 is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries first identification information, where the first identification information is used to indicate the receiving end device. The order in which the data is received during the first time period, or
- the data sent in the first time period carries the first identification information
- the first identification information is used to indicate that the receiving end device is in the first time period a sequence of receiving the data sent in the second time period, and acquiring data sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier
- the information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
- the sending module 1104 is configured to: send the plurality of the data to the receiving end device through different transmission channels.
- the first time period may be a time period in which the receiving end device is illegible to receive data sent by the sending end, and the second time period may be that the receiving end device is in a disorderly receiving manner.
- FIG. 12 is a structural diagram of another data transmitting apparatus according to an embodiment of the present disclosure. As shown in FIG. 12, in addition to all the modules shown in FIG. 11, the apparatus will have multiple locations in a plurality of consecutive time periods. The first time period, or the second time period, or the data sent in the first time period and the second time period are respectively sent to the receiving end device through different transmission channels, and may also include : Judgment module 1202 and determination module 1204.
- the determining module 1202 is configured to: determine whether data sent in the first time period is acquired in any two consecutive intervals of the plurality of consecutive intervals;
- the determining module 1204 is configured to: when the determination result is yes, instructing the receiving end device to receive the data by using an independent receiving sequence in any two consecutive intervals;
- Each of the plurality of consecutive intervals may include: a first time period, or a second time period, or a first time period and a second time period.
- modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
- the embodiment of the present disclosure further provides a data receiving device, which may be configured to implement the foregoing embodiments and optional implementations, and details are not described herein.
- a data receiving device may be configured to implement the foregoing embodiments and optional implementations, and details are not described herein.
- the term "module” may implement a combination of software of a predetermined function, or a combination of hardware, or a combination of software and hardware.
- the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 13 is a structural diagram of a data receiving apparatus according to an embodiment of the present disclosure, as shown in FIG.
- the apparatus may include an acquisition module 1302 and a transmission module 1304.
- the obtaining module 1302 is configured to: obtain, by using different transmission channels, multiple data sent by the sending end device, and obtain the first identification information carried in the data, or the second identification information, or the first identification information and a second identifier information, where the first identifier information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identifier information is used to indicate the sending end device The order in which the data is transmitted during the second time period;
- the receiving module 1304 is configured to: receive the data according to a sending order in the first identifier information, or
- the first time period may be a time period in which the receiving end device is illegible to receive data sent by the sending end, and the second time period may be that the receiving end device is in a disorderly receiving manner.
- modules may be implemented by software or hardware.
- the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
- FIG. 14 is a system structural diagram of a multi-channel EPON according to an embodiment of the present disclosure. As shown in FIG. 14, the system may include: a transmitting end device 1402 and receiving End device 1404.
- the sending end device 1402 is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identification information, or
- the receiving end device 1404 is configured to: acquire the multiple pieces of data sent by the sending end device 1402 through different transmission channels, and obtain the first identification information carried in the data, or the second identification information, or First identifier information and second identifier information; according to the receiving order in the first identifier information, the receiving device receives the data, or
- the receiving end device And receiving, by the receiving end device, the data according to the receiving sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwarding the received data.
- the sending end device may be an optical line terminal OLT or one or more ONUs.
- the receiving end device 1404 may be one or more optical network units ONU.
- the transmitting device 1402 is the one or more ONUs
- the receiving device 1404 may be the OLT.
- Embodiments of the present disclosure also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the Determining the order in which the data is sent during the first time period, or
- the transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or
- the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
- the sending end device sends, to the receiving end, a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period, respectively, through different transmission channels. device.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- Embodiments of the present disclosure also provide a storage medium.
- the foregoing storage medium may be configured to store program code for performing the following steps:
- the receiving device obtains multiple data sent by the sending device by using different transmission channels, and obtains first identifier information, or second identifier information, or first identifier information and second information carried in the data.
- the first identification information is used to indicate a sending order of the data sent by the sending end device in a first time period
- the second identification information user indicates that the sending end device is in a second The order in which the data is sent during the time period;
- the receiving end device receives the data according to a sending sequence in the first identifier information, or
- the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data transmission method described above.
- Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data receiving method described above.
- modules or steps of the embodiments of the present disclosure may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein.
- the steps shown or described are either made separately into different integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
- embodiments of the present disclosure are not limited to any specific combination of hardware and software.
- computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
- Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read-only Memory (EEPROM). Flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or Any other medium used to store the desired information and that can be accessed by the computer.
- communication media typically comprise computer readable instructions, data structures, program modules or such as carrier waves or other Other data in the modulated data signal, such as a transmission mechanism, and can include any information delivery medium.
- the data receiving sequence between the OLT and the ONU can be simplified.
- the recovery implementation mode makes it possible to implement data sequence recovery between the OLT and the ONU simply and efficiently.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
A method for receiving data comprises: a receiving end device separately obtains, by means of different transmission channels, multiple pieces of data transmitted by a transmitting end device and obtains first identification information, or second identification data, or the first identification information and the second identification data carried in the data, wherein the first identification information is used for indicating a transmitting sequence of the data transmitted by the transmitting end device within a first time period, and the second identification data is used for indicating a transmitting sequence of the data transmitted by the transmitting end device within a second time period; the receiving end device receives the data according to the transmitting sequence in the first identification information, or the receiving end device forwards the received data according to the second identification information, or the receiving end device receives the data according to the transmitting sequence in the first identification information and forwards the received data according to the second identification information.
Description
本公开涉及但不限于通信领域,尤其是一种数据发送、接收方法及装置以及多通道以太网无源光网络(Ethernet Passive Optical Network,简称EPON)系统。The present disclosure relates to, but is not limited to, the field of communications, and in particular, to a data transmitting and receiving method and apparatus, and a multi-channel Ethernet Passive Optical Network (EPON) system.
电气与电子工程师协会(Institute of Electrical and Electronics Engineers,简称IEEE)下一代EPON(Next Generation EPON,简称NGEPON)及国际电信联盟电信标准分局(ITU Telecommunication Standardization Sector,简称ITU-T)下一代无源光纤网络2(Next Generation Passive Optical Network 2,简称NG-PON2)在标准制定过程中涉及多通道绑定,光线路终端(Optical Line Terminal,简称OLT)和光网络单元(Optical Network Unit,简称ONU)之间通过多个通道进行数据传输。Institute of Electrical and Electronics Engineers (IEEE) Next Generation EPON (NGEPON) and ITU Telecommunication Standardization Sector (ITU-T) Next-Generation Passive Fiber Next Generation Passive Optical Network 2 (NG-PON2) involves multi-channel bonding, optical line terminal (OLT) and optical network unit (ONU) in the standard setting process. Data transmission through multiple channels.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
关于IEEE NGEPON及ITU-T NG-PON2在标准制定过程中涉及的多通道绑定,由于多个通道的传输延迟不一样,在多个通道传输的数据到达接收端的顺序与离开发送端的顺序不一样,则在接收端涉及到数据的顺序恢复。Regarding the multi-channel binding involved in IEEE NGEPON and ITU-T NG-PON2 in the standard setting process, since the transmission delays of multiple channels are different, the order of data transmitted on multiple channels to the receiving end is different from the order of leaving the transmitting end. , in the receiving end involves the sequential recovery of data.
多通道一般是相同光纤上的不同波长,图1是一种多通道EPON系统中数据传输的系统图。如图1所示,在某一个特定系统中传输延迟差别较小且较稳定,但是在不同系统中这种传输延迟差别又可能出现变化。另外,同一个系统中的同一个通道即同一个波长,由于发送端和接收端的处理变化,传输延迟也可能出现一定的时变性。这些变化一般都可以限定在一个范围内。Multi-channels are generally different wavelengths on the same fiber. Figure 1 is a system diagram of data transmission in a multi-channel EPON system. As shown in Figure 1, the transmission delay difference is small and stable in a particular system, but this transmission delay difference may change in different systems. In addition, the same channel in the same system is the same wavelength. Due to processing changes at the transmitting end and the receiving end, the transmission delay may also be time-varying. These changes can generally be limited to a range.
在某些特殊的应用中,OLT侧可以出现不同通道连接不同的PON端口,
图2是另一种多通道EPON系统中数据传输的系统图。如图2所示,这样在OLT侧可以出现通过不同的尾纤连接情况,由于OLT在机房中,且尾纤很短,因此,在实际应用这种差别也可以控制在一定的范围内。In some special applications, different PON ports can be connected to different channels on the OLT side.
2 is a system diagram of data transmission in another multi-channel EPON system. As shown in Figure 2, the connection between different pigtails can occur on the OLT side. Since the OLT is in the equipment room and the pigtails are short, the difference can be controlled within a certain range.
图3a是一种数据发送顺序和接收顺序的时序图。如图3a所示,为数据发送端的数据顺序,数据1、2、3、4按顺序分别在不同通道上发送,图3b是另一种数据发送顺序和接收顺序的时序图。而如图3b所示,在接收端,数据1到达的晚了,而数据4到达的早了,数据的实际接收顺序为2、4、3、1,数据的顺序发生了错乱。由于EPON系列、吉比特无源光网络(Gigabit-Capable Passive Optical Network,简称GPON)系列的协议封装中都没有携带帧序号,则可以是先到达接收端的数据在前,优先被处理,而后到达接收端的数据在后。但是由于多个通道上的各自的传输延迟不一样,而且单个通道内不同数据的数据延迟也不同,发送时间相近的数据可能出现先发的后到、后发的先到的情况,或者发送时间相同的数据先后到达接收端的情况。Figure 3a is a timing diagram of a data transmission sequence and a reception sequence. As shown in FIG. 3a, for the data sequence of the data transmitting end, the data 1, 2, 3, and 4 are respectively transmitted on different channels in order, and FIG. 3b is another timing chart of the data transmitting sequence and the receiving sequence. As shown in FIG. 3b, at the receiving end, data 1 arrives late, and data 4 arrives early, and the actual order of data reception is 2, 4, 3, 1, and the order of the data is disordered. Since the frame number of the EPON series and the Gigabit-Capable Passive Optical Network (GPON) series does not carry the frame number, the data that arrives at the receiving end first is preferentially processed, and then arrives at the receiving. The data at the end is behind. However, since the respective transmission delays on multiple channels are different, and the data delays of different data in a single channel are different, data with similar transmission times may have a first-come, first-come, first-coming, or transmission time. The same data arrives at the receiving end.
可以利用在数据的协议封装中携带帧序号,来实现OLT和ONU之间数据顺序的恢复。即对于每个发送至接收端设备的数据中都设置有指示发送顺序的帧序号。但是在EPON系列、GPON系列标准各自的标准化过程中,新一代的标准会尽量重用老一代的标准,因此涉及到标准兼容等,同时,所有进行数据传输的数据都携带有用于指示发送顺序的帧序号,因此可以占用较多协议空间来实现,如2字节或者更多。故而由于在老一代的标准上进行改进后完成新仪表标准的过程中,找到承载帧序号的空间是一件比较困难的事情。The data sequence can be recovered between the OLT and the ONU by carrying the frame number in the protocol encapsulation of the data. That is, a frame number indicating the transmission order is set in each data transmitted to the receiving device. However, in the standardization process of the EPON series and the GPON series standards, the new generation of standards will try to reuse the old generation standards, so standards compatibility is required, and all data for data transmission carries frames for indicating the transmission order. Sequence number, so it can take up more protocol space to achieve, such as 2 bytes or more. Therefore, in the process of completing the new instrument standard after the improvement of the old generation standard, it is difficult to find the space carrying the frame number.
本文提供了一种数据发送、接收方法及装置以及多通道EPON系统,能够避免由于数据发送时间相近或者相同所引起的接收顺序错乱。This paper provides a data transmission and reception method and device, and a multi-channel EPON system, which can avoid the disorder of the reception sequence caused by the similar or identical data transmission time.
本公开实施例提供了一种数据发送方法,基于多通道以太网无源光网络EPON系统,所述方法包括:An embodiment of the present disclosure provides a data transmission method, based on a multi-channel Ethernet passive optical network EPON system, where the method includes:
发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first The order in which the data is sent during a period of time, or
发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内
发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或The transmitting device acquires data sent in the second time period, where the second time period
The sent data carries the second identifier information, where the second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period, or
发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
所述发送端设备将多个在第一时间段,或,第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备。The transmitting device sends a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period to the receiving end device through different transmission channels.
在一种示例性实施方式中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。In an exemplary embodiment, the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero, and the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
在一种示例性实施方式中,还包括:In an exemplary embodiment, the method further includes:
在所述接收顺序对应的编号达到最大值时,从所述接收顺序对应的编号最小值开始,继续使用所述接收顺序。When the number corresponding to the receiving order reaches a maximum value, the receiving order is continued to be used starting from the minimum number corresponding to the receiving order.
在一种示例性实施方式中,所述接收顺序对应的编号对应的最大值大于或等于所述传输通道的数目。In an exemplary embodiment, the maximum number corresponding to the number corresponding to the receiving order is greater than or equal to the number of the transmission channels.
在一种示例性实施方式中,在多个连续区间内,所述发送端设备将多个在所述第一时间段,或,所述第二时间段,或,所述第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备时,所述方法还包括:所述发送端设备判断是否在所述多个连续区间中的任意两个连续区间中均获取在所述第一时间段内发送的数据,在判断结果为是的情况下,在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据;其中,所述多个连续区间中的每个区间包括:第一时间段,或,第二时间段,或,第一时间段和第二时间段。In an exemplary embodiment, in a plurality of consecutive intervals, the transmitting end device will be multiple in the first time period, or the second time period, or the first time period and When the data sent in the second time period is sent to the receiving end device through different transmission channels, the method further includes: the sending end device determining whether any two consecutive intervals in the plurality of consecutive intervals Acquiring the data sent in the first time period, and if the determination result is yes, instructing the receiving end device to receive the data in an arbitrary receiving sequence in any two consecutive intervals; Each of the plurality of consecutive intervals includes: a first time period, or a second time period, or a first time period and a second time period.
在一种示例性实施方式中,当所述发送端设备为光线路终端OLT时,所
述接收端设备为一个或多个光网络单元ONU;当所述发送端设备为所述一个或多个ONU时,所述接收端设备为所述OLT。In an exemplary embodiment, when the transmitting end device is an optical line terminal OLT,
The receiving end device is one or more optical network units ONU; when the transmitting end device is the one or more ONUs, the receiving end device is the OLT.
在一种示例性实施方式中,所述第一时间段至少通过以下方式进行确定:在所述不同的传输通道上,获取所述发送端设备至所述接收端设备的第一时间数据的传输时间;确定所述不同的传输通道中两个传输通道之间的所述传输时间之差的最大值为所述第一时间段。In an exemplary embodiment, the first time period is determined at least by: acquiring, on the different transmission channels, transmission of first time data of the source device to the receiver device Time; determining a maximum value of the difference of the transmission times between two transmission channels in the different transmission channels is the first time period.
在一种示例性实施方式中,所述第一标识信息为相对帧序号标签。In an exemplary embodiment, the first identification information is a relative frame number label.
在一种示例性实施方式中,所述第二标识信息为设置在数据的默认帧序号标签或无帧序号标签。In an exemplary embodiment, the second identification information is a default frame number label or a no-frame number label set in the data.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述数据发送方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data transmission method described above.
本公开实施例还提供了一种数据接收方法,基于多通道EPON,所述方法包括:The embodiment of the present disclosure further provides a data receiving method, based on multi-channel EPON, the method includes:
接收端设备分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用于指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;The receiving end device obtains multiple data sent by the sending end device through different transmission channels, and obtains the first identification information carried in the data, or the second identification information, or the first identification information and the second identification information. The first identification information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identification information is used to indicate that the sending end device is in a second time. The order in which the data is sent within the segment;
根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,或Receiving, by the receiving device, the data according to a sending order in the first identification information, or
根据所述第二标识信息,所述接收端设备转发接收的所述数据,或Determining, by the receiving end device, the received data according to the second identification information, or
根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
在一种示例性实施方式中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。In an exemplary embodiment, the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero, and the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述数据接收方法。
Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data receiving method described above.
本公开实施例还提供了一种数据发送装置,基于多通道EPON,位于发送端设备,所述装置包括:The embodiment of the present disclosure further provides a data sending apparatus, which is located at a transmitting end device based on a multi-channel EPON, and the apparatus includes:
获取模块,设置为:获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或The acquiring module is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving device is The order in which the data is transmitted during the first time period, or
获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或Acquiring the data sent in the second time period, where the data sent in the second time period carries the second identification information, where the second identification information is used to indicate that the receiving end device is receiving Forwarding the data after the data is sent within two time periods, or
获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;Acquiring the data sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the first time period Receiving the received data in the second time period, and acquiring the data sent in the second time period, wherein the data sent in the second time period carries the second identification information, where the second identification information is used Instructing the receiving end device to forward the data after receiving the data sent in the second time period;
发送模块,设置为:将多个所述数据分别通过不同的传输通道发送至所述接收端设备。The sending module is configured to: send the plurality of the data to the receiving end device through different transmission channels.
在一种示例性实施方式中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。In an exemplary embodiment, the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero, and the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
在一种示例性实施方式中,在多个连续时间段内,将多个在所述第一时间段,或,所述第二时间段,或,所述第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备时,所述装置还包括:判断模块,设置为:判断是否在所述多个连续区间中的任意两个连续区间中均获取在所述第一时间段内发送的数据;确定模块,设置为:在判断结果为是的情况下,在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据;其中,所述多个连续区间中的每个区间包括:第一时间段,或,第二时间段,或,第一时间段和第二时间段。In an exemplary embodiment, during a plurality of consecutive time periods, a plurality of the first time period, or the second time period, or the first time period and the second time period When the data sent by the internal transmission is sent to the receiving device through different transmission channels, the device further includes: a determining module, configured to: determine whether to obtain in any two consecutive intervals of the plurality of consecutive intervals a data sent in the first time period; a determining module, configured to: when the determination result is yes, instructing the receiving device to receive the receiving device in an arbitrary receiving sequence in any two consecutive intervals Data; wherein each of the plurality of consecutive intervals comprises: a first time period, or a second time period, or a first time period and a second time period.
本公开实施例还提供了一种数据接收装置,基于多通道EPON,所述装置包括:
The embodiment of the present disclosure further provides a data receiving apparatus, based on a multi-channel EPON, the apparatus includes:
获取模块,设置为:分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用于指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;The acquiring module is configured to: obtain multiple data sent by the sending end device through different transmission channels, and obtain first identification information, or second identification information, or first identification information and And second identifier information, where the first identifier information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identifier information is used to indicate that the sending end device is in The order in which the data is sent during the second time period;
接收模块,设置为:根据所述第一标识信息中的接收顺序,接收所述数据,或a receiving module, configured to: receive the data according to a receiving order in the first identification information, or
根据所述第二标识信息,转发接收的所述数据,或Forwarding the received data according to the second identification information, or
根据所述第一标识信息中的发送顺序,接收所述数据,以及,根据所述第二标识信息,转发接收的所述数据。Receiving the data according to a sending order in the first identification information, and forwarding the received data according to the second identification information.
在一种示例性实施方式中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。In an exemplary embodiment, the first time period is a time period in which the receiving end device confuses the probability that the data sent by the sending end is greater than zero, and the second time period is the receiving end device. The time period in which the probability of receiving the data transmitted by the transmitting end is equal to zero.
本公开实施例还提供了一种多通道EPON系统,所述系统包括:The embodiment of the present disclosure further provides a multi-channel EPON system, the system comprising:
发送端设备,设置为:获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,或The sending end device is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identification information, or
获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,或Acquiring data sent in the second time period, where the data sent in the second time period carries the second identification information, or
获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,以及获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息;将多个在第一时间段,或,第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备;Acquiring the data sent in the first time period, where the data sent in the first time period carries the first identification information, and the data sent in the second time period, wherein the second time The data sent in the segment carries the second identification information; and the data sent in the first time period, or the second time period, or the first time period and the second time period respectively pass through different transmission channels Sent to the receiving device;
所述接收端设备,设置为:分别通过不同的传输通道获取所述发送端设备发送的多个数据,并获取该数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;根据所述第一标识信息中的接收顺序,所述接收端设备接收所述数据,或The receiving end device is configured to: acquire multiple data sent by the sending end device by using different transmission channels, and obtain first identification information carried in the data, or second identification information, or first The identification information and the second identification information; the receiving end device receives the data according to a receiving order in the first identification information, or
根据所述第二标识信息,所述接收端设备转发接收的所述数据,或
Determining, by the receiving end device, the received data according to the second identification information, or
根据所述第一标识信息中的接收顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And receiving, by the receiving end device, the data according to the receiving sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwarding the received data.
本公开实施例还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:Embodiments of the present disclosure also provide a storage medium. The storage medium is arranged to store program code for performing the following steps:
S1,发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或S1, the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the Determining the order in which the data is sent during the first time period, or
发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或The transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or
发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
S2,所述发送端设备将多个在第一时间段,或,第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备。S2. The sending end device sends, to the receiving end, a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period, respectively, through different transmission channels. device.
本公开实施例还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:Embodiments of the present disclosure also provide a storage medium. The storage medium is arranged to store program code for performing the following steps:
S1,接收端设备分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用户指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;S1. The receiving device obtains multiple data sent by the sending device by using different transmission channels, and obtains first identifier information, or second identifier information, or first identifier information and second information carried in the data. Identification information, wherein the first identification information user indicates a sending order of the data sent by the sending end device in a first time period, and the second identification information is used to indicate that the sending end device is in a second The order in which the data is sent during the time period;
S2,根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,或
S2. The receiving end device receives the data according to a sending sequence in the first identifier information, or
根据所述第二标识信息,所述接收端设备转发接收的所述数据,或Determining, by the receiving end device, the received data according to the second identification information, or
根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
通过本公开实施例,通过在不同的时间区间内携带不同的标识信息并对可能发生错乱接收的时间段对应的标识信息中设置顺序接收的指示,因此,可以简化OLT和ONU之间数据接收顺序的恢复实现方式,从而可以简单有效地实现OLT和ONU之间数据顺序恢复。According to the embodiment of the present disclosure, by sequentially carrying different identification information in different time intervals and setting an indication of sequential reception in the identification information corresponding to the time period in which the disordered reception may occur, the data receiving sequence between the OLT and the ONU can be simplified. The recovery implementation mode makes it possible to implement data sequence recovery between the OLT and the ONU simply and efficiently.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是一种多通道EPON系统中数据传输的系统图;1 is a system diagram of data transmission in a multi-channel EPON system;
图2是另一种多通道EPON系统中数据传输的系统图;2 is a system diagram of data transmission in another multi-channel EPON system;
图3a是一种数据发送顺序和接收顺序的时序图;Figure 3a is a timing diagram of a data transmission sequence and a reception sequence;
图3b是另一种数据发送顺序和接收顺序的时序图Figure 3b is another timing diagram of data transmission order and reception sequence
图4是根据本公开实施例的一种数据发送方法的流程图;4 is a flowchart of a data transmitting method according to an embodiment of the present disclosure;
图5是根据本公开实施例的一种数据发送的时序图;FIG. 5 is a timing diagram of data transmission according to an embodiment of the present disclosure; FIG.
图6是根据本公开实施例的另一种数据发送的时序图;6 is a timing diagram of another data transmission in accordance with an embodiment of the present disclosure;
图7是根据本公开实施例的再一种数据发送的时序图;7 is a timing diagram of still another type of data transmission in accordance with an embodiment of the present disclosure;
图8是根据本公开实施例的还一种数据发送的时序图;8 is a timing diagram of still another type of data transmission in accordance with an embodiment of the present disclosure;
图9是根据本公开实施例的又一种数据发送的时序图;9 is a timing diagram of still another data transmission in accordance with an embodiment of the present disclosure;
图10是根据本公开实施例的一种数据接收方法的流程图;FIG. 10 is a flowchart of a data receiving method according to an embodiment of the present disclosure; FIG.
图11是根据本公开实施例的一种数据发送装置的结构图;11 is a structural diagram of a data transmitting apparatus according to an embodiment of the present disclosure;
图12是根据本公开实施例的另一种数据发送装置的结构图;FIG. 12 is a structural diagram of another data transmitting apparatus according to an embodiment of the present disclosure; FIG.
图13是根据本公开实施例的一种数据接收装置的结构图;FIG. 13 is a structural diagram of a data receiving apparatus according to an embodiment of the present disclosure; FIG.
图14是根据本公开实施例的一种多通道EPON的系统结构图。FIG. 14 is a system configuration diagram of a multi-channel EPON according to an embodiment of the present disclosure.
本公开的较佳实施方式Preferred embodiment of the present disclosure
下面结合附图对本公开的实施方式进行描述。
Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
可以说明的是,本文中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It may be noted that the terms "first", "second" and the like are used herein to distinguish similar objects, and are not necessarily used to describe a particular order or order.
本公开实施例提供了一种运行于图1或者图2中描述的网络架构的数据发送方法。可以指出的是,在本实施例中,所述发送端设备可以为光线路终端OLT或一个或多个ONU,当所述发送端设备为光线路终端OLT时,所述接收端设备可以为一个或多个光网络单元ONU;当所述发送端设备为所述一个或多个ONU时,所述接收端设备可以为所述OLT。Embodiments of the present disclosure provide a data transmission method that operates in the network architecture described in FIG. 1 or 2. It can be noted that, in this embodiment, the sending end device may be an optical line terminal OLT or one or more ONUs. When the sending end device is an optical line terminal OLT, the receiving end device may be one Or a plurality of optical network units ONU; when the transmitting end device is the one or more ONUs, the receiving end device may be the OLT.
图4是根据本公开实施例的一种数据发送方法的流程图,如图4所示,该流程可以包括如下步骤:FIG. 4 is a flowchart of a data sending method according to an embodiment of the present disclosure. As shown in FIG. 4, the process may include the following steps:
步骤S402,发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或Step S402, the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is The order in which the data is transmitted during the first time period, or
发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或The transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or
发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
可选地,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段。Optionally, the first time period is a time period in which the probability that the receiving end device is illegible to receive data sent by the sending end is greater than zero.
可选地,第一时间段可以包括:多个数据间数据发送时间相近或者相同的数据所对应的发送时间区间。例如,在相同时间发送时,由于传输通道1发生了短暂的干扰等,接收端设备接收经由通道1发送的数据要晚于通道2发送的数据。同理,在发送时间相近的情况下,虽然发送端设备优先在通道1上发送,但是,接收端也很有可能存在接收端设备接收经由通道1发送的数据要晚于通道2发送的数据的情况,从而引起了接收顺序错乱。Optionally, the first time period may include: a sending time interval corresponding to data in which data transmission time is similar or the same between multiple data. For example, when transmitting at the same time, the receiving device receives data transmitted via the channel 1 later than the data transmitted by the channel 2 due to a short interruption or the like of the transmission channel 1. Similarly, in the case where the transmission time is similar, although the transmitting device preferentially transmits on channel 1, the receiving end is also likely to have the receiving device receiving the data transmitted via channel 1 later than the data transmitted by channel 2. The situation, which caused the reception order to be disordered.
可选地,第一时间段也可以包括:其他可能产生错乱接收的时间范围。
例如,由于图1或者图2中路径的不同,在某一个时间段内,在通道1上连续发送了5个传输时间为1ms的数据data 10-14,而在通道2上发送了1个传输时间为10ms的数据data 20。发送端的发送顺序为10-20-11-12-13-14。由于在同一通道上,数据的接收可以按照发送顺序依次接收,因此,对于data 10-14的接收顺序而言可以是不发生变化的,然而由于数据20的传输时间data 20的传输时间要大于data 10-14的传输时间之和,因此,接收端的实际接收顺序为10-11-12-13-14-20。因此,在上述情况下也可能产生接收端乱序。此外,例如由于不同传输通道的传输延迟、传输稳定性不同,因此,也可能产生不同通道之间,接收端接收数据的顺序错乱。Optionally, the first time period may also include: other time ranges that may cause garbled reception.
For example, due to the difference of the paths in FIG. 1 or FIG. 2, five data 10-14 with a transmission time of 1 ms are continuously transmitted on channel 1 and one transmission is transmitted on channel 2 in a certain period of time. The data is 20 ms in time. The sending order of the sender is 10-20-11-12-13-14. Since the data reception can be sequentially received in the transmission order on the same channel, the reception order of the data 10-14 may not change, but since the transmission time of the data 20 is longer than the data transmission time The sum of the transmission times of 10-14, therefore, the actual receiving order of the receiving end is 10-11-12-13-14-20. Therefore, in the above case, the receiving end may also be out of order. In addition, for example, due to different transmission delays and transmission stability of different transmission channels, it is also possible to generate a disorder in which the receiving end receives data between different channels.
可选地,第一时间段通过但不限于以下方式获取:在所述不同的传输通道上,获取所述发送端设备至所述接收端设备的第一时间数据的传输时间;确定所述不同的传输通道中任意两个传输通道之间的所述传输时间之差的最大值为所述第一时间段。Optionally, the first time period is obtained by, but not limited to, obtaining, on the different transmission channels, a transmission time of the first time data of the sending end device to the receiving end device; determining the difference The maximum value of the difference in transmission time between any two of the transmission channels is the first period of time.
可以指出的是,第一时间段可以为多次测量结果取平均值,还可以根据每一次数据的发送与接收过程进行实时更新。当然也可以采用其他基于上述思路的计算方法来计算得到第一时间段。It can be pointed out that the first time period can average the multiple measurement results, and can also be updated in real time according to the sending and receiving process of each data. Of course, other calculation methods based on the above ideas can also be used to calculate the first time period.
可选地,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。即第二时间段可以为数据的传输总时间中第一时间段之外的时间段。Optionally, the second time period is a time period in which the probability that the receiving end device is illegible to receive data sent by the sending end is equal to zero. That is, the second time period may be a time period other than the first time period in the total transmission time of the data.
可选地,该流程还可以包括:接收端设备在第一时间段内接收数据时,在所述接收顺序对应的编号达到最大值时,从所述接收顺序对应的编号最小值开始,继续使用所述接收顺序。Optionally, the process may further include: when the receiving device receives the data in the first time period, when the number corresponding to the receiving sequence reaches a maximum value, starting from the minimum number corresponding to the receiving sequence, continuing to use The order of reception.
可选地,接收顺序对应的编号对应的最大值大于或等于所述传输通道的数目。Optionally, the maximum value corresponding to the number corresponding to the receiving sequence is greater than or equal to the number of the transmission channels.
例如,图5是根据本公开实施例的一种数据发送的时序图,如图5所示,在第一时间段内,从通道1至通道4,数据发送的顺序为data1-data2-data3-data4-data5-data6。为了减少数据占用的空间,设置的接收端设备顺序对应的编号最大值为4,因此,实际上接收端接收的顺序对应的编号顺序可以为1-2-3-4-1-2。当然,如果不需要减小占用数据空间,则设置的接收端设备顺序对应的编号最大值也可以为6或者更大,因此对应的编号
顺序可以为1-2-3-4-5-6。For example, FIG. 5 is a timing diagram of data transmission according to an embodiment of the present disclosure. As shown in FIG. 5, in the first time period, from channel 1 to channel 4, the order of data transmission is data1-data2-data3- Data4-data5-data6. In order to reduce the space occupied by the data, the set number of the receiving device in the sequence corresponds to a maximum value of 4. Therefore, the order of the order received by the receiving end may be 1-2-3-4-1-2. Of course, if it is not necessary to reduce the occupied data space, the set number of the corresponding receiving device may also be 6 or greater, so the corresponding number
The order can be 1-2-3-4-5-6.
可选地,将第一时间段内发送的数据分片,其中,每个数据片段中均可以携带有第一标识信息。Optionally, the data sent in the first time period is fragmented, wherein each data segment may carry the first identification information.
可选地,第一标识信息可以为相对帧序号标签,用于指示接收端接收的顺序,第二标识信息可以为设置在数据的默认帧序号标签或无帧序号标签,用于指示终端直接转发接收到的数据,即可以不根据发送端指示的顺序进行接收数据。其中,“相对”的概念可以是指,在所有数据的发送中,一段时间内数据在通道上的发送的顺序。当然数据的发送可以是连续的,也可以是断续的。例如,如图5所示,如果通道2上的数据data 2和data 6由于发送端的原因导致不能够发送,那么发送端可以调整发送的顺序,即调整为data 1-data 3-data 4-data 5。Optionally, the first identification information may be a relative frame serial number label, which is used to indicate the order received by the receiving end, and the second identification information may be a default frame serial number label or a no-frame serial number label that is set in the data, and is used to indicate that the terminal directly forwards the label. The received data, that is, the data can be received without being instructed according to the order indicated by the transmitting end. Among them, the concept of "relative" can refer to the order in which data is transmitted on the channel for a period of time in the transmission of all data. Of course, the transmission of data can be continuous or intermittent. For example, as shown in FIG. 5, if the data data 2 and data 6 on the channel 2 cannot be transmitted due to the reason of the transmitting end, the transmitting end can adjust the order of transmission, that is, adjust to data 1-data 3-data 4-data. 5.
可选地,上述第一标识信息与第二标识信息可以承载于EPON协议的前导(preamble)中来实现。表1是EPON preamble定义。Optionally, the foregoing first identifier information and the second identifier information may be implemented in a preamble of an EPON protocol. Table 1 is the EPON preamble definition.
表1Table 1
如表1所示,在EPON Preamble中,确定2个比特用于标识信息,例如在offset 4中的高两位比特。因此,此时NGEPON媒体访问控制(Media Access Control,简称MAC)层判断帧头从0xd5/0x55/0x55变成了0xd5/0x15/0x55,其中0x15的最高2比特不做帧头判断。可选地,在0x15中最高2比特的00,01,10可以用于承载相对帧序号标签,相对帧序号标签可以用于指示接收端接收的顺序,而0x15中的11可以用于承载默认帧序号标签或无帧序号标签,承载默认帧序号标签或无帧序号标签可以用于指示终端直接转发接收到的数据,即可以不根据发送端指示的顺序进行接收数据。可以指出的是,上述编号支持循环使用。As shown in Table 1, in the EPON Preamble, 2 bits are determined for identifying information, such as the upper two bits in offset 4. Therefore, at this time, the NGEPON Media Access Control (MAC) layer determines that the frame header has changed from 0xd5/0x55/0x55 to 0xd5/0x15/0x55, and the highest 2 bits of 0x15 are not used for frame header judgment. Optionally, 00, 01, 10 of the highest 2 bits in 0x15 may be used to carry the relative frame number label, and the relative frame number label may be used to indicate the order received by the receiving end, and 11 of 0x15 may be used to carry the default frame. The serial number label or the no-frame serial number label, which carries the default frame number label or the no-frame number label, can be used to instruct the terminal to directly forward the received data, that is, the data can be received without being instructed according to the order indicated by the sending end. It can be noted that the above numbering supports cyclic use.
当然,也可以利用offset 4中的其他位数比特来指示标识信息。以高三位比特为例,可以以顺序为000、001、010、011、100、101、110用于承载相对帧序号标签,而111可以用于承载默认帧序号标签或无帧序号标签。Of course, other digits in offset 4 can also be used to indicate the identification information. For example, the high three bits can be used to carry the relative frame number label in the order of 000, 001, 010, 011, 100, 101, 110, and 111 can be used to carry the default frame number label or the no frame number label.
可以指出的是,在实际应用当中,如果存在多个第一时间段可以使用不同的接收顺序时,可以通过比特的数目的变化来体现。同时,利用多通道EPON系统的preamble只是本实施例中列举的一种标识数据接收顺序的方法,因此,也可以利用其他的编码方式来体现。It can be pointed out that in practical applications, if there are multiple first time periods, different receiving orders can be used, which can be reflected by the change of the number of bits. At the same time, the preamble using the multi-channel EPON system is only a method for identifying the data receiving sequence listed in this embodiment, and therefore, other coding methods can also be used.
例如,对于图5中的时序图而言,可以采用3个比特来表示发送顺序,例如000、001、010、011、100、101、110可以对应一个第一时间段的发送顺序,110、101、100、011、010、001、000可以对应另一个第一时间段的发送顺序,而当采用3个比特不足以表示发送顺序时,可以采用4个比特来表示发送顺序,如0000、0001、0010、0011、0100、0101可以对应一个第一时间段的发送顺序,0111、1000、1001、1010、1011、1100可以对应另一个第一时间段的发送顺序,1101、1110、0000、0001、0010、0011可以对应再一个第一时间段的发送顺序。For example, for the timing diagram in FIG. 5, 3 bits may be used to indicate the transmission order, for example, 000, 001, 010, 011, 100, 101, 110 may correspond to the transmission order of a first time period, 110, 101. 100, 011, 010, 001, 000 may correspond to the transmission order of another first time period, and when 3 bits are not enough to indicate the transmission order, 4 bits may be used to indicate the transmission order, such as 0000, 0001, 0010, 0011, 0100, 0101 may correspond to a sending sequence of a first time period, and 0111, 1000, 1001, 1010, 1011, 1100 may correspond to a sending sequence of another first time period, 1101, 1110, 0000, 0001, 0010. , 0011 can correspond to the order of transmission of another first time period.
可以指出的是,一旦出现11、111或者1111等标识默认帧序号标签或无帧序号标签的第二标识信息的话,那么就表示在该第一时间段内数据发送的结束。而如果后续存在另一个第一时间段的话,那么可以根据另一个第一时间段的发送顺序进行标识。It can be pointed out that once the second identification information identifying the default frame number label or the no frame number label, such as 11, 111 or 1111, appears, the end of the data transmission in the first time period is indicated. And if there is another first time period subsequently, then the identification may be performed according to the sending order of the other first time period.
步骤S404,所述发送端设备将多个在第一时间段,或,第二时间段,或,
第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备。Step S404, the sending end device will be multiple in the first time period, or the second time period, or
The data sent in the first time period and the second time period are respectively sent to the receiving end device through different transmission channels.
可选地,在多个连续区间内,所述发送端设备将多个在所述第一时间段,或,所述第二时间段,或,所述第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备时,所述发送端设备可以判断是否在所述多个连续区间中的任意两个连续区间中均获取在所述第一时间段内发送的数据,在判断结果为是的情况下,可以在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据;其中,所述多个连续区间中的每个区间可以包括:第一时间段,或,第二时间段,或,第一时间段和第二时间段。Optionally, in a plurality of consecutive intervals, the sending end device will be multiple in the first time period, or the second time period, or the first time period and the second time period When the sent data is sent to the receiving end device through different transmission channels, the transmitting end device may determine whether the first time period is acquired in any two consecutive intervals of the plurality of consecutive intervals. If the result of the determination is YES, the receiving device may be instructed to receive the data in an arbitrary receiving sequence in any two consecutive intervals; wherein, in the plurality of consecutive intervals Each interval may include: a first time period, or a second time period, or a first time period and a second time period.
可选地,在判断结果为在任意两个连续区间中的一个区间内获取在所述第一时间段内发送的数据时,可以在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据,或者,使用所述多个连续区间中的任意一个区间的接收顺序。Optionally, when the result of the determination is that the data sent in the first time period is acquired in one of any two consecutive intervals, an independent receiving sequence indication may be used in any two consecutive intervals. The receiving end device receives the data, or uses a receiving order of any one of the plurality of consecutive intervals.
可选地,在本实施例中还提供了如下的场景,以便理解本公开实施例所记载的技术方案。Optionally, the following scenarios are also provided in this embodiment in order to understand the technical solutions described in the embodiments of the present disclosure.
场景1 scene 1
图6是根据本公开实施例的另一种数据发送的时序图,如图6所示,在第一时间段内,从通道1至通道4,数据发送的顺序为data1-data2-data3-data4-data5,其中data1与data5均通过通道1发送。6 is a timing diagram of another data transmission according to an embodiment of the present disclosure. As shown in FIG. 6, in the first time period, from channel 1 to channel 4, the order of data transmission is data1-data2-data3-data4. -data5, where data1 and data5 are both sent through channel 1.
根据数据发送的顺序,相应的接收端设备的接收数据的顺序为data1-data2-data3-data4-data5。由于data 1,data 2,data 3,data 4以及data 5位于同一个第一时间段内,因此发送端可以使用相同的序号方式进行排序。此外,为了减少对数据中空间的占用,因此,可以只使用offset 4中的三位高比特,故而设置的接收端的接收顺序对应的序号标签为:000,001,010,011,100。According to the order of data transmission, the order of receiving data of the corresponding receiving device is data1-data2-data3-data4-data5. Since data 1, data 2, data 3, data 4, and data 5 are in the same first time period, the sender can use the same sequence number for sorting. In addition, in order to reduce the occupation of the space in the data, only the three high bits in the offset 4 can be used, so the sequence number labels corresponding to the receiving order of the received terminals are: 000, 001, 010, 011, 100.
场景2 Scene 2
图7是根据本公开实施例的再一种数据发送的时序图,如图7所示,在
第一时间段内,从通道1至通道4,数据发送的顺序为data1-data2-data3-data4,在第二时间段内,从通道1至通道4数据发送的顺序为data5-data6-data7-data8。FIG. 7 is a timing diagram of still another data transmission according to an embodiment of the present disclosure, as shown in FIG.
In the first time period, from channel 1 to channel 4, the order of data transmission is data1-data2-data3-data4, and in the second time period, the order of data transmission from channel 1 to channel 4 is data5-data6-data7- Data8.
根据数据发送的顺序,相应的接收端设备的接收数据的顺序为data1-data2-data3-data4。data5至data8按照默认顺序在接收到data4之后进行接收,并在接收后执行相应的转发操作。由于data 1,data 2,data 3,data 4位于同一个第一时间段内,data5,data6,data7,data8位于一个第一时间段内,因此发送端可以使用相同的序号方式进行排序。此外,为了减少对数据中空间的占用,因此,可以只使用offset 4中的两位高比特,故而设置的接收端的接收顺序对应的序号标签为:00,01,10,00,11,11,11,11。According to the order of data transmission, the order of receiving data of the corresponding receiving device is data1-data2-data3-data4. Data5 to data8 receive in the default order after receiving data4, and perform corresponding forwarding operations after receiving. Since data 1, data 2, data 3, and data 4 are located in the same first time period, data5, data6, data7, and data8 are located in a first time period, so the sender can use the same sequence number for sorting. In addition, in order to reduce the occupation of the space in the data, only the two high bits in the offset 4 can be used. Therefore, the sequence number labels corresponding to the receiving order of the set receiving end are: 00, 01, 10, 00, 11, 11, 11,11.
场景3 Scene 3
图8是根据本公开实施例的还一种数据发送的时序图,如图8所示,在连续的两个第一时间段内,在第一个第一时间段内,从通道1至通道4,数据发送的顺序为data1-data2-data3-data4,在第二个第一时间段内,从通道1至通道4数据发送的顺序为data5-data6-data7-data8。FIG. 8 is a timing diagram of still another data transmission according to an embodiment of the present disclosure. As shown in FIG. 8, in the first two first time periods, from the channel 1 to the channel in the first first time period. 4. The order of data transmission is data1-data2-data3-data4. In the second first time period, the order of data transmission from channel 1 to channel 4 is data5-data6-data7-data8.
根据数据发送的顺序,相应的接收端设备的接收数据的顺序为data1-data2-data3-data4-data5-data6-data7-data8。由于data 1,data 2,data 3,data 4位于第一个第一时间段内。而data 5,data 6,data 7,data 8位于第二个第一时间段内,因此,设置的接收端的接收顺序对应的序号标签可以是不同的,而且可以属于两个不同的编号空间。即该接收顺序对应的序号标签可以为:0000,0001,0010,0011,0100,0101,0110,0111,其中0000,0001,0010,0011为一个编号空间,0100,0101,0110,0111为另一个编号空间。According to the order of data transmission, the order of receiving data of the corresponding receiving device is data1-data2-data3-data4-data5-data6-data7-data8. Since data 1, data 2, data 3, and data 4 are located in the first first time period. The data 5, data 6, data 7, and data 8 are located in the second first time period. Therefore, the sequence number labels corresponding to the receiving order of the receiving end may be different, and may belong to two different number spaces. That is, the sequence number label corresponding to the receiving sequence may be: 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, where 0000, 0001, 0010, 0011 is a number space, and 0100, 0101, 0110, 0111 are another Number space.
场景4 Scene 4
图9是根据本公开实施例的又一种数据发送的时序图,如图9所示,在第一时间段内,从通道1至通道4,数据packet1,packet2分别被分片为data 11,data 12,data 13,data 14,data 21,data 22,data 23,data 24。9 is a timing diagram of still another data transmission according to an embodiment of the present disclosure. As shown in FIG. 9, in the first time period, from channel 1 to channel 4, data packet1, packet2 are fragmented into data 11, respectively. Data 12, data 13, data 14, data 21, data 22, data 23, data 24.
可以根据数据的发送特性,即按照通道的顺序发送数据片段,因此,相应的接收端设备的接收数据的顺序可以为data11-data12-data13-data14-data21-data 22-data 23-data24。由于上述数据位
于同一个第一时间段内,因此发送端可以使用相同的序号方式进行排序,在本场景中,可以使用offset4中的三位高比特,故而设置的接收端的接收顺序对应的序号标签为:000,001,010,011,100,101,110,000,为了能够让接收端成功重组data11,data12,data13,data14,在这些数据片段的发送中至少可以指明它们属于哪一个数据以及数据片段的总数,data21,data 22,data 23,data24也一样。当然,也可以将data11-data12-data13-data14和data21-data22-data23-data24分别通过两个相互独立的编号空间进行排序,即data11-data12-data13-data14用0000,0001,0010,0011来编号,data21-data22-data 23-data24用0100,0101,0110,0111来编号,0000,0001,0010,0011和0100,0101,0110,0111分别为两个相互独立的编号空间。The data segments may be transmitted according to the transmission characteristics of the data, that is, in the order of the channels. Therefore, the order of receiving data of the corresponding receiving device may be data11-data12-data13-data14-data21-data 22-data 23-data24. Due to the above data bits
In the same first time period, the sender can use the same sequence number to sort. In this scenario, the three high bits in offset4 can be used. Therefore, the sequence number labels corresponding to the receiving order of the receiver are: 000, 001, 010, 011, 100, 101, 110,000. In order to enable the receiver to successfully reassemble data11, data12, data13, data14, at least the data and the total number of data fragments can be specified in the transmission of these data segments, and data21, data 22, data 23, and data24 are also the same. Of course, data11-data12-data13-data14 and data21-data22-data23-data24 can also be sorted by two independent number spaces, that is, data11-data12-data13-data14 is numbered by 0000, 0001, 0010, 0011. , data21-data22-data 23-data24 is numbered with 0100, 0101, 0110, 0111, 0000, 0001, 0010, 0011 and 0100, 0101, 0110, 0111 are two independent number spaces.
通过上述步骤,可以避免由于数据发送时间相近或者相同所引起的接收顺序错乱,简单有效地实现OLT和ONU之间数据顺序恢复。Through the above steps, it is possible to avoid the disorder of the reception sequence caused by the similar or identical data transmission time, and to smoothly and effectively realize the data sequence recovery between the OLT and the ONU.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,本公开实施例的技术方案本质上或者说对本领域做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the technical solution of the embodiments of the present disclosure may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present disclosure.
本公开实施例还提供了一种运行于图1或者图2中描述的网络架构的数据接收方法。可以指出的是,在本实施例中,所述发送端设备可以为光线路终端OLT或一个或多个ONU,当所述发送端设备为光线路终端OLT时,所述接收端设备可以为一个或多个光网络单元ONU;当所述发送端设备为所述一个或多个ONU时,所述接收端设备可以为所述OLT。The embodiment of the present disclosure also provides a data receiving method running in the network architecture described in FIG. 1 or 2. It can be noted that, in this embodiment, the sending end device may be an optical line terminal OLT or one or more ONUs. When the sending end device is an optical line terminal OLT, the receiving end device may be one Or a plurality of optical network units ONU; when the transmitting end device is the one or more ONUs, the receiving end device may be the OLT.
图10是根据本公开实施例的一种数据接收方法的流程图,如图10所示,该流程可以包括如下步骤:FIG. 10 is a flowchart of a data receiving method according to an embodiment of the present disclosure. As shown in FIG. 10, the process may include the following steps:
S1002,接收端设备分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,
第一标识信息和第二标识信息;其中,所述第一标识信息为所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;S1002: The receiving end device obtains multiple data sent by the sending end device through different transmission channels, and obtains the first identification information carried in the data, or the second identification information, or
a first identification information and a second identification information, where the first identification information is a sending order of the data sent by the sending end device in a first time period, and the second identification information is used to indicate the The sending order of the data sent by the sending device in the second time period;
S1004,根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,或S1004. The receiving end device receives the data according to a sending sequence in the first identifier information, or
根据所述第二标识信息,所述接收端设备转发接收的所述数据,或Determining, by the receiving end device, the received data according to the second identification information, or
根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本公开实施例还提供了一种数据发送装置,该装置可以设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件的组合,或,硬件的组合,或软件和硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The embodiment of the present disclosure further provides a data transmitting apparatus, which may be configured to implement the foregoing embodiments and optional embodiments, and details of the foregoing description are omitted. As used hereinafter, the term "module" may implement a combination of software of a predetermined function, or a combination of hardware, or a combination of software and hardware. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图11是根据本公开实施例的一种数据发送装置的结构图,如图11所示,该装置可以包括:获取模块1102以及发送模块1104。FIG. 11 is a structural diagram of a data transmitting apparatus according to an embodiment of the present disclosure. As shown in FIG. 11, the apparatus may include an obtaining module 1102 and a transmitting module 1104.
获取模块1102,设置为:获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或The obtaining module 1102 is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries first identification information, where the first identification information is used to indicate the receiving end device. The order in which the data is received during the first time period, or
获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或Acquiring the data sent in the second time period, where the data sent in the second time period carries the second identification information, where the second identification information is used to indicate that the receiving end device is receiving Forwarding the data after the data is sent within two time periods, or
获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识
信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;Acquiring the data sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the first time period a sequence of receiving the data sent in the second time period, and acquiring data sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier
The information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
发送模块1104,设置为:将多个所述数据分别通过不同的传输通道发送至所述接收端设备。The sending module 1104 is configured to: send the plurality of the data to the receiving end device through different transmission channels.
可选地,所述第一时间段可以为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段可以为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。Optionally, the first time period may be a time period in which the receiving end device is illegible to receive data sent by the sending end, and the second time period may be that the receiving end device is in a disorderly receiving manner. A time period in which the probability of data transmitted by the transmitting end is equal to zero.
图12是根据本公开实施例的另一种数据发送装置的结构图,如图12所示,该装置除包括图11所示的所有模块外,多个连续时间段内,将多个在所述第一时间段,或,所述第二时间段,或,所述第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备时,还可以包括:判断模块1202以及确定模块1204。FIG. 12 is a structural diagram of another data transmitting apparatus according to an embodiment of the present disclosure. As shown in FIG. 12, in addition to all the modules shown in FIG. 11, the apparatus will have multiple locations in a plurality of consecutive time periods. The first time period, or the second time period, or the data sent in the first time period and the second time period are respectively sent to the receiving end device through different transmission channels, and may also include : Judgment module 1202 and determination module 1204.
判断模块1202,设置为:判断是否在所述多个连续区间中的任意两个连续区间中均获取在所述第一时间段内发送的数据;The determining module 1202 is configured to: determine whether data sent in the first time period is acquired in any two consecutive intervals of the plurality of consecutive intervals;
确定模块1204,设置为:在判断结果为是的情况下,在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据;The determining module 1204 is configured to: when the determination result is yes, instructing the receiving end device to receive the data by using an independent receiving sequence in any two consecutive intervals;
其中,所述多个连续区间中的每个区间可以包括:第一时间段,或,第二时间段,或,第一时间段和第二时间段。Each of the plurality of consecutive intervals may include: a first time period, or a second time period, or a first time period and a second time period.
可以说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块以任意组合的形式分别位于不同的处理器中。It can be noted that the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
本公开实施例还提供了一种数据接收装置,该装置可以设置为实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件的组合,或,硬件的组合,或,软件和硬件的组合。尽管以下实施例所描述的装置可以以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。The embodiment of the present disclosure further provides a data receiving device, which may be configured to implement the foregoing embodiments and optional implementations, and details are not described herein. As used hereinafter, the term "module" may implement a combination of software of a predetermined function, or a combination of hardware, or a combination of software and hardware. Although the devices described in the following embodiments may be implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图13是根据本公开实施例的一种数据接收装置的结构图,如图11所示,
该装置可以包括:获取模块1302以及发送模块1304。FIG. 13 is a structural diagram of a data receiving apparatus according to an embodiment of the present disclosure, as shown in FIG.
The apparatus may include an acquisition module 1302 and a transmission module 1304.
获取模块1302,设置为:分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用于指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;The obtaining module 1302 is configured to: obtain, by using different transmission channels, multiple data sent by the sending end device, and obtain the first identification information carried in the data, or the second identification information, or the first identification information and a second identifier information, where the first identifier information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identifier information is used to indicate the sending end device The order in which the data is transmitted during the second time period;
接收模块1304,设置为:根据所述第一标识信息中的发送顺序,接收所述数据,或The receiving module 1304 is configured to: receive the data according to a sending order in the first identifier information, or
根据所述第二标识信息,转发接收的所述数据,或Forwarding the received data according to the second identification information, or
根据所述第一标识信息中的发送顺序,接收所述数据,以及,根据所述第二标识信息,转发接收的所述数据。Receiving the data according to a sending order in the first identification information, and forwarding the received data according to the second identification information.
可选地,所述第一时间段可以为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段可以为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。Optionally, the first time period may be a time period in which the receiving end device is illegible to receive data sent by the sending end, and the second time period may be that the receiving end device is in a disorderly receiving manner. A time period in which the probability of data transmitted by the transmitting end is equal to zero.
可以说明的是,上述模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块以任意组合的形式分别位于不同的处理器中。It can be noted that the foregoing modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the above modules are all located in the same processor; or the above modules are in any combination. They are located in different processors.
本公开实施例还提供了一种多通道EPON系统,图14是根据本公开实施例的一种多通道EPON的系统结构图,如图14所示,该系统可以包括:发送端设备1402以及接收端设备1404。The embodiment of the present disclosure further provides a multi-channel EPON system. FIG. 14 is a system structural diagram of a multi-channel EPON according to an embodiment of the present disclosure. As shown in FIG. 14, the system may include: a transmitting end device 1402 and receiving End device 1404.
发送端设备1402,设置为:获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,或The sending end device 1402 is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identification information, or
获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,或Acquiring data sent in the second time period, where the data sent in the second time period carries the second identification information, or
获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,以及获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息;将多个在第一时间段,或,
第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备1404;Acquiring the data sent in the first time period, where the data sent in the first time period carries the first identification information, and the data sent in the second time period, wherein the second time The data sent in the segment carries the second identification information; multiple times in the first time period, or,
The second time period, or the data sent in the first time period and the second time period are respectively sent to the receiving end device 1404 through different transmission channels;
所述接收端设备1404,设置为:分别通过不同的传输通道获取所述发送端设备1402发送的多个数据,并获取该数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;根据所述第一标识信息中的接收顺序,所述接收端设备接收所述数据,或The receiving end device 1404 is configured to: acquire the multiple pieces of data sent by the sending end device 1402 through different transmission channels, and obtain the first identification information carried in the data, or the second identification information, or First identifier information and second identifier information; according to the receiving order in the first identifier information, the receiving device receives the data, or
根据所述第二标识信息,所述接收端设备1404转发接收的所述数据,或Receiving, by the receiving end device 1404, the received data according to the second identification information, or
根据所述第一标识信息中的接收顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And receiving, by the receiving end device, the data according to the receiving sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwarding the received data.
其中,所述发送端设备可以为光线路终端OLT或一个或多个ONU,当所述发送端设备1402为光线路终端OLT时,所述接收端设备1404可以为一个或多个光网络单元ONU;或者,当所述发送端设备1402为所述一个或多个ONU时,所述接收端设备1404可以为所述OLT。The sending end device may be an optical line terminal OLT or one or more ONUs. When the sending end device 1402 is an optical line terminal OLT, the receiving end device 1404 may be one or more optical network units ONU. Or, when the transmitting device 1402 is the one or more ONUs, the receiving device 1404 may be the OLT.
本公开实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present disclosure also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或S1, the sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the Determining the order in which the data is sent during the first time period, or
发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或The transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or
发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;
The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
S2,所述发送端设备将多个在第一时间段,或,第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备。S2. The sending end device sends, to the receiving end, a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period, respectively, through different transmission channels. device.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本公开实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present disclosure also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,接收端设备分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用于指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用户指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;S1. The receiving device obtains multiple data sent by the sending device by using different transmission channels, and obtains first identifier information, or second identifier information, or first identifier information and second information carried in the data. And the first identification information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identification information user indicates that the sending end device is in a second The order in which the data is sent during the time period;
S2,根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,或S2. The receiving end device receives the data according to a sending sequence in the first identifier information, or
根据所述第二标识信息,所述接收端设备转发接收的所述数据,或Determining, by the receiving end device, the received data according to the second identification information, or
根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
可选地,本实施例中的示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。For example, the examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述数据发送方法。
Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data transmission method described above.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述数据接收方法。Embodiments of the present disclosure also provide a computer readable storage medium storing computer executable instructions that, when executed, implement the data receiving method described above.
本领域的技术人员可以明白,上述的本公开实施例的模块或步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成不同集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开实施例不限制于任何特定的硬件和软件结合。Those skilled in the art will appreciate that the above-described modules or steps of the embodiments of the present disclosure may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by a computing device such that they may be stored in a storage device by a computing device and, in some cases, may be executed in a different order than herein. The steps shown or described are either made separately into different integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, embodiments of the present disclosure are not limited to any specific combination of hardware and software.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(RAM,Random Access Memory)、只读存储器(ROM,Read-Only Memory)、电可擦除只读存储器(EEPROM,Electrically Erasable Programmable Read-only Memory)、闪存或其他存储器技术、光盘只读存储器(CD-ROM,Compact Disc Read-Only Memory)、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他
传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), and Electrically Erasable Programmable Read-only Memory (EEPROM). Flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical disc storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those of ordinary skill in the art that communication media typically comprise computer readable instructions, data structures, program modules or such as carrier waves or other
Other data in the modulated data signal, such as a transmission mechanism, and can include any information delivery medium.
本领域的普通技术人员可以理解,可以对本公开的技术方案进行修改或者等同替换,而不脱离本公开技术方案的精神和范围,均应涵盖在本公开的权利要求范围当中。A person skilled in the art can understand that the technical solutions of the present disclosure may be modified or equivalent, without departing from the spirit and scope of the present disclosure, and should be included in the scope of the claims of the present disclosure.
通过本公开实施例,通过在不同的时间区间内携带不同的标识信息并对可能发生错乱接收的时间段对应的标识信息中设置顺序接收的指示,因此,可以简化OLT和ONU之间数据接收顺序的恢复实现方式,从而可以简单有效地实现OLT和ONU之间数据顺序恢复。
According to the embodiment of the present disclosure, by sequentially carrying different identification information in different time intervals and setting an indication of sequential reception in the identification information corresponding to the time period in which the disordered reception may occur, the data receiving sequence between the OLT and the ONU can be simplified. The recovery implementation mode makes it possible to implement data sequence recovery between the OLT and the ONU simply and efficiently.
Claims (17)
- 一种数据发送方法,其特征在于,应用于多通道以太网无源光网络EPON系统,所述方法包括:A data transmission method is characterized in that it is applied to a multi-channel Ethernet passive optical network EPON system, and the method includes:发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first The order in which the data is sent during a period of time, or发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或The transmitting device acquires the data that is sent in the second time period, where the data sent in the second time period carries the second identifier information, where the second identifier information is used to indicate that the receiving device is receiving Forwarding the data after the data sent during the second time period, or发送端设备获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及发送端设备获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;The sending end device acquires the data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving end device is in the first a sequence of receiving the data that is sent in a period of time, and a data that is sent by the source device in the second time period, where the data sent in the second time period carries the second identifier information, where The second identifier information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;所述发送端设备将多个在第一时间段,或,第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备。The transmitting device sends a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period to the receiving end device through different transmission channels.
- 根据权利要求1所述的方法,其中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。The method according to claim 1, wherein the first time period is a time period in which the receiving end device confuses the probability that the data sent by the transmitting end is greater than zero, and the second time period is the receiving. The end device is disordered to receive the time period in which the probability of the data sent by the transmitting end is equal to zero.
- 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:在所述接收顺序对应的编号达到最大值时,从所述接收顺序对应的编号最小值开始,继续使用所述接收顺序。When the number corresponding to the receiving order reaches a maximum value, the receiving order is continued to be used starting from the minimum number corresponding to the receiving order.
- 根据权利要求3所述的方法,其中,所述接收顺序对应的编号对应的最大值大于或等于所述传输通道的数目。The method according to claim 3, wherein the maximum value corresponding to the number corresponding to the receiving order is greater than or equal to the number of the transmission channels.
- 根据权利要求1所述的方法,在多个连续区间内,所述发送端设备 将多个在所述第一时间段,或,所述第二时间段,或,所述第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备时,所述方法还包括:The method according to claim 1, wherein said transmitting device is in a plurality of consecutive intervals Transmitting a plurality of data sent in the first time period, or the second time period, or the first time period and the second time period to the receiving end device through different transmission channels The method further includes:所述发送端设备判断是否在所述多个连续区间中的任意两个连续区间中均获取在所述第一时间段内发送的数据,The transmitting end device determines whether data sent in the first time period is acquired in any two consecutive intervals of the plurality of consecutive intervals,在判断结果为是的情况下,在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据;其中,所述多个连续区间中的每个区间包括:第一时间段,或,第二时间段,或,第一时间段和第二时间段。If the result of the determination is yes, the receiving device is instructed to receive the data in an arbitrary receiving sequence in any two consecutive intervals, wherein each of the plurality of consecutive intervals includes: The first time period, or the second time period, or the first time period and the second time period.
- 根据权利要求1至5任一项所述的方法,其中,当所述发送端设备为光线路终端OLT时,所述接收端设备为一个或多个光网络单元ONU;当所述发送端设备为所述一个或多个ONU时,所述接收端设备为所述OLT。The method according to any one of claims 1 to 5, wherein when the transmitting device is an optical line terminal OLT, the receiving device is one or more optical network units ONU; when the transmitting device is When the one or more ONUs are used, the receiving end device is the OLT.
- 根据权利要求6所述的方法,其中,所述第一时间段至少通过以下方式进行确定:The method of claim 6 wherein said first period of time is determined at least by:在所述不同的传输通道上,获取所述发送端设备至所述接收端设备的第一时间数据的传输时间;Obtaining, on the different transmission channels, a transmission time of the first time data of the sending end device to the receiving end device;确定所述不同的传输通道中两个传输通道之间的所述传输时间之差的最大值为所述第一时间段。Determining a maximum value of the difference in transmission times between two transmission channels in the different transmission channels is the first time period.
- 根据权利要求1至5中任一项所述的方法,其中,所述第一标识信息为相对帧序号标签。The method according to any one of claims 1 to 5, wherein the first identification information is a relative frame number label.
- 根据权利要求1至5任一项所述的方法,其中,所述第二标识信息为设置在数据的默认帧序号标签或无帧序号标签。The method according to any one of claims 1 to 5, wherein the second identification information is a default frame number label or a no-frame number label set in the data.
- 一种数据接收方法,其特征在于,应用于多通道以太网无源光网络EPON系统,所述方法包括:A data receiving method is characterized in that it is applied to a multi-channel Ethernet passive optical network EPON system, and the method includes:接收端设备分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用于指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述 发送端设备在第二时间段内发送的所述数据的发送顺序;The receiving end device obtains multiple data sent by the sending end device through different transmission channels, and obtains the first identification information carried in the data, or the second identification information, or the first identification information and the second identification information. The first identification information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identification information is used to indicate the The sending order of the data sent by the sending device in the second time period;根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,或Receiving, by the receiving device, the data according to a sending order in the first identification information, or根据所述第二标识信息,所述接收端设备转发接收的所述数据,或Determining, by the receiving end device, the received data according to the second identification information, or根据所述第一标识信息中的发送顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。And the receiving end device receives the data according to the sending sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwards the received data.
- 根据权利要求10所述的方法,其中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。The method according to claim 10, wherein the first time period is a time period in which the receiving end device confuses the probability that the data sent by the transmitting end is greater than zero, and the second time period is the receiving. The end device is disordered to receive the time period in which the probability of the data sent by the transmitting end is equal to zero.
- 一种数据发送装置,其特征在于,应用于多通道以太网无源光网络EPON系统,位于发送端设备,所述装置包括:A data transmitting apparatus is characterized in that it is applied to a multi-channel Ethernet passive optical network EPON system, which is located at a transmitting end device, and the apparatus includes:获取模块,设置为:获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,或The acquiring module is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identifier information, where the first identifier information is used to indicate that the receiving device is The order in which the data is transmitted during the first time period, or获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据,或Acquiring the data sent in the second time period, where the data sent in the second time period carries the second identification information, where the second identification information is used to indicate that the receiving end device is receiving Forwarding the data after the data is sent within two time periods, or获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,所述第一标识信息用于指示接收端设备在所述第一时间段内发送的所述数据的接收顺序,以及获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,所述第二标识信息用于指示所述接收端设备在接收到在第二时间段内发送的所述数据后转发该数据;Acquiring the data sent in the first time period, where the data sent in the first time period carries the first identification information, where the first identification information is used to indicate that the receiving end device is in the first time period Receiving the received data in the second time period, and acquiring the data sent in the second time period, wherein the data sent in the second time period carries the second identification information, where the second identification information is used Instructing the receiving end device to forward the data after receiving the data sent in the second time period;发送模块,设置为:将多个所述数据分别通过不同的传输通道发送至所述接收端设备。The sending module is configured to: send the plurality of the data to the receiving end device through different transmission channels.
- 根据权利要求12所述的装置,其中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时 间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。The apparatus according to claim 12, wherein said first time period is a time period in which said receiving end device spoofs the probability of receiving data transmitted by said transmitting end greater than zero, said second time The inter-segment is a period of time during which the receiving end device confuses the probability that the data transmitted by the transmitting end is equal to zero.
- 根据权利要求12所述的装置,在多个连续时间段内,将多个在所述第一时间段,或,所述第二时间段,或,所述第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备时,所述装置还包括:The apparatus according to claim 12, wherein, during a plurality of consecutive time periods, a plurality of said first time period, or said second time period, or said first time period and said second time period When the data sent by the internal transmission is sent to the receiving device through different transmission channels, the device further includes:判断模块,设置为:判断是否在所述多个连续区间中的任意两个连续区间中均获取在所述第一时间段内发送的数据;a determining module, configured to: determine whether data sent in the first time period is acquired in any two consecutive intervals of the plurality of consecutive intervals;确定模块,设置为:在判断结果为是的情况下,在所述任意两个连续区间内分别使用独立的接收顺序指示所述接收端设备接收所述数据;a determining module, configured to: when the determination result is yes, instructing the receiving end device to receive the data by using an independent receiving sequence in any two consecutive intervals;其中,所述多个连续区间中的每个区间包括:第一时间段,或,第二时间段,或,第一时间段和第二时间段。Each of the plurality of consecutive intervals includes: a first time period, or a second time period, or a first time period and a second time period.
- 一种数据接收装置,其特征在于,应用于多通道以太网无源光网络EPON系统,位于接收端设备,所述装置包括:A data receiving device is characterized in that it is applied to a multi-channel Ethernet passive optical network EPON system, which is located at a receiving end device, and the device includes:获取模块,设置为:分别通过不同的传输通道获取发送端设备发送的多个数据,并获取所述数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;其中,所述第一标识信息用于指示所述发送端设备在第一时间段内发送的所述数据的发送顺序,所述第二标识信息用于指示所述发送端设备在第二时间段内发送的所述数据的发送顺序;The acquiring module is configured to: obtain multiple data sent by the sending end device through different transmission channels, and obtain first identification information, or second identification information, or first identification information and And second identifier information, where the first identifier information is used to indicate a sending order of the data sent by the sending end device in a first time period, and the second identifier information is used to indicate that the sending end device is in The order in which the data is sent during the second time period;接收模块,设置为:根据所述第一标识信息中的发送顺序,接收所述数据,或The receiving module is configured to: receive the data according to a sending order in the first identifier information, or根据所述第二标识信息,转发接收的所述数据,或Forwarding the received data according to the second identification information, or根据所述第一标识信息中的发送顺序,接收所述数据,以及,根据所述第二标识信息,转发接收的所述数据。Receiving the data according to a sending order in the first identification information, and forwarding the received data according to the second identification information.
- 根据权利要求15所述的装置,其中,所述第一时间段为所述接收端设备错乱接收所述发送端发送的数据的概率大于零的时间段,所述第二时间段为所述接收端设备错乱接收所述发送端发送的数据的概率等于零的时间段。 The apparatus according to claim 15, wherein the first time period is a time period in which the receiving end device confuses the probability that the data sent by the transmitting end is greater than zero, and the second time period is the receiving. The end device is disordered to receive the time period in which the probability of the data sent by the transmitting end is equal to zero.
- 一种多通道以太网无源光网络EPON系统,所述系统包括:A multi-channel Ethernet passive optical network EPON system, the system comprising:发送端设备,设置为:获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,或The sending end device is configured to: acquire data that is sent in the first time period, where the data sent in the first time period carries the first identification information, or获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息,或Acquiring data sent in the second time period, where the data sent in the second time period carries the second identification information, or获取在第一时间段内发送的数据,其中,所述第一时间段内发送的数据中携带有第一标识信息,以及获取在第二时间段内发送的数据,其中,所述第二时间段内发送的数据中携带有第二标识信息;将多个在第一时间段,或,第二时间段,或,第一时间段和第二时间段内发送的数据分别通过不同的传输通道发送至所述接收端设备;Acquiring the data sent in the first time period, where the data sent in the first time period carries the first identification information, and the data sent in the second time period, wherein the second time The data sent in the segment carries the second identification information; and the data sent in the first time period, or the second time period, or the first time period and the second time period respectively pass through different transmission channels Sent to the receiving device;所述接收端设备,设置为:分别通过不同的传输通道获取所述发送端设备发送的多个数据,并获取该数据中携带的第一标识信息,或,第二标识信息,或,第一标识信息和第二标识信息;根据所述第一标识信息中的接收顺序,所述接收端设备接收所述数据,或The receiving end device is configured to: acquire multiple data sent by the sending end device by using different transmission channels, and obtain first identification information carried in the data, or second identification information, or first The identification information and the second identification information; the receiving end device receives the data according to a receiving order in the first identification information, or根据所述第二标识信息,所述接收端设备转发接收的所述数据,或Determining, by the receiving end device, the received data according to the second identification information, or根据所述第一标识信息中的接收顺序,所述接收端设备接收所述数据,以及,根据所述第二标识信息,所述接收端设备转发接收的所述数据。 And receiving, by the receiving end device, the data according to the receiving sequence in the first identifier information, and, according to the second identifier information, the receiving end device forwarding the received data.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710151282.9 | 2017-03-14 | ||
CN201710151282.9A CN108574530B (en) | 2017-03-14 | 2017-03-14 | Data transmitting and receiving method and device and multichannel EPON system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018166174A1 true WO2018166174A1 (en) | 2018-09-20 |
Family
ID=63521707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/103801 WO2018166174A1 (en) | 2017-03-14 | 2017-09-27 | Method and device for transmitting data, method and device for receiving data, and multi-channel epon system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108574530B (en) |
WO (1) | WO2018166174A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111835448B (en) * | 2020-07-27 | 2022-05-24 | 上海挚想科技有限公司 | Multi-channel communication time sequence control method and system |
CN114867094B (en) * | 2022-04-29 | 2024-07-19 | 广州小鹏汽车科技有限公司 | Vehicle and state transparent transmission method thereof, mobile terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501640A (en) * | 2002-11-14 | 2004-06-02 | 北京润光泰力科技发展有限公司 | Method and system for transmitting Ethernet data using multiple E1 lines |
US20070133800A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics & Telecommunications Research Institute | Method for setting security channel based on MPCP between OLT and ONUs in EPON, and MPCP message structure for controlling frame transmission |
CN101552772A (en) * | 2008-04-02 | 2009-10-07 | 华为技术有限公司 | Method, devices and system for optical network data processing |
CN101729940A (en) * | 2008-10-22 | 2010-06-09 | 华为技术有限公司 | Method for sending data to multiple communication channels and method for receiving data |
CN102131130A (en) * | 2010-09-13 | 2011-07-20 | 华为技术有限公司 | Signal processing method, signal processing device and signal processing system for passive optical network (PON) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100355248C (en) * | 2003-09-28 | 2007-12-12 | 上海贝尔阿尔卡特股份有限公司 | Multiple business realizing method based on ethernet passive optical network |
US9319236B2 (en) * | 2012-09-26 | 2016-04-19 | Broadcom Corporation | Optical line terminal (OLT) system |
-
2017
- 2017-03-14 CN CN201710151282.9A patent/CN108574530B/en active Active
- 2017-09-27 WO PCT/CN2017/103801 patent/WO2018166174A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501640A (en) * | 2002-11-14 | 2004-06-02 | 北京润光泰力科技发展有限公司 | Method and system for transmitting Ethernet data using multiple E1 lines |
US20070133800A1 (en) * | 2005-12-08 | 2007-06-14 | Electronics & Telecommunications Research Institute | Method for setting security channel based on MPCP between OLT and ONUs in EPON, and MPCP message structure for controlling frame transmission |
CN101552772A (en) * | 2008-04-02 | 2009-10-07 | 华为技术有限公司 | Method, devices and system for optical network data processing |
CN101729940A (en) * | 2008-10-22 | 2010-06-09 | 华为技术有限公司 | Method for sending data to multiple communication channels and method for receiving data |
CN102131130A (en) * | 2010-09-13 | 2011-07-20 | 华为技术有限公司 | Signal processing method, signal processing device and signal processing system for passive optical network (PON) |
Also Published As
Publication number | Publication date |
---|---|
CN108574530B (en) | 2022-10-28 |
CN108574530A (en) | 2018-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111225429B (en) | SSID (service set identifier) acquisition method, device, equipment and system of router | |
WO2018054397A1 (en) | Service function chain detection path method and device | |
US10382567B2 (en) | Systems and methods for many-to-one bi-directional auto-discovery | |
US20140059531A1 (en) | Method and apparatus for updating terminal software | |
US9699035B1 (en) | Topology determination for an optical network | |
CN112333151A (en) | Method, device and system for receiving CPRI data stream and Ethernet frame | |
WO2018166174A1 (en) | Method and device for transmitting data, method and device for receiving data, and multi-channel epon system | |
CN109428837A (en) | Data transmission method and device | |
AU2015253817B2 (en) | Link-fault tolerance in a distributed antenna system | |
CN117221812B (en) | Positioning method and device of terminal equipment, storage medium and electronic device | |
CN107370688B (en) | Data transmission method and device | |
US10631309B2 (en) | Device-to-device D2D data transmission method, apparatus, and system | |
US11895448B2 (en) | Communication apparatus and communication method | |
CN102056030B (en) | Gbit passive optical network system and data input and data output method thereof | |
CN117998232A (en) | Message interaction method and device and communication equipment | |
US9628150B2 (en) | Buffer-to-buffer credit utilization using cables with length data included therewith | |
CN114866175A (en) | Communication method and device | |
EP4236349A3 (en) | Communication in passive optical networks (pons) related to digital signal processing for optical signal (odsp) | |
CN105656804A (en) | Message processing method and device | |
WO2018130139A1 (en) | Potn service processing method, device and system | |
CN112637112B (en) | Multi-channel data transmission method, assembly method, device, medium, and electronic device | |
JP5323733B2 (en) | PON system traffic measurement circuit | |
CN111245577B (en) | Data transmission method, system and related equipment | |
WO2018166263A1 (en) | Pon channel establishment method, onu, plt and system | |
JP6351912B1 (en) | Station side optical communication apparatus and frame conversion method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17901007 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17901007 Country of ref document: EP Kind code of ref document: A1 |