A data stream identification method and related equipment

By inserting the target bit sequence in the optical access system, the ONU can identify and sort the data stream, solving the problem of complex data stream identification process in the prior art, and achieving simpler and more efficient data stream identification.

CN114679639BActive Publication Date: 2025-04-04HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011554800.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-24
Publication Date
2025-04-04
Estimated Expiration
2040-12-24

AI Technical Summary

Technical Problem

In the existing optical access system, the OLT needs to send a PLOAM message on each channel, and the ONU recognizes the indications in the PLOAM message through the MAC chip, resulting in a complicated data flow recognition process.

Method used

By inserting the target bit sequence in the downlink data, the ONU recognizes the target bit sequence according to the target characteristics and recognizes each data stream according to the target sorting, avoiding the need for OLT to send PLOAM messages on each channel.

Benefits of technology

It simplifies the identification process of data flow, reduces the bit error rate of ONU, and improves the scalability and practicality of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114679639B_ABST
    Figure CN114679639B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method for identifying a data stream and related equipment. The method of the embodiment of the present application includes: an ONU receives downstream data sent by an OLT. The ONU demultiplexes the downstream data to obtain a target bit sequence and multiple data streams, wherein the bit distribution of at least one field in the target bit sequence has a target feature. The ONU determines the target bit sequence according to the target feature. The ONU obtains the target ordering between the target bit sequence and the multiple data streams. The ONU identifies each data stream according to the target bit sequence and the target ordering, and thus determines the transmission channel corresponding to each data stream, which facilitates the ONU to subsequently send and receive data in the transmission channel required by itself. Through the above manner, the OLT does not need to indicate each data stream by sending a PLOAM message in each transmission channel, and the ONU does not need to identify the indication in the PLOAM message through a MAC chip, and the data stream identification process is simpler.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communications, and in particular to a data stream identification method and related equipment. Background Art

[0002] For the time and wavelength division multiple optical access system (TWDM OAS), the optical line terminal (OLT) performs electrical domain multiplexing of multiple channels in the downstream direction by bit interleaving, and the optical network unit (ONU) performs electrical domain demultiplexing. After the ONU completes the demultiplexing, it needs to correctly identify the channel it needs, so as to extract the corresponding downstream data from the channel.

[0003] A current implementation method is that the OLT constructs a physical layer operations, administration and maintenance (PLOAM) message to identify each channel, and the OLT broadcasts the PLOAM message through each channel. After the ONU completes demultiplexing, the data of any channel can be sent to a local media access control (MAC) chip. The MAC chip extracts the PLOAM message from the data, and also determines the channel corresponding to the data, so that the data transmitted in other channels can be inferred according to the order of the channels, so that the ONU completes the identification of the data stream. However, this method requires the OLT to send a PLOAM message in each channel, and the MAC chip of the ONU identifies the data stream in each channel according to the PLOAM message, and the process of data stream identification is relatively complicated. Summary of the invention

[0004] The present application provides a data stream identification method and related equipment. The OLT does not need to send a PLOAM message in each transmission channel to indicate each data stream, and the ONU does not need to identify the indication in the PLOAM message through a MAC chip, and the data stream identification process is simpler.

[0005] In a first aspect, the present application provides a method for identifying a data stream. First, an ONU receives downstream data sent by an OLT. Afterwards, the ONU demultiplexes the downstream data to obtain a target bit sequence and multiple data streams, wherein the bit distribution of at least one field in the target bit sequence has a target feature. Next, the ONU determines a target bit sequence according to the target feature, and obtains a target ordering between the target bit sequence and the multiple data streams. Furthermore, the ONU identifies each data stream according to the target ordering of the target bit sequence.

[0006] In this implementation, the ONU can first identify the target bit sequence according to the target feature, and then identify each data stream according to the target sorting, thereby determining the transmission channel corresponding to each data stream, so that the ONU can subsequently send and receive data in the transmission channel required by itself. In the above manner, the OLT does not need to indicate each data stream by sending a PLOAM message in each transmission channel, and the ONU does not need to identify the indication in the PLOAM message through the MAC chip, and the data stream identification process is simpler.

[0007] In some possible implementations, the target bit sequence is a scrambling sequence, and the bits in the scrambling sequence are distributed periodically. Since the bit distribution in the data stream is usually random and does not have a periodic characteristic, the target bit sequence can be easily distinguished from other data streams by designing it as a periodic scrambling sequence. In addition, since the scrambling sequence is inserted into the downlink data, it is equivalent to scrambling the data, avoiding the appearance of long consecutive "0" bits or "1" bits in the data, and reducing the bit error rate of the ONU.

[0008] In some possible implementations, multiple scrambling code sequences may be inserted into the downlink data. For example, the scrambling code sequence includes a first scrambling code sequence and a second scrambling code sequence, thereby improving the scalability of the solution.

