CN108574530B - Data transmitting and receiving method and device and multichannel EPON system - Google Patents

Data transmitting and receiving method and device and multichannel EPON system Download PDF

Info

Publication number
CN108574530B
CN108574530B CN201710151282.9A CN201710151282A CN108574530B CN 108574530 B CN108574530 B CN 108574530B CN 201710151282 A CN201710151282 A CN 201710151282A CN 108574530 B CN108574530 B CN 108574530B
Authority
CN
China
Prior art keywords
time period
data
receiving
identification information
data sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710151282.9A
Other languages
Chinese (zh)
Other versions
CN108574530A (en
Inventor
张伟良
袁立权
黄新刚
耿丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710151282.9A priority Critical patent/CN108574530B/en
Priority to PCT/CN2017/103801 priority patent/WO2018166174A1/en
Publication of CN108574530A publication Critical patent/CN108574530A/en
Application granted granted Critical
Publication of CN108574530B publication Critical patent/CN108574530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring

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

The invention provides a data transmitting method, a data receiving method, a data transmitting device, a data receiving device and a multi-channel EPON system. The data receiving method comprises the following steps: the method comprises the steps that a receiving end device obtains a plurality of data sent by a sending end device through different transmission channels respectively, and obtains first identification information and/or second identification information carried in the data; the first identification information is used to indicate a sending sequence of the data sent by the sending end device in a first time period, and the second identification information is used to indicate a sending sequence of the data sent by the sending end device in a second time period; and the receiving end equipment receives the data according to the sending sequence in the first identification information, and/or the receiving end equipment forwards the received data according to the second identification information. The invention solves the problem of disordered receiving sequence caused by similar or same data sending time.

Description

Data transmitting and receiving method and device and multichannel EPON system
Technical Field
The present invention relates 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.
Background
IEEE NGEPON and ITU-T NG-PON2 relate to multi-channel binding in the standard establishment process, data transmission is carried out between OLT and ONU through a plurality of channels, because the transmission delay of the plurality of channels is different, the sequence of the data transmitted in the plurality of channels arriving at a receiving end is different from the sequence of the data transmitted out of a transmitting end, the problem of data sequence recovery is related at the receiving end,
multiple channels are typically different wavelengths on the same fiber, and fig. 1 is a system diagram of data transmission in a related art multi-channel EPON system. As shown in fig. 1, the difference in transmission delay is small and stable in a particular system, but it may change in different systems. In addition, the same channel, i.e. the same wavelength, in the same system may also have a certain time variation due to the processing variation of the sending end and the receiving end. These variations can generally be limited to one range.
In some special applications, different channels may be present on the OLT side to connect different PON ports, and fig. 2 is a system diagram of data transmission in another multi-channel EPON system in the related art. As shown in fig. 2, different pigtails may be connected to the OLT, and since the OLT is in the machine room and the pigtails are short, the difference can be controlled within a certain range in practical applications.
Fig. 3a is a timing diagram of a data transmission sequence and a reception sequence in the related art. As shown in fig. 3a, data1, 2, 3, 4 are sequentially transmitted on different channels respectively for the data sequence of the data transmitting end, and fig. 3b is a timing diagram of another data transmitting sequence and receiving sequence in the related art. On the other hand, as shown in fig. 3b, at the receiving end, data1 arrives late, data4 arrives early, the actual receiving order of the data is 2, 4, 3, 1, and the order of the data is scrambled. Because the protocol packages of the EPON series and the GPON series do not carry frame sequence numbers, the method proposed at present is that data arriving at a receiving end first is processed preferentially before data arriving at the receiving end, and then data arriving at the receiving end later. However, since the respective transmission delays on the multiple channels are different and the data delays of different data in a single channel are also different, the data with similar sending time may arrive first and then or later, or the data with the same sending time arrives at the receiving end successively.
In order to recover the data sequence between the OLT and the ONU, the related art uses a frame sequence number carried in the protocol encapsulation of the data to solve the existing problems. That is, a frame number indicating the transmission order is set in each data transmitted to the receiving-end device. However, in the respective standardization processes of EPON series and GPON series, the new generation of standards may reuse the old generation of standards as much as possible, which may cause problems such as compatibility of standards, and at the same time, all data for data transmission may carry a frame number for indicating a transmission sequence, which may require a large amount of protocol space, such as 2 bytes or more. Therefore, it is difficult to find the space for carrying the frame number in the process of completing the new instrument standard after the improvement of the old generation standard.
Therefore, there is no effective solution to the problem of the receiving sequence disorder caused by the close or the same data transmission time in the related art.
Disclosure of Invention
The embodiment of the invention provides a data transmitting and receiving method and device and a multi-channel EPON system, which are used for at least solving the problem of disordered receiving sequence caused by similar or same data transmitting time in the related technology.
According to an embodiment of the present invention, there is provided a data transmission method, based on an ethernet passive optical network system multi-channel EPON, including: the method comprises the steps that a sending end device obtains data sent in a first time period, wherein the data sent in the first time period carries first identification information, the first identification information is used for indicating a receiving sequence of the data sent in the first time period by a receiving end device, and/or the sending end device obtains the data sent in a second time period, the data sent in the second time period carries second identification information, and the second identification information is used for indicating the receiving end device to forward the data after receiving the data sent in the second time period; the sending end device sends a plurality of data sent in the first time period and/or the second time period Duan Na to the receiving end device through different transmission channels respectively.
Optionally, the first time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is greater than zero, and the second time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is equal to zero.
Optionally, when the number corresponding to the receiving order reaches the maximum value, the receiving order is continuously used from the minimum value of the number corresponding to the receiving order.
Optionally, a maximum value corresponding to a number corresponding to the receiving sequence is greater than or equal to the number of the transmission channels.
Optionally, when the sending-end device sends a plurality of data sent in the first time period and/or the second time period to the receiving-end device through different transmission channels in a plurality of consecutive intervals, the method further includes: the sending end equipment judges whether the data sent in the first time period is acquired in any two continuous intervals of the multiple continuous intervals, and under the condition that the judgment result is yes, the receiving end equipment is indicated to receive the data by using independent receiving sequences in any two continuous intervals respectively; wherein each of the plurality of consecutive intervals comprises: a first time period and/or a second time period.
Optionally, when the sending end device is an optical line terminal OLT, the receiving end device is one or more optical network units ONU; and when the sending end equipment is the one or more ONUs, the receiving end equipment is the OLT.
Optionally, the first time period is determined at least by: acquiring the transmission time of first time data from the sending end equipment to the receiving end equipment on different transmission channels; determining a maximum value of the difference between the transmission times between two of the different transmission channels as the first time period.
Optionally, the first identification information is a relative frame number tag.
Optionally, the second identification information is a default frame sequence number tag or a no frame sequence number tag set in the data.
According to another embodiment of the present invention, there is provided a data receiving method, which is based on a multi-channel EPON, the method including: the method comprises the steps that a receiving end device obtains a plurality of data sent by a sending end device through different transmission channels respectively, and obtains first identification information and/or second identification information carried in the data; the first identification information is used for indicating a sending sequence of the data sent by the sending-end device in a first time period, and the second identification information is used for indicating a sending sequence of the data sent by the sending-end device in a second time period; and the receiving end equipment receives the data according to the sending sequence in the first identification information, and/or the receiving end equipment forwards the received data according to the second identification information.
Optionally, the first time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is greater than zero, and the second time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is equal to zero.
According to an embodiment of the present invention, there is provided a data transmitting apparatus, which is located on a transmitting end device based on a multi-channel EPON, the apparatus including: an obtaining module, configured to obtain data sent in a 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 a receiving sequence of the data sent in the first time period by a receiving end device, and/or obtain the data sent in a second time period, where the data sent in the second time period carries second identification information, and the second identification information is used to indicate the receiving end device to forward the data after receiving the data sent in the second time period; and the sending module is used for sending the data to the receiving end equipment through different transmission channels.
Optionally, the first time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is greater than zero, and the second time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is equal to zero.
Optionally, when a plurality of data transmitted in the first time period and/or the second time period are transmitted to the receiving end device through different transmission channels respectively in a plurality of consecutive time periods, the apparatus further includes: a determining module, configured to determine whether to acquire the data sent in the first time period in any two consecutive intervals of the multiple consecutive intervals; a determining module, configured to instruct, in the case that the determination result is yes, the receiving end device to receive the data by using independent receiving sequences in any two consecutive intervals respectively; wherein each of the plurality of consecutive intervals comprises: a first time period and/or a second time period.
According to another embodiment of the present invention, there is provided a data receiving apparatus, which is based on a multi-channel EPON, the apparatus including: the device comprises an acquisition module, a sending end module and a receiving module, wherein the acquisition module is used for acquiring a plurality of data sent by sending end equipment through different transmission channels respectively and acquiring first identification information and/or second identification information carried in the data; the first identification information is used for indicating the transmission sequence of the data transmitted by the transmitting terminal device in a first time period, and the second identification information is used for indicating the transmission sequence of the data transmitted by the transmitting terminal device in a second time period; and the receiving module is used for receiving the data according to the receiving sequence in the first identification information and/or forwarding the received data according to the second identification information.
Optionally, the first time period is a time period when the probability of receiving, by the receiving end device, the data sent by the sending end in a disordered manner is greater than zero, and the second time period is a time period when the probability of receiving, by the receiving end device, the data sent by the sending end in a disordered manner is equal to zero.
According to another embodiment of the present invention, there is provided a multi-channel EPON system, including: the sending end device is used for acquiring data sent in a first time period, wherein the data sent in the first time period carries first identification information, and/or acquiring data sent in a second time period Duan Na, wherein the data sent in the second time period carries second identification information; respectively sending a plurality of data sent in the first time period and/or the second time period to the receiving end equipment through different transmission channels; the receiving end device is used for acquiring a plurality of data sent by the sending end device through different transmission channels respectively and acquiring first identification information and/or second identification information carried in the data; and the receiving end equipment receives the data according to the receiving sequence in the first identification information, and/or the receiving end equipment forwards the received data according to the second identification information. When the sending end equipment is an optical line terminal OLT, the receiving end equipment is one or more optical network units ONU; or, when the sending end device is the one or more ONUs, the receiving end device is the OLT.
According to still another embodiment of the present invention, there is also provided a storage medium. The storage medium is configured to store program code for performing the steps of:
s1, a sending end device acquires data sent in a first time period, wherein the data sent in the first time period carries first identification information which is used for indicating a receiving sequence of the data sent in the first time period by a receiving end device, and/or the sending end device acquires the data sent in a second time period, wherein the data sent in the second time period carries second identification information which is used for indicating the receiving end device to forward the data after receiving the data sent in the second time period;
and S2, the sending end equipment sends a plurality of data sent in the first time period and/or the second time period to the receiving end equipment through different transmission channels respectively.
According to still another embodiment of the present invention, there is also provided a storage medium. The storage medium is configured to store program code for performing the steps of:
s1, a receiving end device respectively obtains a plurality of data sent by a sending end device through different transmission channels, and obtains first identification information and/or second identification information carried in the data; the first identification information user indicates a sending sequence of the data sent by the sending end device in a first time period, and the second identification information is used for indicating the sending sequence of the data sent by the sending end device in a second time period;
s2, the receiving end equipment receives the data according to the sending sequence in the first identification information, and/or the receiving end equipment forwards the received data according to the second identification information.
According to the invention, different identification information is carried in different time intervals, and the indication of sequential receiving is set in the identification information corresponding to the time period in which the disordered receiving possibly occurs, so that the problem of complex implementation mode for recovering the data receiving sequence between the OLT and the ONU in the related technology can be solved, and the effect of simply and effectively realizing the data sequential recovery between the OLT and the ONU can be realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention to a proper form. In the drawings:
fig. 1 is a system diagram of data transmission in a multi-channel EPON system in the related art;
fig. 2 is a system diagram of data transmission in another multi-channel EPON system in the related art;
fig. 3a is a timing diagram of a data transmission sequence and a reception sequence in the related art;
FIG. 3b is a timing diagram illustrating another data transmission and reception sequence in the related art
Fig. 4 is a flowchart of a data transmission method according to an embodiment of the present invention;
FIG. 5 is a timing diagram of data transmission according to an embodiment of the present invention;
FIG. 6 is a timing diagram of another data transmission according to an embodiment of the present invention;
FIG. 7 is a timing diagram of yet another data transmission according to an embodiment of the present invention;
FIG. 8 is a timing diagram for yet another data transmission according to an embodiment of the present invention;
FIG. 9 is a timing diagram of yet another data transmission according to an embodiment of the present invention;
fig. 10 is a flowchart of a data receiving method according to an embodiment of the present invention;
fig. 11 is a structural diagram of a data transmission apparatus according to an embodiment of the present invention;
fig. 12 is a structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 13 is a structural diagram of a data receiving apparatus according to an embodiment of the present invention;
fig. 14 is a system configuration diagram of a multi-channel EPON according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
In the present embodiment, a data transmission method operating in the network architecture described in fig. 1 or fig. 2 is provided. It should be noted that, in this embodiment, when the sending end device is an optical line terminal OLT, the receiving end device is one or more optical network units ONU; and when the sending end equipment is the one or more ONUs, the receiving end equipment is the OLT.
Fig. 4 is a flowchart of a data transmission method according to an embodiment of the present invention, and as shown in fig. 4, the flowchart includes the following steps:
step S402, a sending end device acquires data sent in a first time period, wherein the data sent in the first time period carries first identification information which is used for indicating a receiving sequence of the data sent in the first time period by a receiving end device, and/or the sending end device acquires the data sent in a second time period, wherein the data sent in the second time period carries second identification information which is used for indicating the receiving end device to forward the data after receiving the data sent in the second time period;
optionally, the first time period is a time period when the probability that the receiving end device receives the data sent by the sending end in a disorderly manner is greater than zero.
Specifically, the first time period may include: and the data transmission time intervals among the plurality of data are similar or identical. For example, when transmitting at the same time, the receiving end device receives data transmitted via channel 1 later than data transmitted via channel 2 due to problems such as transient interference occurring in transmission channel 1. Similarly, when the transmission time is close, although the transmitting-side device preferentially transmits on the channel 1, there is a high possibility that the receiving-side device receives data transmitted via the channel 1 later than data transmitted via the channel 2, which causes disorder of the reception order.
Of course, other time ranges that may cause spurious reception are also within the scope of the present embodiment. For example, due to the difference between the paths in fig. 1 or fig. 2, 5 data 10-14 with a transmission time of 1ms are continuously transmitted on channel 1, and 1 data 20 with a transmission time of 10ms is transmitted on channel 2 in a certain time period. The sending sequence of the sending end is 10-20-11-12-13-14. Since data are received on the same channel in sequence according to the transmission sequence, the data 10-14 receiving sequence is not changed, however, the data 20 transmission time is greater than the data 10-14 transmission time sum, and thus the actual receiving sequence at the receiving end is 10-11-12-13-14-20. Therefore, the problem of receiving-end disorder also occurs in the above situation. In addition, for example, transmission delays and transmission stabilities of different transmission channels are different, so that the order of receiving data by a receiving end may be disordered between different channels.
Optionally, the first time period is obtained by, but not limited to: acquiring the transmission time of first time data from the sending end equipment to the receiving end equipment on the different transmission channels; determining a maximum value of the difference between the transmission times between any two of the different transmission channels as the first time period.
It should be noted that the first time period may be an average of multiple measurements, and may be updated in real time according to each data transmission and reception process. Of course, other calculation methods based on the above-mentioned idea are also within the scope of the present embodiment.
Optionally, the second time period is a time period when the probability that the receiving-end device receives the data sent by the sending end in a confused manner is equal to zero. I.e. the second period is a period of time out of the first period of time in the total time of transmission of data.
Optionally, when the receiving end device receives data in the first time period, when the number corresponding to the receiving order reaches the maximum value, the receiving end device continues to use the receiving order starting from the minimum value of the number corresponding to the receiving order.
Specifically, the maximum value corresponding to the number corresponding to the receiving sequence is greater than or equal to the number of the transmission channels.
For example, fig. 5 is a timing diagram of data transmission according to an embodiment of the invention, and as shown in fig. 5, during the first period of time, from channel 1 to channel 4, the data is transmitted in the order of data1-data2-data3-data4-data5-data6. In order to reduce the space occupied by data, the maximum value of the number corresponding to the sequence of the receiving end device is set to be 4, so that the sequence of the number corresponding to the sequence received by the receiving end is 1-2-3-4-1-2 in practice. Of course, if the occupied data space does not need to be reduced, the maximum value of the number corresponding to the sequence of the receiving end device may also be 6 or more, so that the corresponding number sequence is 1-2-3-4-5-6.
Optionally, the data fragments sent in the first time period are fragmented, where each data fragment carries the first identification information.
Optionally, the first identification information is a relative frame number tag and is used for indicating a receiving sequence of the receiving end, and the second identification information is a default frame number tag or a no frame number tag set in the data and is used for indicating the terminal to directly forward the received data, that is, the terminal does not need to receive the data according to the sequence indicated by the sending end. The term "relative" refers to the order of transmission of data on a channel over a period of time in all data transmissions. Of course, the data may be transmitted continuously or intermittently. For example, as shown in fig. 5, if the data2 and data6 on channel 2 cannot be transmitted due to the transmitting end, the transmitting section adjusts the order of transmission, i.e., data1-data 3-data4-data5.
Optionally, the first identification information and the second identification information may be carried in a preamble of an EPON protocol. TABLE 1 EPON preamble definitions in the related art
TABLE 1
Figure BDA0001245646060000101
As shown in table 1, in the EPON Preamble, 2 bits are determined for identification information, such as the upper two bits in offset 4. Therefore, at this time, the NGEPON MAC layer judges that the frame header is changed from 0xd5/0x55/0x55 to 0xd5/0x15/0x55, wherein the highest 2 bits of 0x15 are not subjected to frame header judgment. Specifically, 00, 01, 10 of the highest 2 bits in 0x15 is used to carry a relative frame number tag for indicating the receiving order of the receiving end, and 11 in 0x15 is used to carry a default frame number tag or no frame number tag for indicating the terminal to directly forward the received data, i.e. it is not necessary to receive the data according to the order indicated by the transmitting end. It is noted that the above numbering supports recycling.
Of course, other bits in offset4 may be used to indicate the identification information. Taking the upper three bits as an example, the order 000,001,010,011,100,101,110 is used to carry the relative frame number tag, and 111 is used to carry the default frame number tag or no frame number tag.
It should be noted that, in practical applications, if there are a plurality of first time periods requiring different receiving orders, this can be embodied by a change in the number of bits. Meanwhile, the preamble of the multi-channel EPON system is only one method for identifying the data receiving sequence in this embodiment, and therefore, may also be embodied in other encoding manners.
For example, for the timing diagram in fig. 5, 3 bits may be used to represent the transmission order, for example, 000,001,010,011,100,101,110 may correspond to the transmission order of one first period, 110, 101, 100, 011, 010, 001, 000 may correspond to the transmission order of another first period, and when 3 bits are not enough to represent the transmission order, 4 bits may be used to represent the transmission order, for example, 0000, 0001, 0010, 0011, 0100, 0101 may correspond to the transmission order of one first period, 0111, 1000, 1001, 1010, 1011, 1100 may correspond to the transmission order of another first period, and 1101, 1110, 0000, 0001, 0010, 0011 may correspond to the transmission order of yet another first period.
It is noted that the second identification information, such as 11,111 or 1111, identifying the default frame number tag or no frame number tag, is present to indicate the end of the data transmission during this first period. And if another first time period subsequently exists, the identification is carried out according to the transmission sequence of the another first time period.
Step S404, the sending end device sends a plurality of data sent in the first time period and/or the second time period to the receiving end device through different transmission channels, respectively.
Optionally, when the sending end device sends a plurality of data sent in the first time period and/or the second time period to the receiving end device through different transmission channels respectively in a plurality of continuous intervals, the sending end device determines whether to acquire the data sent in the first time period in any two continuous intervals in the plurality of continuous intervals, and if the determination result is yes, indicates the receiving end device to receive the data by using independent receiving sequences respectively in the any two continuous intervals; wherein each of the plurality of consecutive intervals comprises: a first time period and/or a second time period.
Optionally, when the determination result is that the data transmitted in the first time period is acquired in one of any two consecutive intervals, the receiving end device is instructed to receive the data by using an independent receiving sequence in the any two consecutive intervals, or the receiving end device uses a receiving sequence in any one of the consecutive intervals.
Specifically, the following scenario is provided in this embodiment to facilitate understanding of the technical solution described in the present invention.
Scene 1
Fig. 6 is a timing diagram of another data transmission according to an embodiment of the invention, as shown in fig. 6, during the first time period from channel 1 to channel 4, the data transmission is in the order of data1-data2-data3-data4-data5, where data1 and data5 are both transmitted through channel 1.
According to the data transmission sequence, the data receiving sequence of the corresponding receiving end equipment is data1-data2-data3-data4-data5. Since data1, data2, data3, data4 and data5 are in the same first time period, the sender will use the same sequence number to perform sorting. In addition, in order to reduce the occupation of space in the data, only the three high bits of offset4 are used, and therefore the sequence number labels corresponding to the receiving order of the receiving side are set as follows: 000,001,010,011, 100.
Scene 2
Fig. 7 is a timing diagram of still another data transmission according to an embodiment of the present invention, as shown in fig. 7, during a first period of time, from channel 1 to channel 4, the data transmission is in the order of data1-data2-data3-data4, and during a second period of time, from channel 1 to channel 4, the data transmission is in the order of data5-data6-data7-data8.
According to the data transmission sequence, the data receiving sequence of the corresponding receiving end equipment is data1-data2-data3-data4.data5 to data8 are received after data4 is received in a default order, and corresponding forwarding operations are performed after reception. Because data1, data2, data3 and data4 are positioned in the same first time period, and data5, data6, data7 and data8 are positioned in the same first time period, the transmitting end can use the same serial number mode for sorting. In addition, in order to reduce the occupation of space in the data, only the two high bits of offset4 are used, and therefore the sequence number labels corresponding to the receiving order of the receiving end are set as follows: 00, 01, 10,00, 11,11, 11, 11.
Scene 3
Fig. 8 is a timing diagram of further data transmission according to the embodiment of the invention, as shown in fig. 8, during two consecutive first time periods, during the first time period, from channel 1 to channel 4, the data transmission sequence is data1-data2-data3-data4, and during the second first time period, the data transmission sequence from channel 1 to channel 4 is data5-data6-data7-data8.
According to the data transmission sequence, the data receiving sequence of the corresponding receiving end equipment is data1-data2-data3-data4-data5-data6-data7-data8. Since data1, data2, data3, data4 are located in the first time slot. And the data5, data6, data7 and data8 are positioned in the second first time slot, so that the serial number labels corresponding to the receiving sequence of the set receiving end are different and belong to two different number spaces. That is, the sequence number label corresponding to the receiving sequence is: 0000 0001, 0010, 0011, 0100, 0101, 0110, 0111, wherein 0000, 0001, 0010, 0011 is a number space, and 0100, 0101, 0110, 0111 is another number space.
Scene 4
FIG. 9 is a timing diagram of still another data transmission according to an embodiment of the present invention, as shown in FIG. 9, during a first time period, from lane 1 to lane 4, data packets 1 and 2 are fragmented into data11, data12, data13, data14, data21, data 22, data 23 and data24, respectively.
The data fragments are transmitted according to the transmission characteristics of the data, i.e. in the order of the channels, so that the data11-data12-data13-data14-data 21-data 22-data 23-data24 are received in the order of the data by the corresponding sink device. Because the data are located in the same first time period, the sending end can use the same sequence number mode to perform sequencing, in this scenario, the three high bits in offset4 can be used, and thus the set sequence number label corresponding to the receiving sequence of the receiving end is: 000,001,010,011,100,101,110,000, in order to allow the receiving end to successfully reassemble data11, data12, data13, and data14, at least which data they belong to and the total number of data fragments, data21, data 22, data 23, and data24, should be indicated in the transmission of these data fragments. Of course, data11-data12-data13-data14 and data21-data 22-data 23-data24 may also be sorted by two mutually independent numbering spaces, respectively, i.e. data11-data12-data13-data14 is numbered with 0000, 0001, 0010, 0011, data21-data 22-data 23-data24 is numbered with 0100, 0101, 0110, 0111, 0000, 0001, 0010, 0011 and 0100, 0101, 0110, 0111, respectively, two mutually independent numbering spaces.
Through the steps, the problem of disordered receiving sequence caused by similar or same data sending time is solved, and the effect of data sequence recovery between the OLT and the ONU is simply and effectively realized.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, but may also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solution of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In the present embodiment, a data receiving method operating in the network architecture described in fig. 1 or fig. 2 is provided. It should be noted that, in this embodiment, when the sending end device is an optical line terminal OLT, the receiving end device is one or more optical network units ONU; and when the sending end equipment is the one or more ONUs, the receiving end equipment is the OLT.
Fig. 10 is a flowchart of a data receiving method according to an embodiment of the present invention, as shown in fig. 10, the flowchart includes the following steps:
s1002, a receiving end device respectively obtains a plurality of data sent by a sending end device through different transmission channels, and obtains first identification information and/or second identification information carried in the data; the first identification information is a sending sequence of the data sent by the sending end device in a first time period, and the second identification information is used for indicating the sending sequence of the data sent by the sending end device in a second time period;
s1004, according to the sending sequence in the first identification information, the receiving end equipment receives the data, and/or according to the second identification information, the receiving end equipment forwards the received data
Example 3
In this embodiment, a data sending device is further provided, and the data sending device is used to implement the foregoing embodiments and preferred embodiments, and the description of the data sending device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, implementations in hardware or a combination of software and hardware are also possible and contemplated.
Fig. 11 is a structural diagram of a data transmission apparatus according to an embodiment of the present invention, as shown in fig. 11, the apparatus including: an acquisition module 1102 and a sending module 1104.
An obtaining module 1102, configured to obtain data sent in a 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 a receiving sequence of the data sent by a receiving end device in the first time period, and/or obtain the data sent in a second time period, where the data sent in the second time period carries second identification information, and the second identification information is used to indicate that the receiving end device forwards the data after receiving the data sent in the second time period;
a sending module 1104, configured to send the multiple pieces of data to the receiving end device through different transmission channels, respectively.
Optionally, the first time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is greater than zero, and the second time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is equal to zero.
Fig. 12 is a structural diagram of another data transmitting apparatus according to an embodiment of the present invention, and as shown in fig. 12, the apparatus, in addition to all modules shown in fig. 11, when transmitting a plurality of data transmitted in the first time period and/or the second time period to the receiving end device through different transmission channels in a plurality of consecutive time periods, further includes: a determination module 1202 and a determination module 1204.
A determining module 1202, configured to determine whether to acquire the data sent in the first time period in any two consecutive intervals of the multiple consecutive intervals;
a determining module 1204, configured to, if the determination result is yes, instruct, by using independent receiving orders, the receiving end device to receive the data in any two consecutive intervals respectively;
wherein each of the plurality of consecutive intervals comprises: a first time period and/or a second time period.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 4
In this embodiment, a data receiving apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and the description already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 13 is a block diagram of a data receiving apparatus according to an embodiment of the present invention, as shown in fig. 11, the apparatus including: an acquisition module 1302 and a sending module 1304.
An obtaining module 1302, configured to obtain, through different transmission channels, a plurality of data sent by a sending end device, and obtain first identification information and/or second identification information carried in the data; wherein the first identification information is used to indicate a transmission order of the data transmitted by the sending end device in a first time period, and the second identification information is used to indicate a transmission order of the data transmitted by the sending end device in a second time period;
a receiving module 1304, configured to receive the data according to the sending sequence in the first identification information, and/or forward the received data according to the second identification information.
Optionally, the first time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is greater than zero, and the second time period is a time period when the probability of the receiving end device receiving the data sent by the sending end in a disorganized manner is equal to zero.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 5
In this embodiment, a multi-channel EPON system is further provided, and fig. 14 is a system structural diagram of a multi-channel EPON according to an embodiment of the present invention, as shown in fig. 14, the apparatus includes: a sending end device 1402 and a receiving end device 1404.
A sending end device 1402, configured to obtain data sent in a first time period, where the data sent in the first time period carries first identification information, and/or obtain data sent in a second time period Duan Na, where the data sent in the second time period carries second identification information; transmitting a plurality of data transmitted in the first time period and/or the second time period to the receiving end device 1404 through different transmission channels;
the receiving end device 1404 is configured to obtain, through different transmission channels, a plurality of data sent by the sending end device 1402, and obtain first identification information and/or second identification information carried in the data; according to the receiving sequence in the first identification information, the receiving end device receives the data, and/or according to the second identification information, the receiving end device 1404 forwards the received data.
When the sending end device 1402 is an optical line terminal OLT, the receiving end device 1404 is one or more optical network units ONU; alternatively, when the sending end device 1402 is the one or more ONUs, the receiving end device 1404 is the OLT.
Example 6
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, a sending end device acquires data sent in a first time period, wherein the data sent in the first time period carries first identification information which is used for indicating a receiving sequence of the data sent in the first time period by a receiving end device, and/or the sending end device acquires the data sent in a second time period, wherein the data sent in the second time period carries second identification information which is used for indicating the receiving end device to forward the data after receiving the data sent in the second time period;
and S2, the sending end equipment sends a plurality of data sent in the first time period and/or the second time period to the receiving end equipment through different transmission channels respectively.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, for a specific example in this embodiment, reference may be made to the examples described in the above embodiment and optional implementation, and this embodiment is not described herein again.
Example 7
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, a receiving end device respectively obtains a plurality of data sent by a sending end device through different transmission channels, and obtains first identification information and/or second identification information carried in the data; the first identification information is used for indicating the sending sequence of the data sent by the sending end equipment in a first time period, and the second identification information user indicates the sending sequence of the data sent by the sending end equipment in a second time period;
s2, the receiving end equipment receives the data according to the sending sequence in the first identification information, and/or the receiving end equipment forwards the received data according to the second identification information.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and alternatively, they may be implemented in program code that is executable by a computing device, such that it may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that shown or described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

1. A data transmission method is applied to an EPON (Ethernet passive optical network) system and is characterized by comprising the following steps:
a sending end device obtains data sent in a first time period, wherein the data sent in the first time period carries first identification information, and the first identification information is used for indicating a receiving sequence of the data sent in the first time period by a receiving end device and/or indicating a receiving sequence of the data sent in the first time period by the receiving end device
The method comprises the steps that a sending end device obtains data sent in a second time period, wherein the data sent in the second time period carries second identification information, and the second identification information is used for indicating a receiving end device to forward the data after receiving the data sent in the second time period;
the sending end equipment sends a plurality of data sent in the first time period and/or the second time period to the receiving end equipment through different transmission channels respectively;
the first time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is larger than zero, and the second time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is equal to zero.
2. The method of claim 1, wherein the receiving order is continuously used from a minimum value of the number corresponding to the receiving order when the number corresponding to the receiving order reaches a maximum value.
3. The method of claim 2, wherein a maximum value corresponding to the number corresponding to the receiving order is greater than or equal to the number of the transmission channels.
4. The method according to claim 1, wherein when the sending-end device sends a plurality of data sent in the first time period and/or the second time period to the receiving-end device through different transmission channels in a plurality of consecutive intervals, the method further comprises:
the sender device determines whether to acquire the data transmitted in the first time period in any two consecutive intervals of the plurality of consecutive intervals,
if the judgment result is yes, indicating the receiving end equipment to receive the data by using independent receiving sequences in any two continuous intervals respectively; wherein each of the plurality of consecutive intervals comprises: a first time period and/or a second time period.
5. The method according to any of claims 1 to 4, characterized in that when the sending end device is an Optical Line Terminal (OLT), the receiving end device is one or more Optical Network Units (ONUs); and when the sending end equipment is the one or more ONUs, the receiving end equipment is the OLT.
6. The method of claim 5, wherein the first time period is determined by at least:
acquiring the transmission time of first time data from the sending end equipment to the receiving end equipment on different transmission channels;
determining a maximum value of the difference between the transmission times between two of the different transmission channels as the first time period.
7. The method according to any of claims 1 to 4, wherein the first identification information is a relative frame number tag.
8. The method according to any one of claims 1 to 4, wherein the second identification information is a default frame number tag or no frame number tag set in the data.
9. A data receiving method is applied to a multi-channel Ethernet passive optical network system (EPON), and is characterized by comprising the following steps:
the method comprises the steps that a receiving end device obtains a plurality of data sent by a sending end device through different transmission channels respectively, and obtains first identification information and/or second identification information carried in the data; the first identification information is used to indicate a sending sequence of the data sent by the sending end device in a first time period, and the second identification information is used to indicate a sending sequence of the data sent by the sending end device in a second time period;
according to the sending sequence in the first identification information, the receiving end equipment receives the data, and/or according to the second identification information, the receiving end equipment forwards the received data;
the first time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is larger than zero, and the second time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is equal to zero.
10. A data transmission device is applied to a multichannel Ethernet passive optical network system (EPON) and is positioned at a transmitting terminal device, and the device comprises:
an obtaining module, configured to obtain data sent in a first time period, where the data sent in the first time period carries first identification information, and the first identification information is used to indicate a receiving sequence of the data sent by a receiving end device in the first time period, and/or obtain the data sent in a second time period, where the data sent in the second time period carries second identification information, and the second identification information is used to indicate the receiving end device to forward the data after receiving the data sent in the second time period;
the sending module is used for sending the plurality of data to the receiving end equipment through different transmission channels respectively;
the first time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorder manner is greater than zero, and the second time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorder manner is equal to zero.
11. The apparatus according to claim 10, wherein when a plurality of data transmitted in the first time period and/or the second time period are transmitted to the receiving end device through different transmission channels in a plurality of consecutive intervals, the apparatus further comprises:
a determining module, configured to determine whether to acquire the data sent in the first time period in any two consecutive intervals of the multiple consecutive intervals;
a determining module, configured to instruct, in the case that the determination result is yes, the receiving end device to receive the data by using independent receiving sequences in any two consecutive intervals respectively;
wherein each of the plurality of consecutive intervals comprises: a first time period and/or a second time period.
12. A data receiving apparatus, applied to an EPON (multichannel ethernet passive optical network) and located at a receiving end device, the apparatus comprising:
the system comprises an acquisition module, a sending end device and a receiving end device, wherein the acquisition module is used for acquiring a plurality of data sent by the sending end device through different transmission channels respectively and acquiring first identification information and/or second identification information carried in the data; the first identification information is used to indicate a sending sequence of the data sent by the sending end device in a first time period, and the second identification information is used to indicate a sending sequence of the data sent by the sending end device in a second time period;
a receiving module, configured to receive the data according to the sending sequence in the first identification information, and/or forward the received data according to the second identification information;
the first time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is larger than zero, and the second time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is equal to zero.
13. A multi-channel ethernet passive optical network, EPON, system, comprising:
the sending end equipment is used for acquiring data sent in a first time period, wherein the data sent in the first time period carries first identification information, and/or acquiring data sent in a second time period, wherein the data sent in the second time period carries second identification information; respectively sending a plurality of data sent in the first time period and/or the second time period to receiving end equipment through different transmission channels;
the receiving end device is used for acquiring a plurality of data sent by the sending end device through different transmission channels respectively and acquiring first identification information and/or second identification information carried in the data; according to the receiving sequence in the first identification information, the receiving end equipment receives the data, and/or according to the second identification information, the receiving end equipment forwards the received data;
when the sending end equipment is an optical line terminal OLT, the receiving end equipment is one or more optical network units ONU; or, when the sending end device is the one or more ONUs, the receiving end device is the OLT;
the first time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is larger than zero, and the second time period is a time period when the probability of the receiving end equipment receiving the data sent by the sending end in a disorderly mode is equal to zero.
CN201710151282.9A 2017-03-14 2017-03-14 Data transmitting and receiving method and device and multichannel EPON system Active CN108574530B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710151282.9A CN108574530B (en) 2017-03-14 2017-03-14 Data transmitting and receiving method and device and multichannel EPON system
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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710151282.9A CN108574530B (en) 2017-03-14 2017-03-14 Data transmitting and receiving method and device and multichannel EPON system

Publications (2)

Publication Number Publication Date
CN108574530A CN108574530A (en) 2018-09-25
CN108574530B true CN108574530B (en) 2022-10-28

Family

ID=63521707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710151282.9A Active CN108574530B (en) 2017-03-14 2017-03-14 Data transmitting and receiving method and device and multichannel EPON system

Country Status (2)

Country Link
CN (1) CN108574530B (en)
WO (1) WO2018166174A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
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
CN114867094A (en) * 2022-04-29 2022-08-05 广州小鹏汽车科技有限公司 Vehicle and state transparent transmission method thereof, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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
CN1601982A (en) * 2003-09-28 2005-03-30 上海贝尔阿尔卡特股份有限公司 Multiple business realizing method based on ethernet passive optical network
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8086872B2 (en) * 2005-12-08 2011-12-27 Electronics And 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
CN101552772B (en) * 2008-04-02 2013-08-28 华为技术有限公司 Method, devices and system for optical network data processing
CN101729940B (en) * 2008-10-22 2013-06-05 华为技术有限公司 Method for sending data to multiple communication channels and method for receiving data
US9319236B2 (en) * 2012-09-26 2016-04-19 Broadcom Corporation Optical line terminal (OLT) system

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN1601982A (en) * 2003-09-28 2005-03-30 上海贝尔阿尔卡特股份有限公司 Multiple business realizing method based on ethernet passive optical network
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
WO2018166174A1 (en) 2018-09-20
CN108574530A (en) 2018-09-25

Similar Documents

Publication Publication Date Title
CN101699786B (en) Method, device and system for detecting packet loss
CN107888344B (en) Method, equipment and system for detecting error code
JP2002374232A5 (en)
EP3605881B1 (en) Method and device for transmitting and receiving network management information, transmitting apparatus and receiving apparatus
CN107888345B (en) Information transmission method and equipment
RU2007143600A (en) ADVANCED ALARM OPPORTUNITY FOR NETWORK ELEMENTS, OBONENTSKY EQUIPMENT AND SYSTEM
AU4890497A (en) Multi-frame synchronization for parallel channel transmissions
AU2019203465B2 (en) Link-fault tolerance in a distributed antenna system
CN109428837B (en) Data transmission method and device
CN101552772A (en) Method, devices and system for optical network data processing
CN107104782A (en) Data transmission method and device
CN113285781A (en) Multiframe sending and receiving method, device, communication equipment and communication network system
CN1689273A (en) Method for automated connection discovery in optical networks
CN108574530B (en) Data transmitting and receiving method and device and multichannel EPON system
CN113765619B (en) 64B/66B code stream transmitting method, 64B/66B code stream receiving method and equipment
KR101388530B1 (en) Apparatus and method for link duplication in mobile communication system
CN109802742B (en) Method, equipment and system for transmitting data
EP3537673A1 (en) Data sending and receiving method and device, onu, and olt
TW200520509A (en) System and method for network connection
CN107370688B (en) Data transmission method and device
CN106162386A (en) A kind of method and apparatus realizing registration
CN108063986A (en) Frame number bearing method, the apparatus and system of multichannel passive optical network
CN109818704B (en) Data transmission method and device
CN101051880B (en) Transmitting, receiving and repeating method and its device for data frame
US20110244813A1 (en) Communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant