[go: up one dir, main page]

WO2025056060A1 - Access method, optical fiber network system, and related device - Google Patents

Access method, optical fiber network system, and related device Download PDF

Info

Publication number
WO2025056060A1
WO2025056060A1 PCT/CN2024/119096 CN2024119096W WO2025056060A1 WO 2025056060 A1 WO2025056060 A1 WO 2025056060A1 CN 2024119096 W CN2024119096 W CN 2024119096W WO 2025056060 A1 WO2025056060 A1 WO 2025056060A1
Authority
WO
WIPO (PCT)
Prior art keywords
sub
allocation
capability
information
uplink
Prior art date
Application number
PCT/CN2024/119096
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 WO2025056060A1 publication Critical patent/WO2025056060A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • the embodiments of the present application relate to the field of optical communications, and in particular to an access method, an optical fiber network system, and related equipment.
  • the first sub-device receives first allocation information from the main device, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information; if the first sub-device supports the first uplink rate, the first sub-device sends a first response information in the first allocation time slot, and the first response information includes the serial number of the first sub-device.
  • the first sub-device after the first sub-device receives the first allocation information carrying the first allocation identifier and the first time information, the first sub-device will respond to the first allocation information and send the serial number of the first sub-device in the first allocation time slot only when the first sub-device determines that it supports the first uplink rate.
  • the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.
  • the access method further includes:
  • the first sub-device receives second allocation information from the main device, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate an unactivated sub-device supporting a second uplink rate to respond to the second allocation information, the second allocation identifier is different from the first allocation identifier, and the second time information is different from the first time information; the first sub-device sends a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.
  • the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.
  • the second allocation identifier is 253.
  • the present application provides an access method, which is applied to a fiber optic network system, wherein the fiber optic network system includes a main device and multiple sub-devices, wherein the multiple sub-devices include an unactivated first sub-device.
  • the access method provided in this aspect can be executed by the main device in the fiber optic network system, or it can be executed by some functional modules or chips in the main device.
  • the main device sends a first allocation information
  • the first allocation information includes a first allocation identifier and a first time information
  • the first time information is used to indicate a first allocation time slot
  • the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information
  • the first allocation information is used for the first sub-device to send a first response information in the first allocation time slot
  • the first response information includes the serial number of the first sub-device.
  • the first allocation information is used for the first sub-device not to respond to the first allocation information.
  • the master device can send the first allocation information carrying the first allocation identifier and the first time information to indicate that only the unactivated sub-device supporting the first uplink rate triggers the transmission of the sub-device's sequence number in the first allocation time slot indicated by the first time information, and does not trigger the sub-device that does not support the first uplink rate to report the sub-device's sequence number in the first allocation time slot. Therefore, it is helpful to avoid sub-devices supporting different uplink rates from sharing the allocation time slot to report the sequence number, that is, it is helpful to avoid the master device receiving optical signals of two uplink rates in a short time, and further helps to reduce the implementation complexity of uplink burst reception.
  • the first sub-device supports a second uplink rate
  • the second uplink rate is different from the first uplink rate.
  • the access method also includes: the master device sends a second allocation information, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting the second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, the second time information is different from the first time information, the second allocation information is used for the first sub-device to send a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.
  • the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.
  • the first allocation identifier is a broadcast allocation identifier
  • the first allocation information is a sequence number request allocation structure.
  • the main device can obtain the capability (characteristic or function) information of the first sub-device after the first sub-device is activated, so as to manage the resources and communication process of the first sub-device.
  • the main device further sends second capability acquisition setting information to the first sub-device, where the second capability acquisition setting information includes an identifier of the first sub-device, a setting operation code, and a capability (characteristic or function) to be set;
  • the main device receives a capability setting message sent by the first sub-device, where the capability setting message carries a result of the first sub-device setting (or operating) itself.
  • the main device after receiving the capability reporting message sent by the first sub-device, the main device saves the capability information of the first sub-device carried therein.
  • the first capability acquisition setting information or the second capability acquisition setting information carries the message integrity check value, and the message integrity check value is calculated based on an integrity key (IK) between the main device and the first sub-device.
  • IK integrity key
  • the second capability acquisition setting information further includes an FEC code identifier, which is used to identify an FEC codeword.
  • the capability information of the first sub-device includes one or more FEC codewords supported by the first sub-device.
  • the first capability acquisition setting information and the second capability acquisition setting information are downlink physical layer operations administration and maintenance (PLOAM) messages
  • PLOAM physical layer operations administration and maintenance
  • the capability reporting message and the capability setting message sent by the first sub-device are uplink PLOAM messages.
  • the capability reporting message and the capability setting message can be unified into an ONU capability (ONU_Capabilities) message, and the capability reporting message and the capability setting message can be distinguished by the non-passing operation code carried in the message.
  • the ONU_Capabilities message can respond to the Get_Set_Capability PLOAM message carrying the query operation code to report the ONU capability.
  • the ONU_Capabilities message can also respond to the Get_Set_Capability PLOAM message carrying the setting operation code, indicating the desire or inability to perform the capability setting, as well as the response code.
  • the ONU_Capabilities message can also provide an indication of the success or failure of the capability setting execution and a response code.
  • the present application provides a communication device, which is applied to a fiber optic network system, wherein the fiber optic network system includes a main device and multiple sub-devices, wherein the multiple sub-devices include an unactivated first sub-device.
  • the communication device may be the first sub-device in the fiber optic network system, or may be a partial functional module or chip in the first sub-device.
  • the communication device includes a transceiver and a processor.
  • the transceiver is used to receive first allocation information from the master device, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocated time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information;
  • the processor is configured to control the transceiver to send first response information in a first allocated time slot when determining that the first uplink rate is supported, wherein the first response information includes a serial number of the first sub-device.
  • the processor is configured to, when determining that the first uplink rate is not supported, not trigger a response to the first allocation information.
  • the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.
  • the transceiver is further used to receive second allocation information from the master device, the second allocation information includes a second allocation identifier and a second time information, the second time information is used to indicate a second allocation time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting the second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, and the second time information is different from the first time information.
  • the processor is further used to control the transceiver to send a first response information in the second allocation time slot when it is determined that the first sub-device supports the second uplink rate, and the first response information includes a serial number of the first sub-device.
  • the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.
  • the first allocation identifier is a broadcast allocation identifier
  • the first allocation information is a sequence number request allocation structure.
  • the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.
  • the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.
  • the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.
  • the second allocation identifier is 255 or 253.
  • the processor is used to generate first allocation information; the transceiver is used to send the first allocation information, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate an unactivated sub-device supporting a first uplink rate to respond to the first allocation information; wherein, if the first sub-device supports the first uplink rate, the first allocation information is used for the first sub-device to send a first response information in the first allocation time slot, and the first response information includes the serial number of the first sub-device.
  • the first allocation information is used for the first sub-device not to respond to the first allocation information.
  • the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.
  • the transceiver is also used to send second allocation information, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate an unactivated sub-device supporting a second uplink rate to respond to the second allocation information, the second allocation identifier is different from the first allocation identifier, the second time information is different from the first time information, the second allocation information is used for the first sub-device to send a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.
  • the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.
  • the first allocation identifier is a broadcast allocation identifier
  • the first allocation information is a sequence number request allocation structure.
  • the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.
  • the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.
  • the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.
  • the second allocation identifier is 255 or 253.
  • an embodiment of the present application provides a communication device, which may be a sub-device (for example, a first sub-device) in the aforementioned implementation, or may be a chip in the sub-device (for example, the first sub-device).
  • the communication device may include a processing module and a transceiver module.
  • the processing module may be a processor
  • the transceiver module may be a transceiver.
  • the sub-device may also include a storage module, which may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the sub-device (for example, the first sub-device) executes the method in the first aspect or any one of the implementations of the first aspect.
  • a storage module which may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the sub-device (for example, the first sub-device) executes the method in the first aspect or any one of the implementations of the first aspect.
  • the processing module may be a processor, and the transceiver module may be an input/output interface, a pin or a circuit, etc.; the processing module executes the instructions stored in the storage module so that the sub-device (for example, the first sub-device) executes any one of the first aspect or the third aspect.
  • the storage module may be a storage module in the chip (e.g., a register, a cache, etc.), or a storage module in the sub-device (e.g., the first sub-device) located outside the chip (e.g., a read-only memory, a random access memory, etc.).
  • an embodiment of the present application provides a communication device, which may be a main device in the aforementioned implementation mode, or a chip in the main device.
  • the communication device may include a processing module and a transceiver module.
  • the processing module may be a processor, and the transceiver module may be a transceiver;
  • the main device may also include a storage module, and the storage module may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the main device executes the method in the second aspect or any one of the implementation modes of the second aspect.
  • Alloc-ID 256 ⁇ 4095 is an assignable allocation identifier.
  • the master device can allocate an additional Alloc-ID (i.e., additional Alloc-ID) to the sub-device by selecting a unique number from this range (i.e., 256 ⁇ 4095) and passing it to the sub-device using an Assign_Alloc-ID PLOAM message.
  • the additional Alloc-ID is explicitly assigned to the sub-device through an Assign_Alloc-ID PLOAM message with an Alloc-ID type of 1, and can also be explicitly revoked through an Assign_Alloc-ID PLOAM message with an Alloc-ID type of 255. All Alloc-ID allocations, including the default Alloc-ID allocation, will become invalid when the sub-device is deactivated.
  • the Get_Set_Capabilities message provided in the embodiment of the present application may carry multiple information, and the Get_Set_Capabilities message may be specifically as shown in the following Table 1:
  • the "Number of Shortened Columns” in the 10th byte contains the number of columns of the LDPC code that need to be shortened.
  • the ONU capability (ONU_Capabilities) message includes the following functions:
  • the ONU_Capabilities message can also respond to the Get_Set_Capability PLOAM message carrying the setting operation code, indicating the desire or inability to perform the capability setting, and the response code.
  • the operation code and response code carry the reason why the ONU desires or cannot perform the capability setting. For specific values, refer to the table above.
  • the above functions 1 and 2 are implemented by the ONU when it receives the downstream Get_Set_Capability PLOAM message.
  • an embodiment of the present application further provides a communication device 50, as shown in Figure 5, which is a schematic diagram of the structure of a communication device 50 provided in an embodiment of the present application.
  • the specific implementation of the main device and the sub-device (for example, the first sub-device or the second sub-device) in the flowcharts shown in Figures 2 and 4 can refer to the internal structure of the communication device 50 shown in Figure 5.
  • the communication device 50 can be a master gateway or an MFU.
  • the communication device 50 can be a slave gateway or an SFU.
  • the communication device 50 may include a processor 501 and a transceiver 502, wherein the processor 501 is coupled to the transceiver 502.
  • the processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the processor 501 may refer to one processor or may include multiple processors, which is not specifically limited here.
  • the aforementioned transceiver 502 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc.
  • the device used to implement the receiving function in the transceiver unit may be regarded as a receiving unit
  • the device used to implement the sending function in the transceiver unit may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit
  • the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc.
  • the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
  • the transceiver 502 may be used for receiving an uplink burst optical signal.
  • the transceiver 502 supports receiving burst optical signals of one or more uplink rates.
  • the transceiver 502 supports receiving an uplink burst optical signal of 2.48832 Gbit/s.
  • the transceiver 502 supports receiving an uplink burst optical signal of 1.24416 Gbit/s.
  • the communication device 50 further includes a memory 503.
  • the processor 501 is coupled to the memory 503.
  • the memory 503 is mainly used to store software programs and data.
  • the memory 503 can exist independently and be connected to the processor 501.
  • the memory 503 can be integrated with the processor 501, for example, integrated into one or more chips.
  • the memory 503 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 501.
  • the various types of computer program codes executed can also be regarded as drivers of the processor 501.
  • the memory 503 may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include non-volatile memory (non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk drive (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD); the memory 503 may also include a combination of the above-mentioned types of memory.
  • the memory 503 may refer to one memory or may include multiple memories. Exemplarily, the memory 503 is used to store various data.
  • the communication device 50 is used to implement the function of the first sub-device in the optical fiber network system.
  • the transceiver 502 is used to receive the first allocation information from the main device, the first allocation information includes a first allocation identifier and a first time information, the first time information is used to indicate the first allocation time slot, and the first allocation identifier is used to indicate that the unactivated sub-device supporting the first uplink rate responds to the first allocation information;
  • the processor 501 is used to control the transceiver 502 to send the first response information in the first allocation time slot when it is determined that the first uplink rate is supported, and the first response information includes the serial number of the first sub-device.
  • the processor 501 is configured to, when determining that the first uplink rate is not supported, not trigger a response to the first allocation information.
  • the first sub-device supports a second uplink rate
  • the second uplink rate is different from the first uplink rate.
  • the transceiver 502 is also used to receive second allocation information from the main device, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting the second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, and the second time information is different from the first time information.
  • the processor 501 is also used to control the transceiver 502 to send a first response information in the second allocated time slot when it is determined that the first sub-device supports the second uplink rate, and the first response information includes the serial number of the first sub-device.
  • the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.
  • the first allocation identifier is a broadcast allocation identifier
  • the first allocation information is a sequence number request allocation structure.
  • the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.
  • the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.
  • the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.
  • the second allocation identifier is 255 or 253.
  • the communication device 50 is used to implement the function of a master device in a fiber optic network system.
  • the processor 501 is used to generate first allocation information;
  • the transceiver 502 is used to send the first allocation information,
  • the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information; wherein, if the first sub-device supports the first uplink rate, the first allocation information is used for the first sub-device to send a first response information in the first allocation time slot, and the first response information includes a serial number of the first sub-device.
  • the first allocation information is used for the first sub-device not to respond to the first allocation information.
  • the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.
  • the transceiver 502 is also used to send second allocation information, the second allocation information includes a second allocation identifier and a second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting a second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, the second time information is different from the first time information, the second allocation information is used for the first sub-device to send a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.
  • the plurality of sub-devices further include an unactivated second sub-device, the second sub-device supports the first uplink rate, the first allocation information is used for the second sub-device to send the second response information in the first allocated time slot, and the second response information includes the sequence number of the second sub-device Number.
  • the first allocation identifier is a broadcast allocation identifier
  • the first allocation information is a sequence number request allocation structure.
  • the second allocation identifier is 255 or 253.
  • the present application further provides a communication device 60.
  • the communication device 60 may be a sub-device (e.g., a first sub-device) or a main device, or may be a component (e.g., an integrated circuit, a chip, etc.) of a sub-device (e.g., a first sub-device) or a main device.
  • the communication device 60 may also be other communication modules for implementing the method in the method embodiment of the present application.
  • the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement a method related to a sub-device (for example, the first sub-device) as shown in Figure 2 or Figure 3 above.
  • a sub-device for example, the first sub-device

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present application provides an access method, an optical fiber network system, and a related device. After receiving first allocation information carrying a first allocation identifier and first time information, a first sub-device sends a serial number of the first sub-device in a first allocation time slot in response to the first allocation information only after determining that the first sub-device supports a first uplink rate. That is to say, the first allocation information received by the first sub-device is used for instructing a non-activated sub-device supporting the first uplink rate to report its serial number in the first allocation time slot, and does not trigger sub-devices supporting other uplink rates (uplink rates other than the first uplink rate) to report their serial numbers in the first allocation time slot, to prevent the first sub-device and the sub-devices supporting other uplink rates from sharing the allocation time slot to report their serial numbers, i.e., to prevent a main device from receiving optical signals of two uplink rates in a short time, thereby reducing the implementation complexity of uplink burst reception.

Description

一种接入方法、光纤网络系统以及相关设备Access method, optical fiber network system and related equipment

本申请要求于2023年09月15日提交国家知识产权局、申请号为202311199896.6、发明名称为“一种接入方法、光纤网络系统以及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on September 15, 2023, with application number 202311199896.6 and invention name “An access method, optical fiber network system and related equipment”, all contents of which are incorporated by reference in this application.

技术领域Technical Field

本申请实施例涉及光通信领域,尤其涉及一种接入方法、光纤网络系统以及相关设备。The embodiments of the present application relate to the field of optical communications, and in particular to an access method, an optical fiber network system, and related equipment.

背景技术Background Art

光纤到房间(fiber to the room,FTTR)指用光纤代替网线,在光网络终端(optical network terminal,ONT)下行提供光纤介质接入到房间的技术。该FTTR场景下的光纤网络系统包括主设备和一个或多个子设备,该主设备能够在子设备上线后触发子设备的激活流程。Fiber to the room (FTTR) refers to the technology of using optical fiber instead of network cable to provide optical fiber media access to the room in the downstream of the optical network terminal (ONT). The optical fiber network system in the FTTR scenario includes a main device and one or more sub-devices. The main device can trigger the activation process of the sub-device after the sub-device goes online.

在传统的激活流程中,主设备广播序列号请求分配结构,以使得收到该分配结构的子设备通过发送上行光信号上报该子设备的序列号,进而触发后续的激活流程。然而,该光纤网络系统中可能存在支持不同上行速率的子设备,该支持不同的上行速率的子设备在该分配结构指示的分配时隙中分别使用各自支持的上行速率发光,导致主设备在该分配时隙内接收的上行光信号具有不同的上行速率,即主设备需要在较短的时间接收不同的上行速率的突发上行光信号,增加了上行突发接收的实现复杂度。In the traditional activation process, the master device broadcasts a sequence number request allocation structure, so that the sub-device that receives the allocation structure reports the sequence number of the sub-device by sending an uplink optical signal, thereby triggering the subsequent activation process. However, there may be sub-devices that support different uplink rates in the optical fiber network system. The sub-devices that support different uplink rates use their respective supported uplink rates to emit light in the allocated time slot indicated by the allocation structure, resulting in the uplink optical signal received by the master device in the allocated time slot having different uplink rates, that is, the master device needs to receive burst uplink optical signals of different uplink rates in a shorter time, which increases the implementation complexity of uplink burst reception.

发明内容Summary of the invention

本申请提供了一种接入方法、光纤网络系统以及相关设备,用于降低上行突发接收的实现复杂度。The present application provides an access method, an optical fiber network system and related equipment, which are used to reduce the implementation complexity of uplink burst reception.

第一方面,本申请提供了一种接入方法,应用于光纤网络系统,该光纤网络系统包括主设备和多个子设备,该多个子设备包括未激活的第一子设备。本方面提供的接入方法可以由该光纤网络系统中的第一子设备执行,也可以是第一子设备中的部分功能模块或芯片执行。以第一子设备执行为例,第一子设备接收来自主设备的第一分配信息,第一分配信息包括第一分配标识和第一时间信息,第一时间信息用于指示第一分配时隙,第一分配标识用于指示未激活的支持第一上行速率的子设备响应第一分配信息;若第一子设备支持第一上行速率,则第一子设备在第一分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。In a first aspect, the present application provides an access method, which is applied to a fiber optic network system, wherein the fiber optic network system includes a main device and multiple sub-devices, wherein the multiple sub-devices include an unactivated first sub-device. The access method provided in this aspect can be executed by the first sub-device in the fiber optic network system, or it can be executed by some functional modules or chips in the first sub-device. Taking the execution of the first sub-device as an example, the first sub-device receives first allocation information from the main device, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information; if the first sub-device supports the first uplink rate, the first sub-device sends a first response information in the first allocation time slot, and the first response information includes the serial number of the first sub-device.

可选的,若该第一子设备不支持该第一上行速率,则该第一子设备不响应该第一分配信息。Optionally, if the first sub-device does not support the first uplink rate, the first sub-device does not respond to the first allocation information.

本申请中,第一子设备收到携带第一分配标识和第一时间信息的第一分配信息之后,第一子设备确定支持该第一上行速率的情况下,该第一子设备才响应该第一分配信息在第一分配时隙发送第一子设备的序列号。也就是说,第一子设备收到的第一分配信息用于指示支持第一上行速率的子设备在第一分配时隙上报序列号,不会触发其他的上行速率(在除了该第一上行速率之外的上行速率)的子设备在第一分配时隙上报序列号,有利于避免第一子设备与支持其他上行速率的子设备共用分配时隙上报序列号,即有利于避免主设备在较短时间内接收两种上行速率的光信号,进而有利于降低上行突发接收的实现复杂度。In the present application, after the first sub-device receives the first allocation information carrying the first allocation identifier and the first time information, the first sub-device will respond to the first allocation information and send the serial number of the first sub-device in the first allocation time slot only when the first sub-device determines that it supports the first uplink rate. That is to say, the first allocation information received by the first sub-device is used to instruct the sub-device supporting the first uplink rate to report the serial number in the first allocation time slot, and will not trigger the sub-devices of other uplink rates (uplink rates other than the first uplink rate) to report the serial number in the first allocation time slot, which is conducive to avoiding the first sub-device and the sub-devices supporting other uplink rates from sharing the allocation time slot to report the serial number, that is, it is conducive to avoiding the main device from receiving optical signals of two uplink rates in a short time, and further conducive to reducing the implementation complexity of uplink burst reception.

在一种可能的实施方式中,第一子设备支持第二上行速率,第二上行速率与第一上行速率不同。在这种情况下,该接入方法还包括:In a possible implementation manner, the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate. In this case, the access method further includes:

第一子设备接收来自主设备的第二分配信息,第二分配信息包括第二分配标识和第二时间信息,第二时间信息用于指示第二分配时隙,第二分配标识用于指示未激活的支持第二上行速率的子设备响应第二分配信息,第二分配标识与第一分配标识不同,第二时间信息与第一时间信息不同;第一子设备在第二分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。The first sub-device receives second allocation information from the main device, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate an unactivated sub-device supporting a second uplink rate to respond to the second allocation information, the second allocation identifier is different from the first allocation identifier, and the second time information is different from the first time information; the first sub-device sends a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,多个子设备还包括未激活的第二子设备,第二子设备支持第一上行速率,第一分配信息用于第二子设备在第一分配时隙发送第二响应信息,第二响应信息包括第二子设备的序列号。In a possible implementation, the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.

本实施方式中,主设备能够通过不同的分配标识区分支持不同上行速率的子设备对应的分配信息,进而区分不同的分配信息对应的用于上报序列号的分配时隙。支持不同上行速率的子设备在上报序列号 时分别使用不同的分配时隙,相比于传统技术中使用同一分配时隙中的不同时隙而言,拉长了主网络设备收到不同上行速率的上行光信号之间的时间间隔,有利于降低上行突发接收的接收机的复杂度。In this implementation, the master device can distinguish the allocation information corresponding to the sub-devices supporting different uplink rates through different allocation identifiers, and further distinguish the allocation time slots for reporting the sequence numbers corresponding to the different allocation information. Different allocated time slots are used respectively, compared with the traditional technology of using different time slots in the same allocated time slot, which lengthens the time interval between the main network device receiving the uplink optical signals of different uplink rates, which is beneficial to reducing the complexity of the receiver for uplink burst reception.

在一种可能的实施方式中,第一分配标识为广播的分配标识,第一分配信息为序列号请求分配结构。In a possible implementation manner, the first allocation identifier is a broadcast allocation identifier, and the first allocation information is a sequence number request allocation structure.

在一种可能的实施方式中,第一分配信息携带于下行物理控制块中的带宽映射域中。In a possible implementation manner, the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.

在一种可能的实施方式中,第一分配标识为254,第一上行速率为1.25G;或者,第一分配标识为255或253,第一上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.

在一种可能的实施方式中,第一分配标识为254,第二分配标识不包括254,第一上行速率为1.25G,第二上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.

在一种可能的实施方式中,第二分配标识为255。In a possible implementation manner, the second allocation identifier is 255.

本实施方式中,针对支持2.48832Gbit/s的子设备,将Alloc-ID=254重定义为预留(Reserved)的分配标识,即不在分配结构中携带Alloc-ID=254,并且,将Alloc-ID=255重定义为广播(Broadcast)的分配标识。支持上行速率为1.24416Gbit/s的子设备在激活流程中使用的Alloc-ID=254,因此,在激活流程中2.5G的子设备使用Alloc-ID=255对应的分配结构和分配时隙,1.25G的子设备使用Alloc-ID=254对应的分配结构和分配时隙。因此,支持不同上行速率的子设备在上报序列号时分别使用不同的分配时隙,可以实现多速率单独开窗,有利于降低上行突发接收的实现复杂度。In this implementation, for the sub-device supporting 2.48832Gbit/s, Alloc-ID=254 is redefined as a reserved allocation identifier, that is, Alloc-ID=254 is not carried in the allocation structure, and Alloc-ID=255 is redefined as a broadcast allocation identifier. The sub-device supporting the uplink rate of 1.24416Gbit/s uses Alloc-ID=254 in the activation process. Therefore, in the activation process, the 2.5G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=255, and the 1.25G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=254. Therefore, the sub-devices supporting different uplink rates use different allocation time slots when reporting sequence numbers, which can realize multi-rate separate windowing, which is conducive to reducing the implementation complexity of uplink burst reception.

在一种可能的实施方式中,第二分配标识为253。In a possible implementation manner, the second allocation identifier is 253.

本实施方式中,针对支持2.48832Gbit/s的子设备,将Alloc-ID=254重定义为预留(Reserved)的分配标识,即不在分配结构中携带Alloc-ID=254,并且,将Alloc-ID=253重定义为广播(Broadcast)的分配标识。支持上行速率为1.24416Gbit/s的子设备在激活流程中使用的Alloc-ID=254,因此,在激活流程中2.5G的子设备使用Alloc-ID=253对应的分配结构和分配时隙,1.25G的子设备使用Alloc-ID=254对应的分配结构和分配时隙。因此,支持不同上行速率的子设备在上报序列号时分别使用不同的分配时隙,可以实现多速率单独开窗,有利于降低上行突发接收的实现复杂度。In this implementation, for the sub-device supporting 2.48832Gbit/s, Alloc-ID=254 is redefined as a reserved allocation identifier, that is, Alloc-ID=254 is not carried in the allocation structure, and Alloc-ID=253 is redefined as a broadcast allocation identifier. The sub-device supporting the uplink rate of 1.24416Gbit/s uses Alloc-ID=254 in the activation process. Therefore, in the activation process, the 2.5G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=253, and the 1.25G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=254. Therefore, the sub-devices supporting different uplink rates use different allocation time slots when reporting sequence numbers, which can realize multi-rate separate windowing, which is conducive to reducing the implementation complexity of uplink burst reception.

第二方面,本申请提供了一种接入方法,应用于光纤网络系统,该光纤网络系统包括主设备和多个子设备,该多个子设备包括未激活的第一子设备。本方面提供的接入方法可以由该光纤网络系统中的主设备执行,也可以是主设备中的部分功能模块或芯片执行。以主设备执行为例,主设备发送第一分配信息,第一分配信息包括第一分配标识和第一时间信息,第一时间信息用于指示第一分配时隙,第一分配标识用于指示未激活的支持第一上行速率的子设备响应第一分配信息;其中,若第一子设备支持第一上行速率,则第一分配信息用于第一子设备在第一分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。可选的,若第一子设备不支持第一上行速率,则第一分配信息用于第一子设备不响应第一分配信息。In a second aspect, the present application provides an access method, which is applied to a fiber optic network system, wherein the fiber optic network system includes a main device and multiple sub-devices, wherein the multiple sub-devices include an unactivated first sub-device. The access method provided in this aspect can be executed by the main device in the fiber optic network system, or it can be executed by some functional modules or chips in the main device. Taking the execution of the main device as an example, the main device sends a first allocation information, the first allocation information includes a first allocation identifier and a first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information; wherein, if the first sub-device supports the first uplink rate, the first allocation information is used for the first sub-device to send a first response information in the first allocation time slot, and the first response information includes the serial number of the first sub-device. Optionally, if the first sub-device does not support the first uplink rate, the first allocation information is used for the first sub-device not to respond to the first allocation information.

本申请中,主设备能够发送携带第一分配标识和第一时间信息的第一分配信息,以指示未激活的支持第一上行速率的子设备才触发在第一时间信息指示的第一分配时隙发送子设备的序列号,而不会触发不支持第一上行速率的子设备在第一分配时隙上报该子设备的序列号。因此,有利于避免支持不同上行速率的子设备共用分配时隙上报序列号,即有利于避免主设备在较短时间内接收两种上行速率的光信号,进而有利于降低上行突发接收的实现复杂度。In the present application, the master device can send the first allocation information carrying the first allocation identifier and the first time information to indicate that only the unactivated sub-device supporting the first uplink rate triggers the transmission of the sub-device's sequence number in the first allocation time slot indicated by the first time information, and does not trigger the sub-device that does not support the first uplink rate to report the sub-device's sequence number in the first allocation time slot. Therefore, it is helpful to avoid sub-devices supporting different uplink rates from sharing the allocation time slot to report the sequence number, that is, it is helpful to avoid the master device receiving optical signals of two uplink rates in a short time, and further helps to reduce the implementation complexity of uplink burst reception.

在一种可能的实施方式中,第一子设备支持第二上行速率,第二上行速率与第一上行速率不同。该接入方法还包括:主设备发送第二分配信息,第二分配信息包括第二分配标识和第二时间信息,第二时间信息用于指示第二分配时隙,第二分配标识用于指示未激活的支持第二上行速率的子设备响应第二分配信息,第二分配标识与第一分配标识不同,第二时间信息与第一时间信息不同,第二分配信息用于第一子设备在第二分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。In a possible implementation, the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate. The access method also includes: the master device sends a second allocation information, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting the second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, the second time information is different from the first time information, the second allocation information is used for the first sub-device to send a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,多个子设备还包括未激活的第二子设备,第二子设备支持第一上行速率,第一分配信息用于第二子设备在第一分配时隙发送第二响应信息,第二响应信息包括第二子设备的序列号。In a possible implementation, the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.

在一种可能的实施方式中,第一分配标识为广播的分配标识,第一分配信息为序列号请求分配结构。In a possible implementation manner, the first allocation identifier is a broadcast allocation identifier, and the first allocation information is a sequence number request allocation structure.

在一种可能的实施方式中,第一分配信息携带于下行物理控制块中的带宽映射域中。 In a possible implementation manner, the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.

在一种可能的实施方式中,第一分配标识为254,第一上行速率为1.25G;或者,第一分配标识为255或253,第一上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.

在一种可能的实施方式中,第一分配标识为254,第二分配标识不包括254,第一上行速率为1.25G,第二上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.

在一种可能的实施方式中,第二分配标识为255或253。In a possible implementation manner, the second allocation identifier is 255 or 253.

需要说明的是,本申请实施例还有多种具体其他实施方式,具体可参见第一方面的具体实施方式和其有益效果,在此不再赘述。It should be noted that there are many other specific implementations of the embodiments of the present application. Please refer to the specific implementations of the first aspect and their beneficial effects for details, which will not be repeated here.

第三方面,本申请提供一种接入方法,应用于光纤网络系统,所述光纤网络系统包括主设备和多个子设备,该接入方法包括:In a third aspect, the present application provides an access method, which is applied to an optical fiber network system, wherein the optical fiber network system includes a main device and multiple sub-devices, and the access method includes:

所述第一子设备接收来自主设备的第一能力获取设置信息,所述第一能力获取设置信息包括所述第一子设备的标识以及查询操作码;The first sub-device receives first capability acquisition setting information from the main device, where the first capability acquisition setting information includes an identifier of the first sub-device and a query operation code;

响应于所述第一能力获取设置信息,所述第一子设备获取自身的能力信息;In response to the first capability acquisition setting information, the first sub-device acquires its own capability information;

所述第一子设备向所述主设备发送能力上报消息,所述能力上报消息中携带所述第一子设备的能力信息。The first sub-device sends a capability reporting message to the main device, where the capability reporting message carries capability information of the first sub-device.

通过上述接入方法,主设备可以在第一子设备完成激活后,获取第一子设备的能力(特性或功能)信息,从而对第一子设备的资源、通信过程进行管理。Through the above access method, the main device can obtain the capability (characteristic or function) information of the first sub-device after the first sub-device is activated, so as to manage the resources and communication process of the first sub-device.

在一种可能的实施方式中,所述第一子设备还接收来自主设备的第二能力获取设置信息,所述第二能力获取设置信息包括所述第一子设备的标识、设置操作码以及待设置的能力;In a possible implementation manner, the first sub-device further receives second capability acquisition setting information from the main device, where the second capability acquisition setting information includes an identifier of the first sub-device, a setting operation code, and a capability to be set;

所述第一子设备根据所述待设置的能力对自身进行设置(或操作);The first sub-device sets (or operates) itself according to the capability to be set;

所述第一子设备向所述主设备发送能力设置消息,所述能力设置消息中携带所述第一子设备对自身进行设置的结果。The first sub-device sends a capability setting message to the main device, where the capability setting message carries a result of the first sub-device setting itself.

通过上述第二能力获取设置消息,主设备可以设置第一子设备的能力,例如设置改变第一子设备上行数据流的前向纠错编码FEC码字(FEC code),以提升通信效率或提高通信安全。By obtaining the setting message through the above-mentioned second capability, the main device can set the capability of the first sub-device, for example, setting to change the forward error correction coding FEC codeword (FEC code) of the uplink data stream of the first sub-device to improve communication efficiency or improve communication security.

在一种可能的实施方式中,所述第二能力获取设置信息中待设置的能力包括设置所述第一子设备上行的FEC码以及时间戳,所述方法还包括:In a possible implementation manner, the capability to be set in the second capability acquisition setting information includes setting an uplink FEC code and a timestamp of the first sub-device, and the method further includes:

所述第一子设备根据所述时间戳对上行数据流应用所述FEC码,即第一子设备在时间戳对应的时刻到来时,使用新的FEC码字进行上行数据流编码,从而更新第一子设备上行数据流编码的码字。The first sub-device applies the FEC code to the uplink data stream according to the timestamp, that is, when the moment corresponding to the timestamp arrives, the first sub-device uses the new FEC codeword to encode the uplink data stream, thereby updating the codeword for encoding the uplink data stream of the first sub-device.

在一种可能的实施方式中,所述第二能力获取设置信息中还包括FEC码标识,用于标识FEC的码字。In a possible implementation manner, the second capability acquisition setting information further includes an FEC code identifier, which is used to identify an FEC codeword.

在一种可能的实施方式中,所述第一子设备上行的FEC码包括默认的FEC码、高余量码(high margin code)、高吞吐量码(high throughput code)中的一种。In a possible implementation, the uplink FEC code of the first sub-device includes one of a default FEC code, a high margin code, and a high throughput code.

在一种可能的实施方式中,在所述第一子设备上行的FEC码为高余量码时,所述第二能力获取设置信息中还包括LDPC码被缩短的列的数量。其中,第一子设备上行的FEC码和LDPC码被缩短的列的数量携带在不同的字段中。In a possible implementation, when the uplink FEC code of the first sub-device is a high-margin code, the second capability acquisition setting information further includes the number of columns in which the LDPC code is shortened. The uplink FEC code of the first sub-device and the number of columns in which the LDPC code is shortened are carried in different fields.

在一种可能的实施方式中,上述时间戳为计划的超帧计数器(Superframe counter,SFC),第一子设备在计划的超帧计数器到期后,根据所述第二能力获取设置消息中携带的FEC码字对上行数据流进行FEC编码的操作。In a possible implementation, the timestamp is a planned superframe counter (SFC). After the planned superframe counter expires, the first sub-device performs FEC encoding on the uplink data stream according to the FEC codeword carried in the second capability acquisition setting message.

在一种可能的实施方式中,能力设置消息中携带操作码,所述操作码用于标识所述第一子设备是否安排能力设置。In a possible implementation manner, the capability setting message carries an operation code, where the operation code is used to identify whether the first sub-device arranges capability setting.

在一种可能的实施方式中,能力设置消息中携带操作码,所述操作码用于标识所述第一子设备是否完成能力设置。In a possible implementation manner, the capability setting message carries an operation code, where the operation code is used to identify whether the first sub-device completes the capability setting.

在一种可能的实施方式中,所述第一子设备的能力信息包括所述第一子设备支持的一个或多个FEC码字。In a possible implementation manner, the capability information of the first sub-device includes one or more FEC codewords supported by the first sub-device.

在一种可能的实施方式中,所述能力设置消息中还携带响应码,所述响应码用于标识所述第一子设备没有安排所述能力设置的原因。例如,原因包括切换超帧计数器值过早、不支持待设置的能力或第一子设备忙中的至少一个。In a possible implementation, the capability setting message also carries a response code, and the response code is used to identify the reason why the first sub-device does not arrange the capability setting. For example, the reason includes at least one of switching the superframe counter value too early, not supporting the capability to be set, or the first sub-device is busy.

在一种可能的实施方式中,所述响应码用于标识所述第一子设备没有完成所述能力设置的原因。例 如,原因包括第一子设备资源不足、发生了其他错误或第一子设备在设置能力后无法获取下行同步DSYNC中的至少一个。In a possible implementation manner, the response code is used to identify the reason why the first sub-device did not complete the capability setting. For example, the reasons include insufficient resources of the first sub-device, other errors occurring, or the first sub-device being unable to obtain at least one of the downlink synchronization DSYNC after setting the capability.

第四方面,本申请提供一种接入方法,应用于光纤网络系统,所述光纤网络系统包括主设备和多个子设备,该接入方法包括:In a fourth aspect, the present application provides an access method, which is applied to an optical fiber network system, wherein the optical fiber network system includes a main device and multiple sub-devices, and the access method includes:

所述主设备向第一子设备发送第一能力获取设置信息,所述第一能力获取设置信息包括所述第一子设备的标识以及查询操作码;The master device sends first capability acquisition setting information to the first sub-device, where the first capability acquisition setting information includes an identifier of the first sub-device and a query operation code;

所述主设备接收所述第一子设备发送的能力上报消息,所述能力上报消息中携带所述第一子设备的能力信息。The main device receives a capability reporting message sent by the first sub-device, where the capability reporting message carries capability information of the first sub-device.

在一种可能的实施方式中,主设备还向所述第一子设备发送第二能力获取设置信息,所述第二能力获取设置信息包括所述第一子设备的标识、设置操作码以及待设置的能力(特性或功能);In a possible implementation manner, the main device further sends second capability acquisition setting information to the first sub-device, where the second capability acquisition setting information includes an identifier of the first sub-device, a setting operation code, and a capability (characteristic or function) to be set;

所述主设备接收所述第一子设备发送的能力设置消息,所述能力设置消息中携带所述第一子设备对自身进行设置(或操作)的结果。The main device receives a capability setting message sent by the first sub-device, where the capability setting message carries a result of the first sub-device setting (or operating) itself.

在一种可能的实施方式中,主设备在接收到第一子设备发送的能力上报消息后,保存其中携带的所述第一子设备的能力信息。In a possible implementation manner, after receiving the capability reporting message sent by the first sub-device, the main device saves the capability information of the first sub-device carried therein.

在一种可能的实施方式中,所述第一能力获取设置信息或第二能力获取设置信息中携带所述消息完整性校验值,所述消息完整性校验值是根据所述主设备和第一子设备之间的完整性密钥(IK)计算得到的。In a possible implementation manner, the first capability acquisition setting information or the second capability acquisition setting information carries the message integrity check value, and the message integrity check value is calculated based on an integrity key (IK) between the main device and the first sub-device.

在一种可能的实施方式中,所述第二能力获取设置信息中还包括FEC码标识,用于标识FEC的码字。In a possible implementation manner, the second capability acquisition setting information further includes an FEC code identifier, which is used to identify an FEC codeword.

在一种可能的实施方式中,所述第一子设备的能力信息包括所述第一子设备支持的一个或多个FEC码字。In a possible implementation manner, the capability information of the first sub-device includes one or more FEC codewords supported by the first sub-device.

在一种可能的实施方式中,所述第一能力获取设置信息和第二能力获取设置信息为下行物理层操作管理维护(physical layer operations administration and maintenance,PLOAM)消息,所述第一子设备发送的能力上报消息和所述能力设置消息为上行PLOAM消息。In a possible implementation, the first capability acquisition setting information and the second capability acquisition setting information are downlink physical layer operations administration and maintenance (PLOAM) messages, and the capability reporting message and the capability setting message sent by the first sub-device are uplink PLOAM messages.

在本实施例提供的接入方法中,能力上报消息和能力设置消息可以统一为ONU能力(ONU_Capabilities)消息,通过该消息中携带的不通过操作码来区分是能力上报消息还是能力设置消息。ONU_Capabilities消息可以响应携带查询操作码的Get_Set_Capability PLOAM消息,上报ONU能力。ONU_Capabilities消息还可以响应携带设置操作码的Get_Set_Capability PLOAM消息,指示希望或不能执行该能力设置,以及响应码。此外,ONU_Capabilities消息还可以提供能力设置执行成功或失败的指示以及响应码。In the access method provided in this embodiment, the capability reporting message and the capability setting message can be unified into an ONU capability (ONU_Capabilities) message, and the capability reporting message and the capability setting message can be distinguished by the non-passing operation code carried in the message. The ONU_Capabilities message can respond to the Get_Set_Capability PLOAM message carrying the query operation code to report the ONU capability. The ONU_Capabilities message can also respond to the Get_Set_Capability PLOAM message carrying the setting operation code, indicating the desire or inability to perform the capability setting, as well as the response code. In addition, the ONU_Capabilities message can also provide an indication of the success or failure of the capability setting execution and a response code.

第五方面,本申请提供了一种通信设备,该通信设备应用于光纤网络系统,光纤网络系统包括主设备和多个子设备,多个子设备包括未激活的第一子设备。该通信设备可以是该光纤网络系统中的第一子设备,也可以是第一子设备中的部分功能模块或芯片。该通信设备包括收发器和处理器。In a fifth aspect, the present application provides a communication device, which is applied to a fiber optic network system, wherein the fiber optic network system includes a main device and multiple sub-devices, wherein the multiple sub-devices include an unactivated first sub-device. The communication device may be the first sub-device in the fiber optic network system, or may be a partial functional module or chip in the first sub-device. The communication device includes a transceiver and a processor.

其中,收发器,用于接收来自主设备的第一分配信息,第一分配信息包括第一分配标识和第一时间信息,第一时间信息用于指示第一分配时隙,第一分配标识用于指示未激活的支持第一上行速率的子设备响应第一分配信息;The transceiver is used to receive first allocation information from the master device, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocated time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information;

处理器,用于在确定支持第一上行速率的情况下,控制收发器在第一分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。The processor is configured to control the transceiver to send first response information in a first allocated time slot when determining that the first uplink rate is supported, wherein the first response information includes a serial number of the first sub-device.

在一种可能的实施方式中,处理器,用于在确定不支持第一上行速率的情况下,不触发响应第一分配信息。In a possible implementation, the processor is configured to, when determining that the first uplink rate is not supported, not trigger a response to the first allocation information.

在一种可能的实施方式中,第一子设备支持第二上行速率,第二上行速率与第一上行速率不同。In a possible implementation manner, the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.

该收发器,还用于接收来自主设备的第二分配信息,第二分配信息包括第二分配标识和第二时间信息,第二时间信息用于指示第二分配时隙,第二分配标识用于指示未激活的支持第二上行速率的子设备响应第二分配信息,第二分配标识与第一分配标识不同,第二时间信息与第一时间信息不同。该处理器,还用于在确定第一子设备支持第二上行速率的情况下,控制收发器在第二分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。 The transceiver is further used to receive second allocation information from the master device, the second allocation information includes a second allocation identifier and a second time information, the second time information is used to indicate a second allocation time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting the second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, and the second time information is different from the first time information. The processor is further used to control the transceiver to send a first response information in the second allocation time slot when it is determined that the first sub-device supports the second uplink rate, and the first response information includes a serial number of the first sub-device.

在一种可能的实施方式中,多个子设备还包括未激活的第二子设备,第二子设备支持第一上行速率,第一分配信息用于第二子设备在第一分配时隙发送第二响应信息,第二响应信息包括第二子设备的序列号。In a possible implementation, the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.

在一种可能的实施方式中,第一分配标识为广播的分配标识,第一分配信息为序列号请求分配结构。In a possible implementation manner, the first allocation identifier is a broadcast allocation identifier, and the first allocation information is a sequence number request allocation structure.

在一种可能的实施方式中,第一分配信息携带于下行物理控制块中的带宽映射域中。In a possible implementation manner, the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.

在一种可能的实施方式中,第一分配标识为254,第一上行速率为1.25G;或者,第一分配标识为255或253,第一上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.

在一种可能的实施方式中,第一分配标识为254,第二分配标识不包括254,第一上行速率为1.25G,第二上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.

在一种可能的实施方式中,第二分配标识为255或253。In a possible implementation manner, the second allocation identifier is 255 or 253.

需要说明的是,本申请实施例还有多种具体其他实施方式,具体可参见第一方面的具体实施方式和其有益效果,在此不再赘述。It should be noted that there are many other specific implementations of the embodiments of the present application. Please refer to the specific implementations of the first aspect and their beneficial effects for details, which will not be repeated here.

第六方面,本申请提供了一种通信设备,该通信设备应用于光纤网络系统,光纤网络系统包括主设备和多个子设备,多个子设备包括未激活的第一子设备。该通信设备可以是该光纤网络系统中的主设备,也可以是主设备中的部分功能模块或芯片。该通信设备包括收发器和处理器。In a sixth aspect, the present application provides a communication device, which is applied to a fiber optic network system, wherein the fiber optic network system includes a main device and multiple sub-devices, wherein the multiple sub-devices include an unactivated first sub-device. The communication device may be a main device in the fiber optic network system, or may be a partial functional module or chip in the main device. The communication device includes a transceiver and a processor.

其中,处理器,用于生成第一分配信息;收发器,用于发送第一分配信息,第一分配信息包括第一分配标识和第一时间信息,第一时间信息用于指示第一分配时隙,第一分配标识用于指示未激活的支持第一上行速率的子设备响应第一分配信息;其中,若第一子设备支持第一上行速率,则第一分配信息用于第一子设备在第一分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。Wherein, the processor is used to generate first allocation information; the transceiver is used to send the first allocation information, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate an unactivated sub-device supporting a first uplink rate to respond to the first allocation information; wherein, if the first sub-device supports the first uplink rate, the first allocation information is used for the first sub-device to send a first response information in the first allocation time slot, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,若第一子设备不支持第一上行速率,则第一分配信息用于第一子设备不响应第一分配信息。In a possible implementation manner, if the first sub-device does not support the first uplink rate, the first allocation information is used for the first sub-device not to respond to the first allocation information.

在一种可能的实施方式中,第一子设备支持第二上行速率,第二上行速率与第一上行速率不同。In a possible implementation manner, the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.

该收发器,还用于发送第二分配信息,第二分配信息包括第二分配标识和第二时间信息,第二时间信息用于指示第二分配时隙,第二分配标识用于指示未激活的支持第二上行速率的子设备响应第二分配信息,第二分配标识与第一分配标识不同,第二时间信息与第一时间信息不同,第二分配信息用于第一子设备在第二分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。The transceiver is also used to send second allocation information, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate an unactivated sub-device supporting a second uplink rate to respond to the second allocation information, the second allocation identifier is different from the first allocation identifier, the second time information is different from the first time information, the second allocation information is used for the first sub-device to send a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,多个子设备还包括未激活的第二子设备,第二子设备支持第一上行速率,第一分配信息用于第二子设备在第一分配时隙发送第二响应信息,第二响应信息包括第二子设备的序列号。In a possible implementation, the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.

在一种可能的实施方式中,第一分配标识为广播的分配标识,第一分配信息为序列号请求分配结构。In a possible implementation manner, the first allocation identifier is a broadcast allocation identifier, and the first allocation information is a sequence number request allocation structure.

在一种可能的实施方式中,第一分配信息携带于下行物理控制块中的带宽映射域中。In a possible implementation manner, the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.

在一种可能的实施方式中,第一分配标识为254,第一上行速率为1.25G;或者,第一分配标识为255或253,第一上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.

在一种可能的实施方式中,第一分配标识为254,第二分配标识不包括254,第一上行速率为1.25G,第二上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.

在一种可能的实施方式中,第二分配标识为255或253。In a possible implementation manner, the second allocation identifier is 255 or 253.

需要说明的是,本申请实施例还有多种具体其他实施方式,具体可参见第一方面或第第三方面的具体实施方式和其有益效果,在此不再赘述。It should be noted that there are many other specific implementations of the embodiments of the present application. Please refer to the specific implementations of the first aspect or the third aspect and their beneficial effects, which will not be repeated here.

第七方面,本申请实施例提供了一种通信设备,该通信设备可以是前述实施方式中的子设备(例如,第一子设备),也可以是该子设备(例如,第一子设备)内的芯片。该通信设备可以包括处理模块和收发模块。当该通信设备是子设备(例如,第一子设备)时,该处理模块可以是处理器,该收发模块可以是收发器。可选的,该子设备(例如,第一子设备)还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理模块执行该存储模块所存储的指令,以使该子设备(例如,第一子设备)执行第一方面或第一方面的任一种实施方式中的方法。当该通信设备是子设备(例如,第一子设备)内的芯片时,该处理模块可以是处理器,该收发模块可以是输入/输出接口、管脚或电路等;该处理模块执行存储模块所存储的指令,以使该子设备(例如,第一子设备)执行第一方面或第三方面的任一种 实施方式中的方法。该存储模块可以是该芯片内的存储模块(例如,寄存器、缓存等),也可以是该子设备(例如,第一子设备)内的位于该芯片外部的存储模块(例如,只读存储器、随机存取存储器等)。In the seventh aspect, an embodiment of the present application provides a communication device, which may be a sub-device (for example, a first sub-device) in the aforementioned implementation, or may be a chip in the sub-device (for example, the first sub-device). The communication device may include a processing module and a transceiver module. When the communication device is a sub-device (for example, a first sub-device), the processing module may be a processor, and the transceiver module may be a transceiver. Optionally, the sub-device (for example, the first sub-device) may also include a storage module, which may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the sub-device (for example, the first sub-device) executes the method in the first aspect or any one of the implementations of the first aspect. When the communication device is a chip in a sub-device (for example, a first sub-device), the processing module may be a processor, and the transceiver module may be an input/output interface, a pin or a circuit, etc.; the processing module executes the instructions stored in the storage module so that the sub-device (for example, the first sub-device) executes any one of the first aspect or the third aspect. The storage module may be a storage module in the chip (e.g., a register, a cache, etc.), or a storage module in the sub-device (e.g., the first sub-device) located outside the chip (e.g., a read-only memory, a random access memory, etc.).

第八方面,本申请实施例提供了一种通信设备,该通信设备可以是前述实施方式中的主设备,也可以是该主设备内的芯片。该通信设备可以包括处理模块和收发模块。当该通信设备是主设备时,该处理模块可以是处理器,该收发模块可以是收发器;该主设备还可以包括存储模块,该存储模块可以是存储器;该存储模块用于存储指令,该处理模块执行该存储模块所存储的指令,以使该主设备执行第二方面或第二方面的任一种实施方式中的方法。当该通信设备是主设备内的芯片时,该处理模块可以是处理器,该收发模块可以是输入/输出接口、管脚或电路等;该处理模块执行存储模块所存储的指令,以使该主设备执行第二方面或第四方面的任一种实施方式中的方法。该存储模块可以是该芯片内的存储模块(例如,寄存器、缓存等),也可以是该主设备内的位于该芯片外部的存储模块(例如,只读存储器、随机存取存储器等)。In the eighth aspect, an embodiment of the present application provides a communication device, which may be a main device in the aforementioned implementation mode, or a chip in the main device. The communication device may include a processing module and a transceiver module. When the communication device is a main device, the processing module may be a processor, and the transceiver module may be a transceiver; the main device may also include a storage module, and the storage module may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the main device executes the method in the second aspect or any one of the implementation modes of the second aspect. When the communication device is a chip in the main device, the processing module may be a processor, and the transceiver module may be an input/output interface, a pin or a circuit, etc.; the processing module executes the instructions stored in the storage module so that the main device executes the method in any one of the implementation modes of the second aspect or the fourth aspect. The storage module may be a storage module in the chip (for example, a register, a cache, etc.), or a storage module in the main device located outside the chip (for example, a read-only memory, a random access memory, etc.).

第九方面,本申请提供了一种通信设备,该通信设备可以是集成电路芯片。该集成电路芯片包括处理器。该处理器与存储器耦合,该存储器用于存储程序或指令,当该程序或指令被该处理器执行时,使得该通信设备执行第一方面到第四方面,以及前述各个方面的各种实施方式中的任一种实施方式所介绍的方法以及前述各个方面。In a ninth aspect, the present application provides a communication device, which may be an integrated circuit chip. The integrated circuit chip includes a processor. The processor is coupled to a memory, and the memory is used to store a program or instruction. When the program or instruction is executed by the processor, the communication device executes the method described in any one of the first to fourth aspects and various embodiments of the aforementioned various aspects, and the aforementioned various aspects.

第十方面,本申请实施例提供了一种包含指令的计算机程序产品,当前述指令在计算机上运行时,使得该计算机执行如前述第一方面到第四方面,以及前述各个方面的各种实施方式中的任一种实施方式所介绍的方法。In the tenth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when the aforementioned instructions are executed on a computer, enables the computer to execute the method described in any one of the various embodiments of the aforementioned first to fourth aspects and various aspects.

第十一方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当该指令在计算机上运行时,以使得计算机执行如前述第一方面到第四方面,以及前述各个方面的各种实施方式中的任一种实施方式所介绍的方法。In the eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute the method described in any one of the various embodiments of the first to fourth aspects and the various aspects.

第十二方面,本申请实施例提供了一种光纤网络系统,该光纤网络系统包括上述第二方面以及第二方面的任一种实施方式中的第一子设备,和,上述第四方面以及第四方面的任一种实施方式中的主设备。In a twelfth aspect, an embodiment of the present application provides a fiber optic network system, which includes the first sub-device in the above-mentioned second aspect and any one of the embodiments of the second aspect, and the main device in the above-mentioned fourth aspect and any one of the embodiments of the fourth aspect.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1A为传统技术中光纤网络系统的网络架构一个示例图;FIG. 1A is an example diagram of a network architecture of a fiber optic network system in conventional technology;

图1B为本申请中光纤网络系统的一个示例图;FIG1B is an example diagram of an optical fiber network system in the present application;

图2为本申请中接入方法的一个流程示意图;FIG2 is a schematic diagram of a flow chart of the access method in the present application;

图3为本申请中本申请涉及的携带第一分配结构的下行帧的一个示例图;FIG3 is an example diagram of a downlink frame carrying a first allocation structure involved in the present application;

图4为本申请中接入方法的另一个流程示意图;FIG4 is another schematic diagram of the access method in the present application;

图5为本申请中通信装置的一个实施例示意图;FIG5 is a schematic diagram of an embodiment of a communication device in the present application;

图6为本申请中通信装置的一个实施例示意图。FIG. 6 is a schematic diagram of an embodiment of a communication device in the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.

在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In the various embodiments of the present application, unless otherwise specified or provided in a logical conflict, the terms and/or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。 It should be understood that the term "and/or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this article generally indicates that the associated objects before and after are in an "or" relationship.

本申请提供的接入方法,应用于光纤网络系统。为便于理解本申请提出的接入方法,下面先对传统技术中的光纤网络系统的基本架构进行介绍:The access method provided by this application is applied to an optical fiber network system. To facilitate understanding of the access method proposed by this application, the basic architecture of the optical fiber network system in the traditional technology is first introduced below:

如图1A所示,为传统技术中的光纤网络系统的基本架构图。该光纤网络系统中包括光线路终端(optical line terminal,OLT)、光分配网络(optical distribution network,ODN)以及光网络单元(optical network unit,ONU)(或者光网络终端(optical network terminal,ONT))。OLT一般通过ODN与ONU(或ONT)连接。该ODN包括光纤、光纤配线架(optical distribution frame,ODF)、光分路器(也被称为分光器)(splitter)、合路器等光器件组成的网络。此外,前述OLT可以通过网络侧接口与运营商网络相连,该OLT可以通过专用接口与ODN连接,该ODN通过专用接口与ONU(或ONT)相连。在下行方向,OLT广播下行光信号,通过ODN将下行光信号分配到各个ONU(或ONT)。在上行方向,采用时分多址(time division multiple access,TDMA)方式,各个ONU(或ONT)在OLT分配的各自的上行时隙发送上行光信号。As shown in FIG. 1A , it is a basic architecture diagram of a fiber optic network system in conventional technology. The fiber optic network system includes an optical line terminal (OLT), an optical distribution network (ODN), and an optical network unit (ONU) (or an optical network terminal (ONT)). The OLT is generally connected to the ONU (or ONT) through the ODN. The ODN includes a network composed of optical devices such as optical fibers, optical distribution frames (ODF), optical splitters (also known as splitters), and combiners. In addition, the aforementioned OLT can be connected to the operator network through a network side interface, the OLT can be connected to the ODN through a dedicated interface, and the ODN is connected to the ONU (or ONT) through a dedicated interface. In the downstream direction, the OLT broadcasts a downstream optical signal, and distributes the downstream optical signal to each ONU (or ONT) through the ODN. In the upstream direction, time division multiple access (TDMA) is adopted, and each ONU (or ONT) sends the upstream optical signal in its own upstream time slot allocated by the OLT.

如图1B所示,为本申请提供的光纤网络系统的一个结构示意图。本申请提供的光纤网络系统包括主设备01和多个子设备02,主设备01与多个子设备02连接。该多个子设备02包括至少一种上行速率的子设备,即该多个子设备02中可能全部支持某一种上行速率。例如,该多个子设备02包括多个第一子设备021(例如,第一子设备#1和第一子设备#2等),第一子设备021为支持某一种上行速率(例如,上行速率1)的子设备。此外,该多个子设备02也可能存在多个支持不同的上行速率的子设备。例如,多个子设备02包括至少一个第一子设备021(例如,第一子设备#1和第一子设备#2等)和至少一个第二子设备022(例如,第二子设备#1和第二子设备#2等),第二子设备022为支持另一种上行速率(例如,上行速率2)的子设备,该第一子设备021支持的上行速率和第二子设备022支持的上行速率不同。As shown in FIG. 1B , it is a schematic diagram of the structure of the optical fiber network system provided by the present application. The optical fiber network system provided by the present application includes a main device 01 and multiple sub-devices 02, and the main device 01 is connected to the multiple sub-devices 02. The multiple sub-devices 02 include sub-devices with at least one upstream rate, that is, the multiple sub-devices 02 may all support a certain upstream rate. For example, the multiple sub-devices 02 include multiple first sub-devices 021 (for example, first sub-device #1 and first sub-device #2, etc.), and the first sub-device 021 is a sub-device that supports a certain upstream rate (for example, upstream rate 1). In addition, the multiple sub-devices 02 may also have multiple sub-devices that support different upstream rates. For example, multiple sub-devices 02 include at least one first sub-device 021 (for example, first sub-device #1 and first sub-device #2, etc.) and at least one second sub-device 022 (for example, second sub-device #1 and second sub-device #2, etc.), the second sub-device 022 is a sub-device that supports another uplink rate (for example, uplink rate 2), and the uplink rate supported by the first sub-device 021 is different from the uplink rate supported by the second sub-device 022.

应理解,该主设备可以是OLT,子设备可以是ONU(或ONT),主设备通过光分配网络与多个子设备连接。示例性的,在光纤到房间(fiber to the room,FTTR)场景中,主设备可以称为主FTTR单元(main FTTR unit,MFU)或主网关,子设备可以称为子FTTR单元(sub FTTR unit,SFU)或从网关。在一种示例中,子设备可以直接连接用户家里的终端设备,该终端设备可以是通过无线保真(wireless fidelity,Wi-Fi)连入前述路由器的手机、平板电脑,还可以是物联网设备(例如,室内温控设备、室内监控设备以及其他人工智能设备等)。在另一种示例中,该子设备为与用户家里的终端设备之间还存在其它网络(例如以太网等),该子设备为运营商提供的光猫等,该光猫再与室内路由器等设备连接。本申请以主设备和从设备为例进行介绍。It should be understood that the main device can be an OLT, the sub-device can be an ONU (or ONT), and the main device is connected to multiple sub-devices through an optical distribution network. Exemplarily, in a fiber to the room (FTTR) scenario, the main device can be called a main FTTR unit (MFU) or a main gateway, and the sub-device can be called a sub-FTTR unit (SFU) or a slave gateway. In one example, the sub-device can be directly connected to a terminal device at the user's home, which can be a mobile phone or tablet computer connected to the aforementioned router via wireless fidelity (Wi-Fi), or an Internet of Things device (for example, an indoor temperature control device, an indoor monitoring device, and other artificial intelligence devices). In another example, there are other networks (such as Ethernet, etc.) between the sub-device and the terminal device at the user's home, and the sub-device is an optical modem provided by the operator, which is then connected to indoor routers and other devices. This application is introduced by taking the main device and the slave device as an example.

下面将结合图2对本申请提供的接入方法的主要流程进行介绍:The main process of the access method provided by this application will be introduced below in conjunction with Figure 2:

如图2所示,为本申请提供的接入方法的一个流程图。其中,主设备和第一子设备将执行如下步骤:As shown in FIG2 , it is a flow chart of the access method provided by the present application. In which, the main device and the first sub-device will perform the following steps:

步骤201,主设备发送第一分配信息;相应地,第一子设备接收第一分配信息。Step 201: The master device sends first allocation information; correspondingly, the first slave device receives the first allocation information.

其中,第一分配信息包括第一分配标识和第一时间信息。该第一时间信息用于指示第一分配时隙,该第一分配时隙是与第一分配标识关联的上行带宽资源,用于特定的子设备在该第一分配时隙发送响应信息。The first allocation information includes a first allocation identifier and first time information. The first time information is used to indicate a first allocation time slot, which is an uplink bandwidth resource associated with the first allocation identifier and is used for a specific sub-device to send response information in the first allocation time slot.

其中,第一分配标识用于指示未激活的支持第一上行速率的子设备响应该第一分配信息。也可以理解为,第一分配标识指示第一分配信息用于发现未激活的支持第一上行速率的子设备。可以理解为,本申请提供的第一分配信息用于发现支持特定上行速率(例如,第一上行速率)的未激活的子设备,而不仅仅是用于发现未激活的子设备。例如,当多个子设备收到该第一分配信息时,仅有特定上行速率(例如,第一上行速率)的未激活的子设备能够响应该第一分配信息。Among them, the first allocation identifier is used to indicate that an unactivated sub-device supporting the first uplink rate responds to the first allocation information. It can also be understood that the first allocation identifier indicates that the first allocation information is used to discover unactivated sub-devices supporting the first uplink rate. It can be understood that the first allocation information provided in the present application is used to discover unactivated sub-devices that support a specific uplink rate (for example, the first uplink rate), and is not only used to discover unactivated sub-devices. For example, when multiple sub-devices receive the first allocation information, only unactivated sub-devices with a specific uplink rate (for example, the first uplink rate) can respond to the first allocation information.

其中,未激活的子设备可以是未进入激活流程的子设备,也可以是在激活流程中的某一个阶段的子设备,还可以是主设备未知(或未发现)的子设备。本申请中,主要以“未激活的子设备”这一称谓进行介绍。可选的,该未激活的子设备可以是执行激活流程(activation procedure)的子设备。可选的,该未激活的子设备可以是处于序列号采集状态(Serial_Number state)(即O3状态)的子设备。Among them, the unactivated sub-device can be a sub-device that has not entered the activation process, or a sub-device that is at a certain stage in the activation process, or a sub-device that is unknown (or not discovered) by the main device. In this application, the term "unactivated sub-device" is mainly used for introduction. Optionally, the unactivated sub-device can be a sub-device that executes an activation procedure. Optionally, the unactivated sub-device can be a sub-device in a serial number collection state (Serial_Number state) (i.e., O3 state).

此外,分配信息可以是一个分配结构(allocation structure),该分配结构用于向作为接收方的子设备指定特定带宽分配的分配时隙(allocation interval)。该特定带宽分配指子设备在特定状态使用的上行带宽分配(upstream bandwidth allocation),该上行带宽分配是主设备在指定时间间隔(即 分配时隙)内给予子设备内指定流量承载实体(例如,传输容器(transmission container,T-CONT)实体或上行管理控制通道的上行传输机会。In addition, the allocation information may be an allocation structure, which is used to specify an allocation interval of a specific bandwidth allocation to the sub-device as the receiving party. The specific bandwidth allocation refers to the upstream bandwidth allocation used by the sub-device in a specific state, and the upstream bandwidth allocation is the allocation time slot (i.e., the allocation interval) of the master device at a specified time interval (i.e., the allocation interval) of the master device. An uplink transmission opportunity is given to a designated traffic bearing entity (eg, a transmission container (T-CONT) entity or an uplink management control channel) in a sub-device within an allocated time slot.

该分配结构包括分配标识(allocation identifier,Alloc-ID)(也称为分配标识符),该分配标识是主设备分配给子设备的一个数字,用来标识一个子设备在子设备内接收上游带宽分配的流量承载实体。此外,该分配结构中的分配标识从一定程度上能够反映该分配结构的用途。例如,当该分配标识为广播(Broadcast)的分配标识时,该分配标识对应的分配结构(即包含该分配标识的分配结构)用于当发现未激活的子设备,即该分配结构用于子设备在激活流程中使用。例如,该分配结构是主设备分配给子设备在激活流程中响应并上报信息(例如,序列号)的。The allocation structure includes an allocation identifier (Alloc-ID) (also called an allocation identifier), which is a number assigned by the master device to the sub-device, and is used to identify a traffic bearing entity of a sub-device that receives upstream bandwidth allocation within the sub-device. In addition, the allocation identifier in the allocation structure can reflect the purpose of the allocation structure to a certain extent. For example, when the allocation identifier is a broadcast allocation identifier, the allocation structure corresponding to the allocation identifier (i.e., the allocation structure containing the allocation identifier) is used when an unactivated sub-device is found, that is, the allocation structure is used by the sub-device in the activation process. For example, the allocation structure is assigned by the master device to the sub-device to respond and report information (e.g., serial number) in the activation process.

本申请中的第一分配信息可以是包括第一分配标识和第一时间信息的分配结构,可以称为第一分配结构。该第一时间信息包括起始时间(start time)和终止时间(stop time)。The first allocation information in the present application may be an allocation structure including a first allocation identifier and first time information, which may be referred to as a first allocation structure. The first time information includes a start time (start time) and a stop time (stop time).

可选的,该第一分配标识为广播(Broadcast)的分配标识,该第一分配标识在序列号请求分配结构(serial number request allocation structure)中使用,即该第一分配信息为序列号请求分配结构(serial number request allocation structure)。该第一分配信息作为序列号请求分配结构用于触发支持第一上行速率的执行激活流程(activation procedure)的子设备(例如,支持第一上行速率的处于序列号采集状态(Serial_Number state)(即O3状态)的子设备)响应该第一分配信息在该第一分配时隙上报该子设备的序列号。Optionally, the first allocation identifier is a broadcast allocation identifier, and the first allocation identifier is used in a serial number request allocation structure, that is, the first allocation information is a serial number request allocation structure. The first allocation information is used as a serial number request allocation structure to trigger a sub-device that supports the first uplink rate to execute an activation procedure (for example, a sub-device that supports the first uplink rate and is in a serial number collection state (Serial_Number state) (i.e., O3 state)) to respond to the first allocation information and report the serial number of the sub-device in the first allocation time slot.

也可以理解为,第一分配信息携带于广播的序列号请求消息中,该序列号请求消息是向处于序列号采集状态(Serial_Number state)的所有的未激活的子设备分配广播带宽的请求。例如,主设备广播序列号请求消息,该序列号请求消息包括该第一分配信息,与主设备连接的一个或多个未激活的子设备均可以接收该序列号请求消息而获得第一分配信息。然而,仅支持第一上行速率的子设备能够响应该第一分配信息。It can also be understood that the first allocation information is carried in the broadcasted serial number request message, and the serial number request message is a request to allocate broadcast bandwidth to all inactive sub-devices in the serial number acquisition state (Serial_Number state). For example, the master device broadcasts a serial number request message, and the serial number request message includes the first allocation information. One or more inactive sub-devices connected to the master device can receive the serial number request message and obtain the first allocation information. However, only sub-devices that support the first uplink rate can respond to the first allocation information.

可选的,以第一分配信息为第一分配结构为例,该第一分配结构携带于下行物理控制块(physical control block downstream,PCBd)中的带宽映射(bandwidth map,BWmap)域中。例如,该第一分配结构是带宽映射(BWmap)域中的一个8字节的字段。Optionally, taking the first allocation information as a first allocation structure as an example, the first allocation structure is carried in a bandwidth map (BWmap) field in a physical control block downstream (PCBd). For example, the first allocation structure is an 8-byte field in the bandwidth map (BWmap) field.

如图3所示,为本申请涉及的携带第一分配结构的下行帧的一个示例图。图3以下行G-PON传输汇聚(gigabit PON transmission convergence,GTC)帧(Downstream GTC frame)为例,该下行物理控制块PCBd位于下行GTC帧的帧头中。该下行GTC帧包含GTC帧头(即PCBd字段)和GTC有效载荷。其中,PCBd字段包括物理同步(Psync)字段(4字节)、IDENT字段(4字节)、下行物理层操作管理维护(physical layer operations administration and maintenance downstream,PLOAMd)字段(13字节)、位交错奇偶校验(bit interleaved parity,BIP)字段(1字节)、载荷长度(payload length,Plend)字段(4字节)和上行带宽映射(upstream bandwidth map,USBWmap)字段(N*8字节)。该BWmap字段包括多个分配结构。前述第一分配结构可以位于该BWmap字段中,例如,该多个分配结构包括前述第一分配结构。例如,该BWmap字段可以是8字节分配结构的向量数组。每个分配结构包括一个分配标识。第一分配结构包括第一分配标识。As shown in FIG3 , it is an example diagram of a downlink frame carrying a first allocation structure involved in the present application. FIG3 takes a downlink G-PON transmission convergence (gigabit PON transmission convergence, GTC) frame (Downstream GTC frame) as an example, and the downlink physical control block PCBd is located in the frame header of the downlink GTC frame. The downlink GTC frame includes a GTC frame header (i.e., a PCBd field) and a GTC payload. Among them, the PCBd field includes a physical synchronization (Psync) field (4 bytes), an IDENT field (4 bytes), a downlink physical layer operations administration and maintenance (physical layer operations administration and maintenance downstream, PLOAMd) field (13 bytes), a bit interleaved parity (bit interleaved parity, BIP) field (1 byte), a payload length (payload length, Plend) field (4 bytes) and an uplink bandwidth map (upstream bandwidth map, USBWmap) field (N*8 bytes). The BWmap field includes multiple allocation structures. The aforementioned first allocation structure may be located in the BWmap field, for example, the multiple allocation structures include the aforementioned first allocation structure. For example, the BWmap field may be a vector array of 8-byte allocation structures. Each allocation structure includes an allocation identifier. The first allocation structure includes a first allocation identifier.

本步骤中,第一子设备收到第一分配信息之后,第一子设备需要确定是否支持第一上行速率,即第一子设备需要确定该第一子设备是否支持该第一分配标识对应的特定的上行速率(即第一上行速率),进而该第一设备确定是否响应该第一分配信息。若第一子设备支持第一上行速率,则第一子设备执行步骤202a;若第一子设备不支持第一上行速率,则第一子设备执行步骤202b。In this step, after the first sub-device receives the first allocation information, the first sub-device needs to determine whether it supports the first uplink rate, that is, the first sub-device needs to determine whether the first sub-device supports the specific uplink rate (that is, the first uplink rate) corresponding to the first allocation identifier, and then the first device determines whether to respond to the first allocation information. If the first sub-device supports the first uplink rate, the first sub-device executes step 202a; if the first sub-device does not support the first uplink rate, the first sub-device executes step 202b.

步骤202a,若第一子设备支持第一上行速率,则第一子设备在第一分配时隙发送第一响应信息;相应地,主设备接收第一响应信息。Step 202a: If the first sub-device supports the first uplink rate, the first sub-device sends a first response message in the first allocated time slot; correspondingly, the main device receives the first response message.

本实施例中,步骤202a为可选的步骤。In this embodiment, step 202a is an optional step.

其中,第一响应信息包括第一子设备的序列号。The first response information includes the serial number of the first sub-device.

其中,第一子设备支持第一上行速率,指第一子设备能够使用第一上行速率发送上行光信号,进而主设备收到的来自第一子设备的上行光信号采用该第一上行速率。The first sub-device supports the first uplink rate, which means that the first sub-device can use the first uplink rate to send an uplink optical signal, and then the uplink optical signal from the first sub-device received by the main device uses the first uplink rate.

此外,该第一分配信息中的第一时间信息指示了与第一分配标识关联的第一分配时隙,该第一分配时隙用于未激活的支持第一上行速率的子设备通过该第一分配时隙上报该子设备的序列号。例如,第一 子设备响应第一分配信息在第一分配时隙发送包含第一子设备的序列号的第一响应信息。In addition, the first time information in the first allocation information indicates a first allocation time slot associated with the first allocation identifier, and the first allocation time slot is used for an unactivated sub-device supporting the first uplink rate to report the serial number of the sub-device through the first allocation time slot. In response to the first allocation information, the sub-device sends a first response information including the serial number of the first sub-device in the first allocated time slot.

示例性的,该第一子设备收到第一分配信息之后,第一子设备基于第一时间信息和一个组合时延发送第一子设备的序列号。例如,第一子设备基于第一时间信息中的起始时间再增加一个随机时延和一个预分配时延(例如,上行帧头(Upstream_Overhead)中指示的预分配延迟)发送序列号响应消息,该序列号响应消息包括第一子设备的序列号。Exemplarily, after the first sub-device receives the first allocation information, the first sub-device sends the sequence number of the first sub-device based on the first time information and a combined delay. For example, the first sub-device adds a random delay and a pre-allocated delay (for example, the pre-allocated delay indicated in the upstream frame header (Upstream_Overhead)) based on the start time in the first time information to send a sequence number response message, and the sequence number response message includes the sequence number of the first sub-device.

可选的,若该主设备连接了多个支持第一上行速率的子设备,该主设备广播的第一分配信息,表示与该主设备连接的多个子设备中任何一个以第一上行速率执行激活流程的处于序列号采集状态的子设备都可以使用该第一分配信息中的第一时间信息指示的第一分配时隙来传输子设备的序列号等响应信息。Optionally, if the main device is connected to multiple sub-devices that support the first uplink rate, the first allocation information broadcast by the main device indicates that any sub-device among the multiple sub-devices connected to the main device that is in a serial number collection state and executes an activation process at the first uplink rate can use the first allocated time slot indicated by the first time information in the first allocation information to transmit response information such as the serial number of the sub-device.

步骤202b,若第一子设备不支持第一上行速率,则第一子设备不响应第一分配信息。Step 202b: If the first sub-device does not support the first uplink rate, the first sub-device does not respond to the first allocation information.

本实施例中,步骤202b为可选的步骤。In this embodiment, step 202b is an optional step.

其中,第一子设备不支持第一上行速率,指第一子设备不能够使用第一上行速率发送上行光信号。The fact that the first sub-device does not support the first uplink rate means that the first sub-device cannot use the first uplink rate to send an uplink optical signal.

当第一子设备收到第一分配信息,基于该第一分配信息中的第一分配标识确定该第一分配时隙是分配给支持第一上行速率的子设备使用,而该第一子设备不支持第一上行速率,则该第一子设备不响应。When the first sub-device receives the first allocation information, it determines based on the first allocation identifier in the first allocation information that the first allocated time slot is allocated to a sub-device supporting the first uplink rate, and the first sub-device does not support the first uplink rate, so the first sub-device does not respond.

本申请中,第一子设备收到携带第一分配标识和第一时间信息的第一分配信息之后,第一子设备确定支持该第一上行速率的情况下,该第一子设备才响应该第一分配信息在第一分配时隙发送第一子设备的序列号。也就是说,第一子设备收到的第一分配信息用于指示支持第一上行速率的子设备在第一分配时隙上报序列号,不会触发其他的上行速率(在除了该第一上行速率之外的上行速率)的子设备在第一分配时隙上报序列号,有利于避免第一子设备与支持其他上行速率的子设备共用分配时隙上报序列号,即有利于避免主设备在较短时间内接收两种上行速率的光信号,进而有利于降低上行突发接收的实现复杂度。In the present application, after the first sub-device receives the first allocation information carrying the first allocation identifier and the first time information, the first sub-device will respond to the first allocation information and send the serial number of the first sub-device in the first allocation time slot only when the first sub-device determines that it supports the first uplink rate. That is to say, the first allocation information received by the first sub-device is used to instruct the sub-device supporting the first uplink rate to report the serial number in the first allocation time slot, and will not trigger the sub-devices of other uplink rates (uplink rates other than the first uplink rate) to report the serial number in the first allocation time slot, which is conducive to avoiding the first sub-device and the sub-devices supporting other uplink rates from sharing the allocation time slot to report the serial number, that is, it is conducive to avoiding the main device from receiving optical signals of two uplink rates in a short time, and further conducive to reducing the implementation complexity of uplink burst reception.

进一步地,如图4所示,当本申请提供的光纤网络系统中存在支持不同上行速率的子设备时,该光纤网络系统中的各个设备将执行如下步骤:Further, as shown in FIG4 , when there are sub-devices supporting different upstream rates in the optical fiber network system provided by the present application, each device in the optical fiber network system will perform the following steps:

步骤401,主设备发送第一分配信息;相应地,第一子设备接收第一分配信息;第二设备接收第一分配信息。Step 401: The main device sends first allocation information; accordingly, the first sub-device receives the first allocation information; and the second device receives the first allocation information.

其中,第一分配信息包括第一分配标识和第一时间信息。关于第一分配信息、第一分配标识和第一时间信息的解释请参阅前文步骤201中的相关介绍,此处不予赘述。The first allocation information includes a first allocation identifier and first time information. For explanations of the first allocation information, the first allocation identifier and the first time information, please refer to the relevant introduction in the above step 201, which will not be repeated here.

此外,第一子设备和第二子设备均为未激活的子设备。该第一子设备支持的上行速率与第二子设备支持的上行速率不同。为便于介绍,后文以第一子设备支持第二上行速率且第二子设备支持第一上行速率为例进行介绍。其中,该第一上行速率与第二上行速率不同。In addition, both the first sub-device and the second sub-device are inactivated sub-devices. The uplink rate supported by the first sub-device is different from the uplink rate supported by the second sub-device. For ease of introduction, the following text takes the case where the first sub-device supports the second uplink rate and the second sub-device supports the first uplink rate as an example. The first uplink rate is different from the second uplink rate.

示例性的,主设备广播第一分配信息,第一子设备和第二子设备均能够收到第一分配信息。该第一子设备收到第一分配信息之后,第一子设备执行步骤402;该第二子设备收到第一分配信息之后,第二子设备执行步骤403。应理解,步骤402和步骤403之间没有时间先后顺序的限定,步骤402在步骤401之后执行即可,步骤403在步骤401之后执行即可。Exemplarily, the master device broadcasts the first allocation information, and both the first sub-device and the second sub-device can receive the first allocation information. After the first sub-device receives the first allocation information, the first sub-device executes step 402; after the second sub-device receives the first allocation information, the second sub-device executes step 403. It should be understood that there is no time sequence limitation between step 402 and step 403, and step 402 can be executed after step 401, and step 403 can be executed after step 401.

步骤402,第一子设备不响应第一分配信息。Step 402: The first sub-device does not respond to the first allocation information.

由于,第一子设备不支持第一上行速率,则第一子设备不响应第一分配信息。Since the first sub-device does not support the first uplink rate, the first sub-device does not respond to the first allocation information.

步骤403,第二子设备在第一分配时隙发送第二响应信息;相应地,主设备接收第二响应信息。Step 403: The second sub-device sends a second response message in the first allocated time slot; correspondingly, the main device receives the second response message.

由于,第二子设备支持第一上行速率,第二子设备在收到第一分配信息之后使用该第一分配时隙发送第二响应信息,该第二响应信息包括第二子设备的序列号。Since the second sub-device supports the first uplink rate, the second sub-device uses the first allocated time slot to send second response information after receiving the first allocation information. The second response information includes the serial number of the second sub-device.

步骤404和步骤405为可选的步骤。Step 404 and step 405 are optional steps.

步骤404,主设备发送第二分配信息;相应地,第一子设备接收第二分配信息。Step 404: the master device sends second allocation information; correspondingly, the first slave device receives the second allocation information.

其中,第二分配信息包括第二分配标识和第二时间信息。该第二时间信息用于指示第二分配时隙,该第二分配时隙是与第二分配标识关联的上行带宽资源,用于特定的子设备在该第二分配时隙发送响应信息。The second allocation information includes a second allocation identifier and second time information. The second time information is used to indicate a second allocation time slot, which is an uplink bandwidth resource associated with the second allocation identifier and is used for a specific sub-device to send response information in the second allocation time slot.

该第二标识信息用于指示未激活的支持第二上行速率的子设备响应该第二分配信息。也可以理解为, 该第二分配标识指示第二分配信息用于发现未激活的支持第二上行速率的子设备。第二分配标识与第一分配标识不同,即第二分配标识的取值与第一分配标识的取值不同。该第二时间信息与第一时间信息不同,即该第一时间信息指示的第一分配时隙与第二时间信息指示的第二分配时隙不同。该第一分配信息和该第二分配信息通过不同的带宽映射(BWmap)下发。The second identification information is used to instruct the unactivated sub-device supporting the second uplink rate to respond to the second allocation information. It can also be understood that, The second allocation identifier indicates that the second allocation information is used to discover an unactivated sub-device that supports the second uplink rate. The second allocation identifier is different from the first allocation identifier, that is, the value of the second allocation identifier is different from the value of the first allocation identifier. The second time information is different from the first time information, that is, the first allocation time slot indicated by the first time information is different from the second allocation time slot indicated by the second time information. The first allocation information and the second allocation information are sent down through different bandwidth mappings (BWmap).

可以理解为,本申请提供的第二分配信息用于发现支持另一种特定上行速率(例如,第二上行速率)的未激活的子设备,而不仅仅是用于发现未激活的子设备,也不是用于发现支持其他上行速率的未激活的子设备。例如,当多个子设备收到该第二分配信息时,仅有支持第二上行速率的未激活的子设备能够响应该第二分配信息。It can be understood that the second allocation information provided in the present application is used to discover an unactivated sub-device that supports another specific uplink rate (e.g., the second uplink rate), and is not only used to discover an unactivated sub-device, nor is it used to discover an unactivated sub-device that supports other uplink rates. For example, when multiple sub-devices receive the second allocation information, only the unactivated sub-device that supports the second uplink rate can respond to the second allocation information.

可选的,该第二分配标识为广播(Broadcast)的分配标识,该第二分配标识在序列号请求分配结构(serial number request allocation structure)中使用,即该第二分配信息为序列号请求分配结构(serial number request allocation structure)。该第二分配信息作为序列号请求分配结构用于触发支持第二上行速率的执行激活流程(activation procedure)的子设备(例如,支持第二上行速率的处于序列号采集状态(Serial_Number state)(即O3状态)的子设备)响应该第二分配信息上报该子设备的序列号。Optionally, the second allocation identifier is a broadcast allocation identifier, and the second allocation identifier is used in a serial number request allocation structure, that is, the second allocation information is a serial number request allocation structure. The second allocation information is used as a serial number request allocation structure to trigger a sub-device that supports the second uplink rate to execute an activation procedure (for example, a sub-device that supports the second uplink rate and is in a serial number collection state (Serial_Number state) (i.e., O3 state)) to respond to the second allocation information to report the serial number of the sub-device.

也可以理解为,第二分配信息携带于广播的序列号请求消息中,该序列号请求消息是向处于序列号采集状态(Serial_Number state)的所有的未激活的子设备分配广播带宽的请求。例如,主设备广播序列号请求消息,该序列号请求消息包括该第二分配结构,与主设备连接的一个或多个未激活的子设备均可以接收该序列号请求消息而获得第二分配信息。然而,仅支持第二上行速率的子设备能够响应该第一分配信息。It can also be understood that the second allocation information is carried in the broadcasted serial number request message, which is a request to allocate broadcast bandwidth to all inactive sub-devices in the serial number acquisition state (Serial_Number state). For example, the master device broadcasts a serial number request message, which includes the second allocation structure, and one or more inactive sub-devices connected to the master device can receive the serial number request message to obtain the second allocation information. However, only sub-devices that support the second uplink rate can respond to the first allocation information.

可选的,第二分配信息携带于下行物理控制块(physical control block downstream,PCBd)中的带宽映射(bandwidth map,BWmap)域中。例如,该第二分配结构是带宽映射(BWmap)域中的一个8字节的字段。可选的,该下行物理控制块PCBd位于下行GTC帧的帧头中。关于下行GTC帧的帧头的介绍请参阅前文图3对应的相关介绍,此处不予赘述。第一分配信息和第二分配信息携带在不同的带宽映射(BWmap)域中下发。Optionally, the second allocation information is carried in the bandwidth map (BWmap) field in the physical control block downstream (PCBd). For example, the second allocation structure is an 8-byte field in the bandwidth map (BWmap) field. Optionally, the downstream physical control block PCBd is located in the frame header of the downstream GTC frame. For the introduction to the frame header of the downstream GTC frame, please refer to the corresponding introduction of Figure 3 above, which will not be repeated here. The first allocation information and the second allocation information are carried and sent down in different bandwidth mapping (BWmap) fields.

步骤405,第一设备在第二分配时隙发送第一响应信息。Step 405: The first device sends first response information in the second allocated time slot.

其中,第一响应信息包括第一子设备的序列号。The first response information includes the serial number of the first sub-device.

由于,第一子设备支持第二上行速率,因此,该第一子设备响应该第二分配信息在第二分配时隙发送包含该第一子设备的序列号的第一响应信息。Since the first sub-device supports the second uplink rate, the first sub-device sends the first response information including the serial number of the first sub-device in the second allocated time slot in response to the second allocation information.

需要说明的是,步骤401至步骤403与步骤404至步骤405之间没有时间先后顺序的限定。即主设备可能先广播第一分配信息,也可能先广播第二分配信息,本申请不限制。It should be noted that there is no time sequence limitation between step 401 to step 403 and step 404 to step 405. That is, the master device may broadcast the first allocation information first, or may broadcast the second allocation information first, and this application does not limit it.

本实施例中,主设备能够通过不同的分配标识区分支持不同上行速率的子设备对应的分配结构,进而区分不同的分配结构对应的用于上报序列号的分配时隙。也即是,第一分配标识指示第一分配结构用于发现未激活的支持第一上行速率的子设备,第一分配结构对应第一分配时隙;第二分配标识指示第二分配结构用于发现未激活的支持第二上行速率的子设备,第二分配结构对应第二分配时隙。因此,支持不同上行速率的子设备在上报序列号时分别使用不同的分配时隙,相比于传统技术中使用同一分配时隙中的不同时隙而言,拉长了主网络设备收到不同上行速率的上行光信号之间的时间间隔,有利于降低上行突发接收的接收机的复杂度。In this embodiment, the main device can distinguish the allocation structures corresponding to the sub-devices supporting different uplink rates through different allocation identifiers, and further distinguish the allocation time slots for reporting the sequence numbers corresponding to the different allocation structures. That is, the first allocation identifier indicates that the first allocation structure is used to discover the unactivated sub-device supporting the first uplink rate, and the first allocation structure corresponds to the first allocation time slot; the second allocation identifier indicates that the second allocation structure is used to discover the unactivated sub-device supporting the second uplink rate, and the second allocation structure corresponds to the second allocation time slot. Therefore, the sub-devices supporting different uplink rates use different allocation time slots when reporting the sequence numbers. Compared with the use of different time slots in the same allocation time slot in the traditional technology, the time interval between the uplink optical signals of different uplink rates received by the main network device is lengthened, which is beneficial to reduce the complexity of the receiver for uplink burst reception.

此外,需要说明的是,前述第一分配标识和第二分配标识中,其中一个分配标识可以沿用传统技术中的在激活流程中使用的分配标识的取值,而另一个分配标识可以是新定义的分配标识。为便于介绍,后文以第一分配标识沿用传统技术中的在激活流程中使用的分配标识的取值,第二分配标识为新定义的分配标识为例。In addition, it should be noted that, among the aforementioned first allocation identifier and the second allocation identifier, one of the allocation identifiers may continue to use the value of the allocation identifier used in the activation process in the traditional technology, and the other allocation identifier may be a newly defined allocation identifier. For ease of introduction, the following text takes the case where the first allocation identifier continues to use the value of the allocation identifier used in the activation process in the traditional technology, and the second allocation identifier is a newly defined allocation identifier as an example.

在一种可能的实施方式中,第一分配标识等于254,第一分配标识指示第一分配结构用于发现未激活的支持上行速率为1.24416Gbit/s的子设备(后文简称为1.25G的子设备);第二分配标识不等于254,第二分配标识指示第二分配结构用于发现未激活的支持上行速率为2.48832Gbit/s的子设备(后文简称为2.5G的子设备)。当主设备广播第一分配结构(即携带Alloc-ID=254的分配结构)时,系统中的1.25G的子设备响应该第一分配结构发送1.25G的子设备的序列号,系统中的2.5G的子设备不响应该第 一分配结构。本实施方式,需要对2.5G的子设备在激活流程中使用的分配标识重新定义。具体可以通过多种实现方式实现,下面分别进行介绍:In a possible implementation, the first allocation identifier is equal to 254, and the first allocation identifier indicates that the first allocation structure is used to discover unactivated sub-devices that support an uplink rate of 1.24416 Gbit/s (hereinafter referred to as 1.25G sub-devices); the second allocation identifier is not equal to 254, and the second allocation identifier indicates that the second allocation structure is used to discover unactivated sub-devices that support an uplink rate of 2.48832 Gbit/s (hereinafter referred to as 2.5G sub-devices). When the master device broadcasts the first allocation structure (i.e., the allocation structure carrying Alloc-ID=254), the 1.25G sub-devices in the system respond to the first allocation structure by sending the serial number of the 1.25G sub-device, and the 2.5G sub-devices in the system do not respond to the first allocation structure. 1. Allocation structure. In this implementation, it is necessary to redefine the allocation identifier used by the 2.5G sub-device in the activation process. This can be implemented in a variety of ways, which are introduced below:

进一步地,在一种实现中,第二分配标识等于255,第二分配标识指示第二分配结构用于发现未激活的支持上行速率为2.48832Gbit/s的子设备(即2.5G的子设备)。Furthermore, in one implementation, the second allocation identifier is equal to 255, and the second allocation identifier indicates that the second allocation structure is used to discover an unactivated sub-device supporting an uplink rate of 2.48832 Gbit/s (ie, a 2.5G sub-device).

示例性的,在将255定义为在激活流程中使用的分配标识的情况下,则其他的分配标识的作用如下表1-1所示:For example, when 255 is defined as the allocation identifier used in the activation process, the functions of other allocation identifiers are shown in the following Table 1-1:

表1-1
Table 1-1

如表1-1所示,Alloc-ID=0~253为默认(Default)的分配标识(即默认的Alloc-ID),该默认的分配标识是通过子设备的标识(即SFU-ID,该SFU-ID在PLOAM消息中使用)隐式分配的,不需要显式的Assign_Alloc-ID PLOAM消息进行分配。默认的Alloc-ID用于承载上行帧的PLOAM和FMCC流量,也可能承载用户数据流量。此外,不能使用Assign_Alloc-ID PLOAM消息取消分配或更改默认的Alloc-ID。如果子设备需要更多的Alloc-ID值,则主设备将会从255以上的Alloc-ID值中分配。As shown in Table 1-1, Alloc-ID = 0 to 253 is the default allocation identifier (i.e., the default Alloc-ID), which is implicitly allocated through the identifier of the sub-device (i.e., SFU-ID, which is used in the PLOAM message) and does not require an explicit Assign_Alloc-ID PLOAM message for allocation. The default Alloc-ID is used to carry PLOAM and FMCC traffic for uplink frames, and may also carry user data traffic. In addition, the Assign_Alloc-ID PLOAM message cannot be used to cancel or change the default Alloc-ID. If the sub-device requires more Alloc-ID values, the master device will allocate from Alloc-ID values above 255.

此外,Alloc-ID=254为新定义的预留(Reserved)的分配标识。In addition, Alloc-ID=254 is a newly defined reserved allocation identifier.

此外,Alloc-ID=255为新定义的广播(Broadcast)的分配标识,可以理解为,Alloc-ID=255是支持2.48832Gbit/s的子设备在激活流程使用的Alloc-ID,用于发现未知的(或未激活的)子设备。例如,该Alloc-ID=255在序列号请求分配结构(serial number request allocation structure)中使用,即该Alloc-ID=255对应的分配结构为序列号请求分配结构(serial number request allocation structure)。该Alloc-ID=255对应的分配结构作为序列号请求分配结构用于触发执行激活流程(activation procedure)的支持2.48832Gbit/s的子设备(例如,处于序列号采集状态(Serial_Number state)(即O3状态)的子设备)响应该Alloc-ID=255对应的分配结构上报该子设备的序列号。In addition, Alloc-ID=255 is a newly defined broadcast allocation identifier, which can be understood as Alloc-ID=255 is the Alloc-ID used by the sub-device supporting 2.48832Gbit/s in the activation process, and is used to discover unknown (or unactivated) sub-devices. For example, the Alloc-ID=255 is used in the serial number request allocation structure, that is, the allocation structure corresponding to the Alloc-ID=255 is the serial number request allocation structure. The allocation structure corresponding to the Alloc-ID=255 is used as a serial number request allocation structure to trigger the execution of the activation procedure. The sub-device supporting 2.48832Gbit/s (for example, a sub-device in the serial number acquisition state (Serial_Number state) (i.e., O3 state)) responds to the allocation structure corresponding to the Alloc-ID=255 to report the serial number of the sub-device.

此外,Alloc-ID=256~4095为可分配(Assignable)的分配标识。当某个子设备需要多个Alloc-ID时,该主设备可以通过从此范围(即256~4095)中选择一个唯一编号,并使用Assign_Alloc-ID PLOAM消息将其传递给子设备,从而为该子设备分配额外的Alloc-ID(即附加的Alloc-ID)。此外,附加的Alloc-ID通过Alloc-ID类型为1的Assign_Alloc-ID PLOAM消息显式地分配给子设备,也可以通过Alloc-ID类型为255的Assign_Alloc-ID PLOAM消息显式地撤销。所有的Alloc-ID分配,包括默认的Alloc-ID分配,将在子设备去激活时失效。In addition, Alloc-ID = 256 ~ 4095 is an assignable allocation identifier. When a sub-device requires multiple Alloc-IDs, the master device can allocate an additional Alloc-ID (i.e., additional Alloc-ID) to the sub-device by selecting a unique number from this range (i.e., 256 ~ 4095) and passing it to the sub-device using an Assign_Alloc-ID PLOAM message. In addition, the additional Alloc-ID is explicitly assigned to the sub-device through an Assign_Alloc-ID PLOAM message with an Alloc-ID type of 1, and can also be explicitly revoked through an Assign_Alloc-ID PLOAM message with an Alloc-ID type of 255. All Alloc-ID allocations, including the default Alloc-ID allocation, will become invalid when the sub-device is deactivated.

本实现方式中,针对支持2.48832Gbit/s的子设备,将Alloc-ID=254重定义为预留(Reserved)的分配标识,即不在分配结构中携带Alloc-ID=254,并且,将Alloc-ID=255重定义为广播(Broadcast)的分配标识。支持上行速率为1.24416Gbit/s的子设备在激活流程中使用的Alloc-ID=254,因此,在激活流程中2.5G的子设备使用Alloc-ID=255对应的分配结构和分配时隙,1.25G的子设备使用Alloc-ID=254对应的分配结构和分配时隙。因此,支持不同上行速率的子设备在上报序列号时分别使用不同的分配时隙,可以实现多速率单独开窗,有利于降低上行突发接收的实现复杂度。In this implementation, for the sub-device supporting 2.48832Gbit/s, Alloc-ID=254 is redefined as a reserved allocation identifier, that is, Alloc-ID=254 is not carried in the allocation structure, and Alloc-ID=255 is redefined as a broadcast allocation identifier. The sub-device supporting the uplink rate of 1.24416Gbit/s uses Alloc-ID=254 in the activation process. Therefore, in the activation process, the 2.5G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=255, and the 1.25G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=254. Therefore, the sub-devices supporting different uplink rates use different allocation time slots when reporting sequence numbers, which can realize multi-rate separate windowing, which is conducive to reducing the implementation complexity of uplink burst reception.

进一步地,在另一种实现中,第二分配标识等于253,第二分配标识指示第二分配结构用于发现未激活的支持上行速率为2.48832Gbit/s的子设备(即2.5G的子设备)。 Furthermore, in another implementation, the second allocation identifier is equal to 253, and the second allocation identifier indicates that the second allocation structure is used to discover an unactivated sub-device supporting an uplink rate of 2.48832 Gbit/s (ie, a 2.5G sub-device).

示例性的,在将253定义为在激活流程中使用的分配标识的情况下,则其他的分配标识的作用如下表1-2所示:For example, when 253 is defined as the allocation identifier used in the activation process, the functions of other allocation identifiers are shown in the following Table 1-2:

表1-2
Table 1-2

如表1-2所示,Alloc-ID=0~252为默认(Default)的分配标识(即默认的Alloc-ID),该默认的分配标识是通过子设备的标识(即SFU-ID,该SFU-ID在PLOAM消息中使用)隐式分配的,不需要显式的Assign_Alloc-ID PLOAM消息进行分配。默认的Alloc-ID用于承载上行帧的PLOAM和FMCC流量,也可能承载用户数据流量。此外,不能使用Assign_Alloc-ID PLOAM消息取消分配或更改默认的Alloc-ID。如果子设备需要更多的Alloc-ID值,则主设备将会从255以上的Alloc-ID值中分配。As shown in Table 1-2, Alloc-ID = 0 to 252 is the default allocation identifier (i.e., the default Alloc-ID), which is implicitly allocated through the identifier of the sub-device (i.e., SFU-ID, which is used in the PLOAM message) and does not require an explicit Assign_Alloc-ID PLOAM message for allocation. The default Alloc-ID is used to carry PLOAM and FMCC traffic for uplink frames, and may also carry user data traffic. In addition, the Assign_Alloc-ID PLOAM message cannot be used to cancel or change the default Alloc-ID. If the sub-device requires more Alloc-ID values, the master device will allocate from Alloc-ID values above 255.

此外,Alloc-ID=253为新定义的广播(Broadcast)的分配标识,可以理解为,Alloc-ID=253是支持2.48832Gbit/s的子设备在激活流程使用的Alloc-ID,用于发现未知的(或未激活的)子设备。例如,该Alloc-ID=253在序列号请求分配结构(serial number request allocation structure)中使用,即该Alloc-ID=253对应的分配结构为序列号请求分配结构(serial number request allocation structure)。该Alloc-ID=253对应的分配结构作为序列号请求分配结构用于触发执行激活流程(activation procedure)的支持2.48832Gbit/s的子设备(例如,处于序列号采集状态(Serial_Number state)(即O3状态)的子设备)响应该Alloc-ID=253对应的分配结构上报该子设备的序列号。In addition, Alloc-ID=253 is a newly defined broadcast allocation identifier, which can be understood as Alloc-ID=253 is the Alloc-ID used by the sub-device supporting 2.48832Gbit/s in the activation process, and is used to discover unknown (or unactivated) sub-devices. For example, the Alloc-ID=253 is used in the serial number request allocation structure, that is, the allocation structure corresponding to the Alloc-ID=253 is the serial number request allocation structure. The allocation structure corresponding to the Alloc-ID=253 is used as a serial number request allocation structure to trigger the execution of the activation procedure. The sub-device supporting 2.48832Gbit/s (for example, a sub-device in the serial number acquisition state (Serial_Number state) (i.e., O3 state)) responds to the allocation structure corresponding to the Alloc-ID=253 to report the serial number of the sub-device.

此外,Alloc-ID=254为新定义的预留(Reserved)的分配标识。In addition, Alloc-ID=254 is a newly defined reserved allocation identifier.

此外,Alloc-ID=255为新定义的未赋值(Unassigned)的分配标识。该Alloc-ID=255可以由主设备使用,表示任何子设备都不应该使用特定的分配结构,即任何子设备都不应该使用Alloc-ID=255对应的分配结构。In addition, Alloc-ID=255 is a newly defined unassigned allocation identifier. This Alloc-ID=255 can be used by the master device, indicating that no sub-device should use a specific allocation structure, that is, no sub-device should use the allocation structure corresponding to Alloc-ID=255.

此外,Alloc-ID=256~4095为可分配(Assignable)的分配标识。当某个子设备需要多个Alloc-ID时,该主设备可以通过从此范围(即256~4095)中选择一个唯一编号,并使用Assign_Alloc-ID PLOAM消息将其传递给子设备,从而为该子设备分配额外的Alloc-ID(即附加的Alloc-ID)。此外,附加的Alloc-ID通过Alloc-ID类型为1的Assign_Alloc-ID PLOAM消息显式地分配给子设备,也可以通过Alloc-ID类型为255的Assign_Alloc-ID PLOAM消息显式地撤销。所有的Alloc-ID分配,包括默认的Alloc-ID分配,将在子设备去激活时失效。In addition, Alloc-ID = 256 ~ 4095 is an assignable allocation identifier. When a sub-device requires multiple Alloc-IDs, the master device can allocate an additional Alloc-ID (i.e., additional Alloc-ID) to the sub-device by selecting a unique number from this range (i.e., 256 ~ 4095) and passing it to the sub-device using an Assign_Alloc-ID PLOAM message. In addition, the additional Alloc-ID is explicitly assigned to the sub-device through an Assign_Alloc-ID PLOAM message with an Alloc-ID type of 1, and can also be explicitly revoked through an Assign_Alloc-ID PLOAM message with an Alloc-ID type of 255. All Alloc-ID allocations, including the default Alloc-ID allocation, will become invalid when the sub-device is deactivated.

本实现方式中,针对支持2.48832Gbit/s的子设备,将Alloc-ID=254重定义为预留(Reserved)的分配标识,即不在分配结构中携带Alloc-ID=254,并且,将Alloc-ID=253重定义为广播(Broadcast)的分配标识。支持上行速率为1.24416Gbit/s的子设备在激活流程中使用的Alloc-ID=254,因此,在激活流程中2.5G的子设备使用Alloc-ID=253对应的分配结构和分配时隙,1.25G的子设备使用Alloc-ID=254对应的分配结构和分配时隙。因此,支持不同上行速率的子设备在上报序列号时分别使用不同的分配时隙,可以实现多速率单独开窗,有利于降低上行突发接收的实现复杂度。In this implementation, for the sub-device supporting 2.48832Gbit/s, Alloc-ID=254 is redefined as a reserved allocation identifier, that is, Alloc-ID=254 is not carried in the allocation structure, and Alloc-ID=253 is redefined as a broadcast allocation identifier. The sub-device supporting the uplink rate of 1.24416Gbit/s uses Alloc-ID=254 in the activation process. Therefore, in the activation process, the 2.5G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=253, and the 1.25G sub-device uses the allocation structure and allocation time slot corresponding to Alloc-ID=254. Therefore, the sub-devices supporting different uplink rates use different allocation time slots when reporting sequence numbers, which can realize multi-rate separate windowing, which is conducive to reducing the implementation complexity of uplink burst reception.

在本申请实施例提供的接入方法中,在ONU被激活后,OLT可以获取ONU支持的能力或设置ONU的 能力,例如OLT设置ONU上行使用的FEC码。例如,OLT可以向ONU发送能力获取(设置)消息,该消息用于查询ONU支持的能力或对该ONU设置一个特定的能力。一个单独的能力获取(设置)消息可以设置ONU支持的一个能力,ONU支持的能力(也可也称为特性或功能)可以通过具体的字段来携带。例如,通过“设置特性标识”字段来携带ONU支持的特性。In the access method provided in the embodiment of the present application, after the ONU is activated, the OLT can obtain the capabilities supported by the ONU or set the ONU's Capabilities, such as the FEC code used by the ONU upstream when the OLT sets it. For example, the OLT may send a capability acquisition (setting) message to the ONU, which is used to query the capabilities supported by the ONU or to set a specific capability for the ONU. A single capability acquisition (setting) message may set a capability supported by the ONU, and the capabilities (also referred to as features or functions) supported by the ONU may be carried through specific fields. For example, the features supported by the ONU are carried through the "Set Feature Identifier" field.

本申请实施例提供的能力获取(设置)Get_Set_Capabilities消息中可以携带多个信息,Get_Set_Capabilities消息具体可以如下表1所示:The Get_Set_Capabilities message provided in the embodiment of the present application may carry multiple information, and the Get_Set_Capabilities message may be specifically as shown in the following Table 1:

表1-Get_Set_Capabilities消息
Table 1 - Get_Set_Capabilities message

表1-Get_Set_Capabilities消息
Table 1 - Get_Set_Capabilities message

在上述Get_Set_Capabilities消息中,当第6字节中的“设置特征标识符”具有值0x01(设置上行FEC编码)时,FEC编码标识符在第9字节(设置特征参数)中指示,而设置此特征的时间戳在第7-8字节(计划的超帧计数器)中指示。In the above-mentioned Get_Set_Capabilities message, when the "Set feature identifier" in the 6th byte has a value of 0x01 (set uplink FEC encoding), the FEC encoding identifier is indicated in the 9th byte (set feature parameters), and the timestamp for setting this feature is indicated in bytes 7-8 (planned superframe counter).

此外,当第6字节中的“设置特征标识符”具有值0x01且第9字节中的“设置特征参数”具有值0x02时,则第10字节中的“缩短列数”包含的LDPC码需要缩短的列数。Furthermore, when the "Set Feature Identifier" in the 6th byte has a value of 0x01 and the "Set Feature Parameter" in the 9th byte has a value of 0x02, the "Number of Shortened Columns" in the 10th byte contains the number of columns of the LDPC code that need to be shortened.

对应的,OLT在发送Get_Set_Capabilities消息后,ONU可以回应能力消息给OLT,该能力消息中携带ONU支持的特性。本申请实施例提供的ONU能力消息ONU_Capabilities消息中可以携带多个信息,ONU_Capabilities消息具体可以如下表2所示:Correspondingly, after the OLT sends the Get_Set_Capabilities message, the ONU can respond to the OLT with a capability message, which carries the features supported by the ONU. The ONU capability message ONU_Capabilities message provided in the embodiment of the present application can carry multiple pieces of information, and the ONU_Capabilities message can be specifically shown in Table 2 below:

表2–ONU_Capabilities消息
Table 2 – ONU_Capabilities message

表2–ONU_Capabilities消息
Table 2 – ONU_Capabilities message

表2–ONU_Capabilities消息
Table 2 – ONU_Capabilities message

在本实施例中,ONU上报的能力信息可以包括ONU支持的FEC码字。例如ONU在上述第8字节中携带其支持的FEC码字。In this embodiment, the capability information reported by the ONU may include the FEC codewords supported by the ONU. For example, the ONU carries the FEC codewords supported by it in the eighth byte.

在本实施例提供的接入方法中,ONU能力(ONU_Capabilities)消息包括如下功能:In the access method provided in this embodiment, the ONU capability (ONU_Capabilities) message includes the following functions:

1)响应携带查询操作码的Get_Set_Capability PLOAM消息,上报ONU能力。1) Respond to the Get_Set_Capability PLOAM message carrying the query operation code and report the ONU capabilities.

2)ONU_Capabilities消息还可以响应携带设置操作码的Get_Set_Capability PLOAM消息,指示希望或不能执行该能力设置,以及响应码。操作码和响应码中携带ONU希望或不能执行该能力设置的原因,具体数值参考上面的表格。2) The ONU_Capabilities message can also respond to the Get_Set_Capability PLOAM message carrying the setting operation code, indicating the desire or inability to perform the capability setting, and the response code. The operation code and response code carry the reason why the ONU desires or cannot perform the capability setting. For specific values, refer to the table above.

