Method and apparatus of communication and passive optical network system.
Patent Information
- Application Number
- CL202601834
- Authority / Receiving Office
- CL · CL
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-08
- Filing Date
- 2026-06-04
- Publication Date
- 2026-07-10
AI Technical Summary
In passive optical network (PON) systems, ONU devices may experience serial number (SN) conflicts during the activation process, resulting in normal working ONU devices being offline, affecting system stability and user experience.
The OLT device avoids duplicate or conflicting identification allocation by receiving the SN of the ONU device at different time windows and determining whether to assign an ONU ID to the second ONU device based on the authentication result of the first ONU device, including not assigning an ONU ID or sending conflict indication information when receiving the same SN.
It effectively avoids uplink conflicts of ONU devices, improves the stability and user experience of the PON network, and ensures the continuous operation of ONU devices normally working.
Abstract
Description
Communication method, device and passive optical network system
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 8, 2024, with application number 202410178203.3 and titled “Communication Method, Device and Passive Optical Network System,” the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of optical access, and more particularly, to a method and device for adjusting bandwidth and a passive optical network system. Background Art
[0003] With the rapid increase in data traffic demand, the bandwidth required for service transmission has also increased. This has placed higher demands on the capacity and speed of transmission networks. Traditional copper-based access networks are no longer able to meet these demands. Consequently, in the 1990s, passive optical network (PON) technology emerged. This high-capacity, high-speed network access system has undergone continuous innovation and improvement during its development, and has been widely adopted while completing standardization. A PON system consists of an optical line terminal (OLT) and at least one optical network unit (ONU). In a PON network, a single PON interface on an OLT device can connect to multiple ONU devices. However, not all ONU devices can freely connect to the OLT device's PON interface. Only ONU devices that have been authenticated and activated by the OLT device can provide service to users. Currently, during the ONU activation process, different ONUs may report the same serial number (SN) to the OLT. Furthermore, there are cases where the SN of an already online ONU is retransmitted by an ONU that subsequently requests registration. The former scenario causes an upstream conflict between two ONUs, while the latter can cause a properly functioning ONU to go offline. Therefore, resolving these potential conflicts during the ONU registration and activation process is a challenge that needs to be addressed. Summary of the Invention
[0004] The present application provides a communication method, device and passive optical network system, which can solve the SN conflict problem in the PON network and improve the performance of the PON network system.
[0005] In a first aspect, an embodiment of the present application provides a communication method, which can be executed by an OLT device or by a component of the OLT device (such as a chip, a chip system, or a circuit). This application does not limit this. For ease of description, the following is an example of an OLT device being executed. The method includes: the OLT device receives a first serial number SN from a first optical network unit (ONU) device in a first time window; the OLT device allocates a first ONU identifier to the first ONU device; the OLT device sends a first indication message and the first ONU identifier, the first indication message is used to indicate that the OLT device has successfully allocated the first ONU identifier to the first ONU device; the OLT device receives a second SN from a second ONU device in a second time window, the second SN being the same as the first SN; the OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device.
[0006] Based on the above scheme, this application determines whether to assign a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, thereby determining whether to continue the registration and activation process of the second ONU device. When the OLT device receives a configured SN again, it can avoid the normal working ONU from going offline, thereby improving the stability of the system and ensuring the user experience.
[0007] In combination with the first aspect, in certain implementations of the first aspect, the OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: when the OLT device receives the second SN, the first ONU device has not completed authentication, the OLT device does not allocate a second ONU identifier to the second ONU device, and / or the OLT device does not send indication information indicating a conflict.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: when the OLT device receives the second SN, the first ONU device completes the authentication, and the OLT device determines that the authentication of the first ONU device is successful; the OLT device does not allocate a second ONU identifier to the second ONU device, and / or the OLT device does not send an indication message indicating a conflict.
[0009] In combination with the first aspect, in certain implementations of the first aspect, the OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: when the OLT device receives the second SN, the first ONU device completes the authentication, and the OLT device determines that the first ONU device fails the authentication; the OLT device allocates a second ONU identifier to the second ONU device, the second ONU identifier is different from the first ONU identifier, and the second ONU identifier is used to return the first ONU device to an initial state; the OLT device sends a second indication information and the second ONU identifier, and the second indication information is used to indicate that the OLT device successfully allocates the second ONU identifier to the second ONU device.
[0010] In combination with the first aspect, in some implementations of the first aspect, the first indication information and the first ONU identifier are carried in a first allocate ONU identifier message.
[0011] In combination with the first aspect, in some implementations of the first aspect, the first allocate ONU identifier message also includes the first SN, and the first SN is used to indicate that the first allocate ONU identifier message is used to allocate an ONU identifier for a device corresponding to the first SN.
[0012] In combination with the first aspect, in certain implementations of the first aspect, the second indication information and the second ONU identifier are carried in a second allocate ONU identifier message.
[0013] In combination with the first aspect, in some implementations of the first aspect, the second ONU identification allocation message also includes the second SN, and the second SN is used to indicate that the second ONU identification allocation message is used to allocate an ONU identification for a device corresponding to the second SN.
[0014] In combination with the first aspect, in certain implementations of the first aspect, the OLT device receives a third SN from a third ONU device and a fourth SN from a fourth ONU device in a third time window, and the third SN is the same as the fourth SN; the OLT device sends third indication information, and the third indication information is used to indicate a conflict.
[0015] Based on the above solution, when two ONU devices report the same SN to the OLT device at the same time, the third indication information can avoid ONU uplink conflict, thereby achieving the purpose of improving system stability and ensuring user experience.
[0016] In combination with the first aspect, in some implementations of the first aspect, the third indication information is carried in a conflict feedback message.
[0017] In combination with the first aspect, in some implementations of the first aspect, the conflict feedback message further includes the third SN.
[0018] In combination with the first aspect, in some implementations of the first aspect, the third indication information is specifically used to indicate an SN conflict.
[0019] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the OLT sends a first broadcast message and a second broadcast message, the first broadcast message is used to instruct the inactivated ONU device to report the serial number in the first time window, and the second broadcast message is used to instruct the inactivated ONU device to report the serial number in the second time window, and the first time window and the second time window do not overlap.
[0020] In a second aspect, an embodiment of the present application provides a communication method, which can be executed by an ONU device or by a component of the ONU device (such as a chip, a chip system, or a circuit, etc.), and this application does not limit this. For ease of description, the following is an example of execution by an ONU device. The method includes: the first ONU device sends a first sequence number SN to an optical line terminal OLT device in a first time window, the first SN and the second SN are the same, and the second SN is sent by a second ONU device to the OLT device in a second time window, and the second time window is located after the first time window; the first ONU device receives a first indication message and a first ONU identifier from the OLT device, the first indication message indicating that the OLT device successfully allocates the first ONU identifier to the first ONU device; when the first ONU device fails authentication, the first ONU device receives a second indication message and a second ONU identifier from the OLT device, the second indication message indicating that the OLT device successfully allocates the second ONU identifier to the second ONU device, and the second ONU identifier is different from the first ONU identifier; the first ONU device jumps to an initial state based on the second indication message and the second ONU identifier.
[0021] Based on the above solution, the first ONU device that fails the authentication can be offline through the second indication information and the second ONU identifier, thereby ensuring the stability of the system.
[0022] In combination with the second aspect, in certain implementations of the second aspect, the first indication information and the first ONU identifier are carried in a first allocate ONU identifier message.
[0023] In combination with the second aspect, in some implementations of the second aspect, the first allocation ONU identifier message further includes the first SN, where the first SN is used to indicate that the first ONU identifier is an identifier corresponding to the first ONU device.
[0024] In combination with the second aspect, in some implementations of the second aspect, the second indication information and the second ONU identifier are carried in a second allocate ONU identifier message.
[0025] In combination with the second aspect, in some implementations of the second aspect, the second allocation ONU identifier message further includes the second SN, where the second SN is used to indicate that the second ONU identifier is an identifier corresponding to the second ONU device.
[0026] In a third aspect, an embodiment of the present application provides a communication method, which can be executed by an ONU device or by a component of the ONU device (such as a chip, a chip system, or a circuit, etc.), and this application does not limit this. For ease of description, the following description is taken as an example of execution by an ONU device. The method includes: the first ONU device sends a first sequence number SN to an optical line terminal OLT device in a first time window, the first SN and the second SN are the same, and the second SN is sent by a second ONU device to the OLT device in the first time window; the first ONU device receives indication information from the OLT device, and the indication information indicates a conflict.
[0027] Based on the above solution, when two ONU devices report the same SN to the OLT device at the same time, the conflict indication information can avoid the ONU uplink conflict, thereby achieving the purpose of improving system stability and ensuring user experience.
[0028] In combination with the third aspect, in certain implementations of the third aspect, the indication information indicating a conflict includes: the indication information indicating an SN conflict.
[0029] In combination with the third aspect, in certain implementations of the third aspect, the indication information is carried in a conflict feedback message.
[0030] In combination with the third aspect, in some implementations of the third aspect, the conflict feedback message further includes the SN, where the SN is used to indicate the SN conflict.
[0031] In a fourth aspect, embodiments of the present application provide a communication device. The communication device is configured to implement the first aspect and any one of its embodiments. Specifically, the communication device includes a processor configured to invoke and execute a computer program, causing the communication device to implement the first aspect and any one of its embodiments. Optionally, the communication device also includes a memory configured to store the computer program.
[0032] In a fifth aspect, an embodiment of the present application provides a communication device. The communication device is used to perform the second aspect and any one of its embodiments, or to perform the third aspect and any one of its embodiments. Specifically, the communication device includes a processor, which is used to call and run a computer program so that the communication device performs the second aspect and any one of its embodiments, or the communication device performs the third aspect and any one of its embodiments. Optionally, the communication device also includes a memory, which is used to store the computer program.
[0033] In a sixth aspect, an embodiment of the present application provides a communication device. The communication device is used to perform the method provided in the first aspect and any one of its embodiments. Specifically, the communication device may include units and / or modules (e.g., processing units, transceiver units) for performing the method provided in the first aspect and any one of its embodiments.
[0034] In one implementation, the device may be an OLT. The transceiver unit may be a transceiver or an input / output interface. The processing unit may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.
[0035] In another implementation, the communication device may be a chip, chip system, or circuit in a device. In this case, the transceiver unit may be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit; and the processing unit may be at least one processor, processing circuit, or logic circuit.
[0036] In a seventh aspect, an embodiment of the present application provides a communication device. The communication device is used to perform the method provided in the second aspect and any one of its embodiments, or to perform the third aspect and any one of its embodiments. Specifically, the communication device may include units and / or modules (e.g., processing units, transceiver units) for performing the method provided in the second aspect and any one of its embodiments.
[0037] In one implementation, the ONU device may be an ONU. The transceiver unit may be a transceiver or an input / output interface. The processing unit may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input / output interface may be an input / output circuit.
[0038] In another implementation, the communication device may be a chip, chip system, or circuit in a device. In this case, the transceiver unit may be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit; and the processing unit may be at least one processor, processing circuit, or logic circuit.
[0039] In an eighth aspect, an embodiment of the present application provides a processor for executing the method provided by at least one of the first, second and third aspects above.
[0040] For the operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or if they do not conflict with their actual functions or internal logic in the relevant descriptions, they can be understood as processor output, reception, input and other operations, and can also be understood as sending and receiving operations performed by the radio frequency circuit and antenna. This application does not limit this.
[0041] In a ninth aspect, an embodiment of the present application provides a computer program product comprising instructions. When the computer program product is executed on a computer, the computer is caused to execute at least one of the first, second, and third aspects, and the method provided by any implementation of each of the above aspects.
[0042] In a tenth aspect, an embodiment of the present application provides a PON system, comprising the first communication device of the third aspect and the second communication device of the fourth aspect.
[0043] In the eleventh aspect, a chip is provided, which includes a processor and a communication interface. The processor reads instructions through the communication interface and executes at least one of the first, second and third aspects mentioned above, as well as the method provided by any implementation method of each aspect.
[0044] Optionally, as an implementation, the chip also includes a memory, the memory stores a computer program or instructions, and the processor is used to execute the computer program or instructions stored in the memory. When the computer program or instructions are executed, the processor is used to execute at least one of the above-mentioned first, second and third aspects, as well as the method provided by any implementation of each aspect.
[0045] In a twelfth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed on a communication device, causes the communication device to perform at least one of the first, second, and third aspects, and any implementation method of each aspect.
[0046] The technical effects of the above fourth to twelfth aspects can refer to the technical effects of the first to third aspects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] FIG1 is a schematic diagram of a PON system architecture applicable to an embodiment of the present application.
[0048] FIG2 is a schematic diagram of a current ONU device activation process.
[0049] FIG3 is a schematic diagram of a first communication method 300 provided in an embodiment of the present application.
[0050] FIG4 is a schematic diagram of a communication method for a first ONU device when authentication is not completed and authentication is completed, provided in an embodiment of the present application.
[0051] FIG5 is a schematic diagram of a second communication method 500 provided in an embodiment of the present application.
[0052] FIG6 is a schematic block diagram of a communication device 600 provided in an embodiment of the present application.
[0053] FIG7 is a schematic block diagram of a communication device 700 provided in an embodiment of the present application.
[0054] FIG8 is a schematic structural diagram of a communication device 800 provided in an embodiment of the present application.
[0055] FIG9 is a schematic diagram of a chip system 900 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The technical solution in this application will be described below with reference to the accompanying drawings.
[0057] In order to facilitate understanding of the embodiments of the present application, the following explanations are provided.
[0058] First, the terms "first," "second," and various numbers in the text descriptions or drawings of the embodiments of the present application shown below are merely for convenience of description and are not intended to limit the scope of the embodiments of the present application. For example, they are used to distinguish between different indication information, different ONU devices, etc.
[0059] Second, the terms "including" and "having" and any variations thereof in the embodiments of the present application shown below are intended to cover non-exclusive inclusions. For example, a system, product or device that includes a series of units is not necessarily limited to those units explicitly listed, but may include other units that are not explicitly listed or are inherent to these products or devices.
[0060] Third, in the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or descriptions. An embodiment or design described as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner to facilitate understanding.
[0061] Fourth, in this application, "indication" can include direct indication, indirect indication, explicit indication, and implicit indication. When describing a certain indication information as indicating A, it can be understood that the indication information carries A, directly indicates A, or indirectly indicates A.
[0062] Fifth, in this application, "sending" and "receiving" indicate the direction of signal transmission. For example, "receiving information from YY" can be understood as the source of the information being YY, which can include receiving directly from YY through the air interface, or indirectly from YY through other units or modules through the air interface. "Sending" can also be understood as the "output" of the chip interface, and "receiving" can also be understood as the "input" of the chip interface. In other words, sending and receiving can be performed between devices, for example, between an OLT device and an ONU device, or can be performed within a device, for example, sending or receiving between components, modules, chips, software modules, or hardware modules within the device through a bus, trace, or interface.
[0063] Sixth, in the embodiments of the present application, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0064] Seventh, in the various embodiments of the present application, unless otherwise specified or provided for, the terms and / or descriptions between the different embodiments are consistent and can be referenced by each other. The technical features in the different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0065] Figure 1 is a schematic diagram of the first PON system architecture applicable to the embodiment of the present application. PON technology is a point-to-multipoint fiber access technology. The PON system includes a master device, an optical distribution network (ODN) device and at least one slave device. Specifically, the master device can be an OLT device, a main FTTR unit (MFU) in a fiber to the room (FTTR) system, and the slave device can be an ONU, an optical network terminal (ONT), or a sub-FTTR unit (SFU) in a FTTR system. Among them, the OLT device is connected to the ODN device, and the ODN device is connected to multiple ONU devices. The OLT device provides a network-side interface, the OLT device is connected to the upper-layer network-side devices (such as switches, routers, etc.), and the lower layer is connected to one or more ODN devices. Generally, the OLT device is usually located in a central office (CO), and the ONU device is located at or near the user's home. The ONU device provides a user-side interface and is connected to the ODN device at the same time. If an ONU also provides user interface functions, such as an Ethernet user interface or a plain old telephone service (POTS) user interface, it is called an optical network terminal (ONT). The ODN device includes a passive optical splitter for optical power distribution, a trunk fiber connecting the passive optical splitter and the OLT, and branch fibers connecting the passive optical splitter and the ONU. When transmitting downstream data, the ODN device transmits the downstream data from the OLT to each ONU via the optical splitter. When transmitting upstream data, the ODN device combines multiple upstream data channels from multiple ONUs into a single optical signal using time division multiplexing (TDM). The principle is to divide the upstream transmission time into several time slots Ti (i = 1, 2, 3, ..., 32, ...). In each time slot, only one ONU is assigned to send data in packets to the OLT. Each ONU sends data in the order specified by the OLT. TDM requires the OLT to measure the distance to each ONU and then implement strict transmission timing for each ONU. Each ONU obtains timing information from the downstream signal sent by the OLT and sends upstream packet data within the time slot specified by the OLT, thus avoiding conflicts between ONUs.
[0066] It is understandable that FIG1 is only a schematic diagram, and the PON system may further include other devices, such as wavelength division equipment, more ONU devices, etc., which are not shown in FIG1 .
[0067] Figure 2 is a schematic diagram of a second PON system architecture applicable to embodiments of the present application. Figure 1 above can be viewed as a fiber-to-the-home (FTTH) architecture. Building on FTTH, to address the issue of Wi-Fi coverage in home networks, optical fiber can be extended further into residents' rooms. Installing optical terminal devices providing Wi-Fi access inside the rooms reduces the distance between user terminals and Wi-Fi access points, improving signal quality. This application scenario is known as FTTR. FTTR and FTTH networks can be viewed as cascaded PON systems. The OLT in FTTH is deployed in a central computer room, while the ONU is deployed in a home's information box. The master device in the FTTR can replace the ONU in the FTTH and be deployed in the home's information box. In the FTTR scenario, this master device performs similar functions to the OLT in the FTTH scenario, and can also perform similar functions to the ONU in the FTTH scenario. In other words, the master device in the FTTR combines the functions of both the OLT and the ONU, serving as a network device that connects FTTH and FTTR. The slave device in FTTR can be deployed in each room of the home to connect to the user terminal. The slave device is essentially a similar network device to the ONU in FTTH.
[0068] In order to facilitate a better understanding of the technical solution of the present application, a brief introduction is given to the technology related to the activation mechanism of the ONU device involved in the technical solution of the present application.
[0069] The ONU activation process consists of three steps: parameter learning, serial number acquisition, and ranging. Specifically, during the parameter learning step, the ONU device remains passive and acquires operating parameters for uplink transmission. During the serial number acquisition step, the OLT device discovers the new ONU device by its serial number and then assigns it an ONU ID. During the ranging step, after receiving the ranging response message from the ONU device, the OLT device calculates the ONU's loop delay (rONUd trip delay, RTD) based on the ranging request message transmission time and ranging response message arrival time. It then calculates the ONU's equalization delay (EQD) based on the ranging request message transmission time, ranging response message arrival time, ONU response processing time, and the system's benchmark equalization delay, and sends it to the ONU. Among them, the ONU device has seven states in the entire activation process, namely, the initial state (Initial state), also known as the O1 state; the standby state (Standby state), also known as the O2 state; the serial number state (Serial_Number state), also known as the O3 state; the ranging state (Ranging state), also known as the O4 state; the operation state (Operation state), also known as the O5 state; the pop-up state (POPUP state), also known as the O6 state; and the emergency stop state (Emergency Stop state), also known as the O7 state.
[0070] Currently, inactive ONUs in the O3 state send SNs to the OLT within a time window set by the OLT. However, in some scenarios, multiple ONUs may simultaneously send the same SN to the OLT for registration. Furthermore, there are also scenarios where the OLT receives an SN that is identical to that of an already online ONU. These scenarios may cause a functioning ONU to go offline or cause an ONU upstream conflict.
[0071] In view of this, the present application proposes a communication method that can be applied in the activation process of an ONU device to resolve conflict scenarios in the activation process, thereby improving the stability of the PON network and further ensuring the performance of the PON network.
[0072] The method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings. The embodiment provided by the present application can be applied to the PON network shown in FIG1 above, without limitation.
[0073] In the following embodiments, an OLT device and an ONU device are used as examples for illustrative description. The OLT device can be replaced by a component of the OLT device (such as a chip or circuit), and the ONU device can be replaced by a component of the ONU device (such as a chip or circuit).
[0074] Figure 3 is a schematic diagram of a first communication method 300 provided in an embodiment of the present application. Figure 3 shows a schematic flow of information interaction between an OLT device and a first ONU device and a second ONU device. The method 300 shown in Figure 3 may include the following steps.
[0075] S301: A first ONU device sends a first SN to an OLT device in a first time window.
[0076] It should be noted that the first time window is the first time period configured by the OLT device for inactivated ONU devices to send SNs. Meanwhile, this application does not limit the message carrying the first SN. Optionally, the first SN is carried in an ONU serial number (Serial_Number_ONU) physical layer operations, administration, and maintenance (OAM) message sent by the first ONU device.
[0077] S302: The OLT device allocates a first ONU identifier to the first ONU device.
[0078] Specifically, when the OLT device receives the first SN from the first ONU device, the OLT device determines that the first SN is a new SN, that is, the first SN has no associated ONU ID, or the OLT device has not assigned an ONU ID to the ONU device corresponding to the first SN. The OLT device then assigns a first ONU identifier to the first ONU device and corresponds the first SN to the first ONU identifier.
[0079] S303: The OLT device sends first indication information and a first ONU identifier, where the first indication information is used to indicate that the OLT device successfully allocates the first ONU identifier to the first ONU device.
[0080] Specifically, after the OLT device allocates a first ONU identifier to the first ONU device, it sends the first ONU identifier and first indication information via a first message. The first message also includes a first SN. The first SN carried in the first message is used to indicate that the first message is used to allocate an ONU identifier to the device corresponding to the first SN. It should be noted that this application does not limit the first message carrying the first ONU identifier and the first indication information. Optionally, the first message carrying the first ONU identifier and the first indication information is an Assign ONU_ID message. Exemplarily, when the first message is a first Assign ONU_ID message, the first Assign ONU_ID message carries the first indication information, the first ONU identifier, and the first SN. Therefore, the first ONU device can receive the first Assign ONU_ID message based on the first SN and obtain the corresponding first ONU identifier.
[0081] S304: The OLT device receives a second SN from a second ONU device in a second time window. The second SN is the same as the first SN.
[0082] Specifically, the second time window is a second time period configured by the OLT device for inactive ONU devices to send SNs. Optionally, the second SN is carried in the Serial_Number_ONU PLOAM message sent by the second ONU device. It should be noted that the second time window does not overlap with the first time window and is located after the first time window.
[0083] S305: The OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device.
[0084] It can be understood that when the first ONU device receives the first ONU identifier and the first indication information sent from the OLT device, the first ONU device will continue to activate the process. When the OLT device receives the second SN from the second ONU device, there may be two scenarios for the first ONU device. In the first scenario, the first ONU device has not completed the authentication, or, in other scenarios, the first ONU device has completed the authentication. Therefore, in combination with Figure 4, the above two scenarios are explained in detail.
[0085] As shown in FIG4 , when the OLT device receives the second SN from the second ONU device, the first ONU device has not yet completed authentication. At this time, the OLT device executes S401 .
[0086] S401: The OLT device does not allocate a second ONU identifier to the second ONU device, and / or the OLT device does not send indication information indicating a conflict.
[0087] Specifically, when the first ONU device has not completed authentication, the OLT device cannot determine whether the first ONU device is legal and whether it can be registered and activated. Therefore, the OLT device will continue to wait for the authentication result of the first ONU device. At this time, the OLT device does not allocate a second ONU identifier to the second ONU device; or, the OLT device does not send an indication message indicating a conflict; or, the OLT device neither allocates a second ONU identifier to the second ONU device nor sends an indication message indicating a conflict.
[0088] If the OLT receives the second SN, the first ONU completes authentication. The OLT then performs different information exchanges with the first and second ONUs based on the authentication result of the first ONU. The following details the cases where the first ONU passes or fails authentication.
[0089] In some embodiments, when the first ONU device passes the authentication, the OLT device executes the following S402 - S403 .
[0090] S402: The OLT device determines that the first ONU device passes authentication.
[0091] Specifically, when the OLT device completes the ranging for the first ONU device, causing the first ONU device to enter state O5, it indicates that the first ONU device has passed the authentication.
[0092] S403: The OLT device does not allocate a second ONU identifier to the second ONU device, and / or the OLT device does not send indication information indicating a conflict.
[0093] Specifically, after the OLT device determines that the first ONU device has passed authentication, the OLT device associates the first SN with the first ONU identifier, deems the second ONU device invalid, and rejects the second ONU device's registration. At this point, the OLT device does not assign a second ONU identifier to the second ONU device; or, the OLT device does not send information indicating a conflict; or, the OLT device neither assigns a second ONU identifier to the second ONU device nor sends information indicating a conflict.
[0094] In some other embodiments, when the first ONU device fails authentication, the OLT device and the first ONU device execute the following S404-S407.
[0095] S404: The OLT device determines that the first ONU device fails authentication.
[0096] It should be noted that this application does not limit the method by which the OLT device authenticates the first ONU device. Specifically, the specific determination process of whether the OLT device passes or fails the ONU authentication can refer to related technologies and will not be repeated here.
[0097] S405: The OLT device allocates a second ONU identifier to the second ONU device.
[0098] Specifically, when the OLT device determines that the first ONU device fails authentication, the OLT device deems the first ONU device to be an illegal ONU device. At this time, the OLT device assigns a second ONU identifier to the second ONU device. It should be noted that the second ONU identifier is different from the first ONU identifier and is used to return the first ONU device to the initial state (i.e., the O1 state).
[0099] S406: The OLT device sends second indication information and a second ONU identifier, where the second indication information is used to indicate that the OLT device has successfully allocated the second ONU identifier to the second ONU device.
[0100] S407: The first ONU device jumps to an initial state based on the second indication information and the second ONU identifier.
[0101] Specifically, the second indication information and the second ONU identifier are carried in the second message, and the second message also includes a second SN. The second SN carried in the second message is used to indicate that the second message is used to allocate an ONU identifier to the device corresponding to the second SN. Since the second SN is the same as the first SN, the first ONU device can receive the second message. When the first ONU device receives the second message according to the second SN and parses the second message, the first ONU device obtains the second ONU identifier and determines that the second ONU identifier is different from the first ONU identifier. At this time, the first ONU device jumps from the current state to the initial state O1.
[0102] It should be noted that, in this application, passing the ONU device authentication can also be understood as the ONU device identity being legitimate, that is, the ONU device can be connected to the PON interface of the OLT device, can be managed by the OLT device, and realize uplink and downlink data transmission with the OLT device. Correspondingly, failing the ONU device authentication can also be understood as the ONU device identity being invalid, that is, the ONU device cannot or is not allowed to access the PON interface of the OLT device, and the OLT device does not manage the ONU device.
[0103] It should also be noted that the method shown in FIG3 is illustrated using two ONU devices as an example. When the PON network has more ONU devices, for example, when a third ONU device sends an SN identical to the first or second SN in a third time window, the interaction process between the OLT device and the third ONU device can refer to the description in FIG4 above. That is, the interaction process between the OLT device and the third ONU device is similar to the interaction process between the second ONU device. For example, when the OLT device receives the same SN sent by the third ONU device, the OLT device will not send an indication indicating a conflict while waiting for the authentication result of the first ONU device, and / or will not assign identifiers to the second and third ONU devices. Exemplarily, when the authentication of the first ONU device fails (i.e., the authentication fails), the OLT device waits for the authentication result of the second ONU device. If the authentication of the second ONU device passes, the OLT device will not send an indication message indicating a conflict, and / or assign an identifier to the third ONU device; if the authentication of the second ONU device fails, the OLT device assigns a third identifier to the third ONU device. At this time, the second ONU device will jump to a new state according to the third identifier, which will not be repeated here.
[0104] In some embodiments, before the first ONU device sends the first SN to the OLT device and the second ONU device sends the second SN to the OLT device, the method 300 further includes the following steps:
[0105] S306: The OLT device sends a first broadcast message, where the first broadcast message is used to instruct the inactivated ONU device to report a sequence number in a first time window.
[0106] Specifically, the OLT device broadcasts a first broadcast message downstream. The first broadcast message carries a first time window, so that after receiving the first broadcast message, the first ONU device sends a first SN within the first time window according to the first broadcast message. This application does not limit the first broadcast message; optionally, the first broadcast message is a Serial Number Request (SN_Request) message. After receiving the first SN_Request message, the first ONU generates a random delay time. After the random delay time expires, the first SN is responded to the OLT device via a first Serial_Number_ONU PLOAM message.
[0107] S307: The OLT device sends a second broadcast message, where the second broadcast message is used to instruct the inactivated ONU device to report the sequence number in the second time window.
[0108] Specifically, the OLT device broadcasts a second broadcast message downstream, which carries a second time window. Upon receiving the second broadcast message, the second ONU device transmits a second SN within the second time window according to the second broadcast message. Optionally, the second broadcast message is an SN_Request message. Upon receiving the second SN_Request message, the second ONU generates a random delay. After the random delay expires, the second SN is sent back to the OLT device via a second Serial_Number_ONU PLOAM message.
[0109] Based on the above scheme, this application determines whether to assign a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, thereby determining whether to continue the registration and activation process of the second ONU device. When the OLT device receives a configured SN again, it can avoid the normal working ONU from going offline, thereby improving the stability of the system and ensuring the user experience.
[0110] Figure 5 is a schematic diagram of a second communication method 500 provided in an embodiment of the present application. Figure 5 shows a schematic flow of information interaction between an OLT device and a first ONU device and a second ONU device. The method 500 shown in Figure 5 may include the following steps.
[0111] S501: A first ONU device sends a first SN to an OLT device in a first time window. A second ONU device sends a second SN to the OLT device in the first time window. The first SN is the same as the second SN.
[0112] Similarly, the present application does not limit the message carrying the first SN and the second SN. Optionally, the first SN is carried in the Serial_Number_ONU PLOAM message sent by the first ONU device, and the second SN is carried in the Serial_Number_ONU PLOAM message sent by the first ONU device.
[0113] S502: The OLT device sends third indication information, where the third indication information is used to indicate a conflict.
[0114] Specifically, when the OLT device receives the same SN sent by the first ONU device and the second ONU device at the same time in the first time window, the OLT device considers that the first ONU device and the second ONU device conflict. At this time, the OLT device does not allocate ONU identifiers for the first ONU device and the second ONU device, but instead sends third indication information indicating the conflict.
[0115] It should be noted that the present application does not limit the message carrying the third indication information. Optionally, the third indication information is carried in a collision feedback message. It is understandable that when the third indication information is carried in a collision feedback message, the collision feedback message includes an indication field of the third indication information, and the number of bits contained in the indication field may be multiple bits. For example, if the number of bits occupied by the indication field is 2, 00 indicates that the evaluation cannot be performed, 01 indicates that there is no uplink signal, 10 indicates successful allocation, and 11 indicates a conflict. Optionally, the third indication information is specifically used to indicate an SN conflict. At this time, a fixed bit position can be set in the multiple bits contained in the indication field carrying the third indication information to indicate that the conflict is an SN conflict. The fixed bit position can be the most significant bit position or the lowest bit position, etc., and the present application does not limit this. For example, if the number of bits occupied by the indication field is 3, when the highest bit is used to indicate that the conflict is an SN conflict, for example, the highest bit is 1 to indicate that the conflict is an SN conflict, and the highest bit is 0 to indicate that the conflict is not an SN conflict, the remaining two bits are used to indicate different situations, for example, 111 indicates an SN conflict, and 011 indicates a conflict, but not an SN conflict.
[0116] It is understandable that the message carrying the third indication information also includes the first SN, so that the first ONU device and the second ONU device can receive the message carrying the third indication information according to the first SN, thereby determining that an uplink conflict occurs at this time.
[0117] In some embodiments, before the first ONU device and the second ONU device send the first SN to the OLT device, the method 500 further includes the following steps:
[0118] S503: The OLT device sends a third broadcast message, where the third broadcast message is used to instruct the inactivated ONU device to report a sequence number in the first time window.
[0119] Specifically, the OLT device sends a third broadcast message downstream, and the third broadcast message carries the first time window, so that after the first ONU device and the second ONU device receive the third broadcast message, they send an SN in the first time window according to the third broadcast message. This application does not limit the third broadcast message. Optionally, the third broadcast message is an SN_Request message.
[0120] It should be noted that after the first ONU device and the second ONU device receive the third indication information, the first ONU device and the second ONU device will each generate a random delay time. When their respective random delay times expire, they can request the OLT device to register and activate the process again. Because the first ONU device and the second ONU device have different random delay times, the probability of reporting the same SN to the OLT at the same time next time is greatly reduced, thereby avoiding ONU uplink conflicts, thereby achieving the purpose of improving system stability and ensuring user experience.
[0121] Regarding the embodiments of FIG. 3 to FIG. 5 , it should be noted that:
[0122] (1) The step numbers in the flowcharts described in the embodiments are merely examples of the execution process and do not limit the order in which the steps are executed. In the embodiments of the present application, there is no strict execution order for steps that have no temporal dependencies. Furthermore, not all steps shown in the flowcharts are mandatory steps, and steps may be added or deleted based on actual needs.
[0123] (2) In the various embodiments of the present application, unless otherwise specified or logically conflicting, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships. The embodiments of Figures 3 to 5 above can be implemented independently or combined with each other. For example, the embodiment shown in Figure 3 and the embodiment shown in Figure 5 can be combined with each other. When the OLT device first receives the first SN in the first time window and the second SN in the second time window, the combination of the embodiment shown in Figure 3 and the embodiment shown in Figure 5 can be that the OLT device receives the same SN sent from the third ONU device and the fourth ONU device in the third time window and executes the steps included in method 500. Alternatively, the OLT device receives the same first SN and second SN sent from the first ONU device and the second ONU device in the first time window. At this time, the combination of the embodiment shown in Figure 3 and the embodiment shown in Figure 5 can be that the OLT device receives the third SN from the third ONU device in the second time window, and the OLT device receives the fourth SN sent by the fourth ONU device that is the same as the third SN in the fourth time window and executes the steps included in method 300.
[0124] (3) The above embodiments use some messages and parameters in the PON system in the description. However, in the specific implementation, different messages or message names may be used, and the embodiments of the present application do not limit this. In addition, in some of the above embodiments, the devices in the existing PON network architecture are mainly used as examples for exemplary description (OLT devices, ONU devices). It should be understood that the embodiments of the present application do not limit the specific form of the devices. For example, devices that can achieve the same functions in the future are applicable to the embodiments of the present application.
[0125] (4) In the above-mentioned various method embodiments, the methods and operations implemented by devices (such as OLT devices and ONU devices) may also be implemented by components of the devices (such as chips or circuits), without limitation.
[0126] The method provided in the embodiments of the present application is described in detail above in conjunction with Figures 3 to 5. Below, the device and chip system provided in the embodiments of the present application are described in detail in conjunction with Figures 6 to 9. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment. Therefore, for matters not described in detail, please refer to the method embodiment above. For the sake of brevity, they are not repeated here.
[0127] The communication methods shown in Figures 3 to 5 are mainly described from the perspective of interaction between the OLT device and the ONU device. It is understood that in order to implement the above functions, the OLT device and the ONU device include hardware structures and / or software modules that perform the corresponding functions.
[0128] It is understood that to implement the functions described in the above embodiments, the OLT and ONU devices include hardware structures and / or software modules corresponding to the respective functions. Those skilled in the art will readily appreciate that, in conjunction with the various exemplary units and method steps described in the embodiments disclosed herein, the present application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or in a hardware-driven manner by computer software depends on the specific application scenario and design constraints of the technical solution.
[0129] Figure 6 is a schematic block diagram of a communication device 600 provided in an embodiment of the present application. For example, it is the OLT device shown in Figure 1, and it can also be a module (such as a chip) applied to the OLT device. Specifically, the communication device 600 includes a receiving module 601, which can be used to implement the corresponding receiving function. The receiving module 601 can also be called a receiving unit. The communication device 600 also includes a processing module 602, which can be used to implement the corresponding processing function. The communication device 600 also includes a sending module 603, which can be used to implement the corresponding sending function, and the sending module 603 can also be called a sending unit. The receiving module 601 and the sending module 603 can also be called communication interfaces or communication units.
[0130] Optionally, the communication device 600 further includes a storage unit, which can be used to store instructions and / or data. The processing unit 602 can read the instructions and / or data in the storage unit to enable the communication device 600 to implement the actions of the OLT device in the aforementioned various method embodiments.
[0131] The communication device 600 can be used to execute the actions performed by the OLT device in the above method embodiments 300 to method embodiments 500. In this case, the communication device 600 can be a component of the OLT device, the receiving module 601 is used to execute the reception-related operations of the OLT device in the above method embodiments, the processing module 602 is used to execute the processing-related operations of the OLT device in the above method embodiments 300 to method embodiments 500, and the sending module 603 is used to execute the sending-related operations of the OLT device in the above method embodiments 300 to method embodiments 500.
[0132] In one embodiment, the communication device 600 may be used to perform the operations of the OLT device in Figures 3 to 5 above. For example:
[0133] The receiving module 601 is configured to receive a first SN from a first ONU device in a first time window, and receive a second SN from a second ONU device in a second time window, wherein the second SN is the same as the first SN.
[0134] The processing module 602 is configured to allocate a first ONU identifier to the first ONU device, and determine whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device.
[0135] The sending module 603 is configured to send first indication information and a first ONU identifier, wherein the first indication information is used to indicate that the OLT device successfully allocates the first ONU identifier to the first ONU device.
[0136] It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0137] In addition, the receiving module 601 , the processing module 602 and the sending module 603 in the communication device 600 may also implement other operations or functions of the OLT device in the above method, which will not be described in detail here.
[0138] Optionally, the communication device 600 may be a device including an OLT device, or a component configured in the OLT device, such as a chip of the OLT device. In this case, the receiving module 601 and the transmitting module 603 may be interface circuits, pins, etc. Specifically, the interface circuit may include an input circuit and an output circuit, wherein the receiving module 601 may include an input circuit, the transmitting module 603 may include an output circuit, and the processing module 602 may include a processing circuit.
[0139] Figure 7 is a schematic block diagram of a communication device 700 provided in an embodiment of the present application. For example, it is one of the ONU devices shown in Figure 1, or it can be a module (such as a chip) applied to the ONU device. Specifically, the communication device 700 includes a receiving module 701, which can be used to implement the corresponding receiving function. The receiving module 701 can also be called a receiving unit. The communication device 700 also includes a processing module 702, which can be used to implement the corresponding processing function. The communication device 700 also includes a sending module 703, which can be used to implement the corresponding sending function, and the sending module 703 can also be called a sending unit. The receiving module 701 and the sending module 703 can also be called communication interfaces or communication units.
[0140] Optionally, the communication device 700 also includes a storage unit, which can be used to store instructions and / or data. The processing unit 702 can read the instructions and / or data in the storage unit so that the communication device 700 implements the actions of the ONU device in the aforementioned various method embodiments.
[0141] The communication device 700 can be used to execute the actions performed by the ONU device in the above method embodiments 300 to method embodiments 500. In this case, the communication device 700 can be a component of the ONU device, the receiving module 701 is used to execute the reception-related operations of the ONU device in the above method embodiments, the processing module 702 is used to execute the processing-related operations of the ONU device in the above method embodiments 300 to method embodiments 500, and the sending module 703 is used to execute the sending-related operations of the ONU device in the above method embodiments 300 to method embodiments 500.
[0142] In one embodiment, the communication device 700 can be used to perform the operations of the ONU device in Figures 3 to 5 above. For example:
[0143] The receiving module 701 is configured to receive first indication information and a first ONU identifier from an OLT device, wherein the first indication information indicates that the OLT device successfully allocates the first ONU identifier to the first ONU device, and receive second indication information and a second ONU identifier from the OLT device, wherein the second indication information indicates that the OLT device successfully allocates a second ONU identifier to the second ONU device, where the second ONU identifier is different from the first ONU identifier.
[0144] The processing module 702 jumps to the initial state based on the second indication information and the second ONU identifier.
[0145] The sending module 703 is configured to send a first sequence number SN to the OLT device in the first time window, wherein the first SN and the second SN are the same, and the second SN is sent by the second ONU device to the OLT device in the second time window, and the second time window is located after the first time window.
[0146] It should be understood that the specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0147] In addition, the receiving module 701, the processing module 702 and the sending module 703 in the communication device 700 can also implement other operations or functions of the ONU device in the above method, which will not be repeated here.
[0148] Optionally, the communication device 700 may be a device including an ONU device, or a component configured in the ONU device, such as a chip of the ONU device. In this case, the receiving module 701 and the sending module 703 may be interface circuits, pins, etc. Specifically, the interface circuit may include an input circuit and an output circuit, wherein the receiving module 701 may include an input circuit, the sending module 703 may include an output circuit, and the processing module 702 may include a processing circuit.
[0149] Figure 8 is a schematic structural diagram of a communication device 800 provided in an embodiment of the present application. The communication device 800 includes a processor 801 and a transceiver 802. The transceiver 802 is configured to exchange information via a transmission medium. Optionally, the transceiver 803 may be an interface, a bus, a circuit, or a device capable of performing transceiver functions. Optionally, the device in the transceiver 802 that performs the receiving function may be considered a receiving module, and the device in the transceiver 802 that performs the transmitting function may be considered a transmitting module, i.e., the transceiver 802 includes a receiver and a transmitter.
[0150] The transceiver 802 may also be sometimes referred to as a transceiver, a transceiver module, or a transceiver circuit, etc. The receiver may also be sometimes referred to as a receiver, a receiving module, or a receiving circuit, etc. The transmitter 802 may also be sometimes referred to as a transmitter, a transmitter, a transmitting module, or a transmitting circuit, etc.
[0151] For example, in one embodiment, the processor 801 is configured to perform other operations or functions of a chip of the OLT device. The transceiver 802 is used to implement information exchange between the communication apparatus 800 and the ONU device.
[0152] In another embodiment, the processor 801 is configured to perform other operations or functions of a chip of the ONU device. The transceiver 802 is used to implement information exchange between the communication device 800 and the OLT device.
[0153] The communication device 800 may also include a memory 803 for storing computer programs or instructions and / or data. The memory 803 is coupled to the processor 801, and the processor 801 is used to execute the computer program or instructions and / or data stored in the memory 803, so that one of the methods 300 to 800 in the above method embodiments is executed. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. The processor 801 can operate in conjunction with the memory 803.
[0154] Optionally, the communication device 800 may include one or more processors 801 and one or more memories 803 .
[0155] Optionally, the memory 803 may be integrated with the processor 801 or provided separately.
[0156] The specific connection medium between the processor 801, transceiver 802, and memory 803 is not limited in the embodiments of the present application. In Figure 8, the processor 801, transceiver 802, and memory 803 are connected via bus 804. The bus is represented by a bold line in Figure 8. The connection between other components is only for illustrative purposes and is not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0157] It should be understood that for ease of representation, FIG8 shows only one thick line, but this does not mean that there is only one bus or one type of bus.
[0158] 9 is a schematic diagram of a chip system 900 according to an embodiment of the present application. The chip system 900 (or also referred to as a processing system) includes a logic circuit 910 and an input / output interface 920 .
[0159] The logic circuit 910 may be a processing circuit in the chip system 900. The logic circuit 910 may be coupled to a storage unit and call instructions in the storage unit so that the chip system 900 can implement the methods and functions of the various embodiments of the present application. The input / output interface 920 may be an input / output circuit in the chip system 900, outputting information processed by the chip system 900 or inputting data or signaling information to be processed into the chip system 900 for processing.
[0160] Alternatively, the logic circuit 910 may be implemented by one or more processors, including the one or more processors or a processing portion in the one or more processors.
[0161] Optionally, the input / output interface 920 may include a transceiver circuit, a transceiver, an input / output circuit, or a communication interface.
[0162] As a solution, the chip system 900 is used to implement the operations performed by the OLT device or the ONU device in the above various method embodiments.
[0163] Specifically, the logic circuit 910 is used to implement the processing-related operations performed by the OLT device or ONU device in the above method embodiment; the input / output interface 920 is used to implement the sending and / or receiving-related operations performed by the OLT device or ONU device in the above method embodiment.
[0164] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions for implementing the methods executed by the OLT device or the ONU device in the above-mentioned method embodiments.
[0165] For example, when the computer program is executed by a computer, the computer can implement the method performed by the OLT device or the ONU device in each embodiment of the above method.
[0166] An embodiment of the present application further provides a computer program product, comprising instructions, which, when executed by a computer, implement the methods performed by the OLT device or the ONU device in the above-mentioned method embodiments.
[0167] The present application also provides a PON system, which includes the ONU device and / or OLT device in the above embodiments. For example, the system includes the ONU device and OLT device in Figure 1.
[0168] The explanation of the relevant contents and beneficial effects of any of the above-mentioned devices can be referred to the corresponding method embodiments provided above, which will not be repeated here.
[0169] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0170] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. For example, the computer can be a personal computer, a server, or a network device, etc. The computer instructions can 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 can 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.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). For example, the aforementioned available medium includes, but is not limited to, various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0171] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A communication method, characterized in that: Applied to an optical line terminal (OLT) device, the method includes: The OLT device receives a first serial number SN from a first optical network unit ONU device in a first time window; The OLT device allocates a first ONU identifier to the first ONU device; The OLT device sends first indication information and the first ONU identifier, where the first indication information is used to indicate that the OLT device successfully allocates the first ONU identifier to the first ONU device; The OLT device receives a second SN from a second ONU device in a second time window, where the second SN is the same as the first SN; The OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device.
2. The method according to claim 1, characterized in that The OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: when the OLT device receives the second SN, the first ONU device has not completed authentication, The OLT device does not allocate a second ONU identifier for the second ONU device, and / or, The OLT device does not send indication information indicating a conflict.
3. The method according to claim 1, characterized in that The OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: when the OLT device receives the second SN, the first ONU device completes authentication, The OLT device determines that the first ONU device passes authentication; The OLT device does not allocate a second ONU identifier for the second ONU device, and / or, The OLT device does not send indication information indicating a conflict.
4. The method according to claim 1, wherein The OLT device determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: when the OLT device receives the second SN, the first ONU device completes authentication, The OLT device determines that the first ONU device fails authentication; The OLT device allocates a second ONU identifier to the second ONU device, where the second ONU identifier is different from the first ONU identifier, and the second ONU identifier is used to return the first ONU device to an initial state; The OLT device sends second indication information and the second ONU identifier, where the second indication information is used to indicate that the OLT device successfully allocates the second ONU identifier to the second ONU device.
5. The method according to any one of claims 1 to 4, characterized in that The first indication information and the first ONU identifier are carried in a first allocate ONU identifier message.
6. The method according to claim 5, characterized in that The first allocate ONU identifier message also includes the first SN, where the first SN is used to indicate that the first allocate ONU identifier message is used to allocate an ONU identifier to a device corresponding to the first SN.
7. The method according to any one of claims 4 to 6, characterized in that The second indication information and the second ONU identifier are carried in a second allocate ONU identifier message.
8. The method according to claim 7, characterized in that The second allocate ONU identifier message further includes the second SN, where the second SN is used to indicate that the second allocate ONU identifier message is used to allocate an ONU identifier to a device corresponding to the second SN.
9. The method according to any one of claims 1 to 8, characterized in that The OLT device receives a third SN from a third ONU device and a fourth SN from a fourth ONU device in a third time window, where the third SN is the same as the fourth SN; The OLT device sends third indication information, where the third indication information is used to indicate a conflict.
10. The method according to claim 9, characterized in that The third indication information is carried in the conflict feedback message.
11. The method according to claim 10, characterized in that The conflict feedback message also includes the third SN.
12. The method according to any one of claims 9 to 11, characterized in that The third indication information is specifically used to indicate SN conflict.
13. The method according to any one of claims 1 to 12, characterized in that The method further comprises: The OLT sends a first broadcast message and a second broadcast message, where the first broadcast message is used to instruct the inactivated ONU device to report the sequence number in the first time window, and the second broadcast message is used to instruct the inactivated ONU device to report the sequence number in the second time window, and the first time window and the second time window do not overlap.
14. A communication method, characterized in that: Applied to a first optical network unit (ONU) device, the method includes: The first ONU device sends a first sequence number SN to the optical line terminal OLT device in a first time window, where the first SN and a second SN are the same, and the second SN is sent by the second ONU device to the OLT device in a second time window, where the second time window is located after the first time window; The first ONU device receives first indication information and a first ONU identifier from the OLT device, where the first indication information indicates that the OLT device successfully allocates the first ONU identifier to the first ONU device; When the first ONU device fails authentication, The first ONU device receives second indication information and a second ONU identifier from the OLT device, where the second indication information indicates that the OLT device successfully allocates the second ONU identifier to the second ONU device, and the second ONU identifier is different from the first ONU identifier; The first ONU device jumps to an initial state based on the second indication information and the second ONU identifier.
15. The method according to claim 14, characterized in that The first indication information and the first ONU identifier are carried in a first allocate ONU identifier message.
16. The method according to claim 15, characterized in that The first allocating ONU identifier message also includes the first SN, where the first SN is used to indicate that the first ONU identifier is an identifier corresponding to the first ONU device.
17. The method according to any one of claims 14 to 16, characterized in that The second indication information and the second ONU identifier are carried in a second allocate ONU identifier message.
18. The method according to claim 17, characterized in that The second allocating ONU identifier message further includes the second SN, where the second SN is used to indicate that the second ONU identifier is an identifier corresponding to the second ONU device.
19. A communication method, characterized in that: Applied to a first optical network unit (ONU) device, the method includes: The first ONU device sends a first sequence number SN to the optical line terminal OLT device in a first time window, the first SN and the second SN are the same, and the second SN is sent by the second ONU device to the OLT device in the first time window; The first ONU device receives indication information from the OLT device, where the indication information indicates a conflict.
20. The method according to claim 19, characterized in that The indication information indicating a conflict includes that the indication information indicates an SN conflict.
21. The method according to claim 19 or 20, characterized in that The indication information is carried in the conflict feedback message.
22. The method according to claim 21, characterized in that The conflict feedback message further includes the SN, where the SN is used to indicate the SN conflict.
23. A communication device, characterized in that: include: A module for performing the method according to any one of claims 1 to 13, or a module for performing the method according to any one of claims 14 to 18, or a module for performing the method according to any one of claims 19 to 22.
24. A chip, characterized in that: The chip includes a processor and a communication interface, wherein the communication interface is used to receive data frames and transmit them to the processor or send data frames to other communication devices other than the communication device including the chip, and the processor is used to execute the method as described in any one of claims 1 to 13, or the method as described in any one of claims 14 to 18, or the method as described in any one of claims 19 to 22.
25. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which, when executed on a computer, cause the method according to any one of claims 1 to 13, or the method according to any one of claims 14 to 18, or the method according to any one of claims 19 to 22 to be executed.
26. A computer program product, characterized in that The computer program product comprises a computer program code, which causes the method according to any one of claims 1 to 13, or the method according to any one of claims 14 to 18, or the method according to any one of claims 19 to 22 to be performed when the computer program code is run on a computer.