[0009] In some possible implementations, the number of bits in the cycle of the first scrambling sequence is the same as the number of bits in the cycle of the second scrambling sequence, and the value of at least one bit in the cycle of the first scrambling sequence is opposite to the value of at least one bit in the cycle of the second scrambling sequence. This design can further reduce the number of long consecutive "0" bits or "1" bits, and the scrambling effect is better.

[0010] In some possible implementations, the ONU determines the target bit sequence according to the target feature, including:

[0011] The ONU can extract bit subsequences of preset lengths from the target bit sequence and each data stream respectively. Then, the ONU identifies the multiple bit subsequences. If there is only one bit subsequence whose bits are distributed periodically, it can be determined that the bit subsequence corresponds to the target bit sequence. If there is no bit subsequence whose bits are distributed periodically or there are multiple bit subsequences whose bits are distributed periodically, then the result this time is not used as a basis for judgment, and the above identification process needs to be performed again. The present application provides a specific implementation method for identifying the target bit sequence, which improves the practicality of the present solution.

[0012] In some possible implementations, the bit distribution of the preamble and / or delimiter of the target bit sequence has a target feature. It should be understood that the preamble and delimiter of each data stream are fixed, so a preamble and / or delimiter of a special format can be designed to distinguish it from the data stream. Specifically, the number of bits of the target preamble in the target bit sequence can be the same as the number of bits of the preamble in the data stream, as long as the bit distribution of the target preamble is different from the bit distribution of the preamble in the data stream. Similarly, the number of bits of the target delimiter in the target bit sequence can be the same as the number of bits of the delimiter in the data stream, as long as the bit distribution of the target delimiter is different from the bit distribution of the delimiter in the data stream. The present application provides another design method for the target bit sequence, which improves the scalability of the present solution.

[0013] In some possible implementations, the data field of the target bit sequence carries the first configuration information, the first configuration information is used to indicate an idle transmission channel, the ONU can determine the idle transmission channel according to the first configuration information, and transmit data with the OLT through the idle transmission channel. In the above manner, the OLT does not need to pre-allocate a transmission channel for each ONU, and the ONU can select an idle transmission channel to go online according to the first configuration information, which is more convenient for service activation.

[0014] In some possible implementations, the data field of the target bit sequence carries the second configuration information, and the second configuration information is used to indicate the target sorting, that is, the ONU can determine the target sorting according to the second configuration information. Specifically, the target sorting can be indicated by multiple bytes in the data field, one of which is used to indicate the target bit sequence, and the other bytes are used to indicate each data stream. Then, the order of arrangement of these multiple bytes can reflect the target sorting between the target bit sequence and the multiple data streams. It should be understood that the order between these multiple bytes can be determined as long as it is determined, and it is not specifically limited to which data stream or target bit sequence the first byte indicates. For example, the order between these multiple bytes can be "data stream 1 / target bit sequence / data stream 2 / ... / data stream n / ", or it can be "target bit sequence / data stream 2 / ... / data stream n / data stream 1 / ", both of which reflect the same target sorting, that is, the position where the target bit sequence is inserted is between data stream 1 and data stream 2. The present application provides a specific implementation method for ONU to obtain target sorting, which improves the practicality of this solution.

[0015] In some possible implementations, the target ordering can be pre-written into the ONU in the form of a code, and the ONU can determine the target ordering by reading the code, thereby identifying other data streams according to the target ordering and the identified target bit sequence. It should be understood that the target ordering will also be pre-written into the OLT, and the OLT multiplexes the target bit sequence and multiple data streams according to the target ordering. That is, the OLT and the ONU can negotiate the target ordering in advance, and there is no need for the OLT to notify the ONU of the target ordering, which makes the implementation method simpler.

[0016] In a second aspect, the present application provides a method for identifying a data stream. The OLT multiplexes a target bit sequence and multiple data streams to obtain downstream data, the bit distribution of at least one field in the target bit sequence has a target feature, and the target bit sequence and the multiple data streams are arranged in a target order. Furthermore, the OLT sends the downstream data to the ONU, so that the ONU determines the target bit sequence according to the target feature, and identifies each data stream according to the target bit sequence and the target order.

[0017] In some possible implementations, the target bit sequence is a scrambling sequence, and bits in the scrambling sequence are distributed periodically.

[0018] In some possible implementations, the scrambling sequence includes a first scrambling sequence and a second scrambling sequence.

[0019] In some possible implementations, the number of bits in a cycle of the first scrambling code sequence is the same as the number of bits in a cycle of the second scrambling code sequence, and the value of at least one bit in the cycle of the first scrambling code sequence is opposite to the value of at least one bit in the cycle of the second scrambling code sequence.