3)提供能力设置执行成功或失败的指示以及响应码。3) Provide an indication of the success or failure of the capability setting execution and a response code.

上述功能1和2,ONU在收到下行Get_Set_Capability PLOAM消息时实现。The above functions 1 and 2 are implemented by the ONU when it receives the downstream Get_Set_Capability PLOAM message.

上述功能3,ONU在执行Get_Set_Capability PLOAM消息传送的设置命令的尝试完成时实现。Function 3 above is implemented when the ONU completes its attempt to execute the set command transmitted by the Get_Set_Capability PLOAM message.

此外,本申请实施例还提供了一种通信设备50,如图5所示,图5为本申请实施例提供的一种通信设备50的结构示意图。图2和图4所示的流程图中的主设备和子设备(例如,第一子设备或第二子设备)的具体实现可以参考图5所示的通信设备50的内部结构。当通信设备50用于实现图2或图4所示方法中的主设备的功能时,该通信设备50可以是主网关或MFU。当通信设备50用于实现图2或图4所示方法中的子设备的功能时,该通信设备50可以是从网关或SFU。In addition, an embodiment of the present application further provides a communication device 50, as shown in Figure 5, which is a schematic diagram of the structure of a communication device 50 provided in an embodiment of the present application. The specific implementation of the main device and the sub-device (for example, the first sub-device or the second sub-device) in the flowcharts shown in Figures 2 and 4 can refer to the internal structure of the communication device 50 shown in Figure 5. When the communication device 50 is used to implement the function of the main device in the method shown in Figure 2 or Figure 4, the communication device 50 can be a master gateway or an MFU. When the communication device 50 is used to implement the function of the sub-device in the method shown in Figure 2 or Figure 4, the communication device 50 can be a slave gateway or an SFU.

