WO2021196932A1 - Multiplexing-based channel identification method and apparatus therefor - Google Patents

Multiplexing-based channel identification method and apparatus therefor Download PDF

Info

Publication number
WO2021196932A1
WO2021196932A1 PCT/CN2021/077948 CN2021077948W WO2021196932A1 WO 2021196932 A1 WO2021196932 A1 WO 2021196932A1 CN 2021077948 W CN2021077948 W CN 2021077948W WO 2021196932 A1 WO2021196932 A1 WO 2021196932A1
Authority
WO
WIPO (PCT)
Prior art keywords
bit stream
ont
channel
bit
streams
Prior art date
Application number
PCT/CN2021/077948
Other languages
French (fr)
Chinese (zh)
Inventor
曾小飞
林华枫
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021196932A1 publication Critical patent/WO2021196932A1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/04Selecting arrangements for multiplex systems for time-division multiplexing

Definitions

  • This application relates to the field of communication technology, and in particular to a method and device for channel identification based on multiplexing.
  • Time and wavelength division optical access system can effectively solve the time division multiplexing passive optical network (time division multiplexing passive optical network, TDM PON) rogue optical network terminal (optical network) terminal, ONT) problem.
  • PON belongs to time division multiplexing. Normally, the ONT sends upstream data packets according to the timestamp assigned by the optical line termination (OLT). If a certain ONT emits light without a time stamp assigned, it will conflict with the light-emitting signals of other ONTs. Among them, the ONT that does not send the upstream optical signal according to the assigned timestamp is a rogue ONT (rogue ONT).
  • TWDM OAS The basic principle of TWDM OAS is as follows: In the OLT downstream direction, the multiplexing module receives the bit stream of multiple downstream data frames from the processing module, and multiplexes the multiple downstream bit streams into a high-speed downstream through bit interleaving. Bit stream, and send the high-speed downstream bit stream to the laser driver. After receiving the high-speed bit stream, the laser driver drives the laser to emit light, and the downstream optical signal carrying the high-speed bit stream enters the combiner/demultiplexer. The combiner/demultiplexer couples the downstream optical signal into the backbone fiber in the downstream direction.
  • the combiner/demultiplexer receives the downstream optical signal from the backbone fiber, it separates the downstream optical signal and outputs it to the ONT downstream high-speed receiving module.
  • the downstream high-speed receiving module converts the downstream optical signal into an electrical signal (ie, downstream high-speed data bit stream), and then outputs it to the demultiplexing module.
  • the demultiplexing module restores the downstream high-speed data bit stream to multiple downstream bit streams in a bit de-interleaving manner, and then extracts one downstream bit stream to the processing module.
  • the ONT side cannot determine the channel corresponding to the downstream bit stream obtained after bit deinterleaving.
  • the ONT can only extract the bit stream corresponding to a certain channel. Therefore, how to determine the channel corresponding to the bit stream on the ONT side is a technical problem to be solved urgently.
  • the embodiments of the present application provide a method and device for channel identification based on multiplexing, which can accurately determine the channel corresponding to the bit stream.
  • an embodiment of the present application provides a multiplexing-based channel identification method.
  • the method includes: an ONT receives a multiplexed bit stream from an OLT, and processes the multiplexed bit stream to obtain a multiplexed bit stream. Stream; For each bit stream in the multi-channel bit stream, the bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the ONT determines the channel corresponding to the ONT; Determine the target bit stream in the channel bit stream; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
  • the ONT can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream. Further, it is beneficial for the ONT to obtain the required target bit stream.
  • the specific implementation manner for the ONT to determine the channel corresponding to the ONT may be: the ONT determines the first bitstream from the multiple bitstreams; the first bitstream also includes the correspondence between the ONT identifier and the channel identifier Relationship: The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identification and the channel identification, and the identification of the ONT.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • each ONT can determine the channel corresponding to each ONT through the corresponding relationship carried in the first bit stream. In this way, it is beneficial to improve the utilization of the first bit stream.
  • Each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned ONT identifier and the channel identifier.
  • the ONT does not need to access the default channel, but can also obtain the correspondence between the ONT ID and the channel ID, and then determine the channel corresponding to the ONT; on the other hand, the ONT can stream multiple bit streams. Any bit stream in is determined as the first bit stream. Therefore, in this way, it is beneficial to improve the efficiency of determining the channel corresponding to the ONT.
  • the first bitstream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the OLT
  • the corresponding The ONT includes the aforementioned ONT.
  • the correspondence between the ONT identifier and the channel identifier is included in the first broadcast information, and the first broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the first broadcast information.
  • the corresponding relationship can be obtained by analyzing the first broadcast information.
  • the method further includes: the ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any one of the multiple bit streams Stream; if the channel corresponding to the second bit stream is different from the channel corresponding to the ONT, the step of determining the target bit stream from the multiple bit streams is triggered.
  • the positions of the bitstreams in the multiple bitstreams have a sequential relationship;
  • the specific implementation manner for the ONT to determine the target bitstream from the multiple bitstreams may be: the ONT according to the channel and the corresponding channel of the second bitstream The channel corresponding to the ONT determines the position information of the target bit stream relative to the second bit stream; and determines the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the two bit stream.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable
  • the ONT corresponding to the OLT includes the aforementioned ONT.
  • the first indication information is included in the second broadcast information
  • the second broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the second broadcast information, and the OLT corresponds to After receiving the second broadcast information, each of the ONTs can parse the second broadcast information to obtain the first indication information in the second broadcast information.
  • the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information.
  • the stream includes a plurality of second broadcast information.
  • the method further includes: the ONT determines the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream; the second bit stream is the multi-channel bit stream Any bit stream in.
  • the specific implementation manner for the ONT to determine the channel corresponding to each bitstream in the multiple bitstreams according to the first indication information included in the second bitstream may be:
  • the ONT determines the channel corresponding to the bitstream according to the first indication information included in the bitstream.
  • the specific implementation manner for the ONT to determine the channel corresponding to each bitstream in the multiple bitstreams according to the first indication information included in the second bitstream may be as follows: An indication information to determine the channel corresponding to the second bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, the ONT determines the other bit stream according to the channel corresponding to the second bit stream The channel corresponding to each bit stream other than that.
  • the method further includes: if the channel corresponding to the first bit stream is different from the channel corresponding to the ONT, triggering the step of determining the target bit stream from the multiple bit streams.
  • the positions of the bitstreams in the multiple bitstreams have an order relationship;
  • the specific implementation manner for the ONT to determine the target bitstream from the multiple bitstreams may be: the ONT according to the channel and the corresponding channel of the first bitstream The channel corresponding to the ONT determines the position information of the target bit stream relative to the first bit stream; and according to the position information of the target bit stream relative to the first bit stream, the target bit stream is determined from the multiple bit streams.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the ONT determines the frame header information of the data frame faster. Therefore, determining the channel corresponding to the bit stream through the frame header information is beneficial to improve the determination. The efficiency of the channel corresponding to the bitstream.
  • the ONT includes a processing module, and the method further includes:
  • the ONT obtains the capability information of the processing module; if the capability information indicates that the processing module does not have the ability to parse the header information of the data frame used to compose the first bit stream, the ONT pair is used to compose the first bit stream.
  • the header information of the data frame is converted, and the processing module has the ability to analyze the header information of the converted data frame for composing the first bit stream.
  • the processing module may not have the ability to analyze data frames corresponding to non-preset frame header information.
  • the capability information of the processing device indicates that the processing module does not have the ability to parse the header information of the data frame used to compose the first bit stream, and convert the header information of the data frame used to compose the first bit stream.
  • the processing module has the ability to analyze the header information of the converted data frame used to compose the first bit stream. In this way, it can be ensured that the ONT can resolve the correspondence between the ONT identifier and the channel identifier.
  • an embodiment of the present application provides another multiplexing-based channel identification method.
  • the method includes: an OLT generates multiple data streams, and processes the multiple bit streams to obtain a multiplexed bit stream; For each bit stream in the multi-channel bit stream, the bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the OLT transmits the multiplexed bit stream to the corresponding OLT ONT.
  • the first bit stream in the multi-channel bit stream further includes a corresponding relationship between the ONT identifier and the channel identifier.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • each ONT can determine the channel corresponding to each ONT through the corresponding relationship carried in the first bit stream. In this way, it is beneficial to improve the utilization of the first bit stream.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
  • the ONT does not need to access the default channel, but can also obtain the correspondence between the ONT ID and the channel ID, and then determine the channel corresponding to the ONT; on the other hand, the ONT can stream multiple bit streams. Any bit stream in is determined as the first bit stream. Therefore, in this way, it is beneficial to improve the efficiency of determining the channel corresponding to the ONT.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to an ONT corresponding to the OLT.
  • the correspondence between the ONT identifier and the channel identifier is included in the first broadcast information, and the first broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the first broadcast information.
  • the corresponding relationship can be obtained by analyzing the first broadcast information.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable ONT corresponding to the OLT.
  • the first indication information is included in the second broadcast information
  • the second broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the second broadcast information, and the OLT corresponds to After receiving the second broadcast information, each of the ONTs can parse the second broadcast information to obtain the first indication information in the second broadcast information.
  • the bit stream for each bit stream in the multiple bit stream, is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information, and the bit stream is composed of multiple data frames.
  • the stream includes a plurality of second broadcast information.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the ONT determines the frame header information of the data frame faster. Therefore, determining the channel corresponding to the bit stream through the frame header information is beneficial to improve the determination. The efficiency of the channel corresponding to the bitstream.
  • the specific implementation manner for the OLT to generate multiple data streams may be: the OLT generates multiple original data streams; if it is used to form the frame header of the data frame of each original data stream in the multiple original data streams If the information is the same, the OLT converts the frame header information of the data frame used to form each original data stream in the multiple original data streams to obtain the multiple data streams.
  • the embodiments of the present application provide a communication device that can implement part or all of the functions of the ONT in the method example described in the first aspect.
  • the functions in all the embodiments may also have the function of independently implementing any of the embodiments in this application.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
  • the structure of the communication device may include a communication module and a processing module, and the processing module is configured to support the communication device to perform corresponding functions in the foregoing method.
  • the communication module is used to support communication between the communication device and other devices.
  • the communication device may further include a storage module for coupling with the processing module and the communication module, which stores computer programs and data necessary for the communication device.
  • the communication device includes:
  • the communication module is used to receive the multiplexed bit stream from the OLT;
  • the processing module is used to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine the The channel corresponding to the bitstream;
  • the processing module is also used to determine the channel corresponding to the communication device; determine the target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device.
  • the processing module may be a processor
  • the communication module may be a transceiver or a communication interface
  • the storage module may be a memory.
  • the communication device includes:
  • Transceiver used to receive the multiplexed bit stream from the OLT
  • the processor is configured to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine the The channel corresponding to the bitstream;
  • the processor is also used to determine the channel corresponding to the communication device; determine the target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device.
  • the processing module may be composed of a routing unit and a processing unit.
  • the routing unit can be used to determine the second bit stream from the multiple bit streams and transmit the second bit stream to the processing unit; the processing unit is used to determine the second bit stream according to the first indication information in the second bit stream , Determine the channel corresponding to the second bit stream; determine the channel corresponding to the communication device, and if the channel corresponding to the second bit stream is different from the channel corresponding to the communication device, send second indication information to the routing unit, the second indication
  • the information is used to determine the target bit stream; the routing unit is also used to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit; the target bit stream corresponds to The channel is the same as the channel corresponding to the communication device.
  • the first bit stream in the multi-channel bit stream may further include a correspondence between the communication device identifier and the channel identifier.
  • the routing unit may also be used to determine the first bit stream from the multiple bit streams, and transmit the first bit stream to the processing unit.
  • the processing unit When the processing unit is used to determine the channel corresponding to the communication device, it can be specifically used to determine the channel corresponding to the communication device according to the correspondence between the communication device identifier and the channel identifier, and the identifier of the aforementioned communication device.
  • the communication device corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the communication device does not correspond to a default channel; when the routing unit is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams as The first bit stream; each bit stream in the multi-channel bit stream includes the correspondence between the aforementioned communication device identifier and the channel identifier.
  • the first bitstream may include first broadcast information
  • the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier
  • the first broadcast information is applicable to the communication device corresponding to the OLT
  • the communication device corresponding to the OLT includes the aforementioned communication device.
  • the second indication information may include the identification of the channel corresponding to the second bit stream and the identification of the channel corresponding to the aforementioned communication device;
  • the target bitstream it can be specifically used to determine the target bitstream from the multiple bitstreams according to the identifier of the channel corresponding to the second bitstream and the identifier of the channel corresponding to the aforementioned communication device.
  • the positions of the bitstreams in the multiple bitstreams may have an order relationship
  • the second indication information may include position information of the target bitstream relative to the second bitstream
  • the routing unit is configured to follow the second indication
  • the information determines the target bit stream from the multiple bit streams, it is specifically used to determine the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the second bit stream.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable
  • the communication device corresponding to the OLT includes the aforementioned communication device.
  • the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information.
  • the stream may include multiple second broadcast information.
  • the processing module may be composed of a demultiplexing unit and a processing unit.
  • the demultiplexing unit is used to obtain the multiplexed bit stream and process the multiplexed bit stream to obtain the multiple bit stream; the demultiplexing unit is also used to obtain the multiple bit stream according to the second bit stream
  • the included first indication information determines the channel corresponding to each bit stream in the multi-channel bit stream; determines the first bit stream from the multi-channel bit stream; transmits the first bit stream to the processing unit; the first bit stream is also Including the correspondence between the communication device identifier and the channel identifier; the second bit stream is any one of the multiple bit streams; the processing unit is used to determine the correspondence between the communication device identifier and the channel identifier, and the communication
  • the identifier of the device determines the channel corresponding to the communication device; sends second indication information to the demultiplexing unit, where the second indication information is used to determine the target bit stream; the target bit stream is the bit stream required by the communication device; the processing
  • the communication device corresponds to a default channel; the first bit stream may be a bit stream corresponding to the default channel.
  • the communication device does not correspond to a default channel; when the demultiplexing unit is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams It is the first bit stream; each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
  • the first bitstream may include first broadcast information
  • the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier
  • the first broadcast information is applicable to the communication device corresponding to the OLT
  • the communication device corresponding to the OLT includes the aforementioned communication device.
  • the demultiplexing unit is further used to send third indication information to the processing unit, the third indication information is used to indicate the channel corresponding to the first bit stream; the processing unit is used to send the first bit stream to the demultiplexing unit
  • the second indication information is specifically used for: if the channel corresponding to the first bit stream is different from the channel corresponding to the aforementioned communication device, sending the second indication information to the demultiplexing unit.
  • the second indication information may include the identifier of the channel corresponding to the communication device; when the demultiplexing unit is used to determine the target bit stream from the multiple bit streams according to the second indication information, it is specifically used to: A target bit stream is determined in the channel bit stream, and the identifier of the channel corresponding to the target bit stream is the same as the identifier of the channel corresponding to the communication device.
  • the positions of the bit streams in the multiple bit streams may have an order relationship
  • the second indication information may include position information of the target bit stream relative to the first bit stream
  • the demultiplexing unit is used to When the instruction information determines the target bit stream from the multiple bit streams, it is specifically used to determine the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the first bit stream.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the demultiplexing unit is also used to obtain capability information of the processing unit; if the capability information indicates that the processing unit does not have the ability to parse the header information of the data frame used to compose the first bit stream, then Converting the frame header information of the data frame used to compose the first bit stream, and the processing unit has the ability to analyze the converted frame header information of the data frame used to compose the first bit stream.
  • the demultiplexing unit when used to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream, it is specifically used for : For each bit stream in the multi-channel bit stream, determine the channel corresponding to the bit stream according to the first indication information included in the bit stream.
  • the demultiplexing unit when used to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream, it is specifically used for : Determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, according to the The channel corresponding to the second bitstream determines the channel corresponding to the bitstream.
  • the embodiments of the present application provide another communication device that can implement part or all of the functions of the OLT in the method example described in the second aspect. Or the functions in all the embodiments may also have the function of independently implementing any of the embodiments in this application.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
  • the structure of the communication device may include a processing module and a communication module, and the processing module is configured to support the communication device to perform corresponding functions in the foregoing method.
  • the communication module is used to support communication between the communication device and other devices.
  • the communication device may further include a storage module for coupling with the processing module and the communication module, which stores computer programs and data necessary for the communication device.
  • the communication device includes:
  • the processing module is used to generate multiple data streams and process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the second bit stream An indication information is used to determine the channel corresponding to the bit stream;
  • the communication module is used to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device.
  • the processing module may be a processor
  • the communication module may be a transceiver or a communication interface
  • the storage module may be a memory.
  • the communication device includes:
  • the processor is used to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes first indication information, the first An indication information is used to determine the channel corresponding to the bit stream;
  • the transceiver is used to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device.
  • the processing module may be composed of a processing unit and a multiplexing unit.
  • the processing unit is used to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit; the multiplexing unit is used to process the multiple data streams to obtain a multiplexed bit stream.
  • the first bit stream in the multi-channel bit stream may further include a corresponding relationship between the ONT identifier and the channel identifier.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the aforementioned communication device.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable ONT corresponding to the communication device.
  • the bit stream for each bit stream in the multiple bit stream, is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information, and the bit stream is composed of multiple data frames.
  • the stream includes a plurality of second broadcast information.
  • the processing module may be composed of a processing unit, a multiplexing unit, and a laser driver unit, and the communication device may also include a laser module.
  • the processing unit is used to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit;
  • the multiplexing unit is used to process the multiple data streams to obtain a multiplexed bit stream and combine the multiple bit streams
  • the multiplexed bit stream is transmitted to the laser driver unit.
  • the laser driver unit is used to drive the laser module to emit light.
  • the laser module is used to generate an optical signal carrying a multiplexed bit stream.
  • the communication module is used to transmit the optical signal carrying the multiplexed bit stream to the ONT.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes the difference between the ONT identifier and the channel identifier. Correspondence.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the aforementioned communication device.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the multiplexing unit when used to obtain multiple data streams, it is specifically used to: obtain multiple original data streams; if used to form the data frame of each original data stream in the multiple original data streams If the frame header information is the same, the frame header information of the data frame used to form each original data stream in the multiple original data streams is converted to obtain the multiple data streams.
  • an embodiment of the present invention provides a computer-readable storage medium for storing a computer program used by the foregoing ONT.
  • the ONT executes the method of the foregoing first aspect.
  • an embodiment of the present invention provides a computer-readable storage medium for storing a computer program used by the above-mentioned OLT.
  • the OLT executes the method of the above-mentioned second aspect.
  • the present application also provides a computer program product including a computer program, which when running on a computer, causes the computer to execute the method described in the first aspect.
  • this application also provides a computer program product including a computer program, which when running on a computer, causes the computer to execute the method described in the second aspect.
  • the present application provides a chip system that includes at least one processor and an interface, and is used to support the ONT to implement the functions involved in the first aspect, for example, to determine or process the data and data involved in the above methods. At least one of the information.
  • the chip system further includes a memory, and the memory is used to store the necessary computer programs and data of the ONT.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the present application provides a chip system that includes at least one processor and an interface, and is used to support the OLT to implement the functions involved in the second aspect, for example, to determine or process the data and data involved in the above methods. At least one of the information.
  • the chip system further includes a memory, and the memory is used to store computer programs and data necessary for the OLT.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • 2a is a schematic flowchart of a multiplexing-based channel identification method provided by an embodiment of the present application
  • FIG. 2b is a schematic diagram of a scene for performing bit interleaving processing on bit stream a, bit stream b, and bit stream c according to an embodiment of the present application;
  • FIG. 2c is a schematic diagram of the format of a GPON downlink frame provided by an embodiment of the present application.
  • Figure 2d is a schematic diagram of the structure of a PLOAMd domain provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another multiplexing-based channel identification method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of yet another multiplexing-based channel identification method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • the communication system may include, but is not limited to, one OLT and two ONTs.
  • the number and form of the equipment shown in FIG. 1 are used as examples and do not constitute a limitation to the embodiment of the present application. In actual applications, it may include two or more OLTs. , More than two ONTs.
  • the communication system shown in FIG. 1 takes an OLT 101 and two ONTs 102 as an example.
  • the OLT101 can be used to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; and transmit the multiplexed bit stream to the two ONTs 102 corresponding to the OLT101.
  • Each bit stream in the multi-channel bit stream may include first indication information, and the first indication information in the bit stream is used to determine the channel corresponding to the bit stream.
  • the transmission of the multiplexed bit stream by the OLT 101 to the two ONTs 102 corresponding to the OLT 101 is only for example, and does not constitute a limitation to the embodiment of the present application.
  • the OLT 101 can transmit the multiplexed bit stream to all ONTs corresponding to the OLT.
  • the ONT corresponding to the OLT may refer to the ONT connected to the OLT through an optical fiber.
  • one ONT corresponds to one channel
  • different ONTs correspond to different channels
  • one channel corresponds to one bit stream.
  • the bit stream required by ONT1 is the bit stream corresponding to channel 1.
  • the multiple data streams generated by the OLT101 may include bit streams required by the ONT corresponding to the OLT101. Since each bit stream includes the first indication information for determining the channel corresponding to the bit stream, the ONT 102 can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream.
  • the ONT 102 After the ONT 102 receives the multiplexed bit stream from the OLT 101, it can process the multiplexed bit stream to obtain the aforementioned multiple bit stream; determine the channel corresponding to the ONT 102; determine the target bit stream from the multiple bit stream; The channel corresponding to the target bit stream is the same as the channel corresponding to the ONT 102. Among them, the target bit stream is the bit stream required by the ONT102.
  • the ONT mentioned in the embodiment of this application may also be referred to as an optical network unit (ONU).
  • the multiplexing-based channel identification method provided in the embodiment of the present application can be applied to a passive optical network (PON).
  • PON passive optical network
  • Passive optical networks in the ITU-T system can include, but are not limited to: Gigabit-capable passive optical networks (GPON), 10-Gigabit-capable passive optical networks (XG) -PON), symmetric passive optical network (10-Gigabit-capable symmetric passive optical network, XGS-PON) and time and wavelength division passive optical network (time and wavelength division multiple passive optical networks, TWDM PON).
  • Passive optical networks in the IEEE system may include but are not limited to: Ethernet passive optical networks (EPON) and 10G Ethernet passive optical networks (10Gbit/s ethernet passive optical networks, 10G-EPON).
  • PON is a pure medium network, which avoids electromagnetic interference and lightning effects of external equipment, reduces the failure rate of lines and external equipment, improves system reliability, and saves maintenance costs.
  • FIG. 2a is a schematic flowchart of a multiplexing-based channel identification method provided by an embodiment of the present application.
  • the execution subject of steps S201 to S202 is the OLT, or the chip in the OLT
  • the execution subject of steps S203 to S205 is the ONT, or the chip in the ONT.
  • OLT and ONT are multiplexed-based
  • the execution subject of the channel identification method is described as an example. As shown in Figure 2a, the method may include but is not limited to the following steps:
  • Step S201 The OLT generates multiple data streams, processes the multiple bit streams, and obtains a multiplexed bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first The indication information is used to determine the channel corresponding to the bit stream.
  • the multiple data streams generated by the OLT may include bit streams required by the ONT corresponding to the OLT.
  • the OLT may perform bit interleaving processing on multiple bit streams to obtain a multiplexed bit stream.
  • the 3 bit streams are bit stream a(a1a2...an), bit stream b(b1b2...bn) and bit stream c(c1c2 ...Cn)
  • the schematic diagram of the scene of bit interleaving processing on 3 bit streams can be shown in Fig. 2b. It can be seen from Figure 2b that the multiplexed bit stream obtained after bit interleaving is: a1b1c1a2b2c2...anbncn.
  • the OLT may include one or more chips.
  • One chip can be used to generate bit streams corresponding to one or more channels.
  • the OLT includes multiple chips, and one chip is used to generate a bit stream corresponding to one channel as an example.
  • each chip in the OLT is synchronized, each chip can generate a bit stream synchronously.
  • the OLT includes a chip a corresponding to bitstream a, a chip b corresponding to bitstream b, and a chip c corresponding to bitstream c
  • chip a generates a1 and chip in bitstream a.
  • b generates b1 in bitstream b1
  • chip c generates c1 in bitstream c at the same time.
  • Fig. 2b is an example of synchronization between the chip used to generate bit stream a, the chip used to generate bit stream b, and the chip used to generate bit stream c.
  • the chip corresponding to bitstream a, the chip corresponding to bitstream b, and the chip corresponding to bitstream c may not be synchronized.
  • bitstream a (a1a2...an)
  • bitstream c (c1c2...cn)
  • a1b3...c9a2b4...n10... or aibj...ckai+1bj+1...ck+1... ....
  • the synchronization between the various chips in the OLT has the same meaning as the channel alignment corresponding to each chip.
  • the bit stream after the bit interleaving processing (that is, the multiplexed bit stream) has a higher transmission rate.
  • the bit stream before the bit interleaving processing may be referred to as a low-speed bit stream
  • the bit stream after the bit interleaving processing may be referred to as a high-speed bit stream.
  • the first indication information included in each bit stream can be used to determine the channel corresponding to the bit stream.
  • Different bit streams correspond to different channels, and the first indication information included in different bit streams can be used to determine different channels.
  • the ONT can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream.
  • Step S202 The OLT transmits the multiplexed bit stream to the ONT corresponding to the OLT.
  • the OLT may transmit the multiplexed bit stream to each ONT corresponding to the OLT.
  • the OLT may include a laser driver, a laser, and a combiner/demultiplexer.
  • the OLT can transmit the multiplexed bit stream to the laser driver.
  • the laser driver receives the multiplexed bit stream, it can drive the laser to emit light and generate an optical signal.
  • the combiner/demultiplexer can couple the optical signal carrying the multiplexed bit stream into the backbone fiber and transmit it to the ONT corresponding to the OLT via the backbone fiber.
  • Step S203 The ONT processes the multiplexed bit stream to obtain the aforementioned multiple bit stream.
  • the ONT after the ONT receives the multiplexed bit stream from the OLT, it can perform bit de-interleaving processing on the multiplexed bit stream to recover the aforementioned multiple bit stream generated by the OLT.
  • the ONT may include a multiplexer/demultiplexer. After the multiplexer/demultiplexer in the ONT receives the optical signal carrying the multiplexed bit stream from the backbone fiber, it can receive the multiplexed bit stream from the The multiplexed bit stream is separated from the optical signal.
  • the process of the ONT performing bit de-interleaving processing on the multiplexed bit stream may be: the ONT periodically extracts 1 bit from the multiplexed bit stream according to a fixed interval.
  • the bit stream composed of n bits sequentially extracted by the ONT may be the same as a bit stream generated by the OLT.
  • the fixed period can be the same as the number of bit streams generated by the OLT.
  • the multiplexed bit stream is: a1b1c1a2b2c2...anbncn, and when the first bit extracted by the ONT is a1, and the fixed period is 3, the n bits extracted by the ONT in turn are a1a2...an, and a1a2...an constitute the bit stream a.
  • the ONT extracts a complete bit stream, it can start after the first bit extracted by the ONT, and periodically extract 1 bit from the multiplexed bit stream according to a fixed interval. That is, after the ONT extracts the bit stream a, it can start from b1 and periodically extract 1 bit from the multiplexed bit stream according to a fixed interval, and then extract the bit stream b.
  • the bit stream c can be extracted from c1. It should be noted that in other feasible implementation manners, the ONT may start to extract bits from any bit in the multiplexed bit stream.
  • the above-mentioned ONT extracting bits from the first bit (a1) of the multiplexed bit stream is only for example, and does not constitute a limitation to the embodiment of the present application. Since the power-on time of the ONT is uncertain, the ONT can start the bit de-interleaving processing from any bit in the multiplexed bit stream, and the ONT cannot know from which bit it starts the bit de-interleaving processing. For example, when the ONT starts to extract bits from c2, the extracted three bit streams are: c2...cnc1, a3...an a1a2, b3...bn b1b2.
  • the power-on time of the ONT is uncertain, which may make the first bit stream (that is, bit stream c) obtained after bit deinterleaving not the first bit stream (that is, bit stream a) used when the OLT performs bit interleaving processing.
  • Step S204 The ONT determines the channel corresponding to the ONT.
  • one ONT corresponds to one channel, and different ONTs correspond to different channels.
  • the ONT can determine the required bit stream from the multiple bit streams, and the channel corresponding to the required bit stream is the same as the channel corresponding to the ONT.
  • the ONT may determine the channel corresponding to the ONT in the following manner: the ONT determines the first bitstream from multiple bitstreams; the first bitstream may also include the correspondence between the ONT identifier and the channel identifier Relationship: The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identification and the channel identification, and the identification of the ONT. Among them, ONT identification (identification, ID) is used to uniquely identify an ONT.
  • the OLT can assign a unique ONT ID to each ONT according to the serial number (SN) of each ONT.
  • the foregoing corresponding relationship may include the corresponding relationship between the identifier of each ONT corresponding to the OLT and the channel identifier.
  • the ONT can obtain the corresponding relationship by analyzing the first bit stream, and then can find the target channel identifier corresponding to the ID of the ONT from the corresponding relationship, and the channel indicated by the target channel identifier is the channel corresponding to the ONT.
  • part or all of the bit streams in the multi-channel bit stream may include the correspondence between the ONT identifier and the channel identifier.
  • the ONT may correspond to a default channel; the information of the default channel corresponding to the ONT may be pre-configured in the ONT.
  • the aforementioned first bit stream may be a bit stream corresponding to the default channel. In this case, other bit streams in the multi-channel bit stream except the first bit stream may not include the correspondence between the ONT identifier and the channel identifier.
  • the default channel of each ONT corresponding to the OLT may be the same, so that each ONT can determine the channel corresponding to each ONT through the corresponding relationship carried in the first bit stream. In this way, it is beneficial to improve the utilization of the first bit stream.
  • the ONT in the case that the ONT corresponds to a default channel, the ONT can access the default channel by default, communicate with the OLT through the bitstream corresponding to the default channel, and complete the registration and go online. After the ONT is registered and online, it can transmit data with the OLT through the default channel.
  • the ONT After the ONT determines the channel (such as channel k) corresponding to the ONT through the corresponding relationship carried in the bit stream corresponding to the default channel, the ONT can switch from the default channel to the k channel. Correspondingly, the data transmission channel between the ONT and the OLT is changed from the default channel to the k channel.
  • the default channel may not be pre-configured for the ONT.
  • each bit stream in the aforementioned multi-channel bit stream may include the corresponding relationship between the aforementioned ONT identifier and the channel identifier.
  • the ONT may include the multi-channel bit stream. Any bit stream of is determined as the first bit stream.
  • the ONT when the ONT does not correspond to the default channel and the ONT corresponds to the k channel, the ONT may not need to access the default channel before accessing the k channel.
  • the ONT does not need to access the default channel, but can also obtain the corresponding relationship between the ONT ID and the channel ID, and then determine the channel corresponding to the ONT; on the other hand, the ONT can transfer multiple bit streams to Any bit stream of is determined as the first bit stream. Therefore, in this way, it is beneficial to improve the efficiency of determining the channel corresponding to the ONT.
  • the first bit stream may include first broadcast information
  • the first broadcast information may include the aforementioned correspondence between the ONT identifier and the channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the OLT
  • the The ONT corresponding to the OLT includes the aforementioned ONT.
  • the correspondence between the ONT identifier and the channel identifier is included in the first broadcast information
  • the first broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the first broadcast information
  • the first broadcast information may be carried in the PLOAMd field in the GPON downlink frame.
  • Figure 2c is a schematic diagram of the format of a GPON downstream frame.
  • the GPON downlink frame can be composed of a physical control block downstream (PCBd) and a payload (payload).
  • PCBd can be operated by physical synchronization (psync), Ident, and physical layer.
  • Management and maintenance physical layer operations, administration and maintenance, PLOAMd
  • BIP bit interleaved parity
  • downstream payload length payload length downstream, Plend
  • upstream bandwidth map upstream bandwidth map, US BWMap
  • psync is used to synchronize the ONT with the OLT.
  • ldent is used as a super frame indicator. When the ldent value is 0, it indicates the beginning of a super frame.
  • PLOAMd is used to carry downlink ploam messages;
  • BIP is a parity check code inserted between bits for error detection.
  • Plend is used to describe the length of the US BWMap and the number of asynchronous transfer mode (ATM) cells in the payload. In order to enhance fault tolerance, Plend appears twice.
  • the US BWMap field is used for uplink bandwidth allocation.
  • the first broadcast information may refer to the ploam message carried in the PLOAMd domain.
  • the schematic diagram of the structure of the PLOAMd domain can be shown in Figure 2d.
  • the PLOAMd field can be composed of an optical network terminal identifier (ONT ID), a message identifier (message ID), a payload of the ploam message (Data), and a cyclic redundancy check (cyclic redundancy check, CRC).
  • ONT ID can be used to identify which ONT the ploam message applies to, that is, to which ONT the ploam message is sent.
  • the ONT indicated by the ONT ID can parse the ploam message carried in the PLOAMd domain.
  • ONT ID when the value of ONT ID is 0xFF, it can indicate that the ploam message is applicable to all ONTs corresponding to the OLT.
  • the message ID can represent different message types.
  • the message type may include, but is not limited to, the first broadcast information and the second broadcast information below.
  • the payload of the ploam message may include the aforementioned correspondence between the ONT identifier and the channel identifier.
  • the CRC is the check sequence of other fields in the PLOAMd field except the CRC.
  • the first broadcast information can be the current application
  • the ploam message carried in the downlink frame of the system.
  • the first broadcast information may be carried in a multi-point control protocol (multi-point control protocol, MPCP) frame
  • the broadcast message may be an operation administration and maintenance (OAM) message.
  • the ONT may include a laser.
  • the laser is used to generate an optical signal carrying upstream data, which is the data sent by the ONT to the OLT.
  • the wavelengths of the optical signals generated by the lasers in different ONTs are different.
  • the ONT may determine the wavelength corresponding to the laser in the ONT according to the corresponding relationship between the channel and the wavelength. Among them, the corresponding relationship between the channel and the wavelength can be pre-configured or cured in the ONT.
  • Step S205 The ONT determines a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
  • the ONT after the ONT obtains multiple bit streams and determines the channel (such as channel k) corresponding to the ONT, it can determine the target bit stream corresponding to channel k from the multiple bit streams. In this way, it is beneficial for the ONT to obtain the required target bit stream.
  • the ONT by carrying the first indication information in each bit stream, the ONT can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream. Further, it is beneficial for the ONT to obtain the required target bit stream.
  • Figure 3 is a schematic flow diagram of another multiplexing-based channel identification method provided by an embodiment of the present application.
  • the execution subject of step S301 to step S302 is the OLT, or the chip in the OLT
  • the execution subject of step S303 to step S306 is the ONT, or the chip in the ONT.
  • OLT and ONT are the multiplexing-based
  • the execution subject of the channel identification method is described as an example. The method may include but is not limited to the following steps:
  • Step S301 The OLT generates multiple data streams, processes the multiple bit streams, and obtains a multiplexed bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, the first The indication information is used to determine the channel corresponding to the bit stream.
  • the bitstream may include second broadcast information
  • the second broadcast information may include the first indication information in the bitstream
  • the second broadcast The information is applicable to the ONT corresponding to the OLT
  • the ONT corresponding to the OLT includes the ONT in step S303.
  • the first indication information is included in the second broadcast information
  • the second broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the second broadcast information, and each ONT corresponding to the OLT receives the second broadcast information.
  • the second broadcast information can be analyzed to obtain the first indication information in the second broadcast information.
  • the second broadcast information may be the current one.
  • the second broadcast information may be a broadcast message carried in an MPCP frame or an OAM message.
  • the PLOAMd field in an ITU-T system downlink frame can carry one or more ploam messages
  • an IEEE system downlink frame can carry one or more broadcast messages
  • one IEEE system downlink frame can carry one or more broadcast messages.
  • the sending time of the downlink frame carrying the first broadcast information may be earlier than the sending time of the downlink frame carrying the second broadcast information.
  • the receiving time of the downlink frame carrying the first broadcast information may be earlier than the receiving time of the downlink frame carrying the second broadcast information.
  • one GPON downstream frame may carry one ploam message
  • one XG-PON, XGS-PON or TWDM PON downstream frame may carry multiple ploam messages.
  • the bit stream may be composed of multiple data frames, and some or all of the multiple data frames may include the second broadcast information .
  • the bitstream may include one or more second broadcast information.
  • each frame may carry the second broadcast information; or, every preset number of frames may carry the second broadcast information; or , One or several frames can be randomly selected to carry the second broadcast information.
  • a bit stream carries multiple second broadcast information, it helps to ensure that the ONT can successfully obtain the second broadcast information.
  • the bit stream a is composed of a downlink data frame 1, a downlink data frame 2, and a downlink data frame 3, and the downlink data frame 1, the downlink data frame 2 and the downlink data frame 3 all carry the second broadcast information
  • the ONT can determine the corresponding bit stream a through the second broadcast information carried in the downlink data frame 2 Channel. If only the downlink data frame 1 of the downlink data frames constituting the bit stream a carries the second broadcast information, the ONT can only determine the channel corresponding to the bit stream a through the second broadcast information carried in the downlink data frame 1.
  • the ONT can parse the subsequent frames to obtain the second broadcast information.
  • the ONT can also successfully obtain the second broadcast information, and then successfully determine the channel corresponding to the bit stream.
  • Step S302 The OLT transmits the multiplexed bit stream to the ONT corresponding to the OLT.
  • Step S303 The ONT processes the multiplexed bit stream to obtain the aforementioned multiple bit stream.
  • step S301 to step S303 please refer to the specific description of step S201 to step S203 in FIG. 2a, respectively, which will not be repeated here.
  • Step S304 The ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any one of the multiple bit streams.
  • the ONT after the ONT obtains the multiple bitstreams, it can determine the channel corresponding to a certain bitstream (that is, the second bitstream) in the multiple bitstream to determine whether the channel corresponding to the bitstream is the same as the channel corresponding to the ONT .
  • the second bit stream may be the first bit stream obtained after the ONT performs bit deinterleaving, or any bit stream.
  • the first indication information may be carried in the payload (Data) field of the ploam message in the PLOAMd field.
  • the value of the Data field can indicate the channel corresponding to the bit stream. For example, if the value of the Data field is 0x00, it can indicate that the bit stream corresponds to the 0th channel; if the value of the Data field is 0x01, it can indicate that the bit stream corresponds to the 1st channel.
  • Step S305 The ONT determines the channel corresponding to the ONT.
  • step S305 refers to the specific description of step S204 in FIG. 2a, which will not be repeated here.
  • Step S306 If the channel corresponding to the second bitstream is different from the channel corresponding to the ONT, the ONT determines the target bitstream from the multiple bitstream; the channel corresponding to the target bitstream is the same as the channel corresponding to the ONT.
  • the ONT can trigger the slave multi-channel bit stream. Steps in the stream to determine the target bitstream.
  • the channel corresponding to the second bit stream is the same as the channel corresponding to the ONT, it can indicate that the second bit stream is the bit stream required by the ONT (that is, the target bit stream).
  • the positions of the bit streams in the multiple bit streams may have an order relationship. For example, if the OLT performs bit interleaving in the order of bit stream a, bit stream b, and bit stream c, and after the ONT performs bit de-interleaving, the first bit stream obtained is bit stream a, it can indicate bit de-interleaving The second bit stream and the third bit stream obtained after processing are bit stream b and bit stream c, respectively. If the ONT performs bit de-interleaving processing and the first bit stream obtained is bit stream b, it can indicate that the second bit stream and the third bit stream obtained after the bit de-interleaving processing are bit stream c and bit stream respectively. a. After the ONT performs bit de-interleaving processing, the first bit stream obtained is bit stream c, which can indicate that the second bit stream and the third bit stream obtained after the bit de-interleaving processing are bit stream a and bit stream b. .
  • the positions of the bit streams in the multiple bit streams have an order relationship, where the order relationship between the positions of the bit streams may refer to the order of the bit streams obtained after ONT bit de-interleaving.
  • the bit stream obtained after the bit deinterleaving processing is bit stream b, bit stream c, and bit stream a in order
  • bit stream b is before bit stream c
  • bit stream a is after bit stream c.
  • the ONT may sequentially store multiple bit streams obtained after bit de-interleaving processing into the memory.
  • the order relationship between the positions of the bit streams may refer to the storage positions of the bit streams in the memory. The order relationship.
  • the storage location of each bit stream in the memory is related to the number of streams obtained after the bit stream is bit de-interleaved.
  • the memory may include volatile memory (volatile memory), such as random access memory (RAM). It may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (solid-state drive). state drive, SSD.
  • the ONT may determine the target bitstream from the multiple bitstreams in the following manner: determine the position information of the target bitstream relative to the second bitstream according to the channel corresponding to the second bitstream and the channel corresponding to the ONT ; According to the position information of the target bit stream relative to the second bit stream, the target bit stream is determined from the multiple bit streams.
  • bit stream a, bit stream b, and bit stream c correspond to channel 1, channel 2, and channel 3 respectively
  • the second bit When the stream corresponds to channel 2 and the ONT corresponds to channel 3, the ONT can determine that the bit stream corresponding to channel 3 (that is, the target bit stream) is the next bit stream after the second bit stream.
  • the ONT after the ONT determines the channel corresponding to the second bit stream, it can determine the multi-channel bit stream according to the order relationship between the positions of the bit stream in the multi-channel bit stream and the channel corresponding to the second bit stream. Channels corresponding to other bitstreams except the second bitstream. For example, if the second bit stream corresponds to channel 2, the ONT may determine that the next bit stream after the second bit stream corresponds to channel 3, and the second bit stream after the second bit stream corresponds to channel 1.
  • the target bit stream required by the ONT can be determined according to the channel corresponding to the second bit stream.
  • FIG. 4 is a schematic flowchart of another multiplexing-based channel identification method provided by an embodiment of the present application.
  • the method describes in detail that the first indication information is the frame header information of the data frame constituting the bit stream. How does the ONT determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream.
  • the execution subject of steps S401 to S402 is the OLT, or the chip in the OLT
  • the execution subject of steps S403 to S407 is the ONT, or the chip in the ONT.
  • the OLT and ONT are multiplexed-based
  • the execution subject of the channel identification method is described as an example. The method may include but is not limited to the following steps:
  • Step S401 the OLT generates multiple data streams, processes the multiple bit streams, and obtains a multiplexed bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first The indication information is used to determine the channel corresponding to the bit stream.
  • the bit stream may be composed of multiple data frames, and the first indication information included in the bit stream may be any data in the multiple data frames.
  • the frame header information of the frame; the frame header information used to compose the data frames of different bit streams can be different.
  • Each data frame includes frame header information.
  • the frame header information is carried in the physical synchronization (psync) field in the GPON downstream frame structure shown in FIG. 2c.
  • the header information of the data frames used to compose the same bit stream is the same, and the header information of the data frames used to compose different bit streams can be different.
  • the frame header information used to compose the data frames of bit stream a, bit stream b, and bit stream c may be psync1, psync2, and psync3, respectively.
  • the ONT may determine the channel corresponding to the bit stream according to the frame header information of the data frame of the bit stream.
  • the ONT determines the frame header information of the data frame faster. Therefore, determining the channel corresponding to the bit stream through the frame header information is beneficial to improve the determination of the channel corresponding to the bit stream. efficient.
  • the above-mentioned frame header information is carried in the physical synchronization (psync) field in the GPON downlink frame structure shown in FIG. 2c, which is only used as an example and does not constitute a limitation to the embodiment of the present application.
  • the frame header information can be carried in the physical synchronization (psync) field in the downstream frame of the currently applied system.
  • Step S402 the OLT transmits the multiplexed bit stream to the ONT corresponding to the OLT.
  • Step S403 The ONT processes the multiplexed bit stream to obtain the aforementioned multiple bit stream.
  • step S401 to step S403 please refer to the specific description of step S201 to step S203 in FIG. 2a, respectively, which will not be repeated here.
  • Step S404 The ONT determines the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream; the second bit stream is any bit stream in the multiple bit stream.
  • the ONT can determine the information in the bit stream according to the correspondence between the header information and the channel.
  • the channel indicated by the header information When the correspondence between the frame header information and the channel is shown in Table 1, if the ONT recognizes that the frame header information of a data frame of a bit stream is psync2, the ONT can determine that the bit stream corresponds to channel 2.
  • the second bit stream may be the first bit stream obtained after bit deinterleaving by the ONT, or any bit stream.
  • the ONT may determine the channel corresponding to each bit stream in the multi-channel bit stream in the following manner: For each bit stream in the multi-channel bit stream, the ONT may determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the bit stream To determine the channel corresponding to the bitstream. That is, the ONT can determine the channel corresponding to each bit stream by identifying the frame header information in each bit stream.
  • the ONT may also determine the channel corresponding to each bit stream in the multi-channel bit stream in the following manner: the ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream ; For each bit stream in the multi-channel bit stream except the second bit stream, the channel corresponding to each bit stream except the second bit stream is determined according to the channel corresponding to the second bit stream.
  • the positions of the bitstreams in the multiple bitstreams may have an order relationship.
  • the order relationships between the positions of the bitstreams in the multiple bitstreams please refer to step S306 in FIG. 3, which will not be repeated here. .
  • the ONT After the ONT determines the channel corresponding to the second bitstream, it can determine the multiple bitstreams other than the second bitstream according to the order relationship between the positions of the bitstreams in the multiple bitstreams and the channels corresponding to the second bitstream The channel corresponding to the other bitstreams. For example, if the second bit stream corresponds to channel 2, the ONT may determine that the next bit stream after the second bit stream corresponds to channel 3, and the second bit stream after the second bit stream corresponds to channel 1.
  • bit stream a, bit stream b, and bit stream c correspond to channel 1, channel 2, and channel 3 respectively
  • the ONT can determine that the next bit stream after the second bit stream corresponds to channel 3, and the second bit stream after the second bit stream corresponds to channel 1.
  • Step S405 The ONT determines the first bit stream from the multiple bit streams; the first bit stream also includes the correspondence between the ONT identifier and the channel identifier.
  • the corresponding relationship between the ONT identifier and the channel identifier is included in the first broadcast information.
  • the first broadcast information may refer to the downstream frame of the currently applied system The carried ploam message.
  • the first broadcast information may refer to the broadcast message or OAM message carried in the downlink frame of the currently applied system.
  • the ONT needs to parse the ploam message (or the broadcast message or OAM message carried in the downlink frame) to obtain the correspondence between the ONT identifier and the channel identifier.
  • the ONT may include a processing module, and the processing module may be used to parse the first broadcast information.
  • the processing module may only have the ability to analyze the data frame corresponding to the preset frame header information, and then analyze the first broadcast information in the data frame. In other words, the processing module may not have the ability to analyze data frames corresponding to non-preset frame header information.
  • the ONT can obtain the capability information of the processing module; if the capability information indicates that the processing module does not have the capability to parse the first bit stream Data frame header information, the ONT can convert the header information of the data frame used to compose the first bit stream, and the processing module has the ability to parse the converted data frame used to compose the first bit stream The ability of the frame header information. In this way, it can be ensured that the ONT can resolve the correspondence between the ONT identifier and the channel identifier. For example, when the preset frame header information is psync and the frame header information of the data frame of the first bit stream is psync_1, the ONT may convert the frame header information from psync_1 to psync.
  • the ONT may not be able to correct the data frame used to compose the first bit stream.
  • the header information of the frame is converted.
  • the processing module may refer to a media access control (medium access control, MAC) processing chip in the ONT.
  • the foregoing specific implementation manner for the OLT to generate multiple data streams may be: the OLT generates multiple original data streams; If the frame header information is the same, the OLT converts the frame header information of the data frame used to form each original data stream in the multiple original data streams to obtain the multiple data streams. If the frame header information of the data frames used to compose each original data stream is the same, the frame header information cannot be used to indicate the channel corresponding to the data stream. At this time, the ONT converts the frame header information of the data frame used to compose each original data stream, so that the converted frame header information of the data frame used to compose each original data stream can be different. The header information indicates the channel corresponding to the data stream.
  • Step S406 The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identification and the channel identification, and the identification of the ONT.
  • step S405 to step S406 please refer to the specific description of step S204 in FIG. 2a, which will not be repeated here.
  • Step S407 The ONT determines a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
  • step S407 refers to the specific description of step S205 in FIG. 2a, which will not be repeated here.
  • the positions of the bitstreams in the multiple bitstreams may have an order relationship.
  • the ONT may determine the target bitstream from the multiple bitstreams in the following manner: determine the position information of the target bitstream relative to the first bitstream according to the channel corresponding to the first bitstream and the channel corresponding to the ONT ; According to the position information of the target bit stream relative to the first bit stream, the target bit stream is determined from the multiple bit streams.
  • bit stream a, bit stream b, and bit stream c correspond to channel 1, channel 2, and channel 3 respectively, and the first bit
  • the ONT can determine that the bit stream corresponding to channel 3 (that is, the target bit stream) is the next bit stream after the second bit stream.
  • the ONT After the ONT determines the required target bit stream, it needs to send the target bit stream to the processing module.
  • the processing module can parse the target bit stream or forward the target bit stream to other devices. It can be known from step S405 that in order to obtain the correspondence between the ONT identifier and the channel identifier, the ONT parses the first bit stream. That is, before determining the target bit stream, the ONT has sent the first bit stream to the processing module. In this case, if the channel corresponding to the first bit stream is the same as the channel corresponding to the ONT, it indicates that the target bit stream required by the ONT is the first bit stream. The ONT does not need to send the target bit stream to the processing module again.
  • the ONT can trigger the step of determining the target bitstream from the multiple bitstreams.
  • the first indication information may be frame header information of the data frame constituting the bit stream. Since the ONT determines the frame header information of the data frame faster, the frame header information used to compose the data frame of the bit stream helps to improve the efficiency of the channel corresponding to the bit stream.
  • FIG. 5 is a schematic structural diagram of a communication device 50 according to an embodiment of this application.
  • the communication device 50 shown in FIG. 5 may include a communication module 501 and a processing module 502.
  • the communication module 501 may include a sending module and/or a receiving module.
  • the sending module is used to realize the sending function
  • the receiving module is used to realize the receiving function
  • the communication module 501 may realize the sending function and/or the receiving function.
  • the communication module can also be described as a transceiver module.
  • the communication device 50 may be an ONT, a device in the ONT, or a device that can be matched and used with the ONT.
  • the communication module 501 is configured to receive the multiplexed bit stream from the optical line terminal OLT;
  • the processing module 502 is configured to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine The channel corresponding to the bitstream;
  • the processing module 502 is further configured to determine a channel corresponding to the communication device 50; determine a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device 50.
  • the processing module 502 when used to determine the channel corresponding to the communication device 50, it can be specifically used to determine a first bit stream from multiple bit streams; the first bit stream also includes the communication device identifier and the channel Correspondence between the identifications; according to the correspondence between the communication device identification and the channel identification, and the identification of the communication device 50, determine the channel corresponding to the communication device 50.
  • the communication device 50 corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the communication device 50 does not correspond to a default channel; when the processing module 502 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams It is the first bit stream; each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
  • the first bitstream may include first broadcast information
  • the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier
  • the first broadcast information is applicable to the communication device corresponding to the OLT
  • the communication device corresponding to the OLT includes a communication device 50.
  • the processing module 502 may be further configured to determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any of the foregoing multiple bit streams. One bit stream; if the channel corresponding to the second bit stream is different from the channel corresponding to the communication device 50, the step of determining the target bit stream from the foregoing multiple bit streams is triggered.
  • the positions of the bit streams in the foregoing multiple bit streams may have a sequential relationship; when the processing module 502 is used to determine the target bit stream from the multiple bit streams, it may be specifically used to: according to the second bit stream The channel corresponding to the stream and the channel corresponding to the communication device 50 determine the position information of the target bit stream relative to the second bit stream; according to the position information of the target bit stream relative to the second bit stream, the target is determined from the multiple bit streams Bitstream.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable
  • the communication device corresponding to the OLT includes the communication device 50.
  • the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information.
  • the stream may include multiple second broadcast information.
  • the processing module 502 may be composed of a routing unit 5021 and a processing unit 5022.
  • the routing unit 5021 can be used to determine the second bit stream from the multiple bit streams, and transmit the second bit stream to the processing unit 5022; for each bit stream in the multiple bit stream, the bit stream Including first indication information, where the first indication information is used to determine the channel corresponding to the bit stream; the second bit stream is any one of the multiple bit streams;
  • the processing unit 5022 is configured to determine the channel corresponding to the second bit stream according to the first indication information in the second bit stream (see step S304); determine the channel corresponding to the communication device 50, if the second bit stream corresponds to If the channel is different from the channel corresponding to the communication device 50, the second instruction information is sent to the routing unit 5021, and the second instruction information is used to determine the target bit stream;
  • the routing unit 5021 is further configured to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit 5022; the channel corresponding to the target bit stream and the communication device 50 The corresponding channels are the same.
  • the processing module 502 may further include a demultiplexing unit 5023.
  • the communication module 501 may be used to receive the multiplexed bit stream from the OLT.
  • the demultiplexing unit 5023 may be used to process the multiplexed bit stream to obtain multiple bit streams.
  • the routing unit 5021 can be used to determine any one of the multiple bit streams as the second bit stream, or the routing unit 5021 can be used to obtain the result obtained after the demultiplexing unit 5023 processes the multiplexed bit stream.
  • the first bit stream is determined to be the second bit stream.
  • the routing unit 5021 transmits the second bit stream to the processing unit 5022, so that the processing unit 5022 determines the channel corresponding to the second bit stream according to the first indication information in the second bit stream.
  • the processing unit 5022 sends second indication information to the routing unit 5021 for selection.
  • the path unit 5021 determines the target bit stream from the multiple bit streams according to the second indication information.
  • the target bit stream is a bit stream required by the communication device 50.
  • the processing unit 5022 may not send the second instruction information to the routing unit 5021.
  • the routing unit 5021 may also be used to transmit the target bit stream to the processing unit 5022.
  • the processing unit 5022 can also be used to process the target bit stream, or the processing unit 5022 can also be used to call the communication module 501, and the communication module 501 can be used to transmit the target bit stream to other equipment.
  • the first bit stream in the multi-channel bit stream may further include a correspondence between the communication device identifier and the channel identifier.
  • the routing unit 5021 may also be used to determine the first bit stream from the multiple bit streams (see step S204), and transmit the first bit stream to the processing unit 5022.
  • the processing unit 5022 may also be configured to analyze the first bit stream from the routing unit 5021 to obtain the correspondence between the communication device identifier and the channel identifier carried in the first bit stream.
  • the processing unit 5022 is used to determine the channel corresponding to the communication device 50, it can be specifically used to determine the channel corresponding to the communication device 50 according to the correspondence between the communication device identifier and the channel identifier, and the identifier of the communication device 50.
  • the processing unit 5022 is used to determine the execution process of the channel corresponding to the communication device 50 according to the correspondence between the communication device identification and the channel identification, and the identification of the communication device 50 Please refer to the detailed description of step S204 in FIG. 2a, which will not be repeated here.
  • the communication device 50 corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the communication device 50 does not correspond to a default channel; when the routing unit 5021 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: It is determined to be the first bit stream (see step S204); each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
  • the first bitstream may include first broadcast information
  • the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier
  • the first broadcast information is applicable to the communication device corresponding to the OLT
  • the communication device corresponding to the OLT includes a communication device 50.
  • the second indication information may include the identifier of the channel corresponding to the second bit stream and the identifier of the channel corresponding to the communication device 50; the routing unit 5021 is configured to determine from the multiple bit streams according to the second indication information
  • the target bitstream may be specifically used to determine the target bitstream from the multiple bitstreams according to the identifier of the channel corresponding to the second bitstream and the identifier of the channel corresponding to the communication device 50.
  • the positions of the bit streams in the multiple bit streams may have an order relationship.
  • the routing unit 5021 may determine the multi-channel bit according to the order relationship between the positions of the bit stream in the multi-channel bit stream and the channel corresponding to the second bit stream. Channels corresponding to other bit streams in the stream except the second bit stream.
  • the positions of the bitstreams in the multiple bitstreams may have an order relationship
  • the second indication information may include position information of the target bitstream relative to the second bitstream
  • the routing unit 5021 is configured to When the instruction information determines the target bit stream from the multiple bit streams, it is specifically used to determine the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the second bit stream (see step S306).
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable
  • the communication device corresponding to the OLT includes the communication device 50.
  • the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information.
  • the stream may include multiple second broadcast information.
  • FIG. 6 is a schematic structural diagram of another communication device 60 according to an embodiment of the application.
  • the communication device 60 shown in FIG. 6 may include a processing module 601 and a communication module 602.
  • the communication module 602 may include a sending module and/or a receiving module.
  • the sending module is used to realize the sending function
  • the receiving module is used to realize the receiving function
  • the communication module 602 may realize the sending function and/or the receiving function.
  • the communication module can also be described as a transceiver module.
  • the communication device 60 may be an OLT, a device in the OLT, or a device that can be matched and used with the OLT.
  • the processing module 601 is configured to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the The first indication information is used to determine the channel corresponding to the bit stream;
  • the communication module 602 is configured to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device 60.
  • the first bit stream in the multi-channel bit stream further includes a corresponding relationship between the ONT identifier and the channel identifier.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the communication device 60.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable ONT corresponding to the communication device 60.
  • the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information.
  • the stream includes a plurality of second broadcast information.
  • the processing module 601 may be composed of a processing unit 6011 and a multiplexing unit 6012.
  • the processing unit 6011 is configured to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit 6012; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the The first indication information is used to determine the channel corresponding to the bit stream.
  • the first bit stream in the multi-channel bit stream may further include a corresponding relationship between the ONT identifier and the channel identifier.
  • the multiplexing unit 6012 is used to process the multiple data streams to obtain a multiplexed bit stream.
  • the communication module 602 is used to transmit the multiplexed bit stream to the ONT.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the communication device 60.
  • the bit stream includes second broadcast information
  • the second broadcast information includes the first indication information in the bit stream
  • the second broadcast information is applicable ONT corresponding to the communication device 60.
  • the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information.
  • the stream includes a plurality of second broadcast information.
  • FIG. 7 is a schematic structural diagram of another communication device 70 according to an embodiment of the application.
  • the communication device 70 shown in FIG. 7 may include a communication module 701 and a processing module 702.
  • the communication module 701 may include a sending module and/or a receiving module.
  • the sending module is used to realize the sending function
  • the receiving module is used to realize the receiving function
  • the communication module 701 may realize the sending function and/or the receiving function.
  • the communication module can also be described as a transceiver module.
  • the communication device 70 may be an ONT, a device in the ONT, or a device that can be matched and used with the ONT.
  • the communication module 701 is configured to receive the multiplexed bit stream from the optical line terminal OLT;
  • the processing module 702 is configured to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine the The channel corresponding to the bitstream;
  • the processing module 702 is further configured to determine a channel corresponding to the communication device 70; determine a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device 70.
  • the processing module 702 when used to determine the channel corresponding to the communication device 70, it can be specifically used to determine a first bit stream from multiple bit streams; the first bit stream also includes the communication device identifier and the channel Correspondence between the identifications; according to the correspondence between the communication device identification and the channel identification, and the identification of the communication device 70, determine the channel corresponding to the communication device 70.
  • the communication device 70 corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the communication device 70 does not correspond to a default channel; when the processing module 702 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams It is the first bit stream; each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
  • the first bitstream may include first broadcast information
  • the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier
  • the first broadcast information is applicable to the communication device corresponding to the OLT
  • the communication device corresponding to the OLT includes a communication device 70.
  • the processing module 702 may also be used to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream; the second bit stream is a multi-channel bit stream. Any bit stream in the bit stream.
  • the processing module 702 when configured to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream, it can be specifically used to: For each bit stream in the bit stream, the channel corresponding to the bit stream is determined according to the first indication information included in the bit stream.
  • the processing module 702 when configured to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream, it can be specifically used to: according to the second bit stream The included first indication information determines the channel corresponding to the second bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, the bit stream is determined according to the channel corresponding to the second bit stream Corresponding channel.
  • the processing module 702 may also be used to trigger the step of determining the target bit stream from the multiple bit streams if the channel corresponding to the first bit stream is different from the channel corresponding to the communication device 70.
  • the positions of the bitstreams in the multiple bitstreams have an order relationship; when the processing module 702 determines the target bitstream from the multiple bitstreams, it can be specifically used to: according to the channel corresponding to the first bitstream The channel corresponding to the communication device 70 determines the location information of the target bit stream relative to the first bit stream; and determines the target bit stream from the multiple bit streams according to the location information of the target bit stream relative to the first bit stream.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the processing module 702 may also be used to obtain capability information of the processing module 702; if the capability information indicates that the processing module 702 does not have the capability to parse the header information of the data frame used to compose the first bit stream Ability to convert the header information of the data frame used to compose the first bit stream, and the processing module 702 has the ability to analyze the converted header information of the data frame used to compose the first bit stream.
  • the processing module 702 may be composed of a demultiplexing unit 7021 and a processing unit 7022.
  • the demultiplexing unit 7021 is used to obtain a multiplexed bit stream, and process the multiplexed bit stream to obtain a multiple bit stream (see step S203); for each bit stream in the multiple bit stream, the The bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the communication module 701 may be used to receive the multiplexed bit stream from the OLT;
  • the demultiplexing unit 7021 is further configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream (see step S404); The first bit stream is determined in the bit stream (see step S204); the first bit stream is transmitted to the processing unit 7022; the first bit stream also includes the correspondence between the communication device identifier and the channel identifier; the second bit stream is multiple Any bit stream in the bit stream;
  • the processing unit 7022 is configured to determine the channel corresponding to the communication device 70 according to the correspondence between the communication device identifier and the channel identifier, and the identifier of the communication device 70; send second indication information to the demultiplexing unit 7021, the second The indication information is used to determine the target bit stream; the target bit stream is the bit stream required by the communication device 70; the processing unit 7022 can also be used to parse the first bit stream from the demultiplexing unit 7021 to obtain the first bit stream Correspondence between the carried communication device identifier and the channel identifier;
  • the demultiplexing unit 7021 is further configured to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit 7022; the channel corresponding to the target bit stream corresponds to the communication device 70
  • the channels are the same.
  • the processing unit 7022 can also be used to process the target bit stream, or the processing unit 7022 can also be used to call the communication module 701, and the communication module 701 can also be used to transmit the target bit stream to other devices.
  • the communication device 70 corresponds to a default channel; the first bit stream may be a bit stream corresponding to the default channel.
  • the communication device 70 does not correspond to a default channel; when the demultiplexing unit 7021 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: The stream is determined to be the first bit stream (see step S204); each bit stream in the multi-channel bit stream includes the correspondence between the aforementioned communication device identifier and the channel identifier.
  • the first bitstream may include first broadcast information
  • the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier
  • the first broadcast information is applicable to the communication device corresponding to the OLT
  • the communication device corresponding to the OLT includes a communication device 70.
  • the demultiplexing unit 7021 is further configured to send third indication information to the processing unit 7022, where the third indication information is used to indicate the channel corresponding to the first bit stream; the processing unit 7022 is configured to When the unit 7021 sends the second instruction information, it is specifically configured to: if the channel corresponding to the first bit stream is different from the channel corresponding to the communication device 70, send the second instruction information to the demultiplexing unit 7021.
  • the processing unit 7022 sends the second instruction information to the demultiplexing unit 7021 so as to The demultiplexing unit 7021 determines the target bit stream from the multiple bit streams according to the second indication information.
  • the processing unit 7022 may not send the second indication information to the demultiplexing unit 7021.
  • the second indication information may include the identifier of the channel corresponding to the communication device 70; since the demultiplexing unit 7021 knows the channel corresponding to each bit stream, the demultiplexing unit 7021 is configured to download the corresponding channel according to the second indication information.
  • the target bit stream is determined in the multiple bit stream, it is specifically used to determine the target bit stream from the multiple bit stream, and the identifier of the channel corresponding to the target bit stream is the same as the identifier of the channel corresponding to the communication device 70.
  • the positions of the bitstreams in the multiple bitstreams may have a sequential relationship, and the second indication information may include position information of the target bitstream relative to the first bitstream; the demultiplexing unit 7021 is used to 2.
  • the instruction information determines the target bit stream from the multi-channel bit stream, it is specifically used to: determine the target bit stream from the multi-channel bit stream according to the position information of the target bit stream relative to the first bit stream (see step S407) .
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the demultiplexing unit 7021 is also used to obtain the capability information of the processing unit 7022; if the capability information indicates that the processing unit 7022 does not have the frame header information used to parse the data frames that compose the first bit stream The ability to convert the header information of the data frame used to compose the first bit stream, and the processing unit 7022 has the ability to analyze the converted header information of the data frame used to compose the first bit stream (see Step S405).
  • the demultiplexing unit 7021 is configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream, specifically using Yu: For each bit stream in the multi-channel bit stream, the channel corresponding to the bit stream is determined according to the first indication information included in the bit stream (see step S404).
  • the demultiplexing unit 7021 is configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream, specifically using Yu: Determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, according to For the channel corresponding to the second bit stream, the channel corresponding to the bit stream is determined (see step S404).
  • FIG. 8 is a schematic structural diagram of yet another communication device 80 according to an embodiment of the application.
  • the communication device 80 shown in FIG. 8 may include a processing module 801 and a communication module 802.
  • the communication module 802 may include a sending module and/or a receiving module.
  • the sending module is used to realize the sending function
  • the receiving module is used to realize the receiving function
  • the communication module 802 may realize the sending function and/or the receiving function.
  • the communication module can also be described as a transceiver module.
  • the communication device 80 may be an OLT, a device in the OLT, or a device that can be matched and used with the OLT.
  • the processing module 801 is configured to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the The first indication information is used to determine the channel corresponding to the bit stream;
  • the communication module 802 is configured to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device 80.
  • the first bit stream in the multi-channel bit stream further includes a corresponding relationship between the ONT identifier and the channel identifier.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the communication device 80.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the processing module 801 when used to generate multiple data streams, it is specifically used to: obtain multiple original data streams; If the frame header information is the same, the frame header information of the data frame used to form each original data stream in the multiple original data streams is converted to obtain the multiple data streams.
  • the processing module 801 may be composed of a processing unit 8011, a multiplexing unit 8012, and a laser driver unit 8013, and the communication device 80 may further include a laser module 803.
  • the processing unit 8011 is used to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit 8012;
  • the multiplexing unit 8012 is used to obtain multiple data streams and process the multiple bit streams, Obtain a multiplexed bit stream; and transmit the multiplexed bit stream to the laser driver unit 8013; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine The channel corresponding to the bit stream;
  • the first bit stream in the multi-channel data stream also includes the correspondence between the ONT identifier and the channel identifier.
  • the laser driver unit 8013 is used to drive the laser module 803 to emit light.
  • the laser module 803 is used to generate an optical signal carrying a multiplexed bit stream.
  • the communication module 802 is used to transmit the optical signal carrying the multiplexed bit stream to the ONT.
  • the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
  • the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes the difference between the ONT identifier and the channel identifier. Correspondence.
  • the first bit stream includes first broadcast information
  • the first broadcast information includes a correspondence between an ONT identifier and a channel identifier
  • the first broadcast information is applicable to the ONT corresponding to the communication device 80.
  • the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames.
  • Frame header information The frame header information used to compose the data frames of different bit streams is different.
  • the multiplexing unit 8012 when used to obtain multiple data streams, it is specifically used to: obtain multiple original data streams; if used to form a data frame of each original data stream in the multiple original data streams If the frame header information is the same, the frame header information of the data frame used to form each original data stream in the multiple original data streams is converted to obtain the multiple data streams (see step S405).
  • FIG. 9 is a schematic structural diagram of another communication device 90 provided by an embodiment of the present application.
  • the communication device 90 may be an ONT, an OLT, a chip, a chip system, or a processor that supports the ONT to realize the functions in FIG. 5 or FIG. 7, or a chip, a chip system, or a chip that supports the OLT to realize the functions in FIG. 6 or FIG. Or processor, etc.
  • the communication device 90 may include one or more processors 901.
  • the processor 901 may be a general-purpose processor or a special-purpose processor or the like. For example, it can be a baseband processor or a central processing unit.
  • the baseband processor can be used to process communication protocols and communication data
  • the central processor can be used to control communication devices (such as base stations, baseband chips, terminals, terminal chips, DU or CU, etc.), execute computer programs, and process Computer program data.
  • the communication device 90 also includes a transceiver 902.
  • the transceiver 902 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., for implementing the transceiver function.
  • the transceiver 902 may include a receiver and a transmitter.
  • the receiver may be referred to as a receiver or a receiving circuit, etc., to implement a receiving function;
  • the transmitter may be referred to as a transmitter or a transmitting circuit, etc., to implement a transmitting function.
  • the communication device 90 also includes a laser 906.
  • the laser 906 is used to generate an optical signal.
  • the communication device 90 may further include one or more memories 903, on which a computer program 904 may be stored, and the computer program may be run on the communication device 90, so that the communication device 90 implements the steps shown in FIGS. 5 to 8 Functions described in any embodiment.
  • the memory 903 may also store data.
  • the communication device 90 and the memory 903 can be provided separately or integrated together.
  • the processor 901 is used to implement the functions corresponding to the processing module in FIG. 5, or the processor 901 is used to implement the functions corresponding to the routing unit and the processing unit in FIG.
  • the transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 5.
  • the processor 901 is used to implement the function corresponding to the processing module in FIG. 6, or the processor 901 is used to implement the function corresponding to the processing unit and the multiplexing unit in FIG. 6.
  • the transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 6.
  • the processor 901 is used to implement the functions corresponding to the processing module in FIG.
  • the processor 901 is used to implement the functions corresponding to the demultiplexing unit and the processing unit in FIG. 7.
  • the transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 7.
  • the processor 901 is used to implement the functions corresponding to the processing module in FIG. 8, or the processor 901 is used to implement the functions corresponding to the processing unit, the multiplexing unit, and the laser driver unit in FIG. 8.
  • the transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 8.
  • the laser 906 is used to implement the function corresponding to the laser module in FIG. 8.
  • the processor 901 may include a transceiver for implementing receiving and sending functions.
  • the transceiver may be a transceiver circuit, or an interface, or an interface circuit.
  • the transceiver circuits, interfaces, or interface circuits used to implement the receiving and transmitting functions can be separate or integrated.
  • the foregoing transceiver circuit, interface, or interface circuit can be used for code/data reading and writing, or the foregoing transceiver circuit, interface, or interface circuit can be used for signal transmission or transmission.
  • the processor 901 may store a computer program 905, and the computer program 905 runs on the processor 901 to enable the communication device 90 to implement the functions described in any of the embodiments in FIGS. 5 to 8.
  • the computer program 905 may be solidified in the processor 901.
  • the processor 901 may be implemented by hardware.
  • the communication device 90 may include a circuit, and the circuit may implement the sending or receiving or communication function in the foregoing method embodiment.
  • the processor and transceiver described in this application can be implemented in integrated circuit (IC), analog IC, radio frequency integrated circuit RFIC, mixed signal IC, application specific integrated circuit (ASIC), printed circuit board ( printed circuit board, PCB), electronic equipment, etc.
  • the processor and transceiver can also be manufactured by various IC process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS nMetal-oxide-semiconductor
  • PMOS P-type Metal oxide semiconductor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon germanium
  • GaAs gallium arsenide
  • the communication device described in the above embodiment may be an ONT or an OLT, but the scope of the communication device described in this application is not limited to this, and the structure of the communication device may not be limited by FIG. 9.
  • the communication device may be a stand-alone device or may be part of a larger device.
  • the communication device may be:
  • the IC collection may also include storage components for storing data and computer programs;
  • ASIC such as a modem (Modem)
  • the communication device can be a chip or a chip system
  • the chip shown in FIG. 10 includes a processor 1001 and an interface 1002.
  • the number of processors 1001 may be one or more, and the number of interfaces 1002 may be more than one.
  • the interface 1002 is used to implement the functions corresponding to the communication module in FIG. 5 or FIG. 7.
  • the processor 1001 is configured to implement functions corresponding to the processing modules in FIG. 5 or FIG. 7.
  • the interface 1002 is used to implement the functions corresponding to the communication module in FIG. 6 or FIG. 8.
  • the processor 1001 is configured to implement functions corresponding to the processing modules in FIG. 6 or FIG. 9.
  • the chip further includes a memory 1003, and the memory 1003 is used to store necessary computer programs and data.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer-readable storage medium is executed by a computer, the function of any of the foregoing method embodiments is realized.
  • This application also provides a computer program product, which, when executed by a computer, realizes the functions of any of the foregoing method embodiments.
  • the computer program product includes one or more computer programs.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer program may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer program may be downloaded from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk, SSD)) etc.
  • At least one in this application can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in this application.
  • the technical feature is distinguished by “first”, “second”, “third”, “A”, “B”, “C”, and “D”, etc.
  • first”, “Second”, “Third”, “A”, “B”, “C” and “D” there is no order or size order among the technical features.
  • the corresponding relationships shown in the tables in this application can be configured or pre-defined.
  • the value of the information in each table is only an example, and can be configured to other values, which is not limited in this application.
  • the corresponding relationship shown in some rows may not be configured.
  • appropriate deformation adjustments can be made based on the above table, such as splitting, merging, and so on.
  • the names of the parameters shown in the titles in the above tables may also be other names that can be understood by the communication device, and the values or expressions of the parameters may also be other values or expressions that can be understood by the communication device.
  • other data structures can also be used, such as arrays, queues, containers, stacks, linear tables, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables, or hash tables. Wait.
  • the pre-definition in this application can be understood as definition, pre-definition, storage, pre-storage, pre-negotiation, pre-configuration, curing, or pre-fired.