[0020] In some possible implementations, the bit distribution of the preamble in the target bit sequence has a target characteristic, wherein the target characteristic is different from the bit distribution characteristic of the preamble in each data stream. And / or, the bit distribution of the delimiter in the target bit sequence has a target characteristic, wherein the target characteristic is different from the bit distribution characteristic of the delimiter in each data stream.

[0021] In some possible implementations, the data field of the target bit sequence carries first configuration information, where the first configuration information is used to indicate an idle transmission channel.

[0022] In some possible implementations, the data field of the target bit sequence carries second configuration information, and the second configuration information is used to indicate the target sorting.

[0023] In a third aspect, the present application provides a digital processing chip, including a processor, a memory, and a transceiver. The processor, the memory, and the transceiver are interconnected via a line, and the processor calls the program code in the memory to execute the data stream identification method shown in any embodiment of the first aspect.

[0024] In a fourth aspect, the present application provides a digital processing chip, comprising a processor, a memory, and a transceiver. The processor, the memory, and the transceiver are interconnected via a line, and the processor calls the program code in the memory to execute the data stream identification method shown in any embodiment of the second aspect.

[0025] In a fifth aspect, the present application provides an ONU, comprising the digital processing chip shown in the third aspect above.

[0026] In a sixth aspect, the present application provides an OLT, comprising the digital processing chip shown in the fourth aspect above.

[0027] In a seventh aspect, the present application provides a passive optical network, which includes the ONU shown in the fifth aspect and the OLT shown in the sixth aspect.

[0028] In an eighth aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by hardware, can implement part or all of the steps of any one of the methods in the first and second aspects above.

[0029] In the embodiment of the present application, the target bit sequence and multiple data streams obtained by ONU demultiplexing are arranged according to the target order, and the bit distribution of at least one field in the target bit sequence has a target feature. Then, the ONU can first identify the target bit sequence according to the target feature. Then, the ONU identifies each data stream according to the target order, and also determines the transmission channel corresponding to each data stream, which is convenient for the ONU to send and receive data in the transmission channel required by itself later. Through the above-mentioned method, the OLT does not need to indicate each data stream by sending a PLOAM message in each transmission channel, and the ONU does not need to identify the indication in the PLOAM message through the MAC chip, and the data stream identification process is simpler. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic diagram of the system architecture of PON;

[0031] Figure 2 This is a schematic diagram of the system architecture of TWDM OAS;

[0032] Figure 3 A schematic diagram of an embodiment of a method for identifying a data stream in the present application;

[0033] Figure 4 A schematic diagram of a structural comparison between a data stream and a target bit sequence;

[0034] Figure 5 A schematic diagram of the structure of an ONU in an embodiment of the present application;

[0035] Figure 6 A schematic diagram of the structure of a digital processing chip of an ONU in an embodiment of the present application;

[0036] Figure 7 A schematic diagram of the structure of a digital processing chip of an OLT in an embodiment of the present application;

[0037] Figure 8 A possible ONU structure diagram in this application;

[0038] Fig. 9 A possible OLT structure diagram in this application;

[0039] Fig.10 This is a schematic diagram of the structure of another possible ONU in this application;

[0040] Fig.11 This is a schematic diagram of the structure of another possible OLT in this application;

[0041] Fig.12 A schematic diagram of the structure of a passive optical network in this application. DETAILED DESCRIPTION

[0042] The present application provides a data stream identification method and related equipment. The OLT does not need to send a PLOAM message in each transmission channel to indicate each data stream, and the ONU does not need to identify the indication in the PLOAM message through a MAC chip, and the data stream identification process is simpler.

[0043] The current broadband access technologies are mainly divided into copper wire access technologies (such as various DSL technologies) and optical access technologies. The access network implemented by optical access technology is called optical access network (OAN). Passive optical network (PON) is an implementation technology of optical access network. PON is an optical access technology for point-to-multipoint transmission. The following introduces the system architecture of PON.

[0044] Figure 1 The diagram is a schematic diagram of the PON system architecture. The OLT is used to provide a network-side interface for the OAN. The OLT is connected to the upper-layer network-side devices (such as switches, routers, etc.) and the lower layer is connected to one or more optical distribution networks (ODNs).

[0045] ODN includes a passive optical splitter for optical power distribution, a trunk optical fiber connected between the passive optical splitter and the OLT, and a branch optical fiber connected between the passive optical splitter and the ONU. When transmitting data downstream, the ODN transmits the downstream data from the OLT to each ONU through the splitter, and the ONU selectively receives the downstream data carrying its own identification. When transmitting data upstream, the ODN combines the optical signals sent by N ONUs into one optical signal and transmits it to the OLT.

[0046] ONU provides a user-side interface for OAN and is connected to ODN. If ONU also provides user port functions, such as Ethernet user port or plain old telephone service (POTS) user port, it is called optical network terminal (ONT).