如图5所示,该通信设备50可以包括处理器501和收发器502,该处理器501与该收发器502耦合连接。其中,前述处理器501可以是中央处理器(central processing unit,CPU)、专用集成电路(application-specific integrated circuit,ASIC)、可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。处理器501可以是指一个处理器,也可以包括多个处理器,具体此处不做限定。As shown in FIG5 , the communication device 50 may include a processor 501 and a transceiver 502, wherein the processor 501 is coupled to the transceiver 502. The processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The processor 501 may refer to one processor or may include multiple processors, which is not specifically limited here.

其中,前述收发器502也可以称为收发单元、收发机、收发装置等。可选地,可以将收发单元中用于实现接收功能的器件视为接收单元,将收发单元中用于实现发送功能的器件视为发送单元,即收发单元包括接收单元和发送单元,接收单元也可以称为接收机、输入口、接收电路等,发送单元可以称为发射机、发射器或者发射电路等。可选的,当该通信设备50用于实现图2或图3所示方法中的主设备的功能时,该收发器502可以用于上行突发光信号接收。可选的,该收发器502支持一种或多种上行速率的突发光信号接收。例如,该收发器502支持2.48832Gbit/s的上行突发光信号接收。又例如,该收发器502支持1.24416Gbit/s的上行突发光信号接收。Among them, the aforementioned transceiver 502 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc. Optionally, the device used to implement the receiving function in the transceiver unit may be regarded as a receiving unit, and the device used to implement the sending function in the transceiver unit may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit, and the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc. Optionally, when the communication device 50 is used to implement the function of the master device in the method shown in FIG. 2 or FIG. 3, the transceiver 502 may be used for receiving an uplink burst optical signal. Optionally, the transceiver 502 supports receiving burst optical signals of one or more uplink rates. For example, the transceiver 502 supports receiving an uplink burst optical signal of 2.48832 Gbit/s. For another example, the transceiver 502 supports receiving an uplink burst optical signal of 1.24416 Gbit/s.