Abstract

Disclosed in the embodiments of the present application are a multiplexing-based channel identification method and an apparatus therefor. The method comprises that: an optical network terminal (ONT) receives a multiplexed bit stream from an optical network unit OLT, and processes the multiplexed bit stream to obtain multiple channels of bit streams, wherein for each channel of a bit stream among the multiple channels of bit streams, the bit stream comprises first indication information, and the first indication information is used to determine a channel corresponding to said bit stream; the ONT determines a channel corresponding to the ONT; and the ONT determines a target bit stream from among the multiple channels of bit streams, wherein a channel corresponding to the target bit stream is the same as the channel corresponding to the ONT. By means of implementing the embodiments of the present application, the channel corresponding to the bit stream may be accurately determined.

Description

基于多路复用的通道识别方法及其装置Channel identification method and device based on multiplexing
本申请要求于2020年3月31日提交中国国家知识产权局、申请号为202010249297.0、发明名称为“基于多路复用的通道识别方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China, the application number is 202010249297.0, and the invention title is "Multiplex-based channel identification method and device" on March 31, 2020, and its entire content Incorporated in this application by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种基于多路复用的通道识别方法及其装置。This application relates to the field of communication technology, and in particular to a method and device for channel identification based on multiplexing.
背景技术Background technique
时分波分的光接入系统(time and wavelength division multiple optical access system,TWDM OAS)可以有效解决时分复用无源光网络(time division multiplexing passive optical network,TDM PON)的流氓光网络终端(optical network terminal,ONT)问题。PON属于时分复用,正常情况下,ONT根据光线路终端(optical line termination,OLT)分配的时间戳发送上行数据包。若某个ONT在没有分配时间戳的情况下发光,则会与其他ONT的发光信号发生冲突。其中,不按照分配的时间戳发送上行光信号的ONT即为流氓ONT(rogue ONT)。Time and wavelength division optical access system (time and wavelength division multiple optical access system, TWDM OAS) can effectively solve the time division multiplexing passive optical network (time division multiplexing passive optical network, TDM PON) rogue optical network terminal (optical network) terminal, ONT) problem. PON belongs to time division multiplexing. Normally, the ONT sends upstream data packets according to the timestamp assigned by the optical line termination (OLT). If a certain ONT emits light without a time stamp assigned, it will conflict with the light-emitting signals of other ONTs. Among them, the ONT that does not send the upstream optical signal according to the assigned timestamp is a rogue ONT (rogue ONT).
TWDM OAS的基本原理如下:OLT下行方向上,复用模块接收来自处理模块的多路下行数据帧的比特(bit)流,通过比特交织方式,将该多路下行比特流复接成一个高速下行比特流,并将该高速下行比特流发送至激光器驱动器。激光器驱动器接收到该高速比特流后,驱动激光器发光,承载高速比特流的下行光信号进入合/分波器。该合/分波器在下行方向把下行光信号耦合进主干光纤。The basic principle of TWDM OAS is as follows: In the OLT downstream direction, the multiplexing module receives the bit stream of multiple downstream data frames from the processing module, and multiplexes the multiple downstream bit streams into a high-speed downstream through bit interleaving. Bit stream, and send the high-speed downstream bit stream to the laser driver. After receiving the high-speed bit stream, the laser driver drives the laser to emit light, and the downstream optical signal carrying the high-speed bit stream enters the combiner/demultiplexer. The combiner/demultiplexer couples the downstream optical signal into the backbone fiber in the downstream direction.
ONT下行方向上,合/分波器从主干光纤中接收下行光信号后,把下行光信号分离出来输出给ONT下行高速接收模块。下行高速接收模块把下行光信号转换为电信号(即下行高速数据比特流),然后再输出给解复用模块。解复用模块按比特解交织的方式将下行高速数据比特流恢复为多路下行比特流,然后提取出一路下行比特流给处理模块。In the ONT downstream direction, after the combiner/demultiplexer receives the downstream optical signal from the backbone fiber, it separates the downstream optical signal and outputs it to the ONT downstream high-speed receiving module. The downstream high-speed receiving module converts the downstream optical signal into an electrical signal (ie, downstream high-speed data bit stream), and then outputs it to the demultiplexing module. The demultiplexing module restores the downstream high-speed data bit stream to multiple downstream bit streams in a bit de-interleaving manner, and then extracts one downstream bit stream to the processing module.
但是,ONT侧无法确定比特解交织之后得到的下行比特流所对应的通道。并且ONT只能提取某一通道对应的比特流,因此,在ONT侧如何确定比特流对应的通道是亟待解决的技术问题。However, the ONT side cannot determine the channel corresponding to the downstream bit stream obtained after bit deinterleaving. In addition, the ONT can only extract the bit stream corresponding to a certain channel. Therefore, how to determine the channel corresponding to the bit stream on the ONT side is a technical problem to be solved urgently.
发明内容Summary of the invention
本申请实施例提供一种基于多路复用的通道识别方法及其装置,可以准确确定比特流对应的通道。The embodiments of the present application provide a method and device for channel identification based on multiplexing, which can accurately determine the channel corresponding to the bit stream.
第一方面,本申请实施例提供了一种基于多路复用的通道识别方法,该方法包括:ONT接收来自OLT的复用比特流,并对该复用比特流进行处理,得到多路比特流;针对该多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;ONT确定该ONT对应的通道;ONT从多路比特流中确定目标比特流;该目标比特流对应的通道与该ONT对应的通道相同。In the first aspect, an embodiment of the present application provides a multiplexing-based channel identification method. The method includes: an ONT receives a multiplexed bit stream from an OLT, and processes the multiplexed bit stream to obtain a multiplexed bit stream. Stream; For each bit stream in the multi-channel bit stream, the bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the ONT determines the channel corresponding to the ONT; Determine the target bit stream in the channel bit stream; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
在该技术方案中,通过在每路比特流中携带第一指示信息,使得ONT可以根据比特流中的第一指示信息准确地确定该比特流对应的通道。进一步,有利于ONT获取所需的目标比特流。In this technical solution, by carrying the first indication information in each bit stream, the ONT can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream. Further, it is beneficial for the ONT to obtain the required target bit stream.
在一种实现方式中,ONT确定该ONT对应的通道的具体实施方式可以为:ONT从多路比特流中确定第一比特流;该第一比特流还包括ONT标识与通道标识之间的对应关系;ONT根据ONT标识与通道标识之间的对应关系,以及该ONT的标识,确定该ONT对应的通道。In an implementation manner, the specific implementation manner for the ONT to determine the channel corresponding to the ONT may be: the ONT determines the first bitstream from the multiple bitstreams; the first bitstream also includes the correspondence between the ONT identifier and the channel identifier Relationship: The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identification and the channel identification, and the identification of the ONT.
在一种实现方式中,ONT对应有默认通道;该第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在该技术方案中,当OLT对应的各个ONT的默认通道相同时,各个ONT均可以通过第一比特流中携带的对应关系,确定各个ONT对应的通道。通过这种方式,有利于提高第一比特流的利用率。In this technical solution, when the default channel of each ONT corresponding to the OLT is the same, each ONT can determine the channel corresponding to each ONT through the corresponding relationship carried in the first bit stream. In this way, it is beneficial to improve the utilization of the first bit stream.
在一种实现方式中,ONT未对应有默认通道;ONT从多路比特流中确定第一比特流的具体实施方式可以为:将多路比特流中的任一路比特流确定为第一比特流;多路比特流中的每路比特流均包括前述ONT标识与通道标识之间的对应关系。In an implementation manner, the ONT does not correspond to the default channel; the specific implementation manner for the ONT to determine the first bitstream from the multiple bitstreams may be: determining any one of the multiple bitstreams as the first bitstream ; Each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned ONT identifier and the channel identifier.
在该技术方案中,一方面,ONT不用接入默认通道,也能获取ONT标识与通道标识之间的对应关系,进而确定该ONT对应的通道;另一方面,该ONT可以将多路比特流中的任一路比特流确定为第一比特流。因此,通过这种方式,有利于提高确定ONT对应的通道的效率。In this technical solution, on the one hand, the ONT does not need to access the default channel, but can also obtain the correspondence between the ONT ID and the channel ID, and then determine the channel corresponding to the ONT; on the other hand, the ONT can stream multiple bit streams. Any bit stream in is determined as the first bit stream. Therefore, in this way, it is beneficial to improve the efficiency of determining the channel corresponding to the ONT.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的ONT,该OLT对应的ONT包括前述ONT。In an implementation manner, the first bitstream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, the first broadcast information is applicable to the ONT corresponding to the OLT, and the corresponding The ONT includes the aforementioned ONT.
在该技术方案中,ONT标识与通道标识之间的对应关系包括于第一广播信息中,且该第一广播信息适用于OLT对应的ONT可以表示:OLT对应的各个ONT均可以接收到该第一广播信息,OLT对应的各个ONT接收到该第一广播信息之后,均可以通过解析该第一广播信息,以得到该对应关系。In this technical solution, the correspondence between the ONT identifier and the channel identifier is included in the first broadcast information, and the first broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the first broadcast information. For broadcast information, after each ONT corresponding to the OLT receives the first broadcast information, the corresponding relationship can be obtained by analyzing the first broadcast information.
在一种实现方式中,该方法还包括:ONT根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道;该第二比特流为多路比特流中的任一路比特流;若第二比特流对应的通道与ONT对应的通道不同,则触发所述从多路比特流中确定目标比特流的步骤。In an implementation manner, the method further includes: the ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any one of the multiple bit streams Stream; if the channel corresponding to the second bit stream is different from the channel corresponding to the ONT, the step of determining the target bit stream from the multiple bit streams is triggered.
在一种实现方式中,多路比特流中比特流的位置之间具有顺序关系;ONT从多路比特流中确定目标比特流的具体实施方式可以为:ONT根据第二比特流对应的通道和该ONT对应的通道,确定目标比特流相对该第二比特流的位置信息;并根据该标比特流相对该二比特流的位置信息,从多路比特流中确定该标比特流。In an implementation manner, the positions of the bitstreams in the multiple bitstreams have a sequential relationship; the specific implementation manner for the ONT to determine the target bitstream from the multiple bitstreams may be: the ONT according to the channel and the corresponding channel of the second bitstream The channel corresponding to the ONT determines the position information of the target bit stream relative to the second bit stream; and determines the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the two bit stream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于OLT对应的ONT,该OLT对应的ONT包括前述ONT。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable For the ONT corresponding to the OLT, the ONT corresponding to the OLT includes the aforementioned ONT.
在该技术方案中,第一指示信息包括于第二广播信息中,且该第二广播信息适用于OLT对应的ONT可以表示:OLT对应的各个ONT均可以接收到该第二广播信息,OLT对应的各个ONT接收到该第二广播信息之后,均可以通过解析该第二广播信息,以得到第二广播信息中的第一指示信息。In this technical solution, the first indication information is included in the second broadcast information, and the second broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the second broadcast information, and the OLT corresponds to After receiving the second broadcast information, each of the ONTs can parse the second broadcast information to obtain the first indication information in the second broadcast information.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,该比特流包括多个第二广播信息。In an implementation manner, for each bit stream in the multiple bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information. The stream includes a plurality of second broadcast information.
在该技术方案中,当一路比特流中承载有多个第二广播信息时,有利于确保ONT可以成功获取到第二广播信息。In this technical solution, when a bit stream carries multiple second broadcast information, it is beneficial to ensure that the ONT can successfully obtain the second broadcast information.
在一种实现方式中,该方法还包括:ONT根据第二比特流包括的第一指示信息,确定多 路比特流中的每路比特流对应的通道;该第二比特流为多路比特流中的任一路比特流。In an implementation manner, the method further includes: the ONT determines the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream; the second bit stream is the multi-channel bit stream Any bit stream in.
在一种实现方式中,ONT根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道的具体实施方式可以为:In an implementation manner, the specific implementation manner for the ONT to determine the channel corresponding to each bitstream in the multiple bitstreams according to the first indication information included in the second bitstream may be:
针对所述多路比特流中的每路比特流,所述ONT根据该比特流包括的第一指示信息,确定该比特流对应的通道。For each bitstream in the multiple bitstreams, the ONT determines the channel corresponding to the bitstream according to the first indication information included in the bitstream.
在一种实现方式中,ONT根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道的具体实施方式可以为:ONT根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道;针对多路比特流中除该第二比特流以外的每路比特流,ONT根据该第二比特流对应的通道,确定除第二比特流以外的每路比特流对应的通道。In an implementation manner, the specific implementation manner for the ONT to determine the channel corresponding to each bitstream in the multiple bitstreams according to the first indication information included in the second bitstream may be as follows: An indication information to determine the channel corresponding to the second bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, the ONT determines the other bit stream according to the channel corresponding to the second bit stream The channel corresponding to each bit stream other than that.
在一种实现方式中,该方法还包括:若第一比特流对应的通道与所述ONT对应的通道不同,则触发所述从多路比特流中确定目标比特流的步骤。In an implementation manner, the method further includes: if the channel corresponding to the first bit stream is different from the channel corresponding to the ONT, triggering the step of determining the target bit stream from the multiple bit streams.
在一种实现方式中,多路比特流中比特流的位置之间具有顺序关系;ONT从多路比特流中确定目标比特流的具体实施方式可以为:ONT根据第一比特流对应的通道和ONT对应的通道,确定目标比特流相对第一比特流的位置信息;并根据该目标比特流相对该第一比特流的位置信息,从多路比特流中确定该目标比特流。In an implementation manner, the positions of the bitstreams in the multiple bitstreams have an order relationship; the specific implementation manner for the ONT to determine the target bitstream from the multiple bitstreams may be: the ONT according to the channel and the corresponding channel of the first bitstream The channel corresponding to the ONT determines the position information of the target bit stream relative to the first bit stream; and according to the position information of the target bit stream relative to the first bit stream, the target bit stream is determined from the multiple bit streams.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在该技术方案中,相较于解析第二广播信息(即ploam消息),ONT确定数据帧的帧头信息的速度更快,因此,通过帧头信息确定比特流对应的通道,有利于提高确定比特流对应的通道的效率。In this technical solution, compared to parsing the second broadcast information (ie ploam message), the ONT determines the frame header information of the data frame faster. Therefore, determining the channel corresponding to the bit stream through the frame header information is beneficial to improve the determination. The efficiency of the channel corresponding to the bitstream.
在一种实现方式中,ONT包括处理模块,该方法还包括:In an implementation manner, the ONT includes a processing module, and the method further includes:
ONT获取所述处理模块的能力信息;若该能力信息指示该处理模块不具备解析用于组成第一比特流的数据帧的帧头信息的能力,则该ONT对用于组成该第一比特流的数据帧的帧头信息进行转换,该处理模块具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。The ONT obtains the capability information of the processing module; if the capability information indicates that the processing module does not have the ability to parse the header information of the data frame used to compose the first bit stream, the ONT pair is used to compose the first bit stream The header information of the data frame is converted, and the processing module has the ability to analyze the header information of the converted data frame for composing the first bit stream.
在该技术方案中,处理模块可能不具备解析非预设帧头信息对应的数据帧的能力。在处理设备的能力信息指示该处理模块不具备解析用于组成第一比特流的数据帧的帧头信息的能力,对用于组成该第一比特流的数据帧的帧头信息进行转换,可以该处理模块具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。通过这种方式,可以确保ONT可以解析得到ONT标识与通道标识之间的对应关系。In this technical solution, the processing module may not have the ability to analyze data frames corresponding to non-preset frame header information. The capability information of the processing device indicates that the processing module does not have the ability to parse the header information of the data frame used to compose the first bit stream, and convert the header information of the data frame used to compose the first bit stream. The processing module has the ability to analyze the header information of the converted data frame used to compose the first bit stream. In this way, it can be ensured that the ONT can resolve the correspondence between the ONT identifier and the channel identifier.
第二方面,本申请实施例提供了另一种基于多路复用的通道识别方法,该方法包括:OLT生成多路数据流,对该多路比特流进行处理,得到一路复用比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;该OLT将该复用比特流传输至该OLT对应的ONT。In the second aspect, an embodiment of the present application provides another multiplexing-based channel identification method. The method includes: an OLT generates multiple data streams, and processes the multiple bit streams to obtain a multiplexed bit stream; For each bit stream in the multi-channel bit stream, the bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the OLT transmits the multiplexed bit stream to the corresponding OLT ONT.
在该技术方案中,通过在每路比特流中携带第一指示信息,有利于ONT根据比特流中的第一指示信息准确地确定该比特流对应的通道。In this technical solution, by carrying the first indication information in each bit stream, it is beneficial for the ONT to accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream.
在一种实现方式中,多路比特流中的第一比特流还包括ONT标识与通道标识之间的对应关系。In an implementation manner, the first bit stream in the multi-channel bit stream further includes a corresponding relationship between the ONT identifier and the channel identifier.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在该技术方案中,当OLT对应的各个ONT的默认通道相同时,各个ONT均可以通过第一比特流中携带的对应关系,确定各个ONT对应的通道。通过这种方式,有利于提高第一比特流的利用率。In this technical solution, when the default channel of each ONT corresponding to the OLT is the same, each ONT can determine the channel corresponding to each ONT through the corresponding relationship carried in the first bit stream. In this way, it is beneficial to improve the utilization of the first bit stream.
在一种实现方式中,ONT未对应有默认通道;第一比特流为多路比特流中的任一路比特流,该多路比特流中的每路比特流均包括前述ONT标识与通道标识之间的对应关系。In one implementation, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
在该技术方案中,一方面,ONT不用接入默认通道,也能获取ONT标识与通道标识之间的对应关系,进而确定该ONT对应的通道;另一方面,该ONT可以将多路比特流中的任一路比特流确定为第一比特流。因此,通过这种方式,有利于提高确定ONT对应的通道的效率。In this technical solution, on the one hand, the ONT does not need to access the default channel, but can also obtain the correspondence between the ONT ID and the channel ID, and then determine the channel corresponding to the ONT; on the other hand, the ONT can stream multiple bit streams. Any bit stream in is determined as the first bit stream. Therefore, in this way, it is beneficial to improve the efficiency of determining the channel corresponding to the ONT.
在一种实现方式中,该第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to an ONT corresponding to the OLT.
在该技术方案中,ONT标识与通道标识之间的对应关系包括于第一广播信息中,且该第一广播信息适用于OLT对应的ONT可以表示:OLT对应的各个ONT均可以接收到该第一广播信息,OLT对应的各个ONT接收到该第一广播信息之后,均可以通过解析该第一广播信息,以得到该对应关系。In this technical solution, the correspondence between the ONT identifier and the channel identifier is included in the first broadcast information, and the first broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the first broadcast information. For broadcast information, after each ONT corresponding to the OLT receives the first broadcast information, the corresponding relationship can be obtained by analyzing the first broadcast information.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于OLT对应的ONT。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable ONT corresponding to the OLT.
在该技术方案中,第一指示信息包括于第二广播信息中,且该第二广播信息适用于OLT对应的ONT可以表示:OLT对应的各个ONT均可以接收到该第二广播信息,OLT对应的各个ONT接收到该第二广播信息之后,均可以通过解析该第二广播信息,以得到第二广播信息中的第一指示信息。In this technical solution, the first indication information is included in the second broadcast information, and the second broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the second broadcast information, and the OLT corresponds to After receiving the second broadcast information, each of the ONTs can parse the second broadcast information to obtain the first indication information in the second broadcast information.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,该比特流包括多个第二广播信息。In one implementation, for each bit stream in the multiple bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information, and the bit stream is composed of multiple data frames. The stream includes a plurality of second broadcast information.
在该技术方案中,当一路比特流中承载有多个第二广播信息时,有利于确保ONT可以成功获取到第二广播信息。In this technical solution, when a bit stream carries multiple second broadcast information, it is beneficial to ensure that the ONT can successfully obtain the second broadcast information.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在该技术方案中,相较于解析第二广播信息(即ploam消息),ONT确定数据帧的帧头信息的速度更快,因此,通过帧头信息确定比特流对应的通道,有利于提高确定比特流对应的通道的效率。In this technical solution, compared to parsing the second broadcast information (ie ploam message), the ONT determines the frame header information of the data frame faster. Therefore, determining the channel corresponding to the bit stream through the frame header information is beneficial to improve the determination. The efficiency of the channel corresponding to the bitstream.
在一种实现方式中,OLT生成多路数据流的具体实施方式可以为:OLT生成多路原始数据流;若用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则该OLT对用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流。In an implementation manner, the specific implementation manner for the OLT to generate multiple data streams may be: the OLT generates multiple original data streams; if it is used to form the frame header of the data frame of each original data stream in the multiple original data streams If the information is the same, the OLT converts the frame header information of the data frame used to form each original data stream in the multiple original data streams to obtain the multiple data streams.
第三方面,本申请实施例提供了一种通信装置,该通信装置具有实现上述第一方面所述的方法示例中ONT的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。In the third aspect, the embodiments of the present application provide a communication device that can implement part or all of the functions of the ONT in the method example described in the first aspect. The functions in all the embodiments may also have the function of independently implementing any of the embodiments in this application. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
在一种实现方式中,该通信装置的结构中可包括通信模块和处理模块,所述处理模块被配置为支持通信装置执行上述方法中相应的功能。所述通信模块用于支持通信装置与其他设备之间的通信。所述通信装置还可以包括存储模块,所述存储模块用于与处理模块和通信模块耦合,其保存通信装置必要的计算机程序和数据。In an implementation manner, the structure of the communication device may include a communication module and a processing module, and the processing module is configured to support the communication device to perform corresponding functions in the foregoing method. The communication module is used to support communication between the communication device and other devices. The communication device may further include a storage module for coupling with the processing module and the communication module, which stores computer programs and data necessary for the communication device.
在一种实现方式中,所述通信装置包括:In an implementation manner, the communication device includes:
通信模块,用于接收来自OLT的复用比特流;The communication module is used to receive the multiplexed bit stream from the OLT;
处理模块,用于对该复用比特流进行处理,得到多路比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processing module is used to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine the The channel corresponding to the bitstream;
处理模块,还用于确定通信装置对应的通道;从多路比特流中确定目标比特流;该目标比特流对应的通道与该通信装置对应的通道相同。The processing module is also used to determine the channel corresponding to the communication device; determine the target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device.
作为示例,处理模块可以为处理器,通信模块可以为收发器或通信接口,存储模块可以为存储器。As an example, the processing module may be a processor, the communication module may be a transceiver or a communication interface, and the storage module may be a memory.
在一种实现方式中,所述通信装置包括:In an implementation manner, the communication device includes:
收发器,用于接收来自OLT的复用比特流;Transceiver, used to receive the multiplexed bit stream from the OLT;
处理器,用于对该复用比特流进行处理,得到多路比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processor is configured to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine the The channel corresponding to the bitstream;
处理器,还用于确定通信装置对应的通道;从多路比特流中确定目标比特流;该目标比特流对应的通道与该通信装置对应的通道相同。The processor is also used to determine the channel corresponding to the communication device; determine the target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device.
在一种实现方式中,处理模块可以由选路单元和处理单元组成。其中,选路单元,可以用于从多路比特流中确定第二比特流,并将该第二比特流传输至处理单元;处理单元,用于根据该第二比特流中的第一指示信息,确定该第二比特流对应的通道;确定该通信装置对应的通道,若第二比特流对应的通道与通信装置对应的通道不同,则向选路单元发送第二指示信息,该第二指示信息用于确定目标比特流;选路单元,还用于根据该第二指示信息从多路比特流中确定该目标比特流,并将该目标比特流传输至处理单元;该目标比特流对应的通道与该通信装置对应的通道相同。In one implementation, the processing module may be composed of a routing unit and a processing unit. Wherein, the routing unit can be used to determine the second bit stream from the multiple bit streams and transmit the second bit stream to the processing unit; the processing unit is used to determine the second bit stream according to the first indication information in the second bit stream , Determine the channel corresponding to the second bit stream; determine the channel corresponding to the communication device, and if the channel corresponding to the second bit stream is different from the channel corresponding to the communication device, send second indication information to the routing unit, the second indication The information is used to determine the target bit stream; the routing unit is also used to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit; the target bit stream corresponds to The channel is the same as the channel corresponding to the communication device.
在一种实现方式中,多路比特流中的第一比特流还可以包括通信装置标识与通道标识之间的对应关系。选路单元,还可以用于从多路比特流中确定第一比特流,并将该第一比特流传输至处理单元。处理单元用于确定通信装置对应的通道时,具体可以用于:根据通信装置标识与通道标识之间的对应关系,以及前述通信装置的标识,确定该通信装置对应的通道。In an implementation manner, the first bit stream in the multi-channel bit stream may further include a correspondence between the communication device identifier and the channel identifier. The routing unit may also be used to determine the first bit stream from the multiple bit streams, and transmit the first bit stream to the processing unit. When the processing unit is used to determine the channel corresponding to the communication device, it can be specifically used to determine the channel corresponding to the communication device according to the correspondence between the communication device identifier and the channel identifier, and the identifier of the aforementioned communication device.
在一种实现方式中,通信装置对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the communication device corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,通信装置未对应有默认通道;选路单元用于从多路比特流中确定第一比特流时,具体用于:将多路比特流中的任一路比特流确定为第一比特流;多路比特流中的每路比特流均包括前述通信装置标识与通道标识之间的对应关系。In an implementation manner, the communication device does not correspond to a default channel; when the routing unit is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams as The first bit stream; each bit stream in the multi-channel bit stream includes the correspondence between the aforementioned communication device identifier and the channel identifier.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息包括前述通信装置标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括前述通信装置。In an implementation manner, the first bitstream may include first broadcast information, the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier, and the first broadcast information is applicable to the communication device corresponding to the OLT, The communication device corresponding to the OLT includes the aforementioned communication device.
在一种实现方式中,第二指示信息可以包括第二比特流对应的通道的标识以及前述通信装置对应的通道的标识;选路单元用于根据第二指示信息从多路比特流中确定所述目标比特流时,具体可以用于:根据该第二比特流对应的通道的标识以及前述通信装置对应的通道的标识,从多路比特流中确定目标比特流。In an implementation manner, the second indication information may include the identification of the channel corresponding to the second bit stream and the identification of the channel corresponding to the aforementioned communication device; When the target bitstream is described, it can be specifically used to determine the target bitstream from the multiple bitstreams according to the identifier of the channel corresponding to the second bitstream and the identifier of the channel corresponding to the aforementioned communication device.
在一种实现方式中,多路比特流中比特流的位置可以之间具有顺序关系,第二指示信息可以包括目标比特流相对第二比特流的位置信息;选路单元用于根据第二指示信息从多路比特流中确定目标比特流时,具体用于:根据该目标比特流相对该第二比特流的位置信息,从多路比特流中确定该目标比特流。In an implementation manner, the positions of the bitstreams in the multiple bitstreams may have an order relationship, and the second indication information may include position information of the target bitstream relative to the second bitstream; the routing unit is configured to follow the second indication When the information determines the target bit stream from the multiple bit streams, it is specifically used to determine the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the second bit stream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括前述通信装置。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable For the communication device corresponding to the OLT, the communication device corresponding to the OLT includes the aforementioned communication device.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,一路比特流可以包括多个第二广播信息。In one implementation, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information. The stream may include multiple second broadcast information.
在另一种实现方式中,处理模块可以由解复用单元和处理单元组成。其中,解复用单元,用于获取复用比特流,并对该复用比特流进行处理,得到多路比特流;解复用单元,还用于根据多路比特流中的第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道;从多路比特流中确定第一比特流;将第一比特流传输至处理单元;该第一比特流还包括通信装置标识与通道标识之间的对应关系;第二比特流为多路比特流中的任一路比特流;处理单元,用于根据通信装置标识与通道标识之间的对应关系,以及该通信装置的标识,确定该通信装置对应的通道;向解复用单元发送第二指示信息,该第二指示信息用于确定目标比特流;目标比特流为通信装置所需的比特流;处理单元还可以用于对来自解复用单元的第一比特流进行解析,得到该第一比特流携带的通信装置标识与通道标识之间的对应关系;解复用单元,还用于根据该第二指示信息从多路比特流中确定该目标比特流,并将该目标比特流传输至处理单元;目标比特流对应的通道与通信装置对应的通道相同。In another implementation manner, the processing module may be composed of a demultiplexing unit and a processing unit. Among them, the demultiplexing unit is used to obtain the multiplexed bit stream and process the multiplexed bit stream to obtain the multiple bit stream; the demultiplexing unit is also used to obtain the multiple bit stream according to the second bit stream The included first indication information determines the channel corresponding to each bit stream in the multi-channel bit stream; determines the first bit stream from the multi-channel bit stream; transmits the first bit stream to the processing unit; the first bit stream is also Including the correspondence between the communication device identifier and the channel identifier; the second bit stream is any one of the multiple bit streams; the processing unit is used to determine the correspondence between the communication device identifier and the channel identifier, and the communication The identifier of the device determines the channel corresponding to the communication device; sends second indication information to the demultiplexing unit, where the second indication information is used to determine the target bit stream; the target bit stream is the bit stream required by the communication device; the processing unit also It can be used to parse the first bit stream from the demultiplexing unit to obtain the corresponding relationship between the communication device identifier and the channel identifier carried in the first bit stream; the demultiplexing unit is also used to follow the second instruction The information determines the target bit stream from the multiple bit streams, and transmits the target bit stream to the processing unit; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device.
在一种实现方式中,通信装置对应有默认通道;第一比特流可以为该默认通道对应的比特流。In an implementation manner, the communication device corresponds to a default channel; the first bit stream may be a bit stream corresponding to the default channel.
在一种实现方式中,通信装置未对应有默认通道;解复用单元用于从多路比特流中确定第一比特流时,具体用于:将多路比特流中的任一路比特流确定为第一比特流;多路比特流中的每路比特流均包括前述通信装置标识与通道标识之间的对应关系。In an implementation manner, the communication device does not correspond to a default channel; when the demultiplexing unit is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams It is the first bit stream; each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息包括前述通信装置标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括前述通信装置。In an implementation manner, the first bitstream may include first broadcast information, the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier, and the first broadcast information is applicable to the communication device corresponding to the OLT, The communication device corresponding to the OLT includes the aforementioned communication device.
在一种实现方式中,解复用单元还用于向处理单元发送第三指示信息,该第三指示信息用于指示第一比特流对应的通道;处理单元用于向解复用单元发送第二指示信息时,具体用于:若第一比特流对应的通道与前述通信装置对应的通道不同,则向解复用单元发送第二指示信息。In an implementation manner, the demultiplexing unit is further used to send third indication information to the processing unit, the third indication information is used to indicate the channel corresponding to the first bit stream; the processing unit is used to send the first bit stream to the demultiplexing unit The second indication information is specifically used for: if the channel corresponding to the first bit stream is different from the channel corresponding to the aforementioned communication device, sending the second indication information to the demultiplexing unit.
在一种实现方式中,第二指示信息可以包括通信装置对应的通道的标识;解复用单元用于根据第二指示信息从多路比特流中确定目标比特流时,具体用于:从多路比特流中确定目标比特流,该目标比特流对应的通道的标识与通信装置对应的通道的标识相同。In an implementation manner, the second indication information may include the identifier of the channel corresponding to the communication device; when the demultiplexing unit is used to determine the target bit stream from the multiple bit streams according to the second indication information, it is specifically used to: A target bit stream is determined in the channel bit stream, and the identifier of the channel corresponding to the target bit stream is the same as the identifier of the channel corresponding to the communication device.
在一种实现方式中,多路比特流中比特流的位置可以之间具有顺序关系,第二指示信息可以包括目标比特流相对第一比特流的位置信息;解复用单元用于根据第二指示信息从多路比特流中确定目标比特流时,具体用于:根据该目标比特流相对该第一比特流的位置信息,从多路比特流中确定该目标比特流。In an implementation manner, the positions of the bit streams in the multiple bit streams may have an order relationship, and the second indication information may include position information of the target bit stream relative to the first bit stream; the demultiplexing unit is used to When the instruction information determines the target bit stream from the multiple bit streams, it is specifically used to determine the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the first bit stream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在一种实现方式中,解复用单元还用于获取处理单元的能力信息;若该能力信息指示该处理单元不具备解析用于组成第一比特流的数据帧的帧头信息的能力,则对用于组成该第一比特流的数据帧的帧头信息进行转换,该处理单元具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。In an implementation manner, the demultiplexing unit is also used to obtain capability information of the processing unit; if the capability information indicates that the processing unit does not have the ability to parse the header information of the data frame used to compose the first bit stream, then Converting the frame header information of the data frame used to compose the first bit stream, and the processing unit has the ability to analyze the converted frame header information of the data frame used to compose the first bit stream.
在一种实现方式中,解复用单元用于根据多路比特流中的第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道时,具体用于:针对所述多路比特流中的每路比特流,根据该比特流包括的第一指示信息,确定该比特流对应的通道。In an implementation manner, when the demultiplexing unit is used to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream, it is specifically used for : For each bit stream in the multi-channel bit stream, determine the channel corresponding to the bit stream according to the first indication information included in the bit stream.
在一种实现方式中,解复用单元用于根据多路比特流中的第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道时,具体用于:根据多路比特流中的第二比特流包括的第一指示信息,确定该第二比特流对应的通道;针对多路比特流中除该第二比特流以外的每路比特流,根据该第二比特流对应的通道,确定该比特流对应的通道。In an implementation manner, when the demultiplexing unit is used to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream, it is specifically used for : Determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, according to the The channel corresponding to the second bitstream determines the channel corresponding to the bitstream.
第四方面,本申请实施例提供了另一种通信装置,该通信装置具有实现上述第二方面所述的方法示例中OLT的部分或全部功能,比如通信装置的功能可具备本申请中的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。In the fourth aspect, the embodiments of the present application provide another communication device that can implement part or all of the functions of the OLT in the method example described in the second aspect. Or the functions in all the embodiments may also have the function of independently implementing any of the embodiments in this application. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
在一种实现方式中,该通信装置的结构中可包括处理模块和通信模块,所述处理模块被配置为支持通信装置执行上述方法中相应的功能。所述通信模块用于支持通信装置与其他设备之间的通信。所述通信装置还可以包括存储模块,所述存储模块用于与处理模块和通信模块耦合,其保存通信装置必要的计算机程序和数据。In an implementation manner, the structure of the communication device may include a processing module and a communication module, and the processing module is configured to support the communication device to perform corresponding functions in the foregoing method. The communication module is used to support communication between the communication device and other devices. The communication device may further include a storage module for coupling with the processing module and the communication module, which stores computer programs and data necessary for the communication device.
在一种实现方式中,所述通信装置包括:In an implementation manner, the communication device includes:
处理模块,用于生成多路数据流,对该多路比特流进行处理,得到一路复用比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processing module is used to generate multiple data streams and process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the second bit stream An indication information is used to determine the channel corresponding to the bit stream;
通信模块,用于将该复用比特流传输至通信装置对应的光网络终端ONT。The communication module is used to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device.
作为示例,处理模块可以为处理器,通信模块可以为收发器或通信接口,存储模块可以为存储器。As an example, the processing module may be a processor, the communication module may be a transceiver or a communication interface, and the storage module may be a memory.
在一种实现方式中,所述通信装置包括:In an implementation manner, the communication device includes:
处理器,用于生成多路数据流,对该多路比特流进行处理,得到一路复用比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processor is used to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes first indication information, the first An indication information is used to determine the channel corresponding to the bit stream;
收发器,用于将该复用比特流传输至通信装置对应的光网络终端ONT。The transceiver is used to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device.
在一种实现方式中,处理模块可以由处理单元和复用单元组成。其中,处理单元,用于生成多路比特流,并将该多路比特流传输至复用单元;复用单元用于对该多路数据流进行处理,得到一路复用比特流。In an implementation manner, the processing module may be composed of a processing unit and a multiplexing unit. The processing unit is used to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit; the multiplexing unit is used to process the multiple data streams to obtain a multiplexed bit stream.
在一种实现方式中,多路比特流中的第一比特流还可以包括ONT标识与通道标识之间的对应关系。In an implementation manner, the first bit stream in the multi-channel bit stream may further include a corresponding relationship between the ONT identifier and the channel identifier.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,ONT未对应有默认通道;该第一比特流为多路比特流中的任一路比特流,多路比特流中的每路比特流均包括前述ONT标识与通道标识之间的对应关系。In one implementation, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于前述通信装置对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to the ONT corresponding to the aforementioned communication device.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于该通信装置对应的ONT。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable ONT corresponding to the communication device.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,该比特流包括多个第二广播信息。In one implementation, for each bit stream in the multiple bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information, and the bit stream is composed of multiple data frames. The stream includes a plurality of second broadcast information.
在另一种实现方式中,处理模块可以由处理单元、复用单元和激光器驱动器单元组成,通信装置还可以包括激光器模块。其中,处理单元,用于生成多路比特流,并将该多路比特流传输至复用单元;复用单元用于对该多路数据流进行处理,得到一路复用比特流,并将该复用比特流传输至激光器驱动器单元。激光器驱动器单元用于驱动激光器模块发光。激光器模块用于生成承载有复用比特流的光信号。通信模块用于将承载有复用比特流的光信号传输至ONT。In another implementation manner, the processing module may be composed of a processing unit, a multiplexing unit, and a laser driver unit, and the communication device may also include a laser module. Among them, the processing unit is used to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit; the multiplexing unit is used to process the multiple data streams to obtain a multiplexed bit stream and combine the multiple bit streams The multiplexed bit stream is transmitted to the laser driver unit. The laser driver unit is used to drive the laser module to emit light. The laser module is used to generate an optical signal carrying a multiplexed bit stream. The communication module is used to transmit the optical signal carrying the multiplexed bit stream to the ONT.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,ONT未对应有默认通道;第一比特流为多路比特流中的任一路比特流,多路比特流中的每路比特流均包括ONT标识与通道标识之间的对应关系。In one implementation manner, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes the difference between the ONT identifier and the channel identifier. Correspondence.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于前述通信装置对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to the ONT corresponding to the aforementioned communication device.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在一种实现方式中,复用单元用于获取多路数据流时,具体用于:获取多路原始数据流;若用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则对用于组成该多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流。In one implementation, when the multiplexing unit is used to obtain multiple data streams, it is specifically used to: obtain multiple original data streams; if used to form the data frame of each original data stream in the multiple original data streams If the frame header information is the same, the frame header information of the data frame used to form each original data stream in the multiple original data streams is converted to obtain the multiple data streams.
第五方面,本发明实施例提供了一种计算机可读存储介质,用于储存为上述ONT所用的计算机程序,所述计算机程序运行时,所述ONT执行上述第一方面的方法。In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing a computer program used by the foregoing ONT. When the computer program is running, the ONT executes the method of the foregoing first aspect.
第六方面,本发明实施例提供了一种计算机可读存储介质,用于储存为上述OLT所用的计算机程序,所述计算机程序运行时,所述OLT执行上述第二方面的方法。In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing a computer program used by the above-mentioned OLT. When the computer program is running, the OLT executes the method of the above-mentioned second aspect.
第七方面,本申请还提供了一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。In a seventh aspect, the present application also provides a computer program product including a computer program, which when running on a computer, causes the computer to execute the method described in the first aspect.
第八方面,本申请还提供了一种包括计算机程序的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。In an eighth aspect, this application also provides a computer program product including a computer program, which when running on a computer, causes the computer to execute the method described in the second aspect.
第九方面,本申请提供了一种芯片系统,该芯片系统包括至少一个处理器和接口,用于支持ONT实现第一方面所涉及的功能,例如,确定或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存ONT必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a ninth aspect, the present application provides a chip system that includes at least one processor and an interface, and is used to support the ONT to implement the functions involved in the first aspect, for example, to determine or process the data and data involved in the above methods. At least one of the information. In a possible design, the chip system further includes a memory, and the memory is used to store the necessary computer programs and data of the ONT. The chip system can be composed of chips, and can also include chips and other discrete devices.
第十方面,本申请提供了一种芯片系统,该芯片系统包括至少一个处理器和接口,用于 支持OLT实现第二方面所涉及的功能,例如,确定或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存OLT必要的计算机程序和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a tenth aspect, the present application provides a chip system that includes at least one processor and an interface, and is used to support the OLT to implement the functions involved in the second aspect, for example, to determine or process the data and data involved in the above methods. At least one of the information. In a possible design, the chip system further includes a memory, and the memory is used to store computer programs and data necessary for the OLT. The chip system can be composed of chips, and can also include chips and other discrete devices.
附图说明Description of the drawings
图1是本申请实施例提供的一种通信系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
图2a是本申请实施例提供的一种基于多路复用的通道识别方法的流程示意图;2a is a schematic flowchart of a multiplexing-based channel identification method provided by an embodiment of the present application;
图2b是本申请实施例提供的一种对比特流a、比特流b和比特流c进行比特交织处理的场景示意图;FIG. 2b is a schematic diagram of a scene for performing bit interleaving processing on bit stream a, bit stream b, and bit stream c according to an embodiment of the present application;
图2c是本申请实施例提供的一种GPON下行帧的格式示意图;FIG. 2c is a schematic diagram of the format of a GPON downlink frame provided by an embodiment of the present application;
图2d是本申请实施例提供的一种PLOAMd域的结构示意图;Figure 2d is a schematic diagram of the structure of a PLOAMd domain provided by an embodiment of the present application;
图3是本申请实施例提供的另一种基于多路复用的通道识别方法的流程示意图;FIG. 3 is a schematic flowchart of another multiplexing-based channel identification method provided by an embodiment of the present application;
图4是本申请实施例提供的又一种基于多路复用的通道识别方法的流程示意图;FIG. 4 is a schematic flowchart of yet another multiplexing-based channel identification method provided by an embodiment of the present application;
图5是本申请实施例提供的一种通信装置的结构示意图;FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图6是本申请实施例提供的另一种通信装置的结构示意图;Fig. 6 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图7是本申请实施例提供的又一种通信装置的结构示意图;FIG. 7 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图8是本申请实施例提供的又一种通信装置的结构示意图;FIG. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图9是本申请实施例提供的又一种通信装置的结构示意图;FIG. 9 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图10是本申请实施例提供的一种芯片的结构示意图。FIG. 10 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式Detailed ways
为了更好的理解本申请实施例提供的一种基于多路复用的通道识别方法,下面首先对本申请实施例适用的通信系统进行描述。In order to better understand the multiplexing-based channel identification method provided by the embodiment of the present application, the following first describes the communication system to which the embodiment of the present application is applicable.
请参见图1,图1是本申请实施例提供的一种通信系统的架构示意图。该通信系统可包括但不限于一个OLT和两个ONT,图1所示的设备数量和形态用于举例并不构成对本申请实施例的限定,实际应用中可以包括两个或两个以上的OLT,两个以上的ONT。图1所示的通信系统以包括一个OLT101和两个ONT102为例。Please refer to FIG. 1, which is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application. The communication system may include, but is not limited to, one OLT and two ONTs. The number and form of the equipment shown in FIG. 1 are used as examples and do not constitute a limitation to the embodiment of the present application. In actual applications, it may include two or more OLTs. , More than two ONTs. The communication system shown in FIG. 1 takes an OLT 101 and two ONTs 102 as an example.
其中,OLT101可以用于生成多路数据流,对多路比特流进行处理,得到一路复用比特流;并将该复用比特流传输至OLT101对应的两个ONT102。该多路比特流中的每路比特流均可以包括第一指示信息,比特流中的第一指示信息用于确定该比特流对应的通道。需要说明的是,OLT101将该复用比特流传输至OLT101对应的两个ONT102仅用于举例,并不构成对本申请实施例的限定。OLT101可以将复用比特流传输至该OLT对应的所有ONT。OLT对应的ONT可以指与该OLT通过光纤连接的ONT。在本申请实施例中,一个ONT对应一个通道,不同ONT对应不同的通道,一个通道对应一路比特流。以ONT1对应通道1为例,ONT1所需的比特流为通道1对应的比特流。OLT101生成的多路数据流可以包括该OLT101对应的ONT所需的比特流。由于每路比特流均包括用于确定该比特流对应的通道的第一指示信息,因此,ONT102根据比特流中的第一指示信息可以准确地确定比特流对应的通道。Among them, the OLT101 can be used to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; and transmit the multiplexed bit stream to the two ONTs 102 corresponding to the OLT101. Each bit stream in the multi-channel bit stream may include first indication information, and the first indication information in the bit stream is used to determine the channel corresponding to the bit stream. It should be noted that the transmission of the multiplexed bit stream by the OLT 101 to the two ONTs 102 corresponding to the OLT 101 is only for example, and does not constitute a limitation to the embodiment of the present application. The OLT 101 can transmit the multiplexed bit stream to all ONTs corresponding to the OLT. The ONT corresponding to the OLT may refer to the ONT connected to the OLT through an optical fiber. In the embodiment of the present application, one ONT corresponds to one channel, different ONTs correspond to different channels, and one channel corresponds to one bit stream. Taking ONT1 corresponding to channel 1 as an example, the bit stream required by ONT1 is the bit stream corresponding to channel 1. The multiple data streams generated by the OLT101 may include bit streams required by the ONT corresponding to the OLT101. Since each bit stream includes the first indication information for determining the channel corresponding to the bit stream, the ONT 102 can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream.
ONT102在接收到来自OLT101的复用比特流之后,可以对该复用比特流进行处理,得到前述多路比特流;并确定该ONT102对应的通道;从该多路比特流中确定目标比特流;该目标比特流对应的通道与该ONT102对应的通道相同。其中,目标比特流为ONT102所需的 比特流。After the ONT 102 receives the multiplexed bit stream from the OLT 101, it can process the multiplexed bit stream to obtain the aforementioned multiple bit stream; determine the channel corresponding to the ONT 102; determine the target bit stream from the multiple bit stream; The channel corresponding to the target bit stream is the same as the channel corresponding to the ONT 102. Among them, the target bit stream is the bit stream required by the ONT102.
需要说明的是,本申请实施例中提及的ONT还可以称为光网络单元(optical network unit,ONU)。还需要说明的是,本申请实施例提供的基于多路复用的通道识别方法可以应用于无源光网络(passive optical network,PON)。如国际电信联盟电信标准分局(international telecommunication union,telecommunication standardization sector,ITU-T)体系中的无源光网络,电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)体系中的无源光网络。ITU-T体系中的无源光网络可以包括但不限于:G比特无源光网络(Gigabit-capable passive optical networks,GPON)、10G比特无源光网络(10-Gigabit-capable passive optical networks,XG-PON)、对称无源光网络(10-Gigabit-capable symmetric passive optical network,XGS-PON)和时分波分无源光网络(time and wavelength division multiple passive optical networks,TWDM PON)。IEEE体系中的无源光网络可以包括但不限于:以太无源光网络(ethernet passive optical networks,EPON)和10G以太无源光网络(10Gbit/s ethernet passive optical networks,10G-EPON)。It should be noted that the ONT mentioned in the embodiment of this application may also be referred to as an optical network unit (ONU). It should also be noted that the multiplexing-based channel identification method provided in the embodiment of the present application can be applied to a passive optical network (PON). Such as the passive optical network in the International Telecommunication Union, telecommunication standardization sector (ITU-T) system, and the passive optical network in the Institute of Electrical and Electronics Engineers (IEEE) system . Passive optical networks in the ITU-T system can include, but are not limited to: Gigabit-capable passive optical networks (GPON), 10-Gigabit-capable passive optical networks (XG) -PON), symmetric passive optical network (10-Gigabit-capable symmetric passive optical network, XGS-PON) and time and wavelength division passive optical network (time and wavelength division multiple passive optical networks, TWDM PON). Passive optical networks in the IEEE system may include but are not limited to: Ethernet passive optical networks (EPON) and 10G Ethernet passive optical networks (10Gbit/s ethernet passive optical networks, 10G-EPON).
PON是一种纯介质网络,避免了外部设备的电磁干扰和雷电影响,减少线路和外部设备的故障率,提高了系统可靠性,同时节省了维护成本。PON is a pure medium network, which avoids electromagnetic interference and lightning effects of external equipment, reduces the failure rate of lines and external equipment, improves system reliability, and saves maintenance costs.
可以理解的是,本申请实施例描述的通信系统是为了更加清楚的说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。It is understandable that the communication system described in the embodiments of this application is to illustrate the technical solutions of the embodiments of this application more clearly, and does not constitute a limitation to the technical solutions provided in the embodiments of this application. Those skilled in the art will know that as the system With the evolution of architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
下面结合附图对本申请提供的基于多路复用的通道识别方法及数据传输装置进行详细地介绍。The multiplexing-based channel identification method and data transmission device provided by the present application will be described in detail below with reference to the accompanying drawings.
请参见图2a,图2a是本申请实施例提供的一种基于多路复用的通道识别方法的流程示意图。其中,步骤S201~步骤S202的执行主体为OLT,或者为OLT中的芯片,步骤S203~步骤S205的执行主体为ONT,或者为ONT中的芯片,以下以OLT、ONT为基于多路复用的通道识别方法的执行主体为例进行说明。如图2a所示,该方法可以包括但不限于如下步骤:Please refer to FIG. 2a, which is a schematic flowchart of a multiplexing-based channel identification method provided by an embodiment of the present application. Among them, the execution subject of steps S201 to S202 is the OLT, or the chip in the OLT, and the execution subject of steps S203 to S205 is the ONT, or the chip in the ONT. In the following, OLT and ONT are multiplexed-based The execution subject of the channel identification method is described as an example. As shown in Figure 2a, the method may include but is not limited to the following steps:
步骤S201:OLT生成多路数据流,对多路比特流进行处理,得到一路复用比特流;针对该多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道。Step S201: The OLT generates multiple data streams, processes the multiple bit streams, and obtains a multiplexed bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first The indication information is used to determine the channel corresponding to the bit stream.
其中,OLT生成的多路数据流可以包括该OLT对应的ONT所需的比特流。具体的,OLT可以对多路比特流进行比特交织处理,得到一路复用比特流。例如,当OLT生成3路比特流,3路比特流均包括n个比特,且3路比特流分别为比特流a(a1a2…an)、比特流b(b1b2…bn)和比特流c(c1c2…cn)时,对3路比特流进行比特交织处理的场景示意图可以如图2b所示。由图2b可知,比特交织处理后得到的复用比特流为:a1b1c1a2b2c2…anbncn。The multiple data streams generated by the OLT may include bit streams required by the ONT corresponding to the OLT. Specifically, the OLT may perform bit interleaving processing on multiple bit streams to obtain a multiplexed bit stream. For example, when the OLT generates 3 bit streams, all 3 bit streams include n bits, and the 3 bit streams are bit stream a(a1a2...an), bit stream b(b1b2...bn) and bit stream c(c1c2 …Cn), the schematic diagram of the scene of bit interleaving processing on 3 bit streams can be shown in Fig. 2b. It can be seen from Figure 2b that the multiplexed bit stream obtained after bit interleaving is: a1b1c1a2b2c2...anbncn.
在本申请实施例中,OLT可以包括一个或多个芯片。一个芯片可以用于生成一个或多个通道对应的比特流。本申请实施例以OLT包括多个芯片,一个芯片用于生成一个通道对应的比特流为例进行介绍。当OLT中的各个芯片之间同步时,各个芯片可以同步生成比特流。例如,当OLT包括用于生成比特流a对应的芯片a、用于生成比特流b对应的芯片b和用于生成比特流c对应的芯片c时,芯片a生成比特流a中的a1、芯片b生成比特流b中的b1、芯片c生成比特流c中的c1的时间相同。需要说明的是,图2b是以用于生成比特流a对应的 芯片、用于生成比特流b对应的芯片和用于生成比特流c对应的芯片之间同步为例。在其他可行的实现方式中,用于生成比特流a对应的芯片、用于生成比特流b对应的芯片和用于生成比特流c对应的芯片之间可以不同步。例如,当用于生成比特流a对应的芯片、用于生成比特流b对应的芯片和用于生成比特流c对应的芯片之间不同步时,对比特流a(a1a2…an)、比特流b(b1b2…bn)和比特流c(c1c2…cn)进行比特交织处理后得到的复用比特流可以为:a1b3…c9a2b4…n10……,或者aibj…ckai+1bj+1…ck+1……。其中,OLT中的各个芯片之间同步,与各个芯片对应的通道对齐的含义相同。In the embodiment of the present application, the OLT may include one or more chips. One chip can be used to generate bit streams corresponding to one or more channels. In the embodiment of the present application, the OLT includes multiple chips, and one chip is used to generate a bit stream corresponding to one channel as an example. When each chip in the OLT is synchronized, each chip can generate a bit stream synchronously. For example, when the OLT includes a chip a corresponding to bitstream a, a chip b corresponding to bitstream b, and a chip c corresponding to bitstream c, chip a generates a1 and chip in bitstream a. b generates b1 in bitstream b1 and chip c generates c1 in bitstream c at the same time. It should be noted that Fig. 2b is an example of synchronization between the chip used to generate bit stream a, the chip used to generate bit stream b, and the chip used to generate bit stream c. In other feasible implementation manners, the chip corresponding to bitstream a, the chip corresponding to bitstream b, and the chip corresponding to bitstream c may not be synchronized. For example, when the chip corresponding to bitstream a, the chip corresponding to bitstream b, and the chip corresponding to bitstream c are not synchronized, the bitstream a(a1a2...an), bitstream The multiplexed bit stream obtained by bit interleaving b(b1b2...bn) and bit stream c(c1c2...cn) can be: a1b3...c9a2b4...n10..., or aibj...ckai+1bj+1...ck+1... …. Among them, the synchronization between the various chips in the OLT has the same meaning as the channel alignment corresponding to each chip.
需要说明的是,相较于比特交织处理之前的比特流,比特交织处理之后的比特流(即复用比特流)的传输速率更高。例如,若OLT生成N路比特流,且每路比特流的速率为2.488Gbps,则对N路比特流进行比特交织处理后得到的复用比特流的速率为N*2.488Gbps。可选的,可以将比特交织处理之前的比特流称为低速比特流,将比特交织处理之后的比特流称为高速比特流。It should be noted that, compared with the bit stream before the bit interleaving processing, the bit stream after the bit interleaving processing (that is, the multiplexed bit stream) has a higher transmission rate. For example, if the OLT generates N bit streams, and the rate of each bit stream is 2.488 Gbps, the rate of the multiplexed bit stream obtained after bit interleaving is performed on the N bit streams is N*2.488 Gbps. Optionally, the bit stream before the bit interleaving processing may be referred to as a low-speed bit stream, and the bit stream after the bit interleaving processing may be referred to as a high-speed bit stream.
每路比特流包括的第一指示信息可以用于确定该比特流对应的通道,不同比特流对应的通道不同,不同比特流包括的第一指示信息可以用于确定不同的通道。通过在每路比特流中携带第一指示信息,使得ONT可以根据比特流中的第一指示信息准确地确定该比特流对应的通道。The first indication information included in each bit stream can be used to determine the channel corresponding to the bit stream. Different bit streams correspond to different channels, and the first indication information included in different bit streams can be used to determine different channels. By carrying the first indication information in each bit stream, the ONT can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream.
步骤S202:OLT将该复用比特流传输至OLT对应的ONT。Step S202: The OLT transmits the multiplexed bit stream to the ONT corresponding to the OLT.
具体的,OLT在得到复用比特流之后,可以将该复用比特流传输至OLT对应的各个ONT。在一种实现方式中,OLT可以包括激光器驱动器、激光器和合/分波器。OLT在得到复用比特流之后,可以将该复用比特流传输给激光器驱动器。激光器驱动器接收到复用比特流后,可以驱动激光器发光,生成光信号。然后合/分波器可以将承载有复用比特流的光信号耦合进主干光纤,并经主干光纤传输至该OLT对应的ONT。Specifically, after obtaining the multiplexed bit stream, the OLT may transmit the multiplexed bit stream to each ONT corresponding to the OLT. In one implementation, the OLT may include a laser driver, a laser, and a combiner/demultiplexer. After obtaining the multiplexed bit stream, the OLT can transmit the multiplexed bit stream to the laser driver. After the laser driver receives the multiplexed bit stream, it can drive the laser to emit light and generate an optical signal. Then the combiner/demultiplexer can couple the optical signal carrying the multiplexed bit stream into the backbone fiber and transmit it to the ONT corresponding to the OLT via the backbone fiber.
步骤S203:ONT对该复用比特流进行处理,得到前述多路比特流。Step S203: The ONT processes the multiplexed bit stream to obtain the aforementioned multiple bit stream.
具体的,ONT接收到来自OLT的复用比特流之后,可以对该复用比特流进行比特解交织处理,以恢复出前述OLT生成的多路比特流。在一种实现方式中,ONT可以包括合/分波器,ONT中的合/分波器从主干光纤中接收到承载有复用比特流的光信号后,可以从承载有复用比特流的光信号中分离出复用比特流。Specifically, after the ONT receives the multiplexed bit stream from the OLT, it can perform bit de-interleaving processing on the multiplexed bit stream to recover the aforementioned multiple bit stream generated by the OLT. In an implementation manner, the ONT may include a multiplexer/demultiplexer. After the multiplexer/demultiplexer in the ONT receives the optical signal carrying the multiplexed bit stream from the backbone fiber, it can receive the multiplexed bit stream from the The multiplexed bit stream is separated from the optical signal.
在一种实现方式中,ONT对复用比特流进行比特解交织处理的过程可以为:ONT根据固定间隔周期性地从复用比特流中提取1个比特。当OLT生成的每路比特流包括n个比特时,ONT依次提取出的n个比特组成的比特流可以与OLT生成的一路比特流相同。其中,固定周期可以与OLT生成的比特流的数量相同。例如,复用比特流为:a1b1c1a2b2c2…anbncn,ONT提取的第一个比特为a1,且固定周期为3时,ONT依次提取出的n个比特为a1a2…an,a1a2…an组成比特流a。当ONT提取出一路完整的比特流之后,可以从ONT提取的第一个比特之后开始,根据固定间隔周期性地从复用比特流中提取1个比特。即ONT提取出比特流a之后,可以从b1开始,根据固定间隔周期性地从复用比特流中提取1个比特,进而提取出比特流b。相应的,ONT提取出比特流b之后,可以从c1开始提取出比特流c。需要说明的是,在其他可行的实现方式中,ONT可以从复用比特流中的任一比特开始提取比特。In an implementation manner, the process of the ONT performing bit de-interleaving processing on the multiplexed bit stream may be: the ONT periodically extracts 1 bit from the multiplexed bit stream according to a fixed interval. When each bit stream generated by the OLT includes n bits, the bit stream composed of n bits sequentially extracted by the ONT may be the same as a bit stream generated by the OLT. Among them, the fixed period can be the same as the number of bit streams generated by the OLT. For example, the multiplexed bit stream is: a1b1c1a2b2c2...anbncn, and when the first bit extracted by the ONT is a1, and the fixed period is 3, the n bits extracted by the ONT in turn are a1a2...an, and a1a2...an constitute the bit stream a. After the ONT extracts a complete bit stream, it can start after the first bit extracted by the ONT, and periodically extract 1 bit from the multiplexed bit stream according to a fixed interval. That is, after the ONT extracts the bit stream a, it can start from b1 and periodically extract 1 bit from the multiplexed bit stream according to a fixed interval, and then extract the bit stream b. Correspondingly, after the ONT extracts the bit stream b, the bit stream c can be extracted from c1. It should be noted that in other feasible implementation manners, the ONT may start to extract bits from any bit in the multiplexed bit stream.
需要说明的是,上述ONT从复用比特流的第一个比特(a1)开始提取比特仅用于举例,并不构成对本申请实施例的限定。由于ONT上电时间不确定,该ONT可以从复用比特流中的任一比特开始进行比特解交织处理,且该ONT也无法获知自身从哪个比特开始进行比特解 交织处理。例如,ONT从c2开始提取比特时,提取出的3路比特流分别为:c2…cnc1、a3…an a1a2、b3…bn b1b2。即ONT上电时间不确定,可能使得比特解交织之后得到的第一路比特流(即比特流c)并非OLT进行比特交织处理时所使用的第一路比特流(即比特流a)。It should be noted that the above-mentioned ONT extracting bits from the first bit (a1) of the multiplexed bit stream is only for example, and does not constitute a limitation to the embodiment of the present application. Since the power-on time of the ONT is uncertain, the ONT can start the bit de-interleaving processing from any bit in the multiplexed bit stream, and the ONT cannot know from which bit it starts the bit de-interleaving processing. For example, when the ONT starts to extract bits from c2, the extracted three bit streams are: c2...cnc1, a3...an a1a2, b3...bn b1b2. That is, the power-on time of the ONT is uncertain, which may make the first bit stream (that is, bit stream c) obtained after bit deinterleaving not the first bit stream (that is, bit stream a) used when the OLT performs bit interleaving processing.
步骤S204:ONT确定该ONT对应的通道。Step S204: The ONT determines the channel corresponding to the ONT.
在本申请实施例中,一个ONT对应一个通道,不同ONT对应不同的通道。ONT通过确定该ONT对应的通道,可以从多路比特流中确定所需的比特流,所需的比特流对应的通道与该ONT对应的通道相同。In the embodiment of the present application, one ONT corresponds to one channel, and different ONTs correspond to different channels. By determining the channel corresponding to the ONT, the ONT can determine the required bit stream from the multiple bit streams, and the channel corresponding to the required bit stream is the same as the channel corresponding to the ONT.
在一种实现方式中,ONT可以通过如下方式确定该ONT对应的通道:该ONT从多路比特流中确定第一比特流;该第一比特流还可以包括ONT标识与通道标识之间的对应关系;该ONT根据ONT标识与通道标识之间的对应关系,以及该ONT的标识,确定该ONT对应的通道。其中,ONT标识(identification,ID)用于唯一标识一个ONT。OLT可以根据每个ONT的序列号(serial number,SN),为每个ONT分配唯一的ONT ID。前述对应关系可以包括OLT对应的各个ONT的标识与通道标识之间的对应关系。ONT通过解析该第一比特流可以得到该对应关系,进而可以从该对应关系中查找与该ONT的ID对应的目标通道标识,该目标通道标识所指示的通道即为该ONT对应的通道。In an implementation manner, the ONT may determine the channel corresponding to the ONT in the following manner: the ONT determines the first bitstream from multiple bitstreams; the first bitstream may also include the correspondence between the ONT identifier and the channel identifier Relationship: The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identification and the channel identification, and the identification of the ONT. Among them, ONT identification (identification, ID) is used to uniquely identify an ONT. The OLT can assign a unique ONT ID to each ONT according to the serial number (SN) of each ONT. The foregoing corresponding relationship may include the corresponding relationship between the identifier of each ONT corresponding to the OLT and the channel identifier. The ONT can obtain the corresponding relationship by analyzing the first bit stream, and then can find the target channel identifier corresponding to the ID of the ONT from the corresponding relationship, and the channel indicated by the target channel identifier is the channel corresponding to the ONT.
在本申请实施例中,多路比特流中的部分或者全部比特流都可以包括ONT标识与通道标识之间的对应关系。在一种实现方式中,ONT可以对应有默认通道;ONT对应的默认通道的信息可以预先配置于ONT中。在ONT对应有默认通道的情况下,前述第一比特流可以为该默认通道对应的比特流。在此情况下,多路比特流中除第一比特流以外的其他比特流可以不包括ONT标识与通道标识之间的对应关系。在一种实现方式中,OLT对应的各个ONT的默认通道可以相同,这样各个ONT均可以通过第一比特流中携带的对应关系,确定各个ONT对应的通道。通过这种方式,有利于提高第一比特流的利用率。在一种实现方式中,在ONT对应有默认通道的情况下,该ONT可以默认接入至该默认通道,通过该默认通道对应的比特流与OLT通信,进而完成注册上线。ONT注册上线之后,可以与OLT通过该默认通道进行数据传输。当ONT通过默认通道对应的比特流中携带的对应关系,确定该ONT对应的通道(如通道k)之后,该ONT可以从默认通道切换至k通道。相应的,ONT与OLT之间进行数据传输的通道由默认通道变为k通道。In the embodiment of the present application, part or all of the bit streams in the multi-channel bit stream may include the correspondence between the ONT identifier and the channel identifier. In an implementation manner, the ONT may correspond to a default channel; the information of the default channel corresponding to the ONT may be pre-configured in the ONT. In the case that the ONT corresponds to a default channel, the aforementioned first bit stream may be a bit stream corresponding to the default channel. In this case, other bit streams in the multi-channel bit stream except the first bit stream may not include the correspondence between the ONT identifier and the channel identifier. In an implementation manner, the default channel of each ONT corresponding to the OLT may be the same, so that each ONT can determine the channel corresponding to each ONT through the corresponding relationship carried in the first bit stream. In this way, it is beneficial to improve the utilization of the first bit stream. In an implementation manner, in the case that the ONT corresponds to a default channel, the ONT can access the default channel by default, communicate with the OLT through the bitstream corresponding to the default channel, and complete the registration and go online. After the ONT is registered and online, it can transmit data with the OLT through the default channel. After the ONT determines the channel (such as channel k) corresponding to the ONT through the corresponding relationship carried in the bit stream corresponding to the default channel, the ONT can switch from the default channel to the k channel. Correspondingly, the data transmission channel between the ONT and the OLT is changed from the default channel to the k channel.
在一种实现方式中,可以不为ONT预先配置默认通道。在ONT未对应有默认通道的情况下,前述多路比特流中的每路比特流均可以包括前述ONT标识与通道标识之间的对应关系,此时,该ONT可以将该多路比特流中的任一路比特流确定为第一比特流。在一种实现方式中,在ONT未对应有默认通道,且该ONT对应k通道的情况下,该ONT在接入k通道之前,可以不用接入默认通道。通过这种方式,一方面,ONT不用接入默认通道,也能获取ONT标识与通道标识之间的对应关系,进而确定该ONT对应的通道;另一方面,该ONT可以将多路比特流中的任一路比特流确定为第一比特流。因此,通过这种方式,有利于提高确定ONT对应的通道的效率。In an implementation manner, the default channel may not be pre-configured for the ONT. In the case that the ONT does not correspond to the default channel, each bit stream in the aforementioned multi-channel bit stream may include the corresponding relationship between the aforementioned ONT identifier and the channel identifier. In this case, the ONT may include the multi-channel bit stream. Any bit stream of is determined as the first bit stream. In an implementation manner, when the ONT does not correspond to the default channel and the ONT corresponds to the k channel, the ONT may not need to access the default channel before accessing the k channel. In this way, on the one hand, the ONT does not need to access the default channel, but can also obtain the corresponding relationship between the ONT ID and the channel ID, and then determine the channel corresponding to the ONT; on the other hand, the ONT can transfer multiple bit streams to Any bit stream of is determined as the first bit stream. Therefore, in this way, it is beneficial to improve the efficiency of determining the channel corresponding to the ONT.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息可以包括前述ONT标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的ONT,该OLT对应的ONT包括前述ONT。其中,ONT标识与通道标识之间的对应关系包括于第一广播信息中,且该第一广播信息适用于OLT对应的ONT可以表示:OLT对应的各个ONT均可以接收到该第一广播信息,OLT对应的各个ONT接收到该第一广播信息之后,均可以通过解析该 第一广播信息,以得到该对应关系。In an implementation manner, the first bit stream may include first broadcast information, the first broadcast information may include the aforementioned correspondence between the ONT identifier and the channel identifier, the first broadcast information is applicable to the ONT corresponding to the OLT, and the The ONT corresponding to the OLT includes the aforementioned ONT. Wherein, the correspondence between the ONT identifier and the channel identifier is included in the first broadcast information, and the first broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the first broadcast information, After each ONT corresponding to the OLT receives the first broadcast information, it can parse the first broadcast information to obtain the corresponding relationship.
以本申请实施例应用于GPON系统为例,该第一广播信息可以携带于GPON下行帧中的PLOAMd域中。图2c为GPON下行帧的格式示意图。如图2c可知,GPON下行帧可以由下行物理层控制块(physical control block downstream,PCBd)和有效载荷(payload)组成,其中,PCBd可以由物理同步(physical synchronization,psync)、Ident、物理层运营管理和维护(physical layer operations,administration and maintenance,PLOAMd)、比特间插奇偶校验(bit interleaved parity,BIP)、下行净荷长度(payload length downstream,Plend)、上行带宽映射(upstream bandwidth map,US BWMap)组成。其中,psync用于ONT与OLT同步。ldent用作超帧指示,ldent值为0时指示一个超帧的开始。PLOAMd用于承载下行ploam消息;BIP是比特间插入的奇偶校验码,用于误码监测。Plend用于说明US BWMap的长度和载荷中异步传输模式(asynchronous transfer mode,ATM)信元的数目,为了增强容错性,Plend出现两次。US BWMap域用于上行带宽分配。Taking the application of the embodiment of the present application to the GPON system as an example, the first broadcast information may be carried in the PLOAMd field in the GPON downlink frame. Figure 2c is a schematic diagram of the format of a GPON downstream frame. As shown in Figure 2c, the GPON downlink frame can be composed of a physical control block downstream (PCBd) and a payload (payload). Among them, PCBd can be operated by physical synchronization (psync), Ident, and physical layer. Management and maintenance (physical layer operations, administration and maintenance, PLOAMd), bit interleaved parity (BIP), downstream payload length (payload length downstream, Plend), upstream bandwidth map (upstream bandwidth map, US BWMap) composition. Among them, psync is used to synchronize the ONT with the OLT. ldent is used as a super frame indicator. When the ldent value is 0, it indicates the beginning of a super frame. PLOAMd is used to carry downlink ploam messages; BIP is a parity check code inserted between bits for error detection. Plend is used to describe the length of the US BWMap and the number of asynchronous transfer mode (ATM) cells in the payload. In order to enhance fault tolerance, Plend appears twice. The US BWMap field is used for uplink bandwidth allocation.
第一广播信息可以指PLOAMd域中承载的ploam消息。PLOAMd域的结构示意图可以如图2d所示。由图2d可知,PLOAMd域可以由光网络终端标识(ONT ID)、消息标识(message ID)、ploam消息的净荷(Data)和循环冗余校验(cyclic redundancy check,CRC)组成。其中,ONT ID可以用于标识ploam消息适用于哪个ONT,即ploam消息发送给哪个ONT。需要说明的是,ONT ID所指示的ONT可以解析该PLOAMd域中承载的ploam消息。例如,ONT ID中的取值为0xFF时,可以表示该ploam消息适用于OLT对应的所有ONT。message ID可以表示不同的消息类型。消息类型可以包括但不限于第一广播信息和下文中的第二广播信息。ploam消息的净荷可以包括前述ONT标识与通道标识之间的对应关系。CRC是PLOAMd域中除该CRC以外的其他域的校验序列。The first broadcast information may refer to the ploam message carried in the PLOAMd domain. The schematic diagram of the structure of the PLOAMd domain can be shown in Figure 2d. It can be seen from Figure 2d that the PLOAMd field can be composed of an optical network terminal identifier (ONT ID), a message identifier (message ID), a payload of the ploam message (Data), and a cyclic redundancy check (cyclic redundancy check, CRC). Among them, the ONT ID can be used to identify which ONT the ploam message applies to, that is, to which ONT the ploam message is sent. It should be noted that the ONT indicated by the ONT ID can parse the ploam message carried in the PLOAMd domain. For example, when the value of ONT ID is 0xFF, it can indicate that the ploam message is applicable to all ONTs corresponding to the OLT. The message ID can represent different message types. The message type may include, but is not limited to, the first broadcast information and the second broadcast information below. The payload of the ploam message may include the aforementioned correspondence between the ONT identifier and the channel identifier. The CRC is the check sequence of other fields in the PLOAMd field except the CRC.
需要说明的是,当本申请实施例应用于ITU-T体系中的无源光网络系统(如GPON、XG-PON、XGS-PON或TWDM PON)时,该第一广播信息可以为当前所应用系统的下行帧中承载的ploam消息。当本申请实施例应用于IEEE体系中的无源光网络系统(如EPON、10G-EPON)时,该第一广播信息可以为多点控制协议(multi-point control protocol,MPCP)帧中承载的广播消息,或者可以为操作维护管理(operation administration and maintenance,OAM)消息。It should be noted that when the embodiments of this application are applied to a passive optical network system in the ITU-T system (such as GPON, XG-PON, XGS-PON or TWDM PON), the first broadcast information can be the current application The ploam message carried in the downlink frame of the system. When the embodiment of this application is applied to a passive optical network system in the IEEE system (such as EPON, 10G-EPON), the first broadcast information may be carried in a multi-point control protocol (multi-point control protocol, MPCP) frame The broadcast message may be an operation administration and maintenance (OAM) message.
在一种实现方式中,ONT可以包括激光器。激光器用于生成承载有上行数据的光信号,该上行数据是ONT发送给OLT的数据。不同ONT中的激光器生成的光信号的波长不同。ONT确定该ONT对应的通道之后,可以根据通道与波长之间的对应关系,确定该ONT中的激光器对应的波长。其中,通道与波长之间的对应关系可以预先配置或固化于ONT中。In one implementation, the ONT may include a laser. The laser is used to generate an optical signal carrying upstream data, which is the data sent by the ONT to the OLT. The wavelengths of the optical signals generated by the lasers in different ONTs are different. After the ONT determines the channel corresponding to the ONT, it may determine the wavelength corresponding to the laser in the ONT according to the corresponding relationship between the channel and the wavelength. Among them, the corresponding relationship between the channel and the wavelength can be pre-configured or cured in the ONT.
步骤S205:ONT从该多路比特流中确定目标比特流;该目标比特流对应的通道与该ONT对应的通道相同。Step S205: The ONT determines a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
具体的,ONT在得到多路比特流,且确定该ONT对应的通道(如通道k)之后,可以从该多路比特流中确定通道k对应的目标比特流。通过这种方式,有利于ONT获取所需的目标比特流。Specifically, after the ONT obtains multiple bit streams and determines the channel (such as channel k) corresponding to the ONT, it can determine the target bit stream corresponding to channel k from the multiple bit streams. In this way, it is beneficial for the ONT to obtain the required target bit stream.
在本申请实施例中,通过在每路比特流中携带第一指示信息,使得ONT可以根据比特流中的第一指示信息准确地确定该比特流对应的通道。进一步,有利于ONT获取所需的目标比特流。In the embodiment of the present application, by carrying the first indication information in each bit stream, the ONT can accurately determine the channel corresponding to the bit stream according to the first indication information in the bit stream. Further, it is beneficial for the ONT to obtain the required target bit stream.
请参见图3,图3是本申请实施例提供的另一种基于多路复用的通道识别方法的流程示意图,该方法详细描述了第一指示信息承载于PLOAMd域的ploam消息的净荷(Data)域中时,ONT如何根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道。其中,步骤S301~步骤S302的执行主体为OLT,或者为OLT中的芯片,步骤S303~步骤S306的执行主体为ONT,或者为ONT中的芯片,以下以OLT、ONT为基于多路复用的通道识别方法的执行主体为例进行说明。该方法可以包括但不限于如下步骤:Please refer to Figure 3. Figure 3 is a schematic flow diagram of another multiplexing-based channel identification method provided by an embodiment of the present application. In the Data) field, how does the ONT determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream. Among them, the execution subject of step S301 to step S302 is the OLT, or the chip in the OLT, and the execution subject of step S303 to step S306 is the ONT, or the chip in the ONT. In the following, OLT and ONT are the multiplexing-based The execution subject of the channel identification method is described as an example. The method may include but is not limited to the following steps:
步骤S301:OLT生成多路数据流,对多路比特流进行处理,得到一路复用比特流;针对该多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道。Step S301: The OLT generates multiple data streams, processes the multiple bit streams, and obtains a multiplexed bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, the first The indication information is used to determine the channel corresponding to the bit stream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流可以包括第二广播信息,该第二广播信息可以包括该比特流中的第一指示信息,该第二广播信息适用于该OLT对应的ONT,该OLT对应的ONT包括步骤S303中的ONT。其中,第一指示信息包括于第二广播信息中,且该第二广播信息适用于OLT对应的ONT可以表示:OLT对应的各个ONT均可以接收到该第二广播信息,OLT对应的各个ONT接收到该第二广播信息之后,均可以通过解析该第二广播信息,以得到第二广播信息中的第一指示信息。In an implementation manner, for each bitstream in the multiple bitstreams, the bitstream may include second broadcast information, the second broadcast information may include the first indication information in the bitstream, and the second broadcast The information is applicable to the ONT corresponding to the OLT, and the ONT corresponding to the OLT includes the ONT in step S303. Wherein, the first indication information is included in the second broadcast information, and the second broadcast information is applicable to the ONT corresponding to the OLT, which can mean that each ONT corresponding to the OLT can receive the second broadcast information, and each ONT corresponding to the OLT receives the second broadcast information. After the second broadcast information, the second broadcast information can be analyzed to obtain the first indication information in the second broadcast information.
在一种实现方式中,本申请实施例应用于ITU-T体系中的无源光网络系统(如GPON、XG-PON、XGS-PON或TWDM PON)时,该第二广播信息可以为当前所应用系统的下行帧中承载的ploam消息。当本申请实施例应用于IEEE体系中的无源光网络系统(如EPON、10G-EPON)时,该第二广播信息可以为MPCP帧中承载的广播消息或者OAM消息。In an implementation manner, when the embodiments of this application are applied to a passive optical network system (such as GPON, XG-PON, XGS-PON or TWDM PON) in the ITU-T system, the second broadcast information may be the current one. The ploam message carried in the downlink frame of the application system. When the embodiment of the present application is applied to a passive optical network system in the IEEE system (such as EPON, 10G-EPON), the second broadcast information may be a broadcast message carried in an MPCP frame or an OAM message.
需要说明的是,一个ITU-T体系下行帧中的PLOAMd域中可以承载一个或多个ploam消息,一个IEEE体系下行帧中可以承载一个或多个广播消息,或者,一个IEEE体系下行帧中可以承载一个或多个OAM消息。因此,第一广播信息和第二广播信息可以承载于同一帧中,或不同帧中。以第一广播信息和第二广播信息承载于同一GPON帧中为例,可以通过PLOAMd域中的message ID区分第一广播信息和第二广播信息。当第一广播信息和第二广播信息承载于不同帧中时,对于OLT,承载有第一广播信息的下行帧的发送时刻可以早于承载有第二广播信息的下行帧的发送时刻。相应的,对于ONT,承载有第一广播信息的下行帧的接收时刻可以早于承载有第二广播信息的下行帧的接收时刻。在本申请实施例中,一个GPON下行帧中可以承载一个ploam消息,一个XG-PON、XGS-PON或TWDM PON中的下行帧可以承载多个ploam消息。It should be noted that the PLOAMd field in an ITU-T system downlink frame can carry one or more ploam messages, and an IEEE system downlink frame can carry one or more broadcast messages, or one IEEE system downlink frame can carry one or more broadcast messages. Carry one or more OAM messages. Therefore, the first broadcast information and the second broadcast information may be carried in the same frame or in different frames. Taking the first broadcast information and the second broadcast information carried in the same GPON frame as an example, the first broadcast information and the second broadcast information can be distinguished by the message ID in the PLOAMd field. When the first broadcast information and the second broadcast information are carried in different frames, for the OLT, the sending time of the downlink frame carrying the first broadcast information may be earlier than the sending time of the downlink frame carrying the second broadcast information. Correspondingly, for the ONT, the receiving time of the downlink frame carrying the first broadcast information may be earlier than the receiving time of the downlink frame carrying the second broadcast information. In the embodiment of the present application, one GPON downstream frame may carry one ploam message, and one XG-PON, XGS-PON or TWDM PON downstream frame may carry multiple ploam messages.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流可以由多个数据帧组成,该多个数据帧中的部分或者全部数据帧均可以包括该第二广播信息,该比特流可以包括1个或多个第二广播信息。具体的,OLT生成的每路比特流由多个数据帧组成时,每一帧中均可以承载有第二广播信息;或者,可以每相隔预设数量的帧中承载有第二广播信息;或者,可以随机取一帧或几帧以承载第二广播信息。当一路比特流中承载有多个第二广播信息时,有利于确保ONT可以成功获取到第二广播信息。In an implementation manner, for each bit stream in the multiple bit stream, the bit stream may be composed of multiple data frames, and some or all of the multiple data frames may include the second broadcast information , The bitstream may include one or more second broadcast information. Specifically, when each bit stream generated by the OLT consists of multiple data frames, each frame may carry the second broadcast information; or, every preset number of frames may carry the second broadcast information; or , One or several frames can be randomly selected to carry the second broadcast information. When a bit stream carries multiple second broadcast information, it helps to ensure that the ONT can successfully obtain the second broadcast information.
例如,当比特流a由下行数据帧1、下行数据帧2和下行数据帧3组成,且下行数据帧1、下行数据帧2和下行数据帧3中均承载有第二广播信息时,若ONT对接收到的复用比特流进行处理后得到的比特流a的第一个比特属于下行数据帧2,则该ONT可以通过下行数据帧2中承载的第二广播信息,以确定比特流a对应的通道。若组成比特流a的下行数据帧中只有下行数据帧1承载有第二广播信息,那么该ONT只能通过下行数据帧1中承载的第二广播信 息,以确定比特流a对应的通道。通过在一路比特流中承载多个第二广播信息,有利于提高ONT确定比特流对应的通道的效率。For example, when the bit stream a is composed of a downlink data frame 1, a downlink data frame 2, and a downlink data frame 3, and the downlink data frame 1, the downlink data frame 2 and the downlink data frame 3 all carry the second broadcast information, if the ONT The first bit of the bit stream a obtained after processing the received multiplexed bit stream belongs to the downlink data frame 2, then the ONT can determine the corresponding bit stream a through the second broadcast information carried in the downlink data frame 2 Channel. If only the downlink data frame 1 of the downlink data frames constituting the bit stream a carries the second broadcast information, the ONT can only determine the channel corresponding to the bit stream a through the second broadcast information carried in the downlink data frame 1. By carrying multiple second broadcast information in a bit stream, it is beneficial to improve the efficiency of the ONT in determining the channel corresponding to the bit stream.
又如,若ONT从某一个帧中间开始解析,由于从帧中间开始解析,有可能使得ONT错过该帧中承载的第二广播信息。此时,若一路比特流中承载有多个第二广播信息,则该ONT可以从后续帧中解析得到第二广播信息。通过这种方式,即使因ONT上电时间不确定而导致比特解交织之后得到的第一路比特流并非OLT进行比特交织处理时所使用的第一路比特流,或者,OLT对应的各个通道不对齐,ONT也能成功获取到第二广播信息,进而成功确定比特流对应的通道。For another example, if the ONT starts to analyze from the middle of a certain frame, because it starts to analyze from the middle of the frame, it may cause the ONT to miss the second broadcast information carried in the frame. At this time, if a bit stream carries multiple second broadcast information, the ONT can parse the subsequent frames to obtain the second broadcast information. In this way, even if the first bit stream obtained after bit de-interleaving is not the first bit stream used by the OLT for bit interleaving due to the uncertain power-on time of the ONT, or the channels corresponding to the OLT are not Alignment, the ONT can also successfully obtain the second broadcast information, and then successfully determine the channel corresponding to the bit stream.
步骤S302:OLT将该复用比特流传输至OLT对应的ONT。Step S302: The OLT transmits the multiplexed bit stream to the ONT corresponding to the OLT.
步骤S303:ONT对该复用比特流进行处理,得到前述多路比特流。Step S303: The ONT processes the multiplexed bit stream to obtain the aforementioned multiple bit stream.
需要说明的是,步骤S301~步骤S303的执行过程可分别参见图2a中步骤S201~步骤S203的具体描述,此处不再赘述。It should be noted that, for the execution process of step S301 to step S303, please refer to the specific description of step S201 to step S203 in FIG. 2a, respectively, which will not be repeated here.
步骤S304:ONT根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道;该第二比特流为多路比特流中的任一路比特流。Step S304: The ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any one of the multiple bit streams.
具体的,ONT得到多路比特流之后,可以确定该多路比特流中的某一路比特流(即第二比特流)对应的通道,以确定该比特流对应的通道是否与ONT对应的通道相同。该第二比特流可以为ONT进行比特解交织之后得到的第一路比特流,或者任一路比特流。Specifically, after the ONT obtains the multiple bitstreams, it can determine the channel corresponding to a certain bitstream (that is, the second bitstream) in the multiple bitstream to determine whether the channel corresponding to the bitstream is the same as the channel corresponding to the ONT . The second bit stream may be the first bit stream obtained after the ONT performs bit deinterleaving, or any bit stream.
在本申请实施例中,第一指示信息可以承载于PLOAMd域的ploam消息的净荷(Data)域中。Data域的取值可以指示比特流对应的通道。例如,若Data域的取值为0x00,则可以表示比特流对应第0通道;若Data域的取值为0x01,则可以表示该比特流对应第1通道。In the embodiment of the present application, the first indication information may be carried in the payload (Data) field of the ploam message in the PLOAMd field. The value of the Data field can indicate the channel corresponding to the bit stream. For example, if the value of the Data field is 0x00, it can indicate that the bit stream corresponds to the 0th channel; if the value of the Data field is 0x01, it can indicate that the bit stream corresponds to the 1st channel.
步骤S305:ONT确定该ONT对应的通道。Step S305: The ONT determines the channel corresponding to the ONT.
需要说明的是,步骤S305的执行过程可参见图2a中步骤S204的具体描述,此处不再赘述。It should be noted that, for the execution process of step S305, refer to the specific description of step S204 in FIG. 2a, which will not be repeated here.
步骤S306:若该第二比特流对应的通道与该ONT对应的通道不同,则ONT从该多路比特流中确定目标比特流;该目标比特流对应的通道与该ONT对应的通道相同。Step S306: If the channel corresponding to the second bitstream is different from the channel corresponding to the ONT, the ONT determines the target bitstream from the multiple bitstream; the channel corresponding to the target bitstream is the same as the channel corresponding to the ONT.
在本申请实施例中,若该第二比特流对应的通道与该ONT对应的通道不同,则可以表示第二比特流并非该ONT所需的比特流,此时,ONT可以触发从多路比特流中确定目标比特流的步骤。在一种实现方式中,若该第二比特流对应的通道与该ONT对应的通道相同,则可以表示第二比特流即为该ONT所需的比特流(即目标比特流)。需要说明的是,步骤S306中关于ONT从该多路比特流中确定目标比特流的执行过程可参见图2a中步骤S205的具体描述,此处不再赘述。In the embodiment of this application, if the channel corresponding to the second bit stream is different from the channel corresponding to the ONT, it can indicate that the second bit stream is not the bit stream required by the ONT. In this case, the ONT can trigger the slave multi-channel bit stream. Steps in the stream to determine the target bitstream. In an implementation manner, if the channel corresponding to the second bit stream is the same as the channel corresponding to the ONT, it can indicate that the second bit stream is the bit stream required by the ONT (that is, the target bit stream). It should be noted that, for the execution process of the ONT determining the target bit stream from the multi-channel bit stream in step S306, refer to the specific description of step S205 in FIG. 2a, which will not be repeated here.
在一种实现方式中,多路比特流中比特流的位置之间可以具有顺序关系。例如,若OLT按照比特流a、比特流b、比特流c的顺序进行比特交织处理,且ONT进行比特解交织处理后,得到的第一路比特流为比特流a,则可以表示比特解交织处理后得到的第二路比特流、第三路比特流分别为比特流b、比特流c。若ONT进行比特解交织处理后,得到的第一路比特流为比特流b,则可以表示比特解交织处理后得到的第二路比特流、第三路比特流分别为比特流c、比特流a。ONT进行比特解交织处理后,得到的第一路比特流为比特流c,则可以表示比特解交织处理后得到的第二路比特流、第三路比特流分别为比特流a、比特流b。In an implementation manner, the positions of the bit streams in the multiple bit streams may have an order relationship. For example, if the OLT performs bit interleaving in the order of bit stream a, bit stream b, and bit stream c, and after the ONT performs bit de-interleaving, the first bit stream obtained is bit stream a, it can indicate bit de-interleaving The second bit stream and the third bit stream obtained after processing are bit stream b and bit stream c, respectively. If the ONT performs bit de-interleaving processing and the first bit stream obtained is bit stream b, it can indicate that the second bit stream and the third bit stream obtained after the bit de-interleaving processing are bit stream c and bit stream respectively. a. After the ONT performs bit de-interleaving processing, the first bit stream obtained is bit stream c, which can indicate that the second bit stream and the third bit stream obtained after the bit de-interleaving processing are bit stream a and bit stream b. .
在本申请实施例中,多路比特流中各个比特流的位置之间具有顺序关系,其中,比特流的位置之间的顺序关系可以指ONT比特解交织后得到的各个比特流的先后顺序。例如,若比 特解交织处理后得到的比特流依次为比特流b、比特流c、比特流a,则可以确定比特流b位于比特流c之前,比特流a位于比特流c之后。在一种实现方式中,ONT可以将比特解交织处理后得到的多个比特流依次存入存储器,此时,比特流的位置之间的顺序关系可以指比特流在存储器中的存储位置之间的顺序关系。各个比特流在存储器中的存储位置与该比特流为比特解交织后得到的第几路流相关。存储器可以包括易失性存储器(volatile memory),例如随机存取存储器(random access memory,RAM)。也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD。In the embodiment of the present application, the positions of the bit streams in the multiple bit streams have an order relationship, where the order relationship between the positions of the bit streams may refer to the order of the bit streams obtained after ONT bit de-interleaving. For example, if the bit stream obtained after the bit deinterleaving processing is bit stream b, bit stream c, and bit stream a in order, it can be determined that bit stream b is before bit stream c and bit stream a is after bit stream c. In an implementation manner, the ONT may sequentially store multiple bit streams obtained after bit de-interleaving processing into the memory. At this time, the order relationship between the positions of the bit streams may refer to the storage positions of the bit streams in the memory. The order relationship. The storage location of each bit stream in the memory is related to the number of streams obtained after the bit stream is bit de-interleaved. The memory may include volatile memory (volatile memory), such as random access memory (RAM). It may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (solid-state drive). state drive, SSD.
在一种实现方式中,ONT可以采用以下方式从多路比特流中确定目标比特流:根据第二比特流对应的通道和ONT对应的通道,确定目标比特流相对该第二比特流的位置信息;根据该目标比特流相对该第二比特流的位置信息,从多路比特流中确定该目标比特流。例如,当OLT按照比特流a、比特流b、比特流c的顺序进行比特交织处理,比特流a、比特流b、比特流c分别与通道1、通道2、通道3对应,且第二比特流对应通道2,ONT对应通道3时,ONT可以确定通道3对应的比特流(即目标比特流)为第二比特流后的下一路比特流。In an implementation manner, the ONT may determine the target bitstream from the multiple bitstreams in the following manner: determine the position information of the target bitstream relative to the second bitstream according to the channel corresponding to the second bitstream and the channel corresponding to the ONT ; According to the position information of the target bit stream relative to the second bit stream, the target bit stream is determined from the multiple bit streams. For example, when the OLT performs bit interleaving in the order of bit stream a, bit stream b, and bit stream c, bit stream a, bit stream b, and bit stream c correspond to channel 1, channel 2, and channel 3 respectively, and the second bit When the stream corresponds to channel 2 and the ONT corresponds to channel 3, the ONT can determine that the bit stream corresponding to channel 3 (that is, the target bit stream) is the next bit stream after the second bit stream.
在一种实现方式中,ONT确定第二比特流对应的通道之后,可以根据多路比特流中比特流的位置之间具有的顺序关系,以及第二比特流对应的通道,确定多路比特流中除第二比特流以外的其他比特流对应的通道。例如,若第二比特流对应通道2,则ONT可以确定第二比特流后的下一路比特流对应通道3,第二比特流后的第二路比特流对应通道1。In an implementation manner, after the ONT determines the channel corresponding to the second bit stream, it can determine the multi-channel bit stream according to the order relationship between the positions of the bit stream in the multi-channel bit stream and the channel corresponding to the second bit stream. Channels corresponding to other bitstreams except the second bitstream. For example, if the second bit stream corresponds to channel 2, the ONT may determine that the next bit stream after the second bit stream corresponds to channel 3, and the second bit stream after the second bit stream corresponds to channel 1.
在本申请实施例中,根据第二比特流中的第一指示信息确定该第二比特流对应的通道之后,可以根据第二比特流对应的通道确定ONT所需的目标比特流。In the embodiment of the present application, after the channel corresponding to the second bit stream is determined according to the first indication information in the second bit stream, the target bit stream required by the ONT can be determined according to the channel corresponding to the second bit stream.
请参见图4,图4是本申请实施例提供的又一种基于多路复用的通道识别方法的流程示意图,该方法详细描述了第一指示信息为组成比特流的数据帧的帧头信息时,ONT如何根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道。其中,步骤S401~步骤S402的执行主体为OLT,或者为OLT中的芯片,步骤S403~步骤S407的执行主体为ONT,或者为ONT中的芯片,以下以OLT、ONT为基于多路复用的通道识别方法的执行主体为例进行说明。该方法可以包括但不限于如下步骤:Please refer to FIG. 4, which is a schematic flowchart of another multiplexing-based channel identification method provided by an embodiment of the present application. The method describes in detail that the first indication information is the frame header information of the data frame constituting the bit stream. How does the ONT determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream. Among them, the execution subject of steps S401 to S402 is the OLT, or the chip in the OLT, and the execution subject of steps S403 to S407 is the ONT, or the chip in the ONT. In the following, the OLT and ONT are multiplexed-based The execution subject of the channel identification method is described as an example. The method may include but is not limited to the following steps:
步骤S401:OLT生成多路数据流,对多路比特流进行处理,得到一路复用比特流;针对该多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道。Step S401: the OLT generates multiple data streams, processes the multiple bit streams, and obtains a multiplexed bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first The indication information is used to determine the channel corresponding to the bit stream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流可以由多个数据帧组成,该比特流包括的第一指示信息可以为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息可以不同。In an implementation manner, for each bit stream in the multiple bit stream, the bit stream may be composed of multiple data frames, and the first indication information included in the bit stream may be any data in the multiple data frames. The frame header information of the frame; the frame header information used to compose the data frames of different bit streams can be different.
每个数据帧均包括帧头信息。帧头信息承载于图2c所示的GPON下行帧结构中的物理同步(psync)域中。用于组成同一比特流的数据帧的帧头信息相同,用于组成不同比特流的数据帧的帧头信息可以不同。例如,用于组成比特流a、比特流b、比特流c的数据帧的帧头信息分别可以为psync1、psync2、psync3。用于组成不同比特流的数据帧的帧头信息不同时,ONT可以根据比特流的数据帧的帧头信息,确定该比特流对应的通道。相较于解析第二广播信息(即ploam消息),ONT确定数据帧的帧头信息的速度更快,因此,通过帧头信息确定比特流对应的通道,有利于提高确定比特流对应的通道的效率。Each data frame includes frame header information. The frame header information is carried in the physical synchronization (psync) field in the GPON downstream frame structure shown in FIG. 2c. The header information of the data frames used to compose the same bit stream is the same, and the header information of the data frames used to compose different bit streams can be different. For example, the frame header information used to compose the data frames of bit stream a, bit stream b, and bit stream c may be psync1, psync2, and psync3, respectively. When the frame header information of the data frames used to compose different bit streams is different, the ONT may determine the channel corresponding to the bit stream according to the frame header information of the data frame of the bit stream. Compared with parsing the second broadcast information (ie ploam message), the ONT determines the frame header information of the data frame faster. Therefore, determining the channel corresponding to the bit stream through the frame header information is beneficial to improve the determination of the channel corresponding to the bit stream. efficient.
需要说明的是,上述帧头信息承载于图2c所示的GPON下行帧结构中的物理同步(psync)域中,仅用于举例,并不构成对本申请实施例的限定。当本申请实施例应用于EPON、10G-EPON、XG-PON、XGS-PON系统或TWDM PON时,帧头信息可以承载于当前所应用系统的下行帧中的物理同步(psync)域中。It should be noted that the above-mentioned frame header information is carried in the physical synchronization (psync) field in the GPON downlink frame structure shown in FIG. 2c, which is only used as an example and does not constitute a limitation to the embodiment of the present application. When the embodiments of this application are applied to EPON, 10G-EPON, XG-PON, XGS-PON systems or TWDM PON, the frame header information can be carried in the physical synchronization (psync) field in the downstream frame of the currently applied system.
步骤S402:OLT将该复用比特流传输至OLT对应的ONT。Step S402: the OLT transmits the multiplexed bit stream to the ONT corresponding to the OLT.
步骤S403:ONT对该复用比特流进行处理,得到前述多路比特流。Step S403: The ONT processes the multiplexed bit stream to obtain the aforementioned multiple bit stream.
需要说明的是,步骤S401~步骤S403的执行过程可分别参见图2a中步骤S201~步骤S203的具体描述,此处不再赘述。It should be noted that, for the execution process of step S401 to step S403, please refer to the specific description of step S201 to step S203 in FIG. 2a, respectively, which will not be repeated here.
步骤S404:ONT根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道;该第二比特流为该多路比特流中的任一路比特流。Step S404: The ONT determines the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream; the second bit stream is any bit stream in the multiple bit stream.
当比特流(如第二比特流)中的第一指示信息为组成该比特流的数据帧的帧头信息时,ONT可以根据帧头信息与通道之间的对应关系,确定该比特流中的帧头信息所指示的通道。当帧头信息与通道之间的对应关系如表1所示时,若ONT识别出某比特流的数据帧的帧头信息为psync2,则该ONT可以确定该比特流与通道2对应。其中,该第二比特流可以为ONT进行比特解交织之后得到的第一路比特流,或者任一路比特流。When the first indication information in the bit stream (such as the second bit stream) is the header information of the data frame that composes the bit stream, the ONT can determine the information in the bit stream according to the correspondence between the header information and the channel. The channel indicated by the header information. When the correspondence between the frame header information and the channel is shown in Table 1, if the ONT recognizes that the frame header information of a data frame of a bit stream is psync2, the ONT can determine that the bit stream corresponds to channel 2. Wherein, the second bit stream may be the first bit stream obtained after bit deinterleaving by the ONT, or any bit stream.
表1帧头信息与通道之间的对应关系Table 1 Correspondence between frame header information and channel
帧头信息Header information 通道aisle
psync1psync1 通道1Channel 1
psync2psync2 通道2Channel 2
psync3psync3 通道3Channel 3
在一种实现方式中,ONT可以采用以下方式确定多路比特流中的每路比特流对应的通道:针对多路比特流中的每路比特流,ONT根据该比特流包括的第一指示信息,确定该比特流对应的通道。即ONT通过识别每路比特流中的帧头信息,可以确定每路比特流对应的通道。In an implementation manner, the ONT may determine the channel corresponding to each bit stream in the multi-channel bit stream in the following manner: For each bit stream in the multi-channel bit stream, the ONT may determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the bit stream To determine the channel corresponding to the bitstream. That is, the ONT can determine the channel corresponding to each bit stream by identifying the frame header information in each bit stream.
在一种实现方式中,ONT还可以采用以下方式确定多路比特流中的每路比特流对应的通道:ONT根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道;针对多路比特流中除该第二比特流以外的每路比特流,根据该第二比特流对应的通道,确定除该第二比特流以外的每路比特流对应的通道。In an implementation manner, the ONT may also determine the channel corresponding to each bit stream in the multi-channel bit stream in the following manner: the ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream ; For each bit stream in the multi-channel bit stream except the second bit stream, the channel corresponding to each bit stream except the second bit stream is determined according to the channel corresponding to the second bit stream.
具体的,多路比特流中比特流的位置之间可以具有顺序关系,关于多路比特流中比特流的位置之间具有顺序关系的具体描述可参见图3中步骤S306,此处不再赘述。ONT确定第二比特流对应的通道之后,可以根据多路比特流中比特流的位置之间具有的顺序关系,以及第二比特流对应的通道,确定多路比特流中除第二比特流以外的其他比特流对应的通道。例如,若第二比特流对应通道2,则ONT可以确定第二比特流后的下一路比特流对应通道3,第二比特流后的第二路比特流对应通道1。例如,当OLT按照比特流a、比特流b、比特流c的顺序进行比特交织处理,比特流a、比特流b、比特流c分别与通道1、通道2、通道3对应,且第二比特流对应通道2时,ONT可以确定第二比特流后的下一路比特流对应通道3,第二比特流后的第二路比特流对应通道1。Specifically, the positions of the bitstreams in the multiple bitstreams may have an order relationship. For a specific description of the order relationships between the positions of the bitstreams in the multiple bitstreams, please refer to step S306 in FIG. 3, which will not be repeated here. . After the ONT determines the channel corresponding to the second bitstream, it can determine the multiple bitstreams other than the second bitstream according to the order relationship between the positions of the bitstreams in the multiple bitstreams and the channels corresponding to the second bitstream The channel corresponding to the other bitstreams. For example, if the second bit stream corresponds to channel 2, the ONT may determine that the next bit stream after the second bit stream corresponds to channel 3, and the second bit stream after the second bit stream corresponds to channel 1. For example, when the OLT performs bit interleaving in the order of bit stream a, bit stream b, and bit stream c, bit stream a, bit stream b, and bit stream c correspond to channel 1, channel 2, and channel 3 respectively, and the second bit When the stream corresponds to channel 2, the ONT can determine that the next bit stream after the second bit stream corresponds to channel 3, and the second bit stream after the second bit stream corresponds to channel 1.
步骤S405:ONT从多路比特流中确定第一比特流;该第一比特流还包括ONT标识与通道标识之间的对应关系。Step S405: The ONT determines the first bit stream from the multiple bit streams; the first bit stream also includes the correspondence between the ONT identifier and the channel identifier.
在一种实现方式中,ONT标识与通道标识之间的对应关系包括于第一广播信息中。当本申请实施例应用于ITU-T体系中的无源光网络系统(如GPON、XG-PON、XGS-PON或TWDM  PON)时,该第一广播信息可以指当前所应用系统的下行帧中承载的ploam消息。当本申请实施例应用于IEEE体系中的无源光网络系统(如EPON、10G-EPON)时,该第一广播信息可以指当前所应用系统的下行帧中承载的广播消息或者OAM消息。ONT需要解析ploam消息(或者下行帧中承载的广播消息、OAM消息)才能获取ONT标识与通道标识之间的对应关系。In an implementation manner, the corresponding relationship between the ONT identifier and the channel identifier is included in the first broadcast information. When the embodiment of this application is applied to a passive optical network system in the ITU-T system (such as GPON, XG-PON, XGS-PON or TWDM PON), the first broadcast information may refer to the downstream frame of the currently applied system The carried ploam message. When the embodiment of the present application is applied to a passive optical network system in the IEEE system (such as EPON, 10G-EPON), the first broadcast information may refer to the broadcast message or OAM message carried in the downlink frame of the currently applied system. The ONT needs to parse the ploam message (or the broadcast message or OAM message carried in the downlink frame) to obtain the correspondence between the ONT identifier and the channel identifier.
在一种实现方式中,ONT可以包括处理模块,该处理模块可以用于解析第一广播信息。但是在实际情况下,处理模块可能只具备解析预设帧头信息对应的数据帧的能力,进而解析该数据帧中的第一广播信息。换言之,处理模块可能不具备解析非预设帧头信息对应的数据帧的能力。为了成功解析得到第一广播信息中的ONT标识与通道标识之间的对应关系,ONT可以获取该处理模块的能力信息;若该能力信息指示该处理模块不具备解析用于组成第一比特流的数据帧的帧头信息的能力,则该ONT可以对用于组成该第一比特流的数据帧的帧头信息进行转换,该处理模块具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。通过这种方式,可以确保ONT可以解析得到ONT标识与通道标识之间的对应关系。例如,当预设帧头信息为psync,第一比特流的数据帧的帧头信息为psync_1时,ONT可以将帧头信息由psync_1转换为psync。In an implementation manner, the ONT may include a processing module, and the processing module may be used to parse the first broadcast information. However, in actual situations, the processing module may only have the ability to analyze the data frame corresponding to the preset frame header information, and then analyze the first broadcast information in the data frame. In other words, the processing module may not have the ability to analyze data frames corresponding to non-preset frame header information. In order to successfully parse the corresponding relationship between the ONT identifier and the channel identifier in the first broadcast information, the ONT can obtain the capability information of the processing module; if the capability information indicates that the processing module does not have the capability to parse the first bit stream Data frame header information, the ONT can convert the header information of the data frame used to compose the first bit stream, and the processing module has the ability to parse the converted data frame used to compose the first bit stream The ability of the frame header information. In this way, it can be ensured that the ONT can resolve the correspondence between the ONT identifier and the channel identifier. For example, when the preset frame header information is psync and the frame header information of the data frame of the first bit stream is psync_1, the ONT may convert the frame header information from psync_1 to psync.
在一种实现方式中,若该能力信息指示该处理模块具备解析用于组成第一比特流的数据帧的帧头信息的能力,则该ONT可以不对用于组成该第一比特流的数据帧的帧头信息进行转换。其中,处理模块可以指ONT中的媒体接入控制(medium access control,MAC)处理芯片。In an implementation manner, if the capability information indicates that the processing module has the ability to parse the header information of the data frame used to compose the first bit stream, the ONT may not be able to correct the data frame used to compose the first bit stream. The header information of the frame is converted. Among them, the processing module may refer to a media access control (medium access control, MAC) processing chip in the ONT.
在一种实现方式中,前述OLT生成多路数据流的具体实施方式可以为:该OLT生成多路原始数据流;若用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则该OLT对用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流。若用于组成每路原始数据流的数据帧的帧头信息相同,则无法通过帧头信息指示数据流对应的通道。此时,ONT通过将用于组成每路原始数据流的数据帧的帧头信息进行转换,可以使得转换后的用于组成每路原始数据流的数据帧的帧头信息不同,这样可以通过帧头信息指示数据流对应的通道。In an implementation manner, the foregoing specific implementation manner for the OLT to generate multiple data streams may be: the OLT generates multiple original data streams; If the frame header information is the same, the OLT converts the frame header information of the data frame used to form each original data stream in the multiple original data streams to obtain the multiple data streams. If the frame header information of the data frames used to compose each original data stream is the same, the frame header information cannot be used to indicate the channel corresponding to the data stream. At this time, the ONT converts the frame header information of the data frame used to compose each original data stream, so that the converted frame header information of the data frame used to compose each original data stream can be different. The header information indicates the channel corresponding to the data stream.
步骤S406:ONT根据ONT标识与通道标识之间的对应关系,以及该ONT的标识,确定该ONT对应的通道。Step S406: The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identification and the channel identification, and the identification of the ONT.
需要说明的是,步骤S405~步骤S406的执行过程可参见图2a中步骤S204的具体描述,此处不再赘述。It should be noted that, for the execution process of step S405 to step S406, please refer to the specific description of step S204 in FIG. 2a, which will not be repeated here.
步骤S407:ONT从该多路比特流中确定目标比特流;该目标比特流对应的通道与该ONT对应的通道相同。Step S407: The ONT determines a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
需要说明的是,步骤S407的执行过程可参见图2a中步骤S205的具体描述,此处不再赘述。It should be noted that, for the execution process of step S407, refer to the specific description of step S205 in FIG. 2a, which will not be repeated here.
在一种实现方式中,多路比特流中比特流的位置之间可以具有顺序关系,关于多路比特流中比特流的位置之间具有顺序关系的具体描述可参见图3中步骤S306,此处不再赘述。在一种实现方式中,ONT可以采用以下方式从多路比特流中确定目标比特流:根据第一比特流对应的通道和ONT对应的通道,确定目标比特流相对该第一比特流的位置信息;根据该目标比特流相对该第一比特流的位置信息,从多路比特流中确定该目标比特流。例如,当OLT按照比特流a、比特流b、比特流c的顺序进行比特交织处理,比特流a、比特流b、比特流c 分别与通道1、通道2、通道3对应,且第一比特流对应通道2,ONT对应通道3时,ONT可以确定通道3对应的比特流(即目标比特流)为第二比特流后的下一路比特流。In an implementation manner, the positions of the bitstreams in the multiple bitstreams may have an order relationship. For a detailed description of the order relationships between the positions of the bitstreams in the multiple bitstream, please refer to step S306 in FIG. 3. I won't repeat it here. In an implementation manner, the ONT may determine the target bitstream from the multiple bitstreams in the following manner: determine the position information of the target bitstream relative to the first bitstream according to the channel corresponding to the first bitstream and the channel corresponding to the ONT ; According to the position information of the target bit stream relative to the first bit stream, the target bit stream is determined from the multiple bit streams. For example, when the OLT performs bit interleaving in the order of bit stream a, bit stream b, and bit stream c, bit stream a, bit stream b, and bit stream c correspond to channel 1, channel 2, and channel 3 respectively, and the first bit When the stream corresponds to channel 2 and the ONT corresponds to channel 3, the ONT can determine that the bit stream corresponding to channel 3 (that is, the target bit stream) is the next bit stream after the second bit stream.
ONT确定所需的目标比特流之后,需要将该目标比特流发送至处理模块,处理模块可以对该目标比特流进行解析,也可以将该目标比特流转发至其他设备。由步骤S405可知,为了获取ONT标识与通道标识之间的对应关系,ONT对第一比特流进行了解析。即在确定目标比特流之前,ONT已将第一比特流发送至处理模块。在此情况下,若第一比特流对应的通道与ONT对应的通道相同,则表明ONT所需的目标比特流即为第一比特流。ONT可以不用再次向处理模块发送目标比特流。在一种实现方式中,若第一比特流对应的通道与ONT对应的通道不同,则表明第一比特流并非ONT所需的目标比特流。在此情况下,ONT可以触发从多路比特流中确定目标比特流的步骤。After the ONT determines the required target bit stream, it needs to send the target bit stream to the processing module. The processing module can parse the target bit stream or forward the target bit stream to other devices. It can be known from step S405 that in order to obtain the correspondence between the ONT identifier and the channel identifier, the ONT parses the first bit stream. That is, before determining the target bit stream, the ONT has sent the first bit stream to the processing module. In this case, if the channel corresponding to the first bit stream is the same as the channel corresponding to the ONT, it indicates that the target bit stream required by the ONT is the first bit stream. The ONT does not need to send the target bit stream to the processing module again. In an implementation manner, if the channel corresponding to the first bit stream is different from the channel corresponding to the ONT, it indicates that the first bit stream is not the target bit stream required by the ONT. In this case, the ONT can trigger the step of determining the target bitstream from the multiple bitstreams.
在本申请实施例中,第一指示信息可以为组成比特流的数据帧的帧头信息。由于ONT确定数据帧的帧头信息的速度较快,因此通过用于组成比特流的数据帧的帧头信息,有利于提高比特流对应的通道的效率。In the embodiment of the present application, the first indication information may be frame header information of the data frame constituting the bit stream. Since the ONT determines the frame header information of the data frame faster, the frame header information used to compose the data frame of the bit stream helps to improve the efficiency of the channel corresponding to the bit stream.
上述详细阐述了本申请实施例提供的方法,下面将提供本申请实施例的装置。The foregoing describes in detail the method provided in the embodiment of the present application, and the device of the embodiment of the present application will be provided below.
请参见图5,为本申请实施例提供的一种通信装置50的结构示意图。图5所示的通信装置50可包括通信模块501和处理模块502。通信模块501可包括发送模块和/或接收模块,发送模块用于实现发送功能,接收模块用于实现接收功能,通信模块501可以实现发送功能和/或接收功能。通信模块也可以描述为收发模块。Please refer to FIG. 5, which is a schematic structural diagram of a communication device 50 according to an embodiment of this application. The communication device 50 shown in FIG. 5 may include a communication module 501 and a processing module 502. The communication module 501 may include a sending module and/or a receiving module. The sending module is used to realize the sending function, the receiving module is used to realize the receiving function, and the communication module 501 may realize the sending function and/or the receiving function. The communication module can also be described as a transceiver module.
通信装置50可以是ONT,也可以ONT中的装置,还可以是能够与ONT匹配使用的装置。The communication device 50 may be an ONT, a device in the ONT, or a device that can be matched and used with the ONT.
通信模块501,用于接收来自光线路终端OLT的复用比特流;The communication module 501 is configured to receive the multiplexed bit stream from the optical line terminal OLT;
处理模块502,用于对该复用比特流进行处理,得到多路比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processing module 502 is configured to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine The channel corresponding to the bitstream;
处理模块502,还用于确定通信装置50对应的通道;从多路比特流中确定目标比特流;该目标比特流对应的通道与通信装置50对应的通道相同。The processing module 502 is further configured to determine a channel corresponding to the communication device 50; determine a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device 50.
在一种实现方式中,处理模块502用于确定通信装置50对应的通道时,具体可以用于:从多路比特流中确定第一比特流;该第一比特流还包括通信装置标识与通道标识之间的对应关系;根据通信装置标识与通道标识之间的对应关系,以及通信装置50的标识,确定通信装置50对应的通道。In an implementation manner, when the processing module 502 is used to determine the channel corresponding to the communication device 50, it can be specifically used to determine a first bit stream from multiple bit streams; the first bit stream also includes the communication device identifier and the channel Correspondence between the identifications; according to the correspondence between the communication device identification and the channel identification, and the identification of the communication device 50, determine the channel corresponding to the communication device 50.
在一种实现方式中,通信装置50对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the communication device 50 corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,通信装置50未对应有默认通道;处理模块502用于从多路比特流中确定第一比特流时,具体用于:将多路比特流中的任一路比特流确定为第一比特流;多路比特流中的每路比特流均包括前述通信装置标识与通道标识之间的对应关系。In an implementation manner, the communication device 50 does not correspond to a default channel; when the processing module 502 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams It is the first bit stream; each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息包括前述通信装置标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括通信装置50。In an implementation manner, the first bitstream may include first broadcast information, the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier, and the first broadcast information is applicable to the communication device corresponding to the OLT, The communication device corresponding to the OLT includes a communication device 50.
在一种实现方式中,处理模块502还可以用于根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道;该第二比特流为前述多路比特流中的任一路比特流;若该第二 比特流对应的通道与通信装置50对应的通道不同,则触发从前述多路比特流中确定目标比特流的步骤。In an implementation manner, the processing module 502 may be further configured to determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any of the foregoing multiple bit streams. One bit stream; if the channel corresponding to the second bit stream is different from the channel corresponding to the communication device 50, the step of determining the target bit stream from the foregoing multiple bit streams is triggered.
在一种实现方式中,前述多路比特流中比特流的位置之间可以具有顺序关系;处理模块502用于从多路比特流中确定目标比特流时,具体可以用于:根据第二比特流对应的通道和通信装置50对应的通道,确定目标比特流相对该第二比特流的位置信息;根据该目标比特流相对该第二比特流的位置信息,从多路比特流中确定该目标比特流。In an implementation manner, the positions of the bit streams in the foregoing multiple bit streams may have a sequential relationship; when the processing module 502 is used to determine the target bit stream from the multiple bit streams, it may be specifically used to: according to the second bit stream The channel corresponding to the stream and the channel corresponding to the communication device 50 determine the position information of the target bit stream relative to the second bit stream; according to the position information of the target bit stream relative to the second bit stream, the target is determined from the multiple bit streams Bitstream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括通信装置50。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable For the communication device corresponding to the OLT, the communication device corresponding to the OLT includes the communication device 50.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,一路比特流可以包括多个第二广播信息。In one implementation, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information. The stream may include multiple second broadcast information.
在一种实现方式中,处理模块502可以由选路单元5021和处理单元5022组成。其中,选路单元5021,可以用于从多路比特流中确定第二比特流,并将该第二比特流传输至处理单元5022;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;该第二比特流为多路比特流中的任一路比特流;In an implementation manner, the processing module 502 may be composed of a routing unit 5021 and a processing unit 5022. Wherein, the routing unit 5021 can be used to determine the second bit stream from the multiple bit streams, and transmit the second bit stream to the processing unit 5022; for each bit stream in the multiple bit stream, the bit stream Including first indication information, where the first indication information is used to determine the channel corresponding to the bit stream; the second bit stream is any one of the multiple bit streams;
处理单元5022,用于根据该第二比特流中的第一指示信息,确定该第二比特流对应的通道(参见步骤S304);确定该通信装置50对应的通道,若第二比特流对应的通道与通信装置50对应的通道不同,则向选路单元5021发送第二指示信息,该第二指示信息用于确定目标比特流;The processing unit 5022 is configured to determine the channel corresponding to the second bit stream according to the first indication information in the second bit stream (see step S304); determine the channel corresponding to the communication device 50, if the second bit stream corresponds to If the channel is different from the channel corresponding to the communication device 50, the second instruction information is sent to the routing unit 5021, and the second instruction information is used to determine the target bit stream;
选路单元5021,还用于根据该第二指示信息从多路比特流中确定该目标比特流,并将该目标比特流传输至处理单元5022;该目标比特流对应的通道与该通信装置50对应的通道相同。The routing unit 5021 is further configured to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit 5022; the channel corresponding to the target bit stream and the communication device 50 The corresponding channels are the same.
在一种实现方式中,处理模块502还可以包括解复用单元5023。通信模块501可以用于接收来自OLT的复用比特流。解复用单元5023可以用于对复用比特流进行处理,得到多路比特流。选路单元5021可以用于将多路比特流中的任一路比特流确定为第二比特流,或者,选路单元5021可以用于将解复用单元5023对复用比特流进行处理之后得到的第一路比特流确定为第二比特流。选路单元5021将该第二比特流传输至处理单元5022,以便处理单元5022根据该第二比特流中的第一指示信息,确定该第二比特流对应的通道。In an implementation manner, the processing module 502 may further include a demultiplexing unit 5023. The communication module 501 may be used to receive the multiplexed bit stream from the OLT. The demultiplexing unit 5023 may be used to process the multiplexed bit stream to obtain multiple bit streams. The routing unit 5021 can be used to determine any one of the multiple bit streams as the second bit stream, or the routing unit 5021 can be used to obtain the result obtained after the demultiplexing unit 5023 processes the multiplexed bit stream. The first bit stream is determined to be the second bit stream. The routing unit 5021 transmits the second bit stream to the processing unit 5022, so that the processing unit 5022 determines the channel corresponding to the second bit stream according to the first indication information in the second bit stream.
若第二比特流对应的通道与通信装置50对应的通道不同,则可以表示第二比特流并非通信装置50所需的比特流,处理单元5022向选路单元5021发送第二指示信息,以便选路单元5021根据该第二指示信息从多路比特流中确定该目标比特流。目标比特流为通信装置50所需的比特流。在一种实现方式中,若该第二比特流对应的通道与通信装置50对应的通道相同,则可以表示第二比特流即为通信装置50所需的比特流(即目标比特流),此时,处理单元5022可以不向选路单元5021发送第二指示信息。If the channel corresponding to the second bit stream is different from the channel corresponding to the communication device 50, it can indicate that the second bit stream is not the bit stream required by the communication device 50, and the processing unit 5022 sends second indication information to the routing unit 5021 for selection. The path unit 5021 determines the target bit stream from the multiple bit streams according to the second indication information. The target bit stream is a bit stream required by the communication device 50. In an implementation manner, if the channel corresponding to the second bit stream is the same as the channel corresponding to the communication device 50, it can indicate that the second bit stream is the bit stream required by the communication device 50 (that is, the target bit stream). At this time, the processing unit 5022 may not send the second instruction information to the routing unit 5021.
选路单元5021还可以用于将该目标比特流传输至处理单元5022。在一种实现方式中,处理单元5022还可以用于对该目标比特流进行处理,或者,处理单元5022还可以用于调用通信模块501,通信模块501可以用于将该目标比特流传输至其他设备。The routing unit 5021 may also be used to transmit the target bit stream to the processing unit 5022. In an implementation manner, the processing unit 5022 can also be used to process the target bit stream, or the processing unit 5022 can also be used to call the communication module 501, and the communication module 501 can be used to transmit the target bit stream to other equipment.
在一种实现方式中,多路比特流中的第一比特流还可以包括通信装置标识与通道标识之间的对应关系。选路单元5021,还可以用于从多路比特流中确定第一比特流(参见步骤S204), 并将该第一比特流传输至处理单元5022。处理单元5022还可以用于对来自选路单元5021的第一比特流进行解析,得到该第一比特流携带的通信装置标识与通道标识之间的对应关系。处理单元5022用于确定通信装置50对应的通道时,具体可以用于:根据通信装置标识与通道标识之间的对应关系,以及通信装置50的标识,确定通信装置50对应的通道。当通信装置50为ONT,通信装置标识为ONT标识时,处理单元5022用于根据通信装置标识与通道标识之间的对应关系,以及通信装置50的标识,确定通信装置50对应的通道的执行过程可参见图2a中步骤S204的具体描述,此处不再赘述。In an implementation manner, the first bit stream in the multi-channel bit stream may further include a correspondence between the communication device identifier and the channel identifier. The routing unit 5021 may also be used to determine the first bit stream from the multiple bit streams (see step S204), and transmit the first bit stream to the processing unit 5022. The processing unit 5022 may also be configured to analyze the first bit stream from the routing unit 5021 to obtain the correspondence between the communication device identifier and the channel identifier carried in the first bit stream. When the processing unit 5022 is used to determine the channel corresponding to the communication device 50, it can be specifically used to determine the channel corresponding to the communication device 50 according to the correspondence between the communication device identifier and the channel identifier, and the identifier of the communication device 50. When the communication device 50 is an ONT and the communication device identification is an ONT identification, the processing unit 5022 is used to determine the execution process of the channel corresponding to the communication device 50 according to the correspondence between the communication device identification and the channel identification, and the identification of the communication device 50 Please refer to the detailed description of step S204 in FIG. 2a, which will not be repeated here.
在一种实现方式中,通信装置50对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the communication device 50 corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,通信装置50未对应有默认通道;选路单元5021用于从多路比特流中确定第一比特流时,具体用于:将多路比特流中的任一路比特流确定为第一比特流(参见步骤S204);多路比特流中的每路比特流均包括前述通信装置标识与通道标识之间的对应关系。In an implementation manner, the communication device 50 does not correspond to a default channel; when the routing unit 5021 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: It is determined to be the first bit stream (see step S204); each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息包括前述通信装置标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括通信装置50。In an implementation manner, the first bitstream may include first broadcast information, the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier, and the first broadcast information is applicable to the communication device corresponding to the OLT, The communication device corresponding to the OLT includes a communication device 50.
在一种实现方式中,第二指示信息可以包括第二比特流对应的通道的标识以及通信装置50对应的通道的标识;选路单元5021用于根据第二指示信息从多路比特流中确定所述目标比特流时,具体可以用于:根据该第二比特流对应的通道的标识以及通信装置50对应的通道的标识,从多路比特流中确定目标比特流。在一种实现方式中,多路比特流中比特流的位置之间可以具有顺序关系。选路单元5021根据第二指示信息确定第二比特流对应的通道之后,可以根据多路比特流中比特流的位置之间具有的顺序关系,以及第二比特流对应的通道,确定多路比特流中除第二比特流以外的其他比特流对应的通道。In an implementation manner, the second indication information may include the identifier of the channel corresponding to the second bit stream and the identifier of the channel corresponding to the communication device 50; the routing unit 5021 is configured to determine from the multiple bit streams according to the second indication information The target bitstream may be specifically used to determine the target bitstream from the multiple bitstreams according to the identifier of the channel corresponding to the second bitstream and the identifier of the channel corresponding to the communication device 50. In an implementation manner, the positions of the bit streams in the multiple bit streams may have an order relationship. After the routing unit 5021 determines the channel corresponding to the second bit stream according to the second indication information, it may determine the multi-channel bit according to the order relationship between the positions of the bit stream in the multi-channel bit stream and the channel corresponding to the second bit stream. Channels corresponding to other bit streams in the stream except the second bit stream.
在一种实现方式中,多路比特流中比特流的位置可以之间具有顺序关系,第二指示信息可以包括目标比特流相对第二比特流的位置信息;选路单元5021用于根据第二指示信息从多路比特流中确定目标比特流时,具体用于:根据该目标比特流相对该第二比特流的位置信息,从多路比特流中确定该目标比特流(参见步骤S306)。In an implementation manner, the positions of the bitstreams in the multiple bitstreams may have an order relationship, and the second indication information may include position information of the target bitstream relative to the second bitstream; the routing unit 5021 is configured to When the instruction information determines the target bit stream from the multiple bit streams, it is specifically used to determine the target bit stream from the multiple bit streams according to the position information of the target bit stream relative to the second bit stream (see step S306).
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括通信装置50。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable For the communication device corresponding to the OLT, the communication device corresponding to the OLT includes the communication device 50.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,一路比特流可以包括多个第二广播信息。In one implementation, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information. The stream may include multiple second broadcast information.
需要说明的是,图5对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图2a-图3所示实施例以及前述内容,此处不再赘述。It should be noted that the content not mentioned in the embodiment corresponding to FIG. 5 and the specific implementation of the steps of each module can refer to the embodiment shown in FIGS. 2a to 3 and the foregoing content, which will not be repeated here.
请参见图6,图6为本申请实施例提供的另一种通信装置60的结构示意图。图6所示的通信装置60可包括处理模块601和通信模块602。通信模块602可包括发送模块和/或接收模块,发送模块用于实现发送功能,接收模块用于实现接收功能,通信模块602可以实现发送功能和/或接收功能。通信模块也可以描述为收发模块。Please refer to FIG. 6, which is a schematic structural diagram of another communication device 60 according to an embodiment of the application. The communication device 60 shown in FIG. 6 may include a processing module 601 and a communication module 602. The communication module 602 may include a sending module and/or a receiving module. The sending module is used to realize the sending function, the receiving module is used to realize the receiving function, and the communication module 602 may realize the sending function and/or the receiving function. The communication module can also be described as a transceiver module.
通信装置60可以是OLT,也可以OLT中的装置,还可以是能够与OLT匹配使用的装置。The communication device 60 may be an OLT, a device in the OLT, or a device that can be matched and used with the OLT.
处理模块601,用于生成多路数据流,对该多路比特流进行处理,得到一路复用比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processing module 601 is configured to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the The first indication information is used to determine the channel corresponding to the bit stream;
通信模块602,用于将该复用比特流传输至通信装置60对应的光网络终端ONT。The communication module 602 is configured to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device 60.
在一种实现方式中,多路比特流中的第一比特流还包括ONT标识与通道标识之间的对应关系。In an implementation manner, the first bit stream in the multi-channel bit stream further includes a corresponding relationship between the ONT identifier and the channel identifier.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,ONT未对应有默认通道;该第一比特流为多路比特流中的任一路比特流,多路比特流中的每路比特流均包括前述ONT标识与通道标识之间的对应关系。In one implementation, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于通信装置60对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to the ONT corresponding to the communication device 60.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于通信装置60对应的ONT。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable ONT corresponding to the communication device 60.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,该比特流包括多个第二广播信息。In an implementation manner, for each bit stream in the multiple bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information. The stream includes a plurality of second broadcast information.
在一种实现方式中,处理模块601可以由处理单元6011和复用单元6012组成。其中,处理单元6011,用于生成多路比特流,并将该多路比特流传输至复用单元6012;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道。In an implementation manner, the processing module 601 may be composed of a processing unit 6011 and a multiplexing unit 6012. The processing unit 6011 is configured to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit 6012; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the The first indication information is used to determine the channel corresponding to the bit stream.
在一种实现方式中,多路比特流中的第一比特流还可以包括ONT标识与通道标识之间的对应关系。复用单元6012用于对该多路数据流进行处理,得到一路复用比特流。通信模块602用于将该复用比特流传输至ONT。In an implementation manner, the first bit stream in the multi-channel bit stream may further include a corresponding relationship between the ONT identifier and the channel identifier. The multiplexing unit 6012 is used to process the multiple data streams to obtain a multiplexed bit stream. The communication module 602 is used to transmit the multiplexed bit stream to the ONT.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,ONT未对应有默认通道;该第一比特流为多路比特流中的任一路比特流,多路比特流中的每路比特流均包括前述ONT标识与通道标识之间的对应关系。In one implementation, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于通信装置60对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to the ONT corresponding to the communication device 60.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流包括第二广播信息,该第二广播信息包括该比特流中的第一指示信息,该第二广播信息适用于通信装置60对应的ONT。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, the second broadcast information includes the first indication information in the bit stream, and the second broadcast information is applicable ONT corresponding to the communication device 60.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,多个数据帧中的部分或者全部数据帧均包括该第二广播信息,该比特流包括多个第二广播信息。In an implementation manner, for each bit stream in the multiple bit stream, the bit stream is composed of multiple data frames, and some or all of the multiple data frames include the second broadcast information. The stream includes a plurality of second broadcast information.
需要说明的是,图6对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图2a-图3所示实施例以及前述内容,此处不再赘述。It should be noted that the content not mentioned in the embodiment corresponding to FIG. 6 and the specific implementation of the steps of each module can refer to the embodiment shown in FIG. 2a to FIG. 3 and the foregoing content, and will not be repeated here.
请参见图7,图7为本申请实施例提供的又一种通信装置70的结构示意图。图7所示的通信装置70可包括通信模块701和处理模块702。通信模块701可包括发送模块和/或接收模块,发送模块用于实现发送功能,接收模块用于实现接收功能,通信模块701可以实现发送 功能和/或接收功能。通信模块也可以描述为收发模块。Please refer to FIG. 7, which is a schematic structural diagram of another communication device 70 according to an embodiment of the application. The communication device 70 shown in FIG. 7 may include a communication module 701 and a processing module 702. The communication module 701 may include a sending module and/or a receiving module. The sending module is used to realize the sending function, the receiving module is used to realize the receiving function, and the communication module 701 may realize the sending function and/or the receiving function. The communication module can also be described as a transceiver module.
通信装置70可以是ONT,也可以ONT中的装置,还可以是能够与ONT匹配使用的装置。The communication device 70 may be an ONT, a device in the ONT, or a device that can be matched and used with the ONT.
通信模块701,用于接收来自光线路终端OLT的复用比特流;The communication module 701 is configured to receive the multiplexed bit stream from the optical line terminal OLT;
处理模块702用于对该复用比特流进行处理,得到多路比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processing module 702 is configured to process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine the The channel corresponding to the bitstream;
处理模块702,还用于确定通信装置70对应的通道;从多路比特流中确定目标比特流;该目标比特流对应的通道与通信装置70对应的通道相同。The processing module 702 is further configured to determine a channel corresponding to the communication device 70; determine a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the communication device 70.
在一种实现方式中,处理模块702用于确定通信装置70对应的通道时,具体可以用于:从多路比特流中确定第一比特流;该第一比特流还包括通信装置标识与通道标识之间的对应关系;根据通信装置标识与通道标识之间的对应关系,以及通信装置70的标识,确定通信装置70对应的通道。In an implementation manner, when the processing module 702 is used to determine the channel corresponding to the communication device 70, it can be specifically used to determine a first bit stream from multiple bit streams; the first bit stream also includes the communication device identifier and the channel Correspondence between the identifications; according to the correspondence between the communication device identification and the channel identification, and the identification of the communication device 70, determine the channel corresponding to the communication device 70.
在一种实现方式中,通信装置70对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the communication device 70 corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,通信装置70未对应有默认通道;处理模块702用于从多路比特流中确定第一比特流时,具体用于:将多路比特流中的任一路比特流确定为第一比特流;多路比特流中的每路比特流均包括前述通信装置标识与通道标识之间的对应关系。In an implementation manner, the communication device 70 does not correspond to a default channel; when the processing module 702 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: determine any one of the multiple bit streams It is the first bit stream; each bit stream in the multi-channel bit stream includes the corresponding relationship between the aforementioned communication device identifier and the channel identifier.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息包括前述通信装置标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括通信装置70。In an implementation manner, the first bitstream may include first broadcast information, the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier, and the first broadcast information is applicable to the communication device corresponding to the OLT, The communication device corresponding to the OLT includes a communication device 70.
在一种实现方式中,处理模块702,还可以用于根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道;该第二比特流为多路比特流中的任一路比特流。In an implementation manner, the processing module 702 may also be used to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream; the second bit stream is a multi-channel bit stream. Any bit stream in the bit stream.
在一种实现方式中,处理模块702用于根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道时,具体可以用于:针对多路比特流中的每路比特流,根据该比特流包括的第一指示信息,确定该比特流对应的通道。In an implementation manner, when the processing module 702 is configured to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream, it can be specifically used to: For each bit stream in the bit stream, the channel corresponding to the bit stream is determined according to the first indication information included in the bit stream.
在一种实现方式中,处理模块702用于根据第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道时,具体可以用于:根据第二比特流包括的第一指示信息,确定该第二比特流对应的通道;针对多路比特流中除该第二比特流以外的每路比特流,根据该第二比特流对应的通道,确定该比特流对应的通道。In an implementation manner, when the processing module 702 is configured to determine the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream, it can be specifically used to: according to the second bit stream The included first indication information determines the channel corresponding to the second bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, the bit stream is determined according to the channel corresponding to the second bit stream Corresponding channel.
在一种实现方式中,处理模块702还可以用于若第一比特流对应的通道与通信装置70对应的通道不同,则触发从多路比特流中确定目标比特流的步骤。In an implementation manner, the processing module 702 may also be used to trigger the step of determining the target bit stream from the multiple bit streams if the channel corresponding to the first bit stream is different from the channel corresponding to the communication device 70.
在一种实现方式中,多路比特流中比特流的位置之间具有顺序关系;处理模块702从多路比特流中确定目标比特流时,具体可以用于:根据第一比特流对应的通道和通信装置70对应的通道,确定目标比特流相对该第一比特流的位置信息;根据该目标比特流相对该第一比特流的位置信息,从多路比特流中确定该目标比特流。In an implementation manner, the positions of the bitstreams in the multiple bitstreams have an order relationship; when the processing module 702 determines the target bitstream from the multiple bitstreams, it can be specifically used to: according to the channel corresponding to the first bitstream The channel corresponding to the communication device 70 determines the location information of the target bit stream relative to the first bit stream; and determines the target bit stream from the multiple bit streams according to the location information of the target bit stream relative to the first bit stream.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在一种实现方式中,处理模块702还可以用于获取该处理模块702的能力信息;若该能力信息指示该处理模块702不具备解析用于组成第一比特流的数据帧的帧头信息的能力,则 对用于组成该第一比特流的数据帧的帧头信息进行转换,该处理模块702具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。In an implementation manner, the processing module 702 may also be used to obtain capability information of the processing module 702; if the capability information indicates that the processing module 702 does not have the capability to parse the header information of the data frame used to compose the first bit stream Ability to convert the header information of the data frame used to compose the first bit stream, and the processing module 702 has the ability to analyze the converted header information of the data frame used to compose the first bit stream.
在一种实现方式中,处理模块702可以由解复用单元7021和处理单元7022组成。其中,解复用单元7021,用于获取复用比特流,并对该复用比特流进行处理,得到多路比特流(参见步骤S203);针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;通信模块701可以用于接收来自OLT的复用比特流;In an implementation manner, the processing module 702 may be composed of a demultiplexing unit 7021 and a processing unit 7022. Among them, the demultiplexing unit 7021 is used to obtain a multiplexed bit stream, and process the multiplexed bit stream to obtain a multiple bit stream (see step S203); for each bit stream in the multiple bit stream, the The bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the communication module 701 may be used to receive the multiplexed bit stream from the OLT;
解复用单元7021,还用于根据多路比特流中的第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道(参见步骤S404);从多路比特流中确定第一比特流(参见步骤S204);将第一比特流传输至处理单元7022;该第一比特流还包括通信装置标识与通道标识之间的对应关系;第二比特流为多路比特流中的任一路比特流;The demultiplexing unit 7021 is further configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream (see step S404); The first bit stream is determined in the bit stream (see step S204); the first bit stream is transmitted to the processing unit 7022; the first bit stream also includes the correspondence between the communication device identifier and the channel identifier; the second bit stream is multiple Any bit stream in the bit stream;
处理单元7022,用于根据通信装置标识与通道标识之间的对应关系,以及该通信装置70的标识,确定通信装置70对应的通道;向解复用单元7021发送第二指示信息,该第二指示信息用于确定目标比特流;目标比特流为通信装置70所需的比特流;处理单元7022还可以用于对来自解复用单元7021的第一比特流进行解析,得到该第一比特流携带的通信装置标识与通道标识之间的对应关系;The processing unit 7022 is configured to determine the channel corresponding to the communication device 70 according to the correspondence between the communication device identifier and the channel identifier, and the identifier of the communication device 70; send second indication information to the demultiplexing unit 7021, the second The indication information is used to determine the target bit stream; the target bit stream is the bit stream required by the communication device 70; the processing unit 7022 can also be used to parse the first bit stream from the demultiplexing unit 7021 to obtain the first bit stream Correspondence between the carried communication device identifier and the channel identifier;
解复用单元7021,还用于根据该第二指示信息从多路比特流中确定该目标比特流,并将该目标比特流传输至处理单元7022;目标比特流对应的通道与通信装置70对应的通道相同。在一种实现方式中,处理单元7022还可以用于对该目标比特流进行处理,或者,处理单元7022还可以用于调用通信模块701,通信模块701还可以用于将该目标比特流传输至其他设备。The demultiplexing unit 7021 is further configured to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit 7022; the channel corresponding to the target bit stream corresponds to the communication device 70 The channels are the same. In an implementation manner, the processing unit 7022 can also be used to process the target bit stream, or the processing unit 7022 can also be used to call the communication module 701, and the communication module 701 can also be used to transmit the target bit stream to other devices.
在一种实现方式中,通信装置70对应有默认通道;第一比特流可以为该默认通道对应的比特流。In an implementation manner, the communication device 70 corresponds to a default channel; the first bit stream may be a bit stream corresponding to the default channel.
在一种实现方式中,通信装置70未对应有默认通道;解复用单元7021用于从多路比特流中确定第一比特流时,具体用于:将多路比特流中的任一路比特流确定为第一比特流(参见步骤S204);多路比特流中的每路比特流均包括前述通信装置标识与通道标识之间的对应关系。In an implementation manner, the communication device 70 does not correspond to a default channel; when the demultiplexing unit 7021 is used to determine the first bit stream from the multiple bit streams, it is specifically used to: The stream is determined to be the first bit stream (see step S204); each bit stream in the multi-channel bit stream includes the correspondence between the aforementioned communication device identifier and the channel identifier.
在一种实现方式中,第一比特流可以包括第一广播信息,该第一广播信息包括前述通信装置标识与通道标识之间的对应关系,该第一广播信息适用于OLT对应的通信装置,该OLT对应的通信装置包括通信装置70。In an implementation manner, the first bitstream may include first broadcast information, the first broadcast information includes the aforementioned correspondence between the communication device identifier and the channel identifier, and the first broadcast information is applicable to the communication device corresponding to the OLT, The communication device corresponding to the OLT includes a communication device 70.
在一种实现方式中,解复用单元7021还用于向处理单元7022发送第三指示信息,该第三指示信息用于指示第一比特流对应的通道;处理单元7022用于向解复用单元7021发送第二指示信息时,具体用于:若第一比特流对应的通道与通信装置70对应的通道不同,则向解复用单元7021发送第二指示信息。若第一比特流对应的通道与通信装置70对应的通道不同,则可以表示第二比特流并非通信装置70所需的比特流,处理单元7022向解复用单元7021发送第二指示信息,以便解复用单元7021根据该第二指示信息从多路比特流中确定该目标比特流。在一种实现方式中,若该第一比特流对应的通道与通信装置70对应的通道相同,则可以表示第一比特流即为通信装置70所需的比特流(即目标比特流),此时,处理单元7022可以不向解复用单元7021发送第二指示信息。In one implementation, the demultiplexing unit 7021 is further configured to send third indication information to the processing unit 7022, where the third indication information is used to indicate the channel corresponding to the first bit stream; the processing unit 7022 is configured to When the unit 7021 sends the second instruction information, it is specifically configured to: if the channel corresponding to the first bit stream is different from the channel corresponding to the communication device 70, send the second instruction information to the demultiplexing unit 7021. If the channel corresponding to the first bit stream is different from the channel corresponding to the communication device 70, it can indicate that the second bit stream is not the bit stream required by the communication device 70, and the processing unit 7022 sends the second instruction information to the demultiplexing unit 7021 so as to The demultiplexing unit 7021 determines the target bit stream from the multiple bit streams according to the second indication information. In an implementation manner, if the channel corresponding to the first bit stream is the same as the channel corresponding to the communication device 70, it can indicate that the first bit stream is the bit stream required by the communication device 70 (that is, the target bit stream). At this time, the processing unit 7022 may not send the second indication information to the demultiplexing unit 7021.
在一种实现方式中,第二指示信息可以包括通信装置70对应的通道的标识;由于解复用单元7021知道每路比特流对应的通道,解复用单元7021用于根据第二指示信息从多路比特 流中确定目标比特流时,具体用于:从多路比特流中确定目标比特流,该目标比特流对应的通道的标识与通信装置70对应的通道的标识相同。In an implementation manner, the second indication information may include the identifier of the channel corresponding to the communication device 70; since the demultiplexing unit 7021 knows the channel corresponding to each bit stream, the demultiplexing unit 7021 is configured to download the corresponding channel according to the second indication information. When the target bit stream is determined in the multiple bit stream, it is specifically used to determine the target bit stream from the multiple bit stream, and the identifier of the channel corresponding to the target bit stream is the same as the identifier of the channel corresponding to the communication device 70.
在一种实现方式中,多路比特流中比特流的位置可以之间具有顺序关系,第二指示信息可以包括目标比特流相对第一比特流的位置信息;解复用单元7021用于根据第二指示信息从多路比特流中确定目标比特流时,具体用于:根据该目标比特流相对该第一比特流的位置信息,从多路比特流中确定该目标比特流(参见步骤S407)。In an implementation manner, the positions of the bitstreams in the multiple bitstreams may have a sequential relationship, and the second indication information may include position information of the target bitstream relative to the first bitstream; the demultiplexing unit 7021 is used to 2. When the instruction information determines the target bit stream from the multi-channel bit stream, it is specifically used to: determine the target bit stream from the multi-channel bit stream according to the position information of the target bit stream relative to the first bit stream (see step S407) .
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在一种实现方式中,解复用单元7021,还用于获取处理单元7022的能力信息;若该能力信息指示该处理单元7022不具备解析用于组成第一比特流的数据帧的帧头信息的能力,则对用于组成该第一比特流的数据帧的帧头信息进行转换,该处理单元7022具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力(参见步骤S405)。In one implementation, the demultiplexing unit 7021 is also used to obtain the capability information of the processing unit 7022; if the capability information indicates that the processing unit 7022 does not have the frame header information used to parse the data frames that compose the first bit stream The ability to convert the header information of the data frame used to compose the first bit stream, and the processing unit 7022 has the ability to analyze the converted header information of the data frame used to compose the first bit stream (see Step S405).
在一种实现方式中,解复用单元7021用于根据多路比特流中的第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道时,具体用于:针对所述多路比特流中的每路比特流,根据该比特流包括的第一指示信息,确定该比特流对应的通道(参见步骤S404)。In an implementation manner, the demultiplexing unit 7021 is configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream, specifically using Yu: For each bit stream in the multi-channel bit stream, the channel corresponding to the bit stream is determined according to the first indication information included in the bit stream (see step S404).
在一种实现方式中,解复用单元7021用于根据多路比特流中的第二比特流包括的第一指示信息,确定多路比特流中的每路比特流对应的通道时,具体用于:根据多路比特流中的第二比特流包括的第一指示信息,确定该第二比特流对应的通道;针对多路比特流中除该第二比特流以外的每路比特流,根据该第二比特流对应的通道,确定该比特流对应的通道(参见步骤S404)。In an implementation manner, the demultiplexing unit 7021 is configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream, specifically using Yu: Determine the channel corresponding to the second bit stream according to the first indication information included in the second bit stream in the multi-channel bit stream; for each bit stream in the multi-channel bit stream except the second bit stream, according to For the channel corresponding to the second bit stream, the channel corresponding to the bit stream is determined (see step S404).
需要说明的是,图7对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图2a、图4所示实施例以及前述内容,此处不再赘述。It should be noted that the content not mentioned in the embodiment corresponding to FIG. 7 and the specific implementation of the steps of each module can refer to the embodiment shown in FIG. 2a and FIG. 4 and the foregoing content, and details are not described herein again.
请参见图8,图8为本申请实施例提供的又一种通信装置80的结构示意图。图8所示的通信装置80可包括处理模块801和通信模块802。通信模块802可包括发送模块和/或接收模块,发送模块用于实现发送功能,接收模块用于实现接收功能,通信模块802可以实现发送功能和/或接收功能。通信模块也可以描述为收发模块。Please refer to FIG. 8, which is a schematic structural diagram of yet another communication device 80 according to an embodiment of the application. The communication device 80 shown in FIG. 8 may include a processing module 801 and a communication module 802. The communication module 802 may include a sending module and/or a receiving module. The sending module is used to realize the sending function, the receiving module is used to realize the receiving function, and the communication module 802 may realize the sending function and/or the receiving function. The communication module can also be described as a transceiver module.
通信装置80可以是OLT,也可以OLT中的装置,还可以是能够与OLT匹配使用的装置。The communication device 80 may be an OLT, a device in the OLT, or a device that can be matched and used with the OLT.
处理模块801,用于生成多路数据流,对该多路比特流进行处理,得到一路复用比特流;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;The processing module 801 is configured to generate multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes the first indication information, the The first indication information is used to determine the channel corresponding to the bit stream;
通信模块802,用于将该复用比特流传输至通信装置80对应的光网络终端ONT。The communication module 802 is configured to transmit the multiplexed bit stream to the optical network terminal ONT corresponding to the communication device 80.
在一种实现方式中,多路比特流中的第一比特流还包括ONT标识与通道标识之间的对应关系。In an implementation manner, the first bit stream in the multi-channel bit stream further includes a corresponding relationship between the ONT identifier and the channel identifier.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,ONT未对应有默认通道;该第一比特流为多路比特流中的任一路比特流,多路比特流中的每路比特流均包括前述ONT标识与通道标识之间的对应关系。In one implementation, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes one of the aforementioned ONT identifier and channel identifier. Correspondence between.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通 道标识之间的对应关系,该第一广播信息适用于通信装置80对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to the ONT corresponding to the communication device 80.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在一种实现方式中,处理模块801用于生成多路数据流时,具体用于:获取多路原始数据流;若用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则对用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流。In one implementation, when the processing module 801 is used to generate multiple data streams, it is specifically used to: obtain multiple original data streams; If the frame header information is the same, the frame header information of the data frame used to form each original data stream in the multiple original data streams is converted to obtain the multiple data streams.
在一种实现方式中,处理模块801可以由处理单元8011、复用单元8012、激光器驱动器单元8013组成,通信装置80还可以包括激光器模块803。其中,处理单元8011,用于生成多路比特流,并将该多路比特流传输至复用单元8012;复用单元8012,用于获取多路数据流,对该多路比特流进行处理,得到一路复用比特流;并将该复用比特流传输至激光器驱动器单元8013;针对多路比特流中的每路比特流,该比特流包括第一指示信息,该第一指示信息用于确定该比特流对应的通道;该多路数据流中的第一比特流还包括ONT标识与通道标识之间的对应关系。激光器驱动器单元8013用于驱动激光器模块803发光。激光器模块803用于生成承载有复用比特流的光信号。通信模块802用于将承载有复用比特流的光信号传输至ONT。In an implementation manner, the processing module 801 may be composed of a processing unit 8011, a multiplexing unit 8012, and a laser driver unit 8013, and the communication device 80 may further include a laser module 803. Among them, the processing unit 8011 is used to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit 8012; the multiplexing unit 8012 is used to obtain multiple data streams and process the multiple bit streams, Obtain a multiplexed bit stream; and transmit the multiplexed bit stream to the laser driver unit 8013; for each bit stream in the multiple bit stream, the bit stream includes first indication information, and the first indication information is used to determine The channel corresponding to the bit stream; the first bit stream in the multi-channel data stream also includes the correspondence between the ONT identifier and the channel identifier. The laser driver unit 8013 is used to drive the laser module 803 to emit light. The laser module 803 is used to generate an optical signal carrying a multiplexed bit stream. The communication module 802 is used to transmit the optical signal carrying the multiplexed bit stream to the ONT.
在一种实现方式中,ONT对应有默认通道;第一比特流为该默认通道对应的比特流。In an implementation manner, the ONT corresponds to a default channel; the first bit stream is a bit stream corresponding to the default channel.
在一种实现方式中,ONT未对应有默认通道;第一比特流为多路比特流中的任一路比特流,多路比特流中的每路比特流均包括ONT标识与通道标识之间的对应关系。In one implementation manner, the ONT does not correspond to a default channel; the first bitstream is any one of the multiple bitstreams, and each bitstream in the multiple bitstream includes the difference between the ONT identifier and the channel identifier. Correspondence.
在一种实现方式中,第一比特流包括第一广播信息,该第一广播信息包括ONT标识与通道标识之间的对应关系,该第一广播信息适用于通信装置80对应的ONT。In an implementation manner, the first bit stream includes first broadcast information, the first broadcast information includes a correspondence between an ONT identifier and a channel identifier, and the first broadcast information is applicable to the ONT corresponding to the communication device 80.
在一种实现方式中,针对多路比特流中的每路比特流,该比特流由多个数据帧组成,该比特流包括的第一指示信息为多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。In an implementation manner, for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the first indication information included in the bit stream is the information of any one of the multiple data frames. Frame header information: The frame header information used to compose the data frames of different bit streams is different.
在一种实现方式中,复用单元8012用于获取多路数据流时,具体用于:获取多路原始数据流;若用于组成多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则对用于组成该多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流(参见步骤S405)。In one implementation, when the multiplexing unit 8012 is used to obtain multiple data streams, it is specifically used to: obtain multiple original data streams; if used to form a data frame of each original data stream in the multiple original data streams If the frame header information is the same, the frame header information of the data frame used to form each original data stream in the multiple original data streams is converted to obtain the multiple data streams (see step S405).
需要说明的是,图8对应的实施例中未提及的内容以及各个模块执行步骤的具体实现方式可参见图2a、图4所示实施例以及前述内容,此处不再赘述。It should be noted that the content not mentioned in the embodiment corresponding to FIG. 8 and the specific implementation of the steps of each module can refer to the embodiment shown in FIG. 2a and FIG. 4 and the foregoing content, and will not be repeated here.
请参见图9,图9是本申请实施例提供的又一种通信装置90的结构示意图。通信装置90可以是ONT、OLT,可以是支持ONT实现图5或图7中功能的芯片、芯片系统、或处理器,也可以是支持OLT实现图6或图8中功能的芯片、芯片系统、或处理器等。Please refer to FIG. 9, which is a schematic structural diagram of another communication device 90 provided by an embodiment of the present application. The communication device 90 may be an ONT, an OLT, a chip, a chip system, or a processor that supports the ONT to realize the functions in FIG. 5 or FIG. 7, or a chip, a chip system, or a chip that supports the OLT to realize the functions in FIG. 6 or FIG. Or processor, etc.
通信装置90可以包括一个或多个处理器901。处理器901可以是通用处理器或者专用处理器等。例如可以是基带处理器或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、基带芯片,终端、终端芯片,DU或CU等)进行控制,执行计算机程序,处理计算机程序的数据。The communication device 90 may include one or more processors 901. The processor 901 may be a general-purpose processor or a special-purpose processor or the like. For example, it can be a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processor can be used to control communication devices (such as base stations, baseband chips, terminals, terminal chips, DU or CU, etc.), execute computer programs, and process Computer program data.
通信装置90还包括收发器902。收发器902可以称为收发单元、收发机、或收发电路等,用于实现收发功能。收发器902可以包括接收器和发送器,接收器可以称为接收机或接收电路等,用于实现接收功能;发送器可以称为发送机或发送电路等,用于实现发送功能。The communication device 90 also includes a transceiver 902. The transceiver 902 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., for implementing the transceiver function. The transceiver 902 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, etc., to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., to implement a transmitting function.
通信装置90还包括激光器906。激光器906用于生成光信号。The communication device 90 also includes a laser 906. The laser 906 is used to generate an optical signal.
可选的,通信装置90还可以包括一个或多个存储器903,其上可以存有计算机程序904,所述计算机程序可在通信装置90上被运行,使得通信装置90实现图5~图8中任一实施例中描述的功能。可选的,所述存储器903中还可以存储有数据。通信装置90和存储器903可以单独设置,也可以集成在一起。Optionally, the communication device 90 may further include one or more memories 903, on which a computer program 904 may be stored, and the computer program may be run on the communication device 90, so that the communication device 90 implements the steps shown in FIGS. 5 to 8 Functions described in any embodiment. Optionally, the memory 903 may also store data. The communication device 90 and the memory 903 can be provided separately or integrated together.
在一种实现方式中,处理器901用于实现图5中处理模块对应的功能,或者,处理器901用于实现图5中选路单元和处理单元对应的功能。收发器902用于实现图5中通信模块对应的功能。在一种实现方式中,处理器901用于实现图6中处理模块对应的功能,或者,处理器901用于实现图6中处理单元和复用单元对应的功能。收发器902用于实现图6中通信模块对应的功能。在一种实现方式中,处理器901用于实现图7中处理模块对应的功能,或者,处理器901用于实现图7中解复用单元和处理单元对应的功能。收发器902用于实现图7中通信模块对应的功能。在一种实现方式中,处理器901用于实现图8中处理模块对应的功能,或者,处理器901用于实现图8中由处理单元、复用单元和激光器驱动器单元对应的功能。收发器902用于实现图8中通信模块对应的功能。激光器906用于实现图8中激光器模块对应的功能。In an implementation manner, the processor 901 is used to implement the functions corresponding to the processing module in FIG. 5, or the processor 901 is used to implement the functions corresponding to the routing unit and the processing unit in FIG. The transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 5. In an implementation manner, the processor 901 is used to implement the function corresponding to the processing module in FIG. 6, or the processor 901 is used to implement the function corresponding to the processing unit and the multiplexing unit in FIG. 6. The transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 6. In an implementation manner, the processor 901 is used to implement the functions corresponding to the processing module in FIG. 7, or the processor 901 is used to implement the functions corresponding to the demultiplexing unit and the processing unit in FIG. 7. The transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 7. In an implementation manner, the processor 901 is used to implement the functions corresponding to the processing module in FIG. 8, or the processor 901 is used to implement the functions corresponding to the processing unit, the multiplexing unit, and the laser driver unit in FIG. 8. The transceiver 902 is used to implement the functions corresponding to the communication module in FIG. 8. The laser 906 is used to implement the function corresponding to the laser module in FIG. 8.
在一种实现方式中,处理器901中可以包括用于实现接收和发送功能的收发器。例如该收发器可以是收发电路,或者是接口,或者是接口电路。用于实现接收和发送功能的收发电路、接口或接口电路可以是分开的,也可以集成在一起。上述收发电路、接口或接口电路可以用于代码/数据的读写,或者,上述收发电路、接口或接口电路可以用于信号的传输或传递。In an implementation manner, the processor 901 may include a transceiver for implementing receiving and sending functions. For example, the transceiver may be a transceiver circuit, or an interface, or an interface circuit. The transceiver circuits, interfaces, or interface circuits used to implement the receiving and transmitting functions can be separate or integrated. The foregoing transceiver circuit, interface, or interface circuit can be used for code/data reading and writing, or the foregoing transceiver circuit, interface, or interface circuit can be used for signal transmission or transmission.
在一种实现方式中,处理器901可以存有计算机程序905,计算机程序905在处理器901上运行,可使得通信装置90实现图5~图8中任一实施例中描述的功能。计算机程序905可能固化在处理器901中,该种情况下,处理器901可能由硬件实现。In an implementation manner, the processor 901 may store a computer program 905, and the computer program 905 runs on the processor 901 to enable the communication device 90 to implement the functions described in any of the embodiments in FIGS. 5 to 8. The computer program 905 may be solidified in the processor 901. In this case, the processor 901 may be implemented by hardware.
在一种实现方式中,通信装置90可以包括电路,所述电路可以实现前述方法实施例中发送或接收或者通信的功能。本申请中描述的处理器和收发器可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路RFIC、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。该处理器和收发器也可以用各种IC工艺技术来制造,例如互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)、N型金属氧化物半导体(nMetal-oxide-semiconductor,NMOS)、P型金属氧化物半导体(positive channel metal oxide semiconductor,PMOS)、双极结型晶体管(bipolar junction transistor,BJT)、双极CMOS(BiCMOS)、硅锗(SiGe)、砷化镓(GaAs)等。In an implementation manner, the communication device 90 may include a circuit, and the circuit may implement the sending or receiving or communication function in the foregoing method embodiment. The processor and transceiver described in this application can be implemented in integrated circuit (IC), analog IC, radio frequency integrated circuit RFIC, mixed signal IC, application specific integrated circuit (ASIC), printed circuit board ( printed circuit board, PCB), electronic equipment, etc. The processor and transceiver can also be manufactured by various IC process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
以上实施例描述中的通信装置可以是ONT或者OLT,但本申请中描述的通信装置的范围并不限于此,而且通信装置的结构可以不受图9的限制。通信装置可以是独立的设备或者可以是较大设备的一部分。例如所述通信装置可以是:The communication device described in the above embodiment may be an ONT or an OLT, but the scope of the communication device described in this application is not limited to this, and the structure of the communication device may not be limited by FIG. 9. The communication device may be a stand-alone device or may be part of a larger device. For example, the communication device may be:
(1)独立的集成电路IC,或芯片,或,芯片系统或子系统;(1) Independent integrated circuit IC, or chip, or chip system or subsystem;
(2)具有一个或多个IC的集合,可选的,该IC集合也可以包括用于存储数据,计算机程序的存储部件;(2) A collection of one or more ICs. Optionally, the IC collection may also include storage components for storing data and computer programs;
(3)ASIC,例如调制解调器(Modem);(3) ASIC, such as a modem (Modem);
(4)可嵌入在其他设备内的模块;(4) Modules that can be embedded in other equipment;
(5)接收机、终端、智能终端、蜂窝电话、无线设备、手持机、移动单元、车载设备、 网络设备、云设备、人工智能设备等等;(5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handhelds, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;
(6)其他等等。(6) Others, etc.
对于通信装置可以是芯片或芯片系统的情况,可参见图10所示的芯片的结构示意图。图10所示的芯片包括处理器1001和接口1002。其中,处理器1001的数量可以是一个或多个,接口1002的数量可以是多个。For the case where the communication device can be a chip or a chip system, refer to the schematic diagram of the chip structure shown in FIG. 10. The chip shown in FIG. 10 includes a processor 1001 and an interface 1002. The number of processors 1001 may be one or more, and the number of interfaces 1002 may be more than one.
对于芯片用于实现本申请实施例中ONT的功能的情况:For the case where the chip is used to implement the function of the ONT in the embodiment of the present application:
接口1002,用于实现图5或图7中通信模块对应的功能。处理器1001,用于实现图5或图7中处理模块对应的功能。The interface 1002 is used to implement the functions corresponding to the communication module in FIG. 5 or FIG. 7. The processor 1001 is configured to implement functions corresponding to the processing modules in FIG. 5 or FIG. 7.
对于芯片用于实现本申请实施例中OLT的功能的情况:For the case where the chip is used to implement the function of the OLT in the embodiment of the present application:
接口1002,用于实现图6或图8中通信模块对应的功能。处理器1001,用于实现图6或图9中处理模块对应的功能。The interface 1002 is used to implement the functions corresponding to the communication module in FIG. 6 or FIG. 8. The processor 1001 is configured to implement functions corresponding to the processing modules in FIG. 6 or FIG. 9.
可选的,芯片还包括存储器1003,存储器1003用于存储必要的计算机程序和数据。Optionally, the chip further includes a memory 1003, and the memory 1003 is used to store necessary computer programs and data.
本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。Those skilled in the art may also understand that various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of the two. Whether such a function is implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art can use various methods to implement the described functions for each specific application, but such implementation should not be construed as going beyond the protection scope of the embodiments of the present application.
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机可读存储介质被计算机执行时实现上述任一方法实施例的功能。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer-readable storage medium is executed by a computer, the function of any of the foregoing method embodiments is realized.
本申请还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述任一方法实施例的功能。This application also provides a computer program product, which, when executed by a computer, realizes the functions of any of the foregoing method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序。在计算机上加载和执行所述计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机程序可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机程序可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer programs. When the computer program is loaded and executed on the computer, the process or function according to 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 program 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 program may be downloaded from a website, computer, server, or data center. Transmission to another website, computer, server, or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk, SSD)) etc.
本领域普通技术人员可以理解:本申请中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。Those of ordinary skill in the art can understand that the various numerical numbers such as first and second involved in the present application are only for easy distinction for description, and are not used to limit the scope of the embodiments of the present application, but also indicate a sequence.
本申请中的至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。在本申请实施例中,对于一种技术特征,通过“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”等区分该种技术特征中的技术特征,该“第一”、“第二”、“第三”、“A”、“B”、“C”和“D”描述的技术特征间无先后顺序或者大小顺序。At least one in this application can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in this application. In the embodiments of this application, for a technical feature, the technical feature is distinguished by "first", "second", "third", "A", "B", "C", and "D", etc. For the technical features in “First”, “Second”, “Third”, “A”, “B”, “C” and “D”, there is no order or size order among the technical features.
本申请中各表所示的对应关系可以被配置,也可以是预定义的。各表中的信息的取值仅 仅是举例,可以配置为其他值,本申请并不限定。在配置信息与各参数的对应关系时,并不一定要求必须配置各表中示意出的所有对应关系。例如,本申请中的表格中,某些行示出的对应关系也可以不配置。又例如,可以基于上述表格做适当的变形调整,例如,拆分,合并等等。上述各表中标题示出参数的名称也可以采用通信装置可理解的其他名称,其参数的取值或表示方式也可以通信装置可理解的其他取值或表示方式。上述各表在实现时,也可以采用其他的数据结构,例如可以采用数组、队列、容器、栈、线性表、指针、链表、树、图、结构体、类、堆、散列表或哈希表等。The corresponding relationships shown in the tables in this application can be configured or pre-defined. The value of the information in each table is only an example, and can be configured to other values, which is not limited in this application. When configuring the correspondence between the information and the parameters, it is not necessarily required to configure all the correspondences indicated in the tables. For example, in the table in this application, the corresponding relationship shown in some rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above table, such as splitting, merging, and so on. The names of the parameters shown in the titles in the above tables may also be other names that can be understood by the communication device, and the values or expressions of the parameters may also be other values or expressions that can be understood by the communication device. When the above tables are implemented, other data structures can also be used, such as arrays, queues, containers, stacks, linear tables, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables, or hash tables. Wait.
本申请中的预定义可以理解为定义、预先定义、存储、预存储、预协商、预配置、固化、或预烧制。The pre-definition in this application can be understood as definition, pre-definition, storage, pre-storage, pre-negotiation, pre-configuration, curing, or pre-fired.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (40)

  1. 一种基于多路复用的通道识别方法,其特征在于,所述方法包括:A channel identification method based on multiplexing, characterized in that the method includes:
    光网络终端ONT接收来自光线路终端OLT的复用比特流,并对所述复用比特流进行处理,得到多路比特流;针对所述多路比特流中的每路比特流,所述比特流包括第一指示信息,所述第一指示信息用于确定所述比特流对应的通道;The optical network terminal ONT receives the multiplexed bit stream from the optical line terminal OLT, and processes the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit The stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream;
    所述ONT确定所述ONT对应的通道;The ONT determines the channel corresponding to the ONT;
    所述ONT从所述多路比特流中确定目标比特流;所述目标比特流对应的通道与所述ONT对应的通道相同。The ONT determines a target bit stream from the multiple bit streams; the channel corresponding to the target bit stream is the same as the channel corresponding to the ONT.
  2. 根据权利要求1所述的方法,其特征在于,所述ONT确定所述ONT对应的通道,包括:The method according to claim 1, wherein the ONT determining the channel corresponding to the ONT comprises:
    所述ONT从所述多路比特流中确定第一比特流;所述第一比特流还包括ONT标识与通道标识之间的对应关系;Determining, by the ONT, a first bit stream from the multiple bit streams; the first bit stream further includes a correspondence between an ONT identifier and a channel identifier;
    所述ONT根据所述ONT标识与通道标识之间的对应关系,以及所述ONT的标识,确定所述ONT对应的通道。The ONT determines the channel corresponding to the ONT according to the correspondence between the ONT identifier and the channel identifier, and the identifier of the ONT.
  3. 根据权利要求2所述的方法,其特征在于,所述ONT对应有默认通道;所述第一比特流为所述默认通道对应的比特流。The method according to claim 2, wherein the ONT corresponds to a default channel; and the first bit stream is a bit stream corresponding to the default channel.
  4. 根据权利要求2所述的方法,其特征在于,所述ONT未对应有默认通道;所述ONT从所述多路比特流中确定第一比特流,包括:The method according to claim 2, wherein the ONT does not correspond to a default channel; the ONT determining the first bit stream from the multi-channel bit stream comprises:
    所述ONT将所述多路比特流中的任一路比特流确定为第一比特流;所述多路比特流中的每路比特流均包括所述ONT标识与通道标识之间的对应关系。The ONT determines any bit stream in the multiple bit streams as the first bit stream; each bit stream in the multiple bit streams includes the correspondence between the ONT identifier and the channel identifier.
  5. 根据权利要求2~4任一项所述的方法,其特征在于,所述第一比特流包括第一广播信息,所述第一广播信息包括所述ONT标识与通道标识之间的对应关系,所述第一广播信息适用于所述OLT对应的ONT,所述OLT对应的ONT包括所述ONT。The method according to any one of claims 2 to 4, wherein the first bit stream includes first broadcast information, and the first broadcast information includes the correspondence between the ONT identifier and the channel identifier, The first broadcast information is applicable to the ONT corresponding to the OLT, and the ONT corresponding to the OLT includes the ONT.
  6. 根据权利要求1~5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    所述ONT根据第二比特流包括的第一指示信息,确定所述第二比特流对应的通道;所述第二比特流为所述多路比特流中的任一路比特流;The ONT determines the channel corresponding to the second bit stream according to the first indication information included in the second bit stream; the second bit stream is any one of the multiple bit streams;
    若所述第二比特流对应的通道与所述ONT对应的通道不同,则触发所述从所述多路比特流中确定目标比特流的步骤。If the channel corresponding to the second bitstream is different from the channel corresponding to the ONT, triggering the step of determining the target bitstream from the multiple bitstreams.
  7. 根据权利要求6所述的方法,其特征在于,所述多路比特流中比特流的位置之间具有顺序关系;所述ONT从所述多路比特流中确定目标比特流,包括:The method according to claim 6, wherein the positions of the bit streams in the multi-channel bit stream have an order relationship; the ONT determining the target bit stream from the multi-channel bit stream comprises:
    所述ONT根据所述第二比特流对应的通道和所述ONT对应的通道,确定目标比特流相对所述第二比特流的位置信息;Determining, by the ONT, the position information of the target bitstream relative to the second bitstream according to the channel corresponding to the second bitstream and the channel corresponding to the ONT;
    所述ONT根据所述目标比特流相对所述第二比特流的位置信息,从所述多路比特流中确定所述目标比特流。The ONT determines the target bitstream from the multiple bitstreams according to the position information of the target bitstream relative to the second bitstream.
  8. 根据权利要求1~7任一项所述的方法,其特征在于,针对所述多路比特流中的每路比特流,所述比特流包括第二广播信息,所述第二广播信息包括所述比特流中的第一指示信息,所述第二广播信息适用于所述OLT对应的ONT,所述OLT对应的ONT包括所述ONT。The method according to any one of claims 1 to 7, wherein for each bit stream in the multiple bit stream, the bit stream includes second broadcast information, and the second broadcast information includes all The first indication information in the bit stream and the second broadcast information are applicable to the ONT corresponding to the OLT, and the ONT corresponding to the OLT includes the ONT.
  9. 根据权利要求8所述的方法,其特征在于,针对所述多路比特流中的每路比特流,所述比特流由多个数据帧组成,所述多个数据帧中的部分或者全部数据帧均包括所述第二广播 信息,所述比特流包括多个所述第二广播信息。The method according to claim 8, wherein for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and some or all of the data in the multiple data frames Each frame includes the second broadcast information, and the bit stream includes a plurality of the second broadcast information.
  10. 根据权利要求2~5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 5, wherein the method further comprises:
    所述ONT根据第二比特流包括的第一指示信息,确定所述多路比特流中的每路比特流对应的通道;所述第二比特流为所述多路比特流中的任一路比特流。The ONT determines the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream; the second bit stream is any bit in the multiple bit stream flow.
  11. 根据权利要求10所述的方法,其特征在于,所述ONT根据第二比特流包括的第一指示信息,确定所述多路比特流中的每路比特流对应的通道,包括:The method according to claim 10, wherein the ONT determining the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream comprises:
    针对所述多路比特流中的每路比特流,所述ONT根据所述比特流包括的第一指示信息,确定所述比特流对应的通道。For each bitstream in the multiple bitstreams, the ONT determines the channel corresponding to the bitstream according to the first indication information included in the bitstream.
  12. 根据权利要求10所述的方法,其特征在于,所述ONT根据第二比特流包括的第一指示信息,确定所述多路比特流中的每路比特流对应的通道,包括:The method according to claim 10, wherein the ONT determining the channel corresponding to each bit stream in the multi-channel bit stream according to the first indication information included in the second bit stream comprises:
    所述ONT根据第二比特流包括的第一指示信息,确定所述第二比特流对应的通道;Determining, by the ONT, a channel corresponding to the second bit stream according to the first indication information included in the second bit stream;
    针对所述多路比特流中除所述第二比特流以外的每路比特流,所述ONT根据所述第二比特流对应的通道,确定所述比特流对应的通道。For each bit stream in the multi-channel bit stream except the second bit stream, the ONT determines the channel corresponding to the bit stream according to the channel corresponding to the second bit stream.
  13. 根据权利要求10~12任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 10-12, wherein the method further comprises:
    若所述第一比特流对应的通道与所述ONT对应的通道不同,则触发所述从所述多路比特流中确定目标比特流的步骤。If the channel corresponding to the first bitstream is different from the channel corresponding to the ONT, triggering the step of determining the target bitstream from the multiple bitstreams.
  14. 根据权利要求2~5、10~13任一项所述的方法,其特征在于,所述多路比特流中比特流的位置之间具有顺序关系;所述ONT从所述多路比特流中确定目标比特流,包括:The method according to any one of claims 2 to 5 and 10 to 13, wherein the positions of the bit streams in the multi-channel bit stream have an order relationship; and the ONT is selected from the multi-channel bit stream. Determine the target bitstream, including:
    所述ONT根据所述第一比特流对应的通道和所述ONT对应的通道,确定目标比特流相对所述第一比特流的位置信息;Determining, by the ONT, the position information of the target bitstream relative to the first bitstream according to the channel corresponding to the first bitstream and the channel corresponding to the ONT;
    所述ONT根据所述目标比特流相对所述第一比特流的位置信息,从所述多路比特流中确定所述目标比特流。The ONT determines the target bitstream from the multiple bitstreams according to the position information of the target bitstream relative to the first bitstream.
  15. 根据权利要求1~5、10~14任一项所述的方法,其特征在于,针对所述多路比特流中的每路比特流,所述比特流由多个数据帧组成,所述比特流包括的第一指示信息为所述多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。The method according to any one of claims 1 to 5 and 10 to 14, wherein for each bit stream in the multi-channel bit stream, the bit stream is composed of multiple data frames, and the bit The first indication information included in the stream is the frame header information of any one of the multiple data frames; the frame header information used to compose the data frames of different bit streams is different.
  16. 根据权利要求15所述的方法,其特征在于,所述ONT包括处理模块,所述方法还包括:The method according to claim 15, wherein the ONT comprises a processing module, and the method further comprises:
    所述ONT获取所述处理模块的能力信息;Acquiring, by the ONT, the capability information of the processing module;
    若所述能力信息指示所述处理模块不具备解析用于组成所述第一比特流的数据帧的帧头信息的能力,则所述ONT对用于组成所述第一比特流的数据帧的帧头信息进行转换,所述处理模块具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。If the capability information indicates that the processing module does not have the capability to parse the frame header information of the data frame used to compose the first bit stream, the ONT will check the data frame used to compose the first bit stream. The frame header information is converted, and the processing module has the ability to analyze the converted frame header information of the data frame used to compose the first bit stream.
  17. 一种基于多路复用的通道识别方法,其特征在于,所述方法包括:A channel identification method based on multiplexing, characterized in that the method includes:
    光线路终端OLT生成多路数据流,对所述多路比特流进行处理,得到一路复用比特流;针对所述多路比特流中的每路比特流,所述比特流包括第一指示信息,所述第一指示信息用于确定所述比特流对应的通道;The optical line terminal OLT generates multiple data streams and processes the multiple bit streams to obtain a multiplexed bit stream; for each bit stream in the multiple bit streams, the bit stream includes first indication information , The first indication information is used to determine the channel corresponding to the bit stream;
    所述OLT将所述复用比特流传输至所述OLT对应的光网络终端ONT。The OLT transmits the multiplexed bit stream to the optical network terminal ONT corresponding to the OLT.
  18. 根据权利要求17所述的方法,其特征在于,所述多路比特流中的第一比特流还包括ONT标识与通道标识之间的对应关系。The method according to claim 17, wherein the first bit stream in the multi-channel bit stream further comprises a correspondence between an ONT identifier and a channel identifier.
  19. 根据权利要求18所述的方法,其特征在于,所述ONT对应有默认通道;所述第一比特流为所述默认通道对应的比特流。The method according to claim 18, wherein the ONT corresponds to a default channel; and the first bit stream is a bit stream corresponding to the default channel.
  20. 根据权利要求18所述的方法,其特征在于,所述ONT未对应有默认通道;所述第一比特流为所述多路比特流中的任一路比特流,所述多路比特流中的每路比特流均包括所述ONT标识与通道标识之间的对应关系。The method according to claim 18, wherein the ONT does not correspond to a default channel; the first bit stream is any one of the multiple bit streams, and the first bit stream is any one of the multiple bit streams. Each bit stream includes the corresponding relationship between the ONT identifier and the channel identifier.
  21. 根据权利要求18~20任一项所述的方法,其特征在于,所述第一比特流包括第一广播信息,所述第一广播信息包括所述ONT标识与通道标识之间的对应关系,所述第一广播信息适用于所述OLT对应的ONT。The method according to any one of claims 18 to 20, wherein the first bit stream includes first broadcast information, and the first broadcast information includes the correspondence between the ONT identifier and the channel identifier, The first broadcast information is applicable to the ONT corresponding to the OLT.
  22. 根据权利要求17~21任一项所述的方法,其特征在于,针对所述多路比特流中的每路比特流,所述比特流包括第二广播信息,所述第二广播信息包括所述比特流中的第一指示信息,所述第二广播信息适用于所述OLT对应的ONT。The method according to any one of claims 17 to 21, wherein for each bit stream in the multi-channel bit stream, the bit stream includes second broadcast information, and the second broadcast information includes all The first indication information in the bit stream and the second broadcast information are applicable to the ONT corresponding to the OLT.
  23. 根据权利要求22所述的方法,其特征在于,针对所述多路比特流中的每路比特流,所述比特流由多个数据帧组成,所述多个数据帧中的部分或者全部数据帧均包括所述第二广播信息,所述比特流包括多个所述第二广播信息。The method according to claim 22, wherein for each bit stream in the multiple bit stream, the bit stream is composed of multiple data frames, and some or all of the data in the multiple data frames Each frame includes the second broadcast information, and the bit stream includes a plurality of the second broadcast information.
  24. 根据权利要求17~21任一项所述的方法,其特征在于,针对所述多路比特流中的每路比特流,所述比特流由多个数据帧组成,所述比特流包括的第一指示信息为所述多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。The method according to any one of claims 17 to 21, wherein for each bit stream in the multi-channel bit stream, the bit stream is composed of a plurality of data frames, and the bit stream includes the first One indication information is the frame header information of any data frame in the multiple data frames; the frame header information used to form the data frames of different bit streams is different.
  25. 根据权利要求24所述的方法,其特征在于,所述光线路终端OLT生成多路数据流,包括:The method according to claim 24, wherein the optical line terminal OLT generates multiple data streams, comprising:
    所述OLT生成多路原始数据流;The OLT generates multiple original data streams;
    若用于组成所述多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则所述OLT对用于组成所述多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流。If the header information of the data frame used to compose each original data stream in the multiple original data streams is the same, the OLT pairs the data frames used to compose each original data stream in the multiple original data streams. The header information of the data frame is converted to obtain multiple data streams.
  26. 一种光网络终端ONT,其特征在于,所述ONT包括选路单元和处理单元;An optical network terminal ONT, characterized in that the ONT includes a routing unit and a processing unit;
    所述选路单元,用于从多路比特流中确定第二比特流,并将所述第二比特流传输至所述处理单元;针对所述多路比特流中的每路比特流,所述比特流包括第一指示信息,所述第一指示信息用于确定所述比特流对应的通道;所述第二比特流为所述多路比特流中的任一路比特流;The routing unit is configured to determine a second bit stream from multiple bit streams, and transmit the second bit stream to the processing unit; for each bit stream in the multiple bit stream, The bit stream includes first indication information, and the first indication information is used to determine the channel corresponding to the bit stream; the second bit stream is any one of the multiple bit streams;
    所述处理单元,用于根据所述第二比特流中的第一指示信息,确定所述第二比特流对应的通道;确定所述ONT对应的通道,若所述第二比特流对应的通道与所述ONT对应的通道不同,则向所述选路单元发送第二指示信息,所述第二指示信息用于确定目标比特流;The processing unit is configured to determine the channel corresponding to the second bit stream according to the first indication information in the second bit stream; determine the channel corresponding to the ONT, if the channel corresponding to the second bit stream If the channel corresponding to the ONT is different, sending second indication information to the routing unit, where the second indication information is used to determine the target bit stream;
    所述选路单元,还用于根据所述第二指示信息从所述多路比特流中确定所述目标比特流,并将所述目标比特流传输至所述处理单元;所述目标比特流对应的通道与所述ONT对应的通道相同。The routing unit is further configured to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit; the target bit stream The corresponding channel is the same as the channel corresponding to the ONT.
  27. 根据权利要求26所述的ONT,其特征在于,所述多路比特流中的第一比特流还包括ONT标识与通道标识之间的对应关系;The ONT according to claim 26, wherein the first bit stream in the multi-channel bit stream further comprises a correspondence between an ONT identifier and a channel identifier;
    所述选路单元,还用于从所述多路比特流中确定所述第一比特流,并将所述第一比特流传输至所述处理单元;The routing unit is further configured to determine the first bit stream from the multiple bit streams, and transmit the first bit stream to the processing unit;
    所述处理单元用于确定所述ONT对应的通道时,具体用于:根据所述ONT标识与通道标识之间的对应关系,以及所述ONT的标识,确定所述ONT对应的通道。When the processing unit is configured to determine the channel corresponding to the ONT, it is specifically configured to determine the channel corresponding to the ONT according to the correspondence between the ONT identifier and the channel identifier, and the identifier of the ONT.
  28. 根据权利要求26或27所述的ONT,其特征在于,所述第二指示信息包括所述第二比特流对应的通道的标识以及所述ONT对应的通道的标识;The ONT according to claim 26 or 27, wherein the second indication information includes the identifier of the channel corresponding to the second bit stream and the identifier of the channel corresponding to the ONT;
    所述选路单元用于根据所述第二指示信息从所述多路比特流中确定所述目标比特流时,具体用于:根据所述第二比特流对应的通道的标识以及所述ONT对应的通道的标识,从所述多路比特流中确定所述目标比特流。When the routing unit is configured to determine the target bitstream from the multiple bitstreams according to the second indication information, it is specifically configured to: according to the identifier of the channel corresponding to the second bitstream and the ONT The identifier of the corresponding channel determines the target bitstream from the multiple bitstreams.
  29. 一种光线路终端OLT,其特征在于,所述OLT包括处理单元和复用单元:An optical line terminal OLT, characterized in that the OLT includes a processing unit and a multiplexing unit:
    所述处理单元,用于生成多路比特流,并将所述多路比特流传输至所述复用单元;针对所述多路比特流中的每路比特流,所述比特流包括第一指示信息,所述第一指示信息用于确定所述比特流对应的通道。The processing unit is configured to generate multiple bit streams and transmit the multiple bit streams to the multiplexing unit; for each bit stream in the multiple bit streams, the bit stream includes a first Indication information, where the first indication information is used to determine the channel corresponding to the bit stream.
  30. 根据权利要求29所述的OLT,其特征在于,所述多路比特流中的第一比特流还包括ONT标识与通道标识之间的对应关系。The OLT according to claim 29, wherein the first bit stream in the multi-channel bit stream further comprises a correspondence between an ONT identifier and a channel identifier.
  31. 一种光网络终端ONT,其特征在于,所述ONT包括解复用单元和处理单元:An optical network terminal ONT, characterized in that the ONT includes a demultiplexing unit and a processing unit:
    所述解复用单元,用于获取复用比特流,并对所述复用比特流进行处理,得到多路比特流;针对所述多路比特流中的每路比特流,所述比特流包括第一指示信息,所述第一指示信息用于确定所述比特流对应的通道;The demultiplexing unit is configured to obtain a multiplexed bit stream, and process the multiplexed bit stream to obtain a multiple bit stream; for each bit stream in the multiple bit stream, the bit stream Including first indication information, where the first indication information is used to determine the channel corresponding to the bit stream;
    所述解复用单元,还用于根据所述多路比特流中的第二比特流包括的第一指示信息,确定所述多路比特流中的每路比特流对应的通道;从所述多路比特流中确定第一比特流;将所述第一比特流传输至所述处理单元;所述第一比特流还包括ONT标识与通道标识之间的对应关系;第二比特流为所述多路比特流中的任一路比特流;The demultiplexing unit is further configured to determine the channel corresponding to each bit stream in the multiple bit stream according to the first indication information included in the second bit stream in the multiple bit stream; The first bit stream is determined from the multi-channel bit stream; the first bit stream is transmitted to the processing unit; the first bit stream also includes the correspondence between the ONT identifier and the channel identifier; the second bit stream is Any one of the multiple bit streams;
    所述处理单元,用于根据所述ONT标识与通道标识之间的对应关系,以及所述ONT的标识,确定所述ONT对应的通道;向所述解复用单元发送第二指示信息,所述第二指示信息用于确定目标比特流;The processing unit is configured to determine the channel corresponding to the ONT according to the correspondence between the ONT identifier and the channel identifier, and the identifier of the ONT; send second indication information to the demultiplexing unit, so The second indication information is used to determine the target bit stream;
    所述解复用单元,还用于根据所述第二指示信息从所述多路比特流中确定所述目标比特流,并将所述目标比特流传输至所述处理单元;所述目标比特流对应的通道与所述ONT对应的通道相同。The demultiplexing unit is further configured to determine the target bit stream from the multiple bit streams according to the second indication information, and transmit the target bit stream to the processing unit; the target bit stream The channel corresponding to the stream is the same as the channel corresponding to the ONT.
  32. 根据权利要求31所述的ONT,其特征在于,所述解复用单元还用于向所述处理单元发送第三指示信息,所述第三指示信息用于指示所述第一比特流对应的通道;The ONT according to claim 31, wherein the demultiplexing unit is further configured to send third indication information to the processing unit, and the third indication information is used to indicate the data corresponding to the first bit stream. aisle;
    所述处理单元用于向所述解复用单元发送第二指示信息时,具体用于:若所述第一比特流对应的通道与所述ONT对应的通道不同,则向所述解复用单元发送第二指示信息。When the processing unit is configured to send second indication information to the demultiplexing unit, it is specifically configured to: if the channel corresponding to the first bit stream is different from the channel corresponding to the ONT, send the second instruction information to the demultiplexing unit. The unit sends second indication information.
  33. 根据权利要求31或32所述的ONT,其特征在于,针对所述多路比特流中的每路比特流,所述比特流由多个数据帧组成,所述比特流包括的第一指示信息为所述多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。The ONT according to claim 31 or 32, wherein for each bit stream in the multi-channel bit stream, the bit stream is composed of a plurality of data frames, and the bit stream includes the first indication information It is the frame header information of any data frame in the multiple data frames; the frame header information of the data frames used to compose different bit streams is different.
  34. 根据权利要求33所述的ONT,其特征在于,The ONT according to claim 33, wherein:
    所述解复用单元,还用于获取所述处理单元的能力信息;若所述能力信息指示所述处理单元不具备解析用于组成所述第一比特流的数据帧的帧头信息的能力,则对用于组成所述第一比特流的数据帧的帧头信息进行转换,所述处理单元具备解析转换后的用于组成第一比特流的数据帧的帧头信息的能力。The demultiplexing unit is further configured to obtain capability information of the processing unit; if the capability information indicates that the processing unit does not have the ability to parse the header information of the data frame used to compose the first bit stream , The frame header information of the data frame used to compose the first bit stream is converted, and the processing unit has the ability to analyze the converted frame header information of the data frame used to compose the first bit stream.
  35. 一种光线路终端OLT,其特征在于,所述OLT包括复用单元和激光器驱动器单元;An optical line terminal OLT, characterized in that the OLT includes a multiplexing unit and a laser driver unit;
    所述复用单元,用于获取多路数据流,对所述多路比特流进行处理,得到一路复用比特流;并将所述复用比特流传输至所述激光器驱动器单元;针对所述多路比特流中的每路比特流,所述比特流包括第一指示信息,所述第一指示信息用于确定所述比特流对应的通道;所述多路数据流中的第一比特流还包括光网络终端ONT标识与通道标识之间的对应关系。The multiplexing unit is configured to obtain multiple data streams, process the multiple bit streams to obtain a multiplexed bit stream; and transmit the multiplexed bit stream to the laser driver unit; Each bit stream in the multi-channel bit stream, the bit stream includes first indication information, the first indication information is used to determine the channel corresponding to the bit stream; the first bit stream in the multi-channel data stream It also includes the corresponding relationship between the ONT identifier of the optical network terminal and the channel identifier.
  36. 根据权利要求35所述的OLT,其特征在于,针对所述多路比特流中的每路比特流,所述比特流由多个数据帧组成,所述比特流包括的第一指示信息为所述多个数据帧中的任一数据帧的帧头信息;用于组成不同比特流的数据帧的帧头信息不同。The OLT according to claim 35, wherein for each bit stream in the multi-channel bit stream, the bit stream is composed of a plurality of data frames, and the first indication information included in the bit stream is The frame header information of any one of the multiple data frames; the frame header information of the data frames used to compose different bit streams is different.
  37. 根据权利要求36所述的OLT,其特征在于,The OLT according to claim 36, wherein:
    所述复用单元用于获取多路数据流时,具体用于:获取多路原始数据流;若用于组成所述多路原始数据流中的每路原始数据流的数据帧的帧头信息相同,则对用于组成所述多路原始数据流中的每路原始数据流的数据帧的帧头信息进行转换,得到多路数据流。When the multiplexing unit is used to obtain multiple data streams, it is specifically used to: obtain multiple original data streams; if used to form the frame header information of the data frame of each original data stream in the multiple original data streams In the same way, the frame header information of the data frame used to compose each of the original data streams in the multiple original data streams is converted to obtain the multiple data streams.
  38. 一种基于多路复用的通道识别装置,其特征在于,所述装置包括处理器和存储器,所述存储器中存储有程序指令,所述处理器执行所述存储器中存储的程序指令,以使所述装置执行如权利要求1~16中任一项所述的方法。A multiplexing-based channel identification device, characterized in that the device includes a processor and a memory, and program instructions are stored in the memory, and the processor executes the program instructions stored in the memory to enable The device executes the method according to any one of claims 1-16.
  39. 一种基于多路复用的通道识别装置,其特征在于,所述装置包括处理器和存储器,所述存储器中存储有程序指令,所述处理器执行所述存储器中存储的程序指令,以使所述装置执行如权利要求17~25中任一项所述的方法。A multiplexing-based channel identification device, characterized in that the device includes a processor and a memory, and program instructions are stored in the memory, and the processor executes the program instructions stored in the memory to enable The device executes the method according to any one of claims 17-25.
  40. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被基于多路复用的通道识别装置执行时使所述装置执行如权利要求1~16或17~25中任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program includes program instructions that when executed by a multiplexing-based channel identification device cause all The device executes the method according to any one of claims 1-16 or 17-25.