[0047] In order to realize downstream multi-channel multiplexing, each ONU has a corresponding channel, and a time and wavelength division multiple optical access system (TWDM OAS) can be used. The following introduces the system architecture of TWDM OAS. Figure 2 Figure 2 is a schematic diagram of the system architecture of TWDM OAS.

[0048] The electrical domain multiplexer in the OLT receives n downstream data streams from the MAC chip, such as a1a2…am, b1b2…bm, n1n2…nm. Then, the electrical domain multiplexer forms a high-speed downstream data stream by bit interleaving, such as a1b1…n1…ambm…nm. After receiving the high-speed downstream data stream from the electrical domain multiplexer, the driver drives the laser to emit light. The optical signal emitted by the laser carries the high-speed downstream data stream. The wavelength division multiplexer couples the optical signal into the optical fiber and transmits it to the ONU through the optical fiber.

[0049] The wavelength division multiplexer in the ONU receives the downstream optical signal from the optical fiber. The receiver converts the downstream optical signal into an electrical signal and transmits it to the electrical domain demultiplexer. The electrical domain demultiplexer extracts a downstream data stream, such as a1a2…am, in a bit deinterleaving manner. Then, the electrical domain demultiplexer sends the extracted downstream data stream to the MAC chip. It should be understood that the high-speed downstream data stream sent by the OLT includes data streams corresponding to multiple ONUs, and each data stream has a corresponding transmission channel after the ONU completes demultiplexing. Therefore, each ONU needs to identify the data stream and transmission channel it needs after demultiplexing.

[0050] At present, one implementation method is that the OLT constructs a PLOAM message to identify each channel, and the OLT broadcasts the PLOAM message through each channel. After the ONU completes demultiplexing, it can select the data of any channel and send it to the local MAC chip. The MAC chip extracts the PLOAM message from the data, and thus determines the channel corresponding to the data. Thus, the data transmitted in other channels can be inferred according to the order of the channels, so that the ONU can complete the identification of the data stream. However, this method requires the OLT to send a PLOAM message to each channel, and the MAC chip of the ONU identifies the data stream in each channel according to the PLOAM message, and the process of data stream identification is relatively complicated.

[0051] To this end, the present application provides a method for identifying a data stream, and the process of data stream identification is simpler. Figure 3 The following is a schematic diagram of an embodiment of a method for identifying a data stream in the present application. In this example, the method for identifying a data stream includes the following steps.

[0052] 301. The OLT multiplexes a target bit sequence and multiple data streams to obtain downlink data.

[0053] Please refer to Figure 2, the MAC chip of the OLT will send multiple data streams to the electrical domain multiplexer. The electrical domain multiplexer can be integrated on a digital processing chip that is different from the MAC chip, such as a field programmable gate array (FPGA). The digital processing chip will also generate a target bit sequence, wherein the data characteristics of the target bit sequence are different from the data characteristics of each data stream. The electrical domain multiplexer multiplexes the target bit sequence and multiple data streams in a bit interleaving manner to obtain downstream data. For example, the multiple data streams are recorded as "a1a2...am", "b1b2...bm", and "n1n2...nm", etc., and the target bit sequence is recorded as "target bit 1 target bit 2...target bit m", and the multiplexed downstream data can be recorded as "a1b1...n1 target bit 1a2b2...n2 target bit 2...nm target bit m".

[0054] It should be noted that the bits are interleaved between the multiple data streams in a fixed order, that is, one bit is extracted from each data stream in turn in this order for arrangement. For example, the first bit of data stream a is followed by the first bit of data stream b, the first bit of data stream b is followed by the first bit of data stream c, and so on, the first bit of data stream n is followed by the second bit of data stream a, and this interleaving cycle is repeated. In addition, the bits in the target bit sequence also need to be arranged with the bits of the multiple data streams in a cyclic interleaving manner. Specifically, the bits in the target bit sequence can be inserted in each interleaved cycle, for example, a bit in the target bit sequence is inserted every m bits, so that the interleaving of the bits in the target sequence is more frequent, which facilitates the ONU to identify the target bit sequence faster. Alternatively, the bits in the target bit sequence can be inserted every few interleaved cycles, for example, a bit in the target bit sequence is inserted every 3m bits, so that the interleaving of the bits in the target sequence is more sparse, reducing the bandwidth occupied by the target bit sequence.

[0055] In addition, in each interleaved cycle, the insertion position of the bits in the target bit sequence is the same. However, the present application does not specifically limit the specific insertion position of the bits in the target bit sequence in each interleaved cycle. For example, in each interleaved cycle, the bits in the target bit sequence are inserted after the bits of data stream n, thereby forming the downlink data of "a1b1...n1 target bit 1a2b2...n2 target bit 2...nm target bit m". For another example, in each interleaved cycle, the bits in the target bit sequence are inserted before the bits of data stream a, thereby forming the downlink data of "target bit 1a1b1...n1 target bit 2a2b2...n2 target bit mam...nm".