可选的,该通信设备50还包括存储器503。其中,该处理器501与该存储器503耦合连接。该存储 器503主要用于存储软件程序和数据。存储器503可以是独立存在,与处理器501相连。可选地,该存储器503可以和该处理器501集成于一体,例如集成于一个或多个芯片之内。其中,该存储器503能够存储执行本申请实施例的技术方案的程序代码,并由处理器501来控制执行,被执行的各类计算机程序代码也可被视为是处理器501的驱动程序。存储器503可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储器也可以包括非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flash memory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD);存储器503还可以包括上述种类的存储器的组合。存储器503可以是指一个存储器,也可以包括多个存储器。示例性的,存储器503,用于存储各种数据。Optionally, the communication device 50 further includes a memory 503. The processor 501 is coupled to the memory 503. The memory 503 is mainly used to store software programs and data. The memory 503 can exist independently and be connected to the processor 501. Optionally, the memory 503 can be integrated with the processor 501, for example, integrated into one or more chips. Among them, the memory 503 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 501. The various types of computer program codes executed can also be regarded as drivers of the processor 501. The memory 503 may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include non-volatile memory (non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk drive (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD); the memory 503 may also include a combination of the above-mentioned types of memory. The memory 503 may refer to one memory or may include multiple memories. Exemplarily, the memory 503 is used to store various data.

在一种实现中,该通信设备50用于实现光纤网络系统中的第一子设备的功能。具体地,收发器502,用于接收来自主设备的第一分配信息,第一分配信息包括第一分配标识和第一时间信息,第一时间信息用于指示第一分配时隙,第一分配标识用于指示未激活的支持第一上行速率的子设备响应第一分配信息;处理器501,用于在确定支持第一上行速率的情况下,控制收发器502在第一分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。In one implementation, the communication device 50 is used to implement the function of the first sub-device in the optical fiber network system. Specifically, the transceiver 502 is used to receive the first allocation information from the main device, the first allocation information includes a first allocation identifier and a first time information, the first time information is used to indicate the first allocation time slot, and the first allocation identifier is used to indicate that the unactivated sub-device supporting the first uplink rate responds to the first allocation information; the processor 501 is used to control the transceiver 502 to send the first response information in the first allocation time slot when it is determined that the first uplink rate is supported, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,处理器501,用于在确定不支持第一上行速率的情况下,不触发响应第一分配信息。In a possible implementation, the processor 501 is configured to, when determining that the first uplink rate is not supported, not trigger a response to the first allocation information.

在一种可能的实施方式中,第一子设备支持第二上行速率,第二上行速率与第一上行速率不同。该收发器502,还用于接收来自主设备的第二分配信息,第二分配信息包括第二分配标识和第二时间信息,第二时间信息用于指示第二分配时隙,第二分配标识用于指示未激活的支持第二上行速率的子设备响应第二分配信息,第二分配标识与第一分配标识不同,第二时间信息与第一时间信息不同。该处理器501,还用于在确定第一子设备支持第二上行速率的情况下,控制收发器502在第二分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。In a possible implementation, the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate. The transceiver 502 is also used to receive second allocation information from the main device, the second allocation information includes a second allocation identifier and second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting the second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, and the second time information is different from the first time information. The processor 501 is also used to control the transceiver 502 to send a first response information in the second allocated time slot when it is determined that the first sub-device supports the second uplink rate, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,多个子设备还包括未激活的第二子设备,第二子设备支持第一上行速率,第一分配信息用于第二子设备在第一分配时隙发送第二响应信息,第二响应信息包括第二子设备的序列号。In a possible implementation, the multiple sub-devices further include an unactivated second sub-device, the second sub-device supports a first uplink rate, the first allocation information is used by the second sub-device to send second response information in the first allocated time slot, and the second response information includes a serial number of the second sub-device.

在一种可能的实施方式中,第一分配标识为广播的分配标识,第一分配信息为序列号请求分配结构。In a possible implementation manner, the first allocation identifier is a broadcast allocation identifier, and the first allocation information is a sequence number request allocation structure.

在一种可能的实施方式中,第一分配信息携带于下行物理控制块中的带宽映射域中。In a possible implementation manner, the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.

在一种可能的实施方式中,第一分配标识为254,第一上行速率为1.25G;或者,第一分配标识为255或253,第一上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.

在一种可能的实施方式中,第一分配标识为254,第二分配标识不包括254,第一上行速率为1.25G,第二上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.

在一种可能的实施方式中,第二分配标识为255或253。In a possible implementation manner, the second allocation identifier is 255 or 253.

在另一种实现中,该通信设备50用于实现光纤网络系统中的主设备的功能。具体地,处理器501,用于生成第一分配信息;收发器502,用于发送第一分配信息,第一分配信息包括第一分配标识和第一时间信息,第一时间信息用于指示第一分配时隙,第一分配标识用于指示未激活的支持第一上行速率的子设备响应第一分配信息;其中,若第一子设备支持第一上行速率,则第一分配信息用于第一子设备在第一分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。In another implementation, the communication device 50 is used to implement the function of a master device in a fiber optic network system. Specifically, the processor 501 is used to generate first allocation information; the transceiver 502 is used to send the first allocation information, the first allocation information includes a first allocation identifier and first time information, the first time information is used to indicate a first allocation time slot, and the first allocation identifier is used to indicate that an unactivated sub-device supporting a first uplink rate responds to the first allocation information; wherein, if the first sub-device supports the first uplink rate, the first allocation information is used for the first sub-device to send a first response information in the first allocation time slot, and the first response information includes a serial number of the first sub-device.

在一种可能的实施方式中,若第一子设备不支持第一上行速率,则第一分配信息用于第一子设备不响应第一分配信息。In a possible implementation manner, if the first sub-device does not support the first uplink rate, the first allocation information is used for the first sub-device not to respond to the first allocation information.

在一种可能的实施方式中,第一子设备支持第二上行速率,第二上行速率与第一上行速率不同。In a possible implementation manner, the first sub-device supports a second uplink rate, and the second uplink rate is different from the first uplink rate.

该收发器502,还用于发送第二分配信息,第二分配信息包括第二分配标识和第二时间信息,第二时间信息用于指示第二分配时隙,第二分配标识用于指示未激活的支持第二上行速率的子设备响应第二分配信息,第二分配标识与第一分配标识不同,第二时间信息与第一时间信息不同,第二分配信息用于第一子设备在第二分配时隙发送第一响应信息,第一响应信息包括第一子设备的序列号。The transceiver 502 is also used to send second allocation information, the second allocation information includes a second allocation identifier and a second time information, the second time information is used to indicate a second allocated time slot, the second allocation identifier is used to indicate that an unactivated sub-device supporting a second uplink rate responds to the second allocation information, the second allocation identifier is different from the first allocation identifier, the second time information is different from the first time information, the second allocation information is used for the first sub-device to send a first response information in the second allocated time slot, and the first response information includes the serial number of the first sub-device.

在一种可能的实施方式中,多个子设备还包括未激活的第二子设备,第二子设备支持第一上行速率,第一分配信息用于第二子设备在第一分配时隙发送第二响应信息,第二响应信息包括第二子设备的序列 号。In a possible implementation manner, the plurality of sub-devices further include an unactivated second sub-device, the second sub-device supports the first uplink rate, the first allocation information is used for the second sub-device to send the second response information in the first allocated time slot, and the second response information includes the sequence number of the second sub-device Number.

在一种可能的实施方式中,第一分配标识为广播的分配标识,第一分配信息为序列号请求分配结构。In a possible implementation manner, the first allocation identifier is a broadcast allocation identifier, and the first allocation information is a sequence number request allocation structure.

在一种可能的实施方式中,第一分配信息携带于下行物理控制块中的带宽映射域中。In a possible implementation manner, the first allocation information is carried in a bandwidth mapping field in a downlink physical control block.

在一种可能的实施方式中,第一分配标识为254,第一上行速率为1.25G;或者,第一分配标识为255或253,第一上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, and the first uplink rate is 1.25G; or, the first allocation identifier is 255 or 253, and the first uplink rate is 2.5G.

在一种可能的实施方式中,第一分配标识为254,第二分配标识不包括254,第一上行速率为1.25G,第二上行速率为2.5G。In a possible implementation manner, the first allocation identifier is 254, the second allocation identifier does not include 254, the first uplink rate is 1.25G, and the second uplink rate is 2.5G.

在一种可能的实施方式中,第二分配标识为255或253。In a possible implementation manner, the second allocation identifier is 255 or 253.

具体请参阅前文图2和图4对应实施例中的相关描述,此处不予赘述。For details, please refer to the relevant descriptions in the embodiments corresponding to FIG. 2 and FIG. 4 above, which will not be repeated here.

如图6所示,本申请还提供了一种通信设备60。该通信设备60可以是子设备(例如,第一子设备)或主设备,也可以是子设备(例如,第一子设备)或主设备的部件(例如,集成电路、芯片等)。该通信设备60也可以是其他用于实现本申请方法实施例中的方法的通信模块。As shown in FIG6 , the present application further provides a communication device 60. The communication device 60 may be a sub-device (e.g., a first sub-device) or a main device, or may be a component (e.g., an integrated circuit, a chip, etc.) of a sub-device (e.g., a first sub-device) or a main device. The communication device 60 may also be other communication modules for implementing the method in the method embodiment of the present application.

该通信设备60可以包括处理模块601(或称为处理单元)。可选的,还可以包括接口模块602(或称为收发单元或收发模块)和存储模块603(或称为存储单元)。接口模块602用于实现与其他设备进行通信。接口模块602例如可以是收发模块或输入输出模块。The communication device 60 may include a processing module 601 (or a processing unit). Optionally, it may also include an interface module 602 (or a transceiver unit or a transceiver module) and a storage module 603 (or a storage unit). The interface module 602 is used to communicate with other devices. The interface module 602 may be, for example, a transceiver module or an input/output module.

在一种可能的设计中,如图6中的一个或者多个模块可能由一个或者多个处理器来实现,或者由一个或者多个处理器和存储器来实现;或者由一个或多个处理器和收发器实现;或者由一个或者多个处理器、存储器和收发器实现,本申请实施例对此不作限定。所述处理器、存储器、收发器可以单独设置,也可以集成于一体。In a possible design, one or more modules in FIG. 6 may be implemented by one or more processors, or by one or more processors and memories; or by one or more processors and transceivers; or by one or more processors, memories, and transceivers, which are not limited in the embodiments of the present application. The processor, memory, and transceiver may be provided separately or integrated into one.

该通信设备60具备实现本申请实施例描述的子设备(例如,第一子设备)的功能。例如,通信设备60包括子设备(例如,第一子设备)执行本申请实施例描述的子设备(例如,第一子设备)涉及步骤所对应的模块或单元或手段(means),所述功能或单元或手段(means)可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现,还可以通过软件和硬件结合的方式实现。详细可进一步参考前述对应方法实施例中的相应描述。具体请参阅前文图5对应实施例中的通信设备50。The communication device 60 has the function of implementing the sub-device (e.g., the first sub-device) described in the embodiment of the present application. For example, the communication device 60 includes a sub-device (e.g., the first sub-device) executing the module or unit or means corresponding to the steps involved in the sub-device (e.g., the first sub-device) described in the embodiment of the present application, and the function or unit or means can be implemented by software, or by hardware, or by hardware executing the corresponding software implementation, or by a combination of software and hardware. For details, please refer to the corresponding description in the aforementioned corresponding method embodiment. Please refer to the communication device 50 in the corresponding embodiment of Figure 5 above.

或者,通信设备60具备实现本申请实施例描述的主设备的功能。例如,所述通信设备60包括主设备执行本申请实施例描述的主设备涉及步骤所对应的模块或单元或手段(means),所述功能或单元或手段(means)可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现,还可以通过软件和硬件结合的方式实现。详细可进一步参考前述对应方法实施例中的相应描述。具体请参阅前文图5对应实施例中的通信设备50。Alternatively, the communication device 60 has the function of implementing the main device described in the embodiment of the present application. For example, the communication device 60 includes a module or unit or means corresponding to the main device steps described in the embodiment of the present application, and the function or unit or means can be implemented by software, or by hardware, or by hardware executing the corresponding software implementation, or by a combination of software and hardware. For details, please refer to the corresponding description in the aforementioned corresponding method embodiment. Please refer to the communication device 50 in the corresponding embodiment of Figure 5 above.

此外,本申请提供了一种计算机程序产品,该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例该的流程或功能。例如,实现如前述图2或图3中的子设备(例如,第一子设备)相关的方法。又例如,实现如前述图2或图3中的主设备相关的方法。该计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如,同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如,红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In addition, the present application provides a computer program product, which includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. For example, a method related to a sub-device (e.g., a first sub-device) as shown in Figure 2 or Figure 3 is implemented. For another example, a method related to a main device as shown in Figure 2 or Figure 3 is implemented. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital versatile disc (DVD)), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