PCT/CN2021/077948 2020-03-31 2021-02-25 Multiplexing-based channel identification method and apparatus therefor WO2021196932A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010249297.0 2020-03-31
CN202010249297.0A CN113473268A (en) 2020-03-31 2020-03-31 Channel identification method and device based on multiplexing

Publications (1)

Publication Number Publication Date
WO2021196932A1 true WO2021196932A1 (en) 2021-10-07

Family

ID=77865767

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077948 WO2021196932A1 (en) 2020-03-31 2021-02-25 Multiplexing-based channel identification method and apparatus therefor

Country Status (2)

Country Link
CN (1) CN113473268A (en)
WO (1) WO2021196932A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117353873A (en) * 2023-12-04 2024-01-05 科谱半导体(天津)有限公司 Uplink frame verification method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050053376A1 (en) * 2003-09-08 2005-03-10 Young-Hun Joo FTTH system for convergence of broadcasting and communication through switched broadcasting
CN103220588A (en) * 2012-01-18 2013-07-24 中兴通讯股份有限公司 Registration method and registration system of optical network unit (ONU)
US20140313951A1 (en) * 2013-04-17 2014-10-23 Qualcomm Incorporated Physical-layer control channel structure
CN104579536A (en) * 2014-12-16 2015-04-29 北京邮电大学 Uplink and downlink channel reusing wavelength division multiplexing passive optical network system
CN105763285A (en) * 2016-04-21 2016-07-13 烽火通信科技股份有限公司 ONU for TWDM-PON system, and clock synchronization method based on the same
CN106162386A (en) * 2015-04-20 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus realizing registration
CN106717017A (en) * 2014-09-29 2017-05-24 华为技术有限公司 Communication method, device, and system for wavelength division multiplexing passive optical network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512091C (en) * 2005-01-25 2009-07-08 华为技术有限公司 Multi-channel data signal processing method and apparatus
US8699354B2 (en) * 2005-12-21 2014-04-15 Rockstar Consortium Us Lp Method and apparatus for detecting a fault on an optical fiber
CN101820557A (en) * 2009-02-28 2010-09-01 华为技术有限公司 Wavelength allocation method, system and equipment of wavelength division multiplexing passive optical network
WO2012149813A1 (en) * 2011-10-31 2012-11-08 华为技术有限公司 Optical network system, method for upgrading optical network system, and optical distribution network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050053376A1 (en) * 2003-09-08 2005-03-10 Young-Hun Joo FTTH system for convergence of broadcasting and communication through switched broadcasting
CN103220588A (en) * 2012-01-18 2013-07-24 中兴通讯股份有限公司 Registration method and registration system of optical network unit (ONU)
US20140313951A1 (en) * 2013-04-17 2014-10-23 Qualcomm Incorporated Physical-layer control channel structure
CN106717017A (en) * 2014-09-29 2017-05-24 华为技术有限公司 Communication method, device, and system for wavelength division multiplexing passive optical network
CN104579536A (en) * 2014-12-16 2015-04-29 北京邮电大学 Uplink and downlink channel reusing wavelength division multiplexing passive optical network system
CN106162386A (en) * 2015-04-20 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus realizing registration
CN105763285A (en) * 2016-04-21 2016-07-13 烽火通信科技股份有限公司 ONU for TWDM-PON system, and clock synchronization method based on the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117353873A (en) * 2023-12-04 2024-01-05 科谱半导体(天津)有限公司 Uplink frame verification method and device, electronic equipment and storage medium
CN117353873B (en) * 2023-12-04 2024-02-13 科谱半导体(天津)有限公司 Uplink frame verification method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113473268A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
EP2191598B1 (en) Gigabit passive optical network transmission convergence extension for next generation access
CN102273109B (en) Field framing with built-in information
EP2058961A1 (en) A data transmission method, system and device
US20080260385A1 (en) Signal processing apparatus and method for gigabit passive optical network
US8885652B2 (en) Hybrid orthogonal frequency division multiplexing time domain multiplexing passive optical network
CN112672236B (en) Service signal processing method and equipment
JP2014517554A (en) Wavelength indication in multiwavelength passive optical networks
WO2020057187A1 (en) Passive optical network (pon) channel bonding protocol
AU2018403910B2 (en) Communication network and related devices
US11824963B2 (en) Packet processing method and device
WO2021196932A1 (en) Multiplexing-based channel identification method and apparatus therefor
US11902718B2 (en) Service data transmission method, related device, and digital processing chip
WO2023246416A1 (en) Data transmission method and apparatus
CN115913369A (en) Communication method and apparatus in passive optical network and computer readable medium
CN114679639A (en) Data stream identification method and related equipment
JP2019004405A (en) Frame transfer method and extraction method, frame transfer device and extraction device, frame transfer program, and extraction program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21779276

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21779276

Country of ref document: EP

Kind code of ref document: A1