[0056] It should be understood that in order to distinguish the target bit sequence from other multiple data streams, the target bit sequence needs to be designed as a bit sequence with special data characteristics. The data characteristics can be specifically reflected in the bit distribution of the target bit sequence. Several specific design methods are introduced below.

[0057] The first one is that the target bit sequence is a periodic scrambling sequence.

[0058] The bits in the target bit sequence are distributed periodically. For example, the target bit sequence is "0101...0101", that is, the target bit sequence is formed by periodically arranging a scrambling code in the form of "0101". The present application does not limit the specific form of the scrambling code. For example, it can also be a periodic scrambling code in the form of "1001...1001". It should be understood that the bit distribution in the data stream is usually random and does not have a periodic characteristic. Therefore, designing the target bit sequence as a periodic scrambling sequence can be easily distinguished from other data streams. In addition, since the scrambling code sequence is inserted into the downlink data, it is equivalent to scrambling the data, avoiding the appearance of long consecutive "0" bits or "1" bits in the data, and reducing the bit error rate of the ONU.

[0059] In some possible implementations, if there are many data streams, the insertion of a single scrambling sequence can have a limited effect. Therefore, the target bit sequence may include multiple different periodic scrambling sequences, and the present application does not limit the specific number of scrambling sequences. The following takes the insertion of two scrambling sequences as an example for introduction. For example, scrambling sequence 1 is "1010...1010" and scrambling sequence 2 is "0101...0101". In each interleaved cycle, the bits of scrambling sequence 1 are inserted after the bits of data stream b, and the bits of scrambling sequence 2 are inserted after the bits of data stream n, thereby forming the downlink data of "a1b1 scrambling code 1...n1 scrambling code 2a2b2 scrambling code 1...n2 scrambling code 2...ambm scrambling code 1...nm scrambling code 2". In the above example, the values ​​of all bits in scrambling code sequence 1 are opposite to the values ​​of all bits in scrambling code sequence 2. This design method can minimize the number of long consecutive "0" bits or "1" bits.

[0060] Second, bit distribution of the preamble and / or delimiter of the target bit sequence has target characteristics.

[0061] Figure 4It is a structural comparison diagram of a data stream and a target bit sequence. It should be understood that the preamble and delimiter of each data stream are fixed, so a preamble and / or delimiter in a special format can be designed to distinguish it from the data stream. Specifically, the number of bits of the target preamble in the target bit sequence can be the same as the number of bits of the preamble in the data stream, as long as the bit distribution of the target preamble is different from the bit distribution of the preamble in the data stream. Similarly, the number of bits of the target delimiter in the target bit sequence can be the same as the number of bits of the delimiter in the data stream, as long as the bit distribution of the target delimiter is different from the bit distribution of the delimiter in the data stream.

[0062] It should be noted that, in addition to the preamble and delimiter listed above, in actual applications, other fields may be used to distinguish the target bit sequence from other data streams, which are not specifically limited here. For example, at least one newly defined field is added to the target bit sequence, so that the target bit sequence can be identified based on the newly defined field.

[0063] In some possible implementations, the data field in the target bit sequence may carry configuration information. The configuration may specifically indicate an idle transmission channel, so that the ONU can use the idle transmission channel to go online and transmit data with the OLT. Thus, there is no need for the OLT to pre-allocate a transmission channel for each ONU. The ONU can select an idle transmission channel to go online according to the configuration information, which is more convenient for service activation. It should be understood that the configuration information is specifically used to implement the management and configuration of the ONU, and the configuration information may also be used to indicate the switch and online and offline of the ONU, etc., which is not specifically limited here. In addition, if there is no information to be carried in the target bit sequence, the data field in the target bit sequence may also be configured as a fixed code type.

[0064] 302. The OLT sends downstream data to the ONU.

[0065] The OLT can send downstream data to multiple ONUs by broadcasting.

[0066] 303. The ONU demultiplexes the downstream data to obtain a target bit sequence and multiple data streams.

[0067] Figure 5 Schematic diagram of the structure of an ONU in the embodiment of the present application. Figure 5As shown, the digital processing chip of the ONU integrates an electrical domain demultiplexer and a routing module. The electrical domain demultiplexer can recover multiple data streams and a target bit sequence by demultiplexing the downstream data. The digital processing chip then identifies the target bit sequence and determines each data stream. Among them, between the electrical domain demultiplexer and the routing module, each data stream has a corresponding transmission channel, so the digital processing chip can also complete the identification of each transmission channel. It should be understood that data streams in different transmission channels are transmitted to different ONUs. Therefore, the routing module can select the data stream in the transmission channel required by itself according to the configuration of the MAC chip, and transmit the data stream to the MAC chip.

[0068] 304. The ONU determines a target bit sequence according to the target characteristic.