此外,本申请还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,该计算机程序被处理器执行以实现如前述图2或图3中的子设备(例如,第一子设备)相关的方法。In addition, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement a method related to a sub-device (for example, the first sub-device) as shown in Figure 2 or Figure 3 above.

此外,本申请还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,该计算机程序被处理器执行以实现如前述图2或图3中的主设备相关的方法。In addition, the present application also provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement a method related to the main device as shown in Figure 2 or Figure 3 above.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具 体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clear to those skilled in the art that for the convenience and brevity of description, the specific embodiments of the systems, devices and units described above are For the whole working process, reference can be made to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。 The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (16)

一种接入方法,应用于光纤网络系统,所述光纤网络系统包括主设备和多个子设备,其特征在于,包括:An access method is applied to an optical fiber network system, wherein the optical fiber network system includes a main device and a plurality of sub-devices, and is characterized by comprising: 所述第一子设备接收来自主设备的第一能力获取设置信息,所述第一能力获取设置信息包括所述第一子设备的标识以及查询操作码;The first sub-device receives first capability acquisition setting information from the main device, where the first capability acquisition setting information includes an identifier of the first sub-device and a query operation code; 所述第一子设备获取自身的能力信息,向所述主设备发送能力上报消息,所述能力上报消息中携带所述第一子设备的能力信息。The first sub-device obtains its own capability information, and sends a capability reporting message to the main device, where the capability reporting message carries the capability information of the first sub-device. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising: 所述第一子设备接收来自主设备的第二能力获取设置信息,所述第二能力获取设置信息包括所述第一子设备的标识、设置操作码以及待设置的能力;The first sub-device receives second capability acquisition setting information from the main device, where the second capability acquisition setting information includes an identifier of the first sub-device, a setting operation code, and a capability to be set; 所述第一子设备根据所述待设置的能力对自身进行设置;The first sub-device configures itself according to the capability to be configured; 所述第一子设备向所述主设备发送能力设置消息,所述能力设置消息中携带所述第一子设备对自身进行设置的结果。The first sub-device sends a capability setting message to the main device, where the capability setting message carries a result of the first sub-device setting itself. 根据权利要求2所述的方法,其特征在于,所述第二能力获取设置信息中待设置的能力包括设置所述第一子设备上行的FEC码以及时间戳,所述方法还包括:The method according to claim 2 is characterized in that the capability to be set in the second capability acquisition setting information includes setting an FEC code and a timestamp on the uplink of the first sub-device, and the method further comprises: 所述第一子设备根据所述时间戳对上行数据流进行FEC编码。The first sub-device performs FEC encoding on the uplink data stream according to the timestamp. 根据权利要求3所述的方法,其特征在于,所述第二能力获取设置信息中还包括FEC码标识。The method according to claim 3 is characterized in that the second capability acquisition setting information also includes an FEC code identifier. 根据权利要求3项所述的方法,其特征在于,所述第一子设备上行的FEC码包括默认的FEC码、高余量码、高吞吐量码中的一种或多种。The method according to claim 3 is characterized in that the FEC code on the uplink of the first sub-device includes one or more of a default FEC code, a high margin code, and a high throughput code. 根据权利要求5所述的方法,其特征在于,在所述第一子设备上行的FEC码为高余量码时,所述第二能力获取设置信息中还包括LDPC码被缩短的列的数量。The method according to claim 5 is characterized in that when the uplink FEC code of the first sub-device is a high margin code, the second capability acquisition setting information also includes the number of columns of the LDPC code that are shortened. 根据权利要求2所述的方法,其特征在于,所述能力设置消息中携带操作码,所述操作码用于标识所述第一子设备是否安排能力设置。The method according to claim 2 is characterized in that the capability setting message carries an operation code, and the operation code is used to identify whether the first sub-device arranges capability setting. 根据权利要求7所述的方法,其特征在于,所述能力设置消息中还携带响应码,所述响应码用于标识所述第一子设备没有安排所述能力设置的原因。The method according to claim 7 is characterized in that the capability setting message also carries a response code, and the response code is used to identify the reason why the first sub-device did not arrange the capability setting. 根据权利要求1到8任一项所述的方法,其特征在于,所述第一子设备的能力信息包括所述第一子设备支持的FEC码字。The method according to any one of claims 1 to 8 is characterized in that the capability information of the first sub-device includes FEC codewords supported by the first sub-device. 一种接入方法,应用于光纤网络系统,所述光纤网络系统包括主设备和多个子设备,其特征在于,包括:An access method is applied to an optical fiber network system, wherein the optical fiber network system includes a main device and a plurality of sub-devices, and is characterized by comprising: 所述主设备向第一子设备发送第一能力获取设置信息,所述第一能力获取设置信息包括所述第一子设备的标识以及查询操作码;The master device sends first capability acquisition setting information to the first sub-device, where the first capability acquisition setting information includes an identifier of the first sub-device and a query operation code; 所述主设备接收所述第一子设备发送的能力上报消息,所述能力上报消息中携带所述第一子设备的能力信息。The main device receives a capability reporting message sent by the first sub-device, where the capability reporting message carries capability information of the first sub-device. 根据权利要求10所述的方法,其特征在于,还包括:The method according to claim 10, further comprising: 所述主设备向所述第一子设备发送第二能力获取设置信息,所述第二能力获取设置信息包括所述第一子设备的标识、设置操作码以及待设置的能力;The master device sends second capability acquisition setting information to the first sub-device, where the second capability acquisition setting information includes an identifier of the first sub-device, a setting operation code, and a capability to be set; 所述主设备接收所述第一子设备发送的能力设置消息,所述能力设置消息中携带所述第一子设备对自身进行设置的结果。The main device receives a capability setting message sent by the first sub-device, where the capability setting message carries a result of the first sub-device setting itself. 根据权利要求10所述的方法,其特征在于,还包括:The method according to claim 10, further comprising: 所述主设备保存所述第一子设备的能力信息。The main device stores capability information of the first sub-device. 根据权利要求10或11所述的方法,其特征在于,所述第一能力获取设置信息或第二能力获取设置信息中携带所述消息完整性校验值,所述消息完整性校验值是根据所述主设备和第一子设备之间的完整性密钥计算得到的。The method according to claim 10 or 11 is characterized in that the first capability acquisition setting information or the second capability acquisition setting information carries the message integrity check value, and the message integrity check value is calculated based on the integrity key between the main device and the first sub-device. 根据权利要求10至13中任意一项所述的方法,其特征在于,所述第二能力获取设置信息中还包括FEC码标识。 The method according to any one of claims 10 to 13 is characterized in that the second capability acquisition setting information also includes an FEC code identifier. 根据权利要求10至14中任意一项所述的方法,其特征在于,所述第一能力获取设置信息和第二能力获取设置信息为下行PLOAM消息,所述能力上报消息和所述能力设置消息为上行PLOAM消息。The method according to any one of claims 10 to 14 is characterized in that the first capability acquisition setting information and the second capability acquisition setting information are downlink PLOAM messages, and the capability reporting message and the capability setting message are uplink PLOAM messages. 一种通信设备,其特征在于,包括:A communication device, comprising: 处理器和收发器,所述处理器与所述收发器连接,所述处理器用于实现如权利要求1至9中任意一项所述的方法或权利要求10-15任意一项所述的方法。 A processor and a transceiver, wherein the processor is connected to the transceiver, and the processor is used to implement the method according to any one of claims 1 to 9 or the method according to any one of claims 10 to 15.
PCT/CN2024/119096 2023-09-15 2024-09-14 Access method, optical fiber network system, and related device WO2025056060A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311199896.6A CN119653263A (en) 2023-09-15 2023-09-15 Access method, optical fiber network system and related equipment
CN202311199896.6 2023-09-15

Publications (1)

Publication Number Publication Date
WO2025056060A1 true WO2025056060A1 (en) 2025-03-20

Family

ID=94949525

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2024/096029 WO2025055393A1 (en) 2023-09-15 2024-05-29 Access method, fiber-optic network system and related device
PCT/CN2024/119096 WO2025056060A1 (en) 2023-09-15 2024-09-14 Access method, optical fiber network system, and related device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/096029 WO2025055393A1 (en) 2023-09-15 2024-05-29 Access method, fiber-optic network system and related device

Country Status (2)

Country Link
CN (1) CN119653263A (en)
WO (2) WO2025055393A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1897760A (en) * 2006-04-10 2007-01-17 中国电信股份有限公司 Method for discovering dynamic band width distributing ability and configuring parameter based on timer
US20070133800A1 (en) * 2005-12-08 2007-06-14 Electronics & Telecommunications Research Institute Method for setting security channel based on MPCP between OLT and ONUs in EPON, and MPCP message structure for controlling frame transmission
CN103139671A (en) * 2011-11-29 2013-06-05 中兴通讯股份有限公司 Data synchronism method and optical line terminal of Ethernet passive optical network device
WO2023130796A1 (en) * 2022-01-07 2023-07-13 华为技术有限公司 Coding configuration method and apparatus
CN116489010A (en) * 2022-10-10 2023-07-25 中兴通讯股份有限公司 Method and device for sending configuration information, storage medium and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9413484B2 (en) * 2012-11-05 2016-08-09 Futurewei Technologies, Inc. System and method for passive optical network communication
CN105191340B (en) * 2013-02-26 2019-05-24 中兴通讯股份有限公司 Method, system, unit and the equipment of the channel mapping of optical network unit activating
CN105359441B (en) * 2013-05-15 2018-03-02 中兴通讯股份有限公司 It is used for not calibrated optical network unit activating using noise window
CN112492411A (en) * 2020-08-14 2021-03-12 中兴通讯股份有限公司 Response method and device of registration request

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070133800A1 (en) * 2005-12-08 2007-06-14 Electronics & Telecommunications Research Institute Method for setting security channel based on MPCP between OLT and ONUs in EPON, and MPCP message structure for controlling frame transmission
CN1897760A (en) * 2006-04-10 2007-01-17 中国电信股份有限公司 Method for discovering dynamic band width distributing ability and configuring parameter based on timer
CN103139671A (en) * 2011-11-29 2013-06-05 中兴通讯股份有限公司 Data synchronism method and optical line terminal of Ethernet passive optical network device
WO2023130796A1 (en) * 2022-01-07 2023-07-13 华为技术有限公司 Coding configuration method and apparatus
CN116489010A (en) * 2022-10-10 2023-07-25 中兴通讯股份有限公司 Method and device for sending configuration information, storage medium and electronic device