[0069] In this embodiment, since the power-on time of the ONU is uncertain, the first bit received by the ONU may not be the first bit in the downstream data sent by the OLT. Then, the order of the data stream and the target bit sequence after the ONU demultiplexing may be in multiple situations. For example, the order can be "data stream 2 / ... / data stream n / target bit sequence / data stream 1", or "data stream 3 / ... / data stream n / target bit sequence / data stream 1 / data stream 2", etc. Therefore, the ONU needs to first identify the target bit sequence, and identify the other data streams based on the target ordering between the target bit sequence and the multiple data streams.

[0070] Specifically, for the implementation method of the target bit sequence being a periodic scrambling code. The ONU can extract bit subsequences of preset lengths from the target bit sequence and each data stream respectively. Then, the ONU identifies these multiple bit subsequences. If there is only one bit subsequence whose bits are distributed periodically, it can be determined that the bit subsequence corresponds to the target bit sequence. If there is no bit subsequence whose bits are distributed periodically or there are multiple bit subsequences whose bits are distributed periodically, then the result this time is not used as a basis for judgment, and the above identification process needs to be performed again. It should be understood that the value of the above preset length will affect the speed of identification, which can be adjusted according to actual needs and is not limited here. For a target bit sequence whose bit distribution of the preamble and / or delimiter has target characteristics, the ONU can directly identify the target bit sequence based on the target characteristics of the preamble and / or delimiter.

[0071] 305. The ONU obtains a target bit sequence and a target ordering between multiple data streams.

[0072] In order to realize the recognition of each data stream, the ONU needs to obtain the target bit sequence and the target ordering between the target bit sequence and the multiple data streams in addition to identifying the target bit sequence first. In a possible implementation, the target bit sequence adopts the second design method listed in the above step 301, and the target ordering can be indicated by multiple bytes in the data field, one of which is used to indicate the target bit sequence, and the other bytes are used to indicate each data stream. Then, the order of the arrangement of these multiple bytes can reflect the target ordering between the target bit sequence and the multiple data streams. It should be understood that the order between these multiple bytes can be determined as long as it is determined, and it is not specifically limited to which data stream or target bit sequence the first byte indicates. For example, the order between these multiple bytes can be "data stream 1 / target bit sequence / data stream 2 / ... / data stream n / ", or "target bit sequence / data stream 2 / ... / data stream n / data stream 1 / ", both of which reflect the same target ordering, that is, the position where the target bit sequence is inserted is between data stream 1 and data stream 2.

[0073] In another possible implementation, the target ordering can be pre-written into the ONU in the form of a code, and the ONU can determine the target ordering by reading the code, thereby identifying other data streams based on the target ordering and the identified target bit sequence. It should be understood that the target ordering will also be pre-written into the OLT, and the OLT multiplexes the target bit sequence and multiple data streams based on the target ordering. That is, the OLT and the ONU can negotiate the target ordering in advance, and there is no need for the OLT to notify the ONU of the target ordering, and the implementation method is simpler. It should be noted that in this implementation, there is no fixed timing relationship between step 305 and the above steps 301-304. Step 305 can be executed first, or steps 301-304 can be executed first, and the specifics are not limited here.

[0074] 306. The ONU identifies each data stream according to the target bit sequence and the target order.

[0075] Please refer to Figure 5 , the above steps 304 to 306 can be implemented by the digital processing chip of the ONU. The ONU can identify each data stream and the transmission channel corresponding to each data stream. The routing module can select the data stream in the transmission channel required by itself according to the configuration of the MAC chip, and send the data stream to the MAC chip. In other words, the identification process of the above data stream does not require the participation of the MAC chip, and the MAC chip only needs to configure the routing module.

[0076] In the embodiment of the present application, the target bit sequence and multiple data streams obtained by ONU demultiplexing are arranged according to the target order, and the bit distribution of at least one field in the target bit sequence has a target feature. Then, the ONU can first identify the target bit sequence according to the target feature. Then, the ONU identifies each data stream according to the target order, and also determines the transmission channel corresponding to each data stream, which is convenient for the ONU to send and receive data in the transmission channel required by itself later. Through the above-mentioned method, the OLT does not need to indicate each data stream by sending a PLOAM message in each transmission channel, and the ONU does not need to identify the indication in the PLOAM message through the MAC chip, and the data stream identification process is simpler.

[0077] The above describes the method for identifying the data stream in the embodiment of the present application. The following describes the digital processing chips of the OLT and ONU in the present application.

[0078] Figure 6 601 is a schematic diagram of a digital processing chip of an ONU in an embodiment of the present application. The digital processing chip includes a receiving module 601, a demultiplexing module 602 and an identification module 603. Specifically, the receiving module 601 is used to perform the above Figure 3 The operation of step 302 in the embodiment shown. The demultiplexing module 602 is used to perform the above Figure 3 The operation of step 303 in the illustrated embodiment. The identification module 603 is used to perform the above Figure 3 The operations of step 304 to step 306 in the illustrated embodiment.

[0079] Figure 7 701 is a schematic diagram of a structure of a digital processing chip of an OLT in an embodiment of the present application. The digital processing chip includes a multiplexing module 701 and a sending module 702. Specifically, the multiplexing module 701 is used to perform the above Figure 3 The operation of step 301 in the embodiment shown. The sending module 702 is used to perform the above Figure 3 The operation of step 302 in the illustrated embodiment.

[0080] The OLT and ONU provided in this application are introduced below.

[0081] Figure 8 804 is a schematic diagram of a possible ONU structure in this application. The ONU includes a wavelength division multiplexing device 801, a receiver 802, a digital processing chip 803, a MAC chip 804 and a transmitter 805. Specifically, the wavelength division multiplexing device 801 is used to receive a downstream optical signal from an optical fiber and demultiplex the downstream optical signal. The receiver 802 is used to convert the downstream optical signal into an electrical signal. The digital processing chip 803 is used to perform the above Figure 6Operation of the digital processing chip in the illustrated embodiment. The MAC chip 804 is used to perform routing configuration on the digital processing chip 803, so that the digital processing chip 803 sends the required data stream to the MAC chip 804 according to the routing configuration. The transmitter 805 is used to convert the electrical signal output by the MAC chip 804 into an uplink optical signal. The wavelength division multiplexing device 801 is also used to combine the uplink optical signal and couple the combined uplink optical signal into the optical fiber.

[0082] Fig. 9 904 is a schematic diagram of a possible OLT structure in this application. The OLT includes a wavelength division multiplexing device 901, a receiver 902, a digital processing chip 903, a MAC chip 904 and a transmitter 905. Specifically, the MAC chip 904 is used to output electrical signals. The digital processing chip 903 is used to execute the above Figure 7 Operation of the digital processing chip in the illustrated embodiment. The transmitter 905 is used to generate a downstream optical signal according to the downstream data stream output by the digital processing chip 903. The wavelength division multiplexing device 901 is used to combine the downstream optical signal and couple the combined downstream optical signal into the optical fiber. The wavelength division multiplexing device 901 is also used to receive the upstream optical signal from the optical fiber and divide the upstream optical signal. The receiver 902 is used to convert the upstream optical signal into an electrical signal and output it to the MAC chip 904.

[0083] Fig.10 1001 is a schematic diagram of another possible ONU structure in the present application. The ONU includes a processor 1001, a memory 1002 and an optical transceiver 1003. The processor 1001, the memory 1002 and the optical transceiver 1003 are interconnected via a line. The memory 1002 is used to store program instructions and data. It should be noted that the optical transceiver 1003 is used to execute the above Figure 3 The processor 1001 is used to execute the above signal receiving and sending operations in the steps shown. Figure 3 In one possible implementation, the processor 1001 may include: Figure 6 The digital processing chip shown.

[0084] Fig.11 1 is a schematic diagram of another possible OLT structure in this application. The OLT includes a processor 1101, a memory 1102, and an optical transceiver 1103. The processor 1101, the memory 1102, and the optical transceiver 1103 are interconnected via a line. The memory 1102 is used to store program instructions and data. It should be noted that the optical transceiver 1103 is used to execute the above Figure 3 The processor 1101 is used to execute the above signal receiving and sending operations in the steps shown. Figure 3In one possible implementation, the processor 1101 may include: Figure 7 The digital processing chip shown.

[0085] It should be noted that the above Fig.10 and Fig.11 The processor shown in the figure may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit ASIC, or at least one integrated circuit, which is used to execute relevant programs to implement the technical solution provided in the embodiment of the present application. Fig.10 and Fig.11 The memory shown in can store operating systems and other applications. When the technical solutions provided by the embodiments of the present application are implemented by software or firmware, the program code for implementing the technical solutions provided by the embodiments of the present application is stored in the memory and executed by the processor. In one embodiment, the processor may include a memory. In another embodiment, the processor and the memory are two independent structures.

[0086] Fig.12 The structure diagram of a passive optical network in the present application is shown in FIG. The passive optical network includes an OLT (1201) and an ONU (1202). The OLT (1201) is used as a data sending end and the ONU (1202) is used as a data receiving end. The OLT (1201) is used to perform the above Figure 3 In the embodiment shown, some or all of the steps are performed by the OLT, and the ONU (1202) is used to perform the above Figure 3 Some or all of the steps in the illustrated embodiment are executed by the ONU.

[0087] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0088] Those of ordinary skill in the art will appreciate that all or part of the steps to implement the above-mentioned embodiments can be accomplished by hardware, or can be accomplished by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a random access memory, etc. Specifically, for example: the above-mentioned processing unit or processor can be a central processing unit, a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. Whether the above-mentioned functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0089] When software is used for implementation, the method steps described in the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