Also Published As

Publication number Publication date
WO2025055393A1 (en) 2025-03-20
CN119653263A (en) 2025-03-18

Similar Documents

Publication Publication Date Title
CN106851439B (en) Access method and device for multiple optical network units
US10091566B2 (en) Method and apparatus for virtualizing passive optical network, and passive optical network virtualization system
WO2022088888A1 (en) Multi-level pon management method and related apparatus
KR100547705B1 (en) Bandwidth Allocation Method for Voice Service of Gigabit Ethernet Passive Optical Subscriber Network
US20040057727A1 (en) OAM capability discovery method in Ethernet passive optical network
CN106537826A (en) Communication method, apparatus and system for passive optical network
WO2020057187A1 (en) Passive optical network (pon) channel bonding protocol
AU2012381695A1 (en) Optical network terminal management control interface message transmission method and system, and corresponding device
TW201414235A (en) Communication equipment, system and method for energy-efficient Ethernet network power management
WO2019114544A1 (en) Data transport method, device and system
US11902718B2 (en) Service data transmission method, related device, and digital processing chip
CN104144360A (en) Method and apparatus for reconfiguring the wavelength of an optical network unit
CN114979838A (en) A communication method, optical network unit, optical line terminal and optical communication system
EP4322546A1 (en) Data frame fragmentation method, data frame parsing method and related device
WO2015100534A1 (en) Ethernet passive optical network communication method, device and system
WO2017215438A1 (en) Service activating method, device and system, and storage medium
CN101127759B (en) A receiving and transmission method, device and system for passive optical network data
WO2025056060A1 (en) Access method, optical fiber network system, and related device
WO2023246416A1 (en) Data transmission method and apparatus
CN103327422B (en) A kind of Low-cost passive optical network for video monitoring
RU2809182C1 (en) Service data transmission method, corresponding device and digital processing chip
WO2025077765A1 (en) Upstream overhead configuration method, optical fiber network system, and related device
CN120342489A (en) Optical network communication method and communication device
US20240048239A1 (en) Communication method and apparatus, and optical bus network
CN120301518A (en) Optical network communication method and communication device

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: 24864775

Country of ref document: EP

Kind code of ref document: A1