Claims

1. A method for identifying a data stream, characterized in that: include: The optical network unit ONU receives the downlink data sent by the optical line terminal OLT; The ONU demultiplexes the downlink data to obtain a target bit sequence and a plurality of data streams, wherein a bit distribution of at least one field in the target bit sequence has a target feature; The ONU determines the target bit sequence according to the target feature; The ONU obtains a target ordering between the target bit sequence and the multiple data streams; The ONU identifies each of the data streams according to the target bit sequence and the target ordering.

2. The method according to claim 1, characterized in that The target bit sequence is a scrambling code sequence, and the bits in the scrambling code sequence are distributed periodically.

3. The method according to claim 2, characterized in that The scrambling sequence includes a first scrambling sequence and a second scrambling sequence.

4. The method according to claim 3, characterized in that The number of bits in a cycle of the first scrambling code sequence is the same as the number of bits in a cycle of the second scrambling code sequence, and the value of at least one bit in a cycle of the first scrambling code sequence is opposite to the value of at least one bit in a cycle of the second scrambling code sequence.

5. The method according to any one of claims 2 to 4, characterized in that The ONU determines the target bit sequence according to the target feature, comprising: The ONU extracts a bit subsequence of a preset length from the target bit sequence and each of the data streams; The ONU selects a target bit subsequence from all the bit subsequences according to the target feature, and the bits in the target bit subsequence are distributed periodically; The ONU determines the target bit sequence corresponding to the target bit subsequence.

6. The method according to claim 1, characterized in that The bit distribution of the preamble in the target bit sequence has the target feature, wherein the target feature is different from the bit distribution feature of the preamble in each of the data streams; and / or, The bit distribution of the delimiter in the target bit sequence has the target feature, wherein the target feature is different from the bit distribution feature of the delimiter in each of the data streams.

7. The method according to claim 6, characterized in that The data field of the target bit sequence carries first configuration information, and the method further includes: The ONU determines an idle transmission channel according to the first configuration information.

8. The method according to claim 6 or 7, characterized in that: The data field of the target bit sequence carries the second configuration information, and the ONU obtains the target ordering between the target bit sequence and the multiple data streams, including: The ONU determines the target sorting according to the second configuration information.

9. A method for identifying a data stream, characterized in that: include: The optical line terminal OLT multiplexes the target bit sequence and the multiple data streams to obtain downlink data, the bit distribution of at least one field in the target bit sequence has a target feature, and the target bit sequence and the multiple data streams are arranged in a target order; The OLT sends the downlink data to an optical network unit ONU, so that the ONU determines the target bit sequence according to the target feature, and identifies each of the data streams according to the target bit sequence and the target ordering.

10. The method according to claim 9, characterized in that The target bit sequence is a scrambling code sequence, and the bits in the scrambling code sequence are distributed periodically.

11. The method according to claim 10, characterized in that The scrambling sequence includes a first scrambling sequence and a second scrambling sequence.

12. The method according to claim 11, characterized in that The number of bits in a cycle of the first scrambling code sequence is the same as the number of bits in a cycle of the second scrambling code sequence, and the value of at least one bit in a cycle of the first scrambling code sequence is opposite to the value of at least one bit in a cycle of the second scrambling code sequence.

13. The method according to claim 9, characterized in that The bit distribution of the preamble in the target bit sequence has the target feature, wherein the target feature is different from the bit distribution feature of the preamble in each of the data streams; and / or, The bit distribution of the delimiter in the target bit sequence has the target feature, wherein the target feature is different from the bit distribution feature of the delimiter in each of the data streams.

14. The method according to claim 13, characterized in that The data field of the target bit sequence carries first configuration information, where the first configuration information is used to indicate an idle transmission channel.

15. The method according to claim 13 or 14, characterized in that The data field of the target bit sequence carries second configuration information, and the second configuration information is used to indicate the target sorting.

16. A digital processing chip, characterized in that: include: A processor, a memory and a transceiver, wherein the processor, the memory and the transceiver are connected to each other via a line, and the processor calls the program code in the memory to execute the method according to any one of claims 1 to 8.

17. A digital processing chip, characterized in that: include: A processor, a memory and a transceiver, wherein the processor, the memory and the transceiver are connected to each other via a line, and the processor calls the program code in the memory to execute the method according to any one of claims 9 to 15.

18. An optical network unit (ONU), characterized in that: Comprising the digital processing chip as claimed in claim 16.

19. An optical line terminal OLT, characterized in that: Comprising the digital processing chip as claimed in claim 17.

20. A passive optical network, characterized in that: The passive optical network comprises: the ONU according to claim 18 and the OLT according to claim 19.

21. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on a computer device, cause the computer device to execute the method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Data receiving / sending method and apparatus

    CN108063985A

  • Input module and central control unit for a switching system and switching system thereof

    EP3029953A1