Communication method, apparatus and passive optical network system

By assigning ONU identifiers based on authentication results during the ONU device activation process using OLT devices, the serial number conflict problem was resolved, improving the stability of the PON network and user experience, and ensuring the normal operation of the system.

CN120434539BActive Publication Date: 2026-03-27HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-08
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In passive optical networks, serial number conflicts exist in the ONU device activation process, causing normally functioning ONU devices to go offline or experience uplink conflicts, affecting system stability and user experience.

Method used

The OLT device receives the serial number of the ONU device and decides whether to assign an ONU identifier based on the authentication result, avoiding duplicate or conflicting identifier assignments. It uses a time window mechanism and instruction information to process the registration and activation process of the ONU device, ensuring system stability.

Benefits of technology

This effectively avoids uplink conflicts in ONU devices, improves the stability of the PON network and user experience, and ensures the continuous operation of normally functioning ONU devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434539B_ABST
    Figure CN120434539B_ABST
Patent Text Reader

Abstract

The application provides a communication method, device and PON system, which can solve the SN conflict problem in the PON network and improve the performance of the PON network system. The method comprises the following steps: an OLT device receives a first SN from a first ONU device in a first time window, allocates a first ONU identifier for the first ONU device, and then broadcasts and sends first indication information and the first ONU identifier, wherein the first indication information is used for indicating that the OLT device successfully allocates the first ONU identifier for the first ONU device. After that, the OLT device receives a second SN from a second ONU device in a second time window, and the second SN is the same as the first SN. The OLT device determines whether to allocate a second ONU identifier for the second ONU device based on an authentication result of the first ONU device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application, the original application's application number is 202410178203.3, the original application's original date is 2024-02-08, and the original application's entire content is incorporated by reference into the present application. TECHNICAL FIELD

[0002] The present application relates to the field of optical access, and more particularly, to a bandwidth adjustment method, device and passive optical network system. BACKGROUND

[0003] With the rapid increase of data traffic demand, the bandwidth required by service transmission also increases, which puts forward higher requirements on the capacity and rate of transmission network. The previous copper-based access network cannot meet the needs. Therefore, in the 1990s, passive optical network (PON) technology emerged as the times require. This large-capacity high-rate network access system has been continuously innovated and improved in the development process, and has been widely applied while completing standardization. The PON system includes an optical line terminal (OLT) device and at least one optical network unit (ONU) device. In the PON network, one PON interface of the OLT device can access multiple ONU devices. However, not all ONU devices can access the PON interface of the OLT device at will, only the ONU devices authenticated and activated by the OLT device can provide service to users. Currently, in the ONU device activation process, there are different ONU devices reporting the same serial number (SN) to the OLT device, and in addition, the SN of the ONU device that has been online is sent again by the ONU device that requests registration subsequently, the former causes uplink conflict of two ONU devices, and the latter may cause the ONU that works normally to be offline. Therefore, how to solve the above-mentioned possible conflict scenarios in the ONU registration and activation process is a problem to be solved. SUMMARY

[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 a component (for example, a chip, a chip system or a circuit) of the OLT device. The present application does not limit this. For ease of description, the following describes an example in which the OLT device executes the method. The method comprises: receiving, by the OLT device, a first serial number (SN) from a first optical network unit (ONU) device in a first time window; allocating, by the OLT device, a first ONU identifier for the first ONU device; sending, by the OLT device, first indication information and the first ONU identifier, the first indication information being used to indicate that the OLT device successfully allocates the first ONU identifier for the first ONU device; receiving, by the OLT device, a second SN from a second ONU device in a second time window, the second SN being the same as the first SN; and determining, by the OLT device, whether to allocate a second ONU identifier for the second ONU device based on an authentication result of the first ONU device.

[0006] Based on the above scheme, the present application determines whether to allocate a second ONU identifier for a second ONU device based on an authentication result of a first ONU device, thereby determining whether to continue a registration and activation process of the second ONU device. When the OLT device receives a configured SN again, the normal working ONU can be prevented from being offline, thereby improving the stability of the system and further ensuring the user experience.

[0007] In combination with the first aspect, in some implementations of the first aspect, the OLT device determines whether to allocate a second ONU identifier for the second ONU device based on the authentication result of the first ONU device, comprising: when the OLT device receives the second SN, the first ONU device does not complete the authentication, the OLT device does not allocate the second ONU identifier for 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 some implementations of the first aspect, the OLT device determines whether to allocate a second ONU identifier for the second ONU device based on the authentication result of the first ONU device, comprising: when the OLT device receives the second SN, the first ONU device completes the authentication, the OLT device determines that the first ONU device passes the authentication; the OLT device does not allocate the second ONU identifier for the second ONU device, and / or the OLT device does not send indication information indicating a conflict.

[0009] With reference to the first aspect, in some implementations of the first aspect, the OLT device determines whether to allocate a second ONU identifier for 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, and the OLT device determines that the first ONU device fails in authentication; the OLT device allocates a second ONU identifier for the second ONU device, the second ONU identifier being different from the first ONU identifier, the second ONU identifier being used to make the first ONU device return to an initial state; and the OLT device sends second indication information and the second ONU identifier, the second indication information being used to indicate that the OLT device successfully allocates the second ONU identifier for the second ONU device.

[0010] With reference to the first aspect, in some implementations of the first aspect, the first indication information and the first ONU identifier are carried in a first allocation ONU identifier message.

[0011] With reference to the first aspect, in some implementations of the first aspect, the first allocation ONU identifier message further includes the first SN, the first SN being used to indicate that the first allocation ONU identifier message is used to allocate an ONU identifier for a device corresponding to the first SN.

[0012] With reference to the first aspect, in some implementations of the first aspect, the second indication information and the second ONU identifier are carried in a second allocation ONU identifier message.

[0013] With reference to the first aspect, in some implementations of the first aspect, the second allocation ONU identifier message further includes the second SN, the second SN being used to indicate that the second allocation ONU identifier message is used to allocate an ONU identifier for a device corresponding to the second SN.

[0014] With reference to the first aspect, in some 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, the third SN being the same as the fourth SN; and the OLT device sends third indication information, the third indication information being used to indicate a conflict.

[0015] Based on the above scheme, when two ONU devices simultaneously report the same SN to the OLT device, the third indication information can be used to avoid uplink conflict of the ONU, so as to improve system stability and ensure user experience.

[0016] With reference to the first aspect, in some implementations of the first aspect, the third indication information is carried in a conflict feedback message.

[0017] With reference to the first aspect, in some implementations of the first aspect, the conflict feedback message further includes the third SN.

[0018] With reference to the first aspect, in some implementations of the first aspect, the third indication information is specifically used for indicating SN conflict.

[0019] With reference to the first aspect, in some implementations of the first aspect, the method further includes: sending, by the OLT, a first broadcast message and a second broadcast message, the first broadcast message being used for instructing an inactive ONU device to report a serial number in the first time window, the second broadcast message being used for instructing an inactive ONU device to report a serial number in the second time window, the first time window and the second time window being non-overlapping.

[0020] The second aspect provides a communication method, which can be executed by an ONU device or a component (for example, a chip, a chip system, or a circuit, etc.) of the ONU device, and the present application does not limit this. For ease of description, the following takes the ONU device as an example for description. The method includes: sending, by the first ONU device, a first serial number (SN) to an optical line terminal (OLT) device in a first time window, the first SN being the same as a second SN, the second SN being sent by a second ONU device to the OLT device in a second time window, the second time window being located after the first time window; receiving, by the first ONU device, first indication information and a first ONU identifier from the OLT device, the first indication information indicating that the OLT device successfully allocates the first ONU identifier for the first ONU device; when the first ONU device fails to pass authentication, receiving, by the first ONU device, second indication information and a second ONU identifier from the OLT device, the second indication information indicating that the OLT device successfully allocates the second ONU identifier for the second ONU device, the second ONU identifier being different from the first ONU identifier; and jumping, by the first ONU device, to an initial state based on the second indication information and the second ONU identifier.

[0021] Based on the above scheme, the first ONU device that fails to pass authentication can be offline through the second indication information and the second ONU identifier, thereby ensuring the stability of the system.

[0022] With reference to the second aspect, in some implementations of the second aspect, the first indication information and the first ONU identifier are carried in a first allocation ONU identifier message.

[0023] With reference to the second aspect, in some implementations of the second aspect, the first allocation ONU identifier message further includes the first SN, and the first SN is used to indicate that the first ONU identifier is an identifier corresponding to the first ONU device.

[0024] With reference to the second aspect, in some implementations of the second aspect, the second indication information and the second ONU identifier are carried in a second allocation ONU identifier message.

[0025] With reference to the second aspect, in some implementations of the second aspect, the second allocation ONU identifier message further includes the second SN, and the second SN is used to indicate that the second ONU identifier is an identifier corresponding to the second ONU device.

[0026] With reference to the third aspect, in some implementations of the third aspect, the indication information indicating the conflict includes that the indication information indicates SN conflict.

[0027] Based on the above scheme, when two ONU devices simultaneously report the same SN to an OLT device, the uplink conflict of the ONU can be avoided through the conflict indication information, so as to achieve the purposes of improving system stability and guaranteeing user experience.

[0028] With reference to the third aspect, in some implementations of the third aspect, the indication information indicating the conflict includes that the indication information indicates SN conflict.

[0029] With reference to the third aspect, in some implementations of the third aspect, the indication information is carried in a conflict feedback message.

[0030] With reference to the third aspect, in some implementations of the third aspect, the conflict feedback message further includes the SN, and the SN is used to indicate the SN conflict.

[0031] With reference to the fourth aspect, in some implementations of the fourth aspect, the communication apparatus is configured to perform the method in any one of the implementations of the first aspect. Specifically, the communication apparatus includes a processor configured to invoke and run a computer program, so that the communication apparatus performs the method in any one of the implementations of the first aspect. Optionally, the communication apparatus further includes a memory configured to store the computer program.

[0032] In a fifth aspect, an embodiment of the present application provides a communication apparatus. The communication apparatus is configured to perform the method in the second aspect or any of the possible implementation forms of the second aspect, or perform the method in the third aspect or any of the possible implementation forms of the third aspect. Specifically, the communication apparatus includes a processor configured to invoke and run a computer program, so that the communication apparatus performs the method in the second aspect or any of the possible implementation forms of the second aspect, or performs the method in the third aspect or any of the possible implementation forms of the third aspect. Optionally, the communication apparatus further includes a memory configured to store the computer program.

[0033] In a sixth aspect, an embodiment of the present application provides a communication apparatus. The communication apparatus is configured to perform the method in the first aspect or any of the possible implementation forms of the first aspect. Specifically, the communication apparatus can include units and / or modules (for example, a processing unit, a transceiver unit) configured to perform the method in the first aspect or any of the possible implementation forms of the first aspect.

[0034] In an implementation form, the communication apparatus can be an OLT device. The transceiver unit can be a transceiver, or an input / output interface. The processing unit can be at least one processor. Optionally, the transceiver can be a transceiving circuit. Optionally, the input / output interface can be an input / output circuit.

[0035] In another implementation form, the communication apparatus can be a chip, a chip system or a circuit in a device. In this case, the transceiver unit can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip, the chip system or the circuit; and the processing unit can be at least one processor, a processing circuit or a logic circuit.

[0036] In a seventh aspect, an embodiment of the present application provides a communication apparatus. The communication apparatus is configured to perform the method in the second aspect or any of the possible implementation forms of the second aspect, or perform the method in the third aspect or any of the possible implementation forms of the third aspect. Specifically, the communication apparatus can include units and / or modules (for example, a processing unit, a transceiver unit) configured to perform the method in the second aspect or any of the possible implementation forms of the second aspect, or perform the method in the third aspect or any of the possible implementation forms of the third aspect.

[0037] In an implementation form, the communication apparatus can be an ONU device. The transceiver unit can be a transceiver, or an input / output interface. The processing unit can be at least one processor. Optionally, the transceiver can be a transceiving circuit. Optionally, the input / output interface can be an input / output circuit.

[0038] In another implementation, the communication apparatus can be a chip, a chip system or a circuit in a device. In this case, the transceiving unit can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or related circuit on the chip, the chip system or the circuit; and the processing unit can be at least one processor, a processing circuit or a logic circuit.

[0039] In an eighth aspect, an embodiment of the present application provides a processor for executing the method provided in any one of the first aspect, the second aspect and the third aspect.

[0040] For the sending and obtaining / receiving operations involved in the processor, if no special description is given, or if it does not contradict the actual role or inherent logic in the related description, it can be understood as the processor output and receiving, input operations, and can also be understood as the sending and receiving operations performed by the radio frequency circuit and the antenna, and the present application does not limit this.

[0041] In a ninth aspect, an embodiment of the present application provides a computer program product containing instructions. When the computer program product runs on a computer, the computer is caused to execute the method provided in any one of the first aspect, the second aspect and the third aspect, and each aspect and any one of the implementation manners.

[0042] In a tenth aspect, an embodiment of the present application provides a PON system, which comprises the first communication device of the third aspect and the second communication device of the fourth aspect.

[0043] In an eleventh aspect, a chip is provided, which comprises a processor and a communication interface. The processor reads instructions through the communication interface and executes the method provided in any one of the first aspect, the second aspect and the third aspect, and each aspect and any one of the implementation manners.

[0044] Optionally, as an implementation manner, the chip further comprises a memory, which stores a computer program or instructions. The processor is configured to execute the computer program or instructions stored on the memory, and when the computer program or instructions are executed, the processor is configured to execute the method provided in any one of the first aspect, the second aspect and the third aspect, and each aspect and any one of the implementation manners.

[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. When the computer program runs on a communication apparatus, the communication apparatus executes the method provided in any one of the first aspect, the second aspect and the third aspect, and each aspect and any one of the implementation manners.

[0046] The technical effects of the fourth aspect to the twelfth aspect above can refer to the technical effects in the first aspect to the third aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0047] Figure 1 A PON system architecture diagram suitable for the embodiments of the present application.

[0048] Figure 2 An ONU device activation flowchart.

[0049] Figure 3 A communication method 300 provided by the embodiments of the present application.

[0050] Figure 4 A communication method for the first ONU device when the authentication is not completed and the authentication is completed provided by the embodiments of the present application.

[0051] Figure 5 A communication method 500 provided by the embodiments of the present application.

[0052] Figure 6 A communication device 600 provided by the embodiments of the present application.

[0053] Figure 7 A communication device 700 provided by the embodiments of the present application.

[0054] Figure 8 A communication device 800 provided by the embodiments of the present application.

[0055] Figure 9 A chip system 900 provided by the embodiments of the present application. DETAILED DESCRIPTION

[0056] The technical solutions in the present application will be described below with reference to the accompanying drawings.

[0057] In order to facilitate the understanding of the embodiments of the present application, the following explanations are made.

[0058] First, in the textual description of the embodiments of the present application shown below or the terms in the drawings, “first”, “second”, and the like as well as various numerical numbers are only for the convenience of description and do not limit the scope of the embodiments of the present application. For example, different indication information is distinguished, different ONU devices are distinguished, and the like.

[0059] Second, the terms "comprises", "comprising", "includes", "including", "has", "having", "contains", "containing", or any other variation thereof, used in the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a system, a product, or an apparatus that comprises, includes, has, contains, or contains one or more elements listed thereafter, can include other elements not listed explicitly or inherent to such system, product, or apparatus.

[0060] Third, in the embodiments of the present application, the words "exemplary" and "for example" are used only to illustrate or introduce examples, and the embodiments or designs described as "exemplary" or "for example" should not be construed as being more preferred or advantageous than other embodiments or designs. The words "exemplary" and "for example" are used to present the relevant concept in a specific manner, for ease of understanding.

[0061] Fourth, in the present application, "indication" can include direct indication, indirect indication, display indication, and implicit indication. When describing certain indication information for indicating A, it can be understood that the indication information carries A, directly indicates A, or indirectly indicates A.

[0062] Fifth, in the present application, "sending" and "receiving" represent 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 receiving 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 between devices, such as between OLT devices and ONU devices, or within a device, such as between components, modules, chips, software modules or hardware modules within a device through a bus, wire or interface.

[0063] Sixth, in the embodiments of the present application, "multiple" refers to two or more. The association relationship of the associated objects is described by "and / or", which means that there can be three relationships. For example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. "At least one (one)" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, and c can mean 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, and c can be single or multiple.

[0064] Seventh, in various embodiments of the present application, the terms and / or descriptions of different embodiments have consistency and can be referred to each other if there is no special description and logical conflict, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0065] Figure 1A first PON system architecture applicable to embodiments of the present application is shown in FIG. 1. PON technology is a point-to-multipoint fiber access technology. A 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 master FTTR unit (MFU) in a fiber to the room (FTTR) system, and the slave device can be an ONU, an optical network termination (ONT), or a sub FTTR unit (SFU) in the FTTR system. 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 and is connected to a network-side device (such as a switch or a router) at the upper layer and one or more ODN devices at the lower layer. Generally, the OLT device is usually located in a center office (CO), and the ONU device is located in or near a user's home. The ONU device provides a user-side interface and is connected to the ODN device. If the ONU device also provides a user interface function, such as an Ethernet user interface or a plain old telephone service (POTS) user interface, it is referred to as an optical network termination (ONT). The ODN device includes a passive optical splitter for optical power distribution, a trunk fiber connected between the passive optical splitter and the OLT, and branch fibers connected between the passive optical splitter and the ONU devices. When transmitting downstream data, the ODN device transmits the downstream data from the OLT to each ONU device through the optical splitter. When transmitting upstream data, the ODN device combines the upstream data from multiple ONU devices into one optical signal using time division multiplexing (TDM). The principle is to divide the upstream transmission time into a plurality of time slots Ti (i = 1, 2, 3, …, 32, …), and in each time slot, only one ONU device is arranged to transmit data to the OLT in the form of packets. Each ONU device sends data in turn according to the order specified by the OLT. TDM requires the OLT to determine the distance to each ONU device and strictly regulate the transmission timing of each ONU device. Each ONU device obtains timing information from the downstream signal transmitted by the OLT and transmits upstream packet data in the time slot specified by the OLT, thereby avoiding conflicts between ONU devices.

[0066] It can be understood that, Figure 1Just a schematic diagram, other devices can also be included in the PON system, such as wavelength division devices, more ONU devices, etc., which are not drawn in Figure 1

[0067] Figure 2 A second PON system architecture applicable to embodiments of the present application is shown in the schematic diagram. The above-mentioned Figure 1 The FTTR network and the FTTH network can be regarded as a cascaded PON system. The OLT in the FTTH is deployed in the central machine room, and the ONU is deployed in the information box of the home. The master device in the FTTR can be deployed in the information box of the home instead of the ONU in the FTTH. The master device has similar functions to the OLT in the FTTH scenario, and can also have similar functions to the ONU in the FTTH scenario. That is to say, the master device in the FTTR is a device with OLT and ONU functions, which can serve as a network device between FTTH and FTTR. The slave device in the FTTR can be deployed in each room of the home to connect with the user terminal. The slave device and the ONU in the FTTH are similar network devices in nature.

[0068] In order to better understand the technical solutions of the present application, the activation mechanism of the ONU device related to the technical solutions of the present application is briefly introduced.

[0069] ​The activation process of the ONU is divided into three steps: parameter learning, serial number acquisition and ranging. Specifically, in the parameter learning step, the ONU device remains passive to obtain the operating parameters for uplink transmission; in the serial number acquisition step, the OLT device discovers the new ONU device through the serial number of the new ONU device and then assigns an ONU ID to the new ONU device. In the ranging step, after the OLT device receives the ranging response message of the ONU device, the loop delay (RTD) of the ONU device is calculated according to the sending time of the ranging request message and the arrival time of the ranging response message, and then the equalization delay (EQD) of the ONU is calculated according to the sending time of the ranging request message, the arrival time of the ranging response message, the response processing time of the ONU and the system reference equalization delay and is sent to the ONU. The ONU device has seven states in the entire activation process, namely, the initial state (also referred to as O1 state), the standby state (also referred to as O2 state), the serial number state (also referred to as O3 state), the ranging state (also referred to as O4 state), the operation state (also referred to as O5 state), the popup state (also referred to as O6 state) and the emergency stop state (also referred to as O7 state).

[0070] Currently, the unactivated ONU device in the O3 state sends the SN to the OLT device within the time window set by the OLT device. However, in some scenarios, multiple different ONU devices may simultaneously send the same SN to the OLT for registration, and in addition, there is a scenario in which the OLT device receives again a SN that is the same as the SN of an ONU that has been online, which may cause the offline of the normally working ONU or the uplink conflict of the ONU.

[0071] In view of this, the present application proposes a communication method which can be applied in the activation process of the ONU device, solves the conflict scenario in the activation process, thereby improving the stability of the PON network, and further ensures the performance of the PON network.

[0072] The method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments provided by the present application can be applied in the PON network shown in the above Figure 1 without limitation.

[0073] In the following embodiments, the OLT device and the ONU device are exemplarily illustrated. The OLT device can be replaced by a component (e.g., a chip or a circuit) of the OLT device, and the ONU device can be replaced by a component (e.g., a chip or a circuit) of the ONU device.

[0074] Figure 3 A schematic diagram of a first communication method 300 provided by the embodiments of the present application is shown. Figure 3 A schematic flow of information interaction between the OLT device and the first ONU device and the second ONU device is shown in FIG. 3, Figure 3 The method 300 shown can include the following steps.

[0075] S301, the first ONU device sends a first SN to the OLT device in a first time window.

[0076] It should be noted that the first time window is a first time period configured by the OLT device for the unactivated ONU device to send the SN. Meanwhile, the present application does not limit the message carrying the first SN, and 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 for the first ONU device.

[0078] Specifically, after the OLT device receives the first SN from the first ONU device, the OLT device determines that the first SN is a new SN, i.e., the first SN has no associated ONU ID, or the OLT device has not allocated an ONU ID to the ONU device corresponding to the first SN, then the OLT device allocates a first ONU identifier to the first ONU device, and meanwhile, the OLT device corresponds the first SN to the first ONU identifier.

[0079] S303, the OLT device sends first indication information and the first ONU identifier, and the first indication information is used to indicate that the OLT device successfully allocates the first ONU identifier for the first ONU device.

[0080] Specifically, after the OLT device allocates the first ONU identifier to the first ONU device, the OLT device sends the first ONU identifier and the first indication information through a first message. The first message also includes a first SN, and the first SN carried in the first message is used to indicate that the first message is used to allocate an ONU identifier to a device corresponding to the first SN. It should be noted that the first message carrying the first ONU identifier and the first indication information is not limited in the present application. Alternatively, the first message carrying the first ONU identifier and the first indication information is an Assign ONU ID message. For example, 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 according to the first SN, and obtain the corresponding first ONU identifier.

[0081] S304, the OLT device receives a second SN from the second ONU device in a second time window, the second SN being the same as the first SN.

[0082] Specifically, the second time window is a second time period configured by the OLT device for an inactive ONU device to send an SN. Alternatively, the second SN is carried in a 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 the second time window 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 an 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 by the OLT device, the first ONU device will continue the activation process. When the OLT device receives the second SN from the second ONU device, there can be two scenarios for the first ONU device. In the first scenario, the first ONU device has not completed authentication, or in another scenario, the first ONU device has completed authentication. Therefore, in combination with the authentication result of the first ONU device, the OLT device determines whether to allocate a second ONU identifier to the second ONU device. Figure 4 The above two scenarios are described in detail.

[0085] As shown in Figure 4 If the OLT device receives the second SN from the second ONU device when the first ONU device has not completed authentication, the OLT device performs 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 fails to complete the authentication, the OLT device cannot determine whether the first ONU device is legitimate and whether the first ONU device can be registered and activated, and therefore, the OLT device continues 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 indication information indicating a conflict, or the OLT device does not allocate a second ONU identifier to the second ONU device and does not send indication information indicating a conflict.

[0088] If the OLT device receives the second SN, the first ONU device completes the authentication, at this time, the OLT device performs different information interactions with the first ONU device and the second ONU device according to the authentication result of the first ONU device. The following is a detailed description according to the first ONU device passing the authentication and the first ONU device failing to pass the authentication.

[0089] In some embodiments, when the first ONU device passes the authentication, the OLT device performs the following S402-S403.

[0090] S402, the OLT device determines that the first ONU device passes the authentication.

[0091] Specifically, when the OLT device completes the ranging on the first ONU device, so that the first ONU device enters the state O5, it indicates that the first ONU device passes 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 passes the authentication, the OLT device corresponds the first SN to the first ONU identifier, and considers that the second ONU device is invalid, and refuses the registration of the second 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 indication information indicating a conflict, or the OLT device does not allocate a second ONU identifier to the second ONU device and does not send indication information indicating a conflict.

[0094] In other embodiments, when the first ONU device fails to pass the authentication, the OLT device performs the following S404-S407 with the first ONU device.

[0095] S404, the OLT device determines that the first ONU device fails to pass the authentication.

[0096] It should be noted that the present application does not limit the method of the OLT device authenticating the first ONU device, specifically, the specific determination process of the OLT device authenticating the ONU device can refer to related technologies, which will not be described here.

[0097] S405, the OLT device allocates a second ONU identifier for the second ONU device.

[0098] Specifically, when the OLT device determines that the authentication of the first ONU device fails, the OLT device considers that the first ONU device is not a legal ONU device, at this time, the OLT device allocates a second ONU identifier for the second ONU device. It should be noted that the second ONU identifier is different from the first ONU identifier, and the second ONU identifier is used to make the first ONU device return to the initial state (i.e. O1 state).

[0099] S406, the OLT device sends 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 for the second ONU device.

[0100] S407, the first ONU device jumps to the 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 a second message, and the second message also includes a second SN, and the second SN carried in the second message is used to indicate that the second message is used to allocate an ONU identifier for a 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, and when the first ONU device receives the second message according to the second SN, the first ONU device obtains the second ONU identifier after parsing the second message, 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 state.

[0102] It should be noted that in the present application, the authentication of the ONU device is passed, which can also be understood as the identity of the ONU device is legal, that is, the ONU device can access the PON interface of the OLT device, can be managed by the OLT device, and can realize uplink and downlink data transmission with the OLT device. Correspondingly, the authentication of the ONU device is not passed, which can also be understood as the identity of the ONU device is not legal, 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, Figure 3The method is described by taking two ONU devices as an example. When the PON network has more ONU devices, for example, a third ONU device sends the same SN as the first SN or the second SN on a third time window, the interaction process between the OLT device and the third ONU device can refer to the description in the above Figure 4 , that is, the interaction process between the OLT device and the third ONU device is similar to the interaction process between the OLT device and the second ONU device. For example, when the OLT device receives the same SN sent by the third ONU device, the OLT device does not send the indication information indicating the conflict during the waiting for the authentication result of the first ONU device, and / or allocates an identifier for the second ONU device and the third ONU device. For example, when the authentication of the first ONU device fails (that is, 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 does not send the indication information indicating the conflict, and / or allocates an identifier for the third ONU device. If the authentication of the second ONU device fails, the OLT device allocates a third identifier for the third ONU device. At this time, the second ONU device will jump to the state according to the third identifier, which will not be described 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, and the first broadcast message is used to instruct the inactive ONU device to report a serial number on a first time window.

[0106] Specifically, the OLT device broadcasts a first broadcast message downward, and the first broadcast message carries the first time window, so that the first ONU device receives the first broadcast message and sends the first SN on the first time window according to the first broadcast message. The first broadcast message is not limited in the application, and the first broadcast message is a serial number request (SN_Request) message. When the first ONU receives the first SN_Request message, a random delay time is generated. After the random delay time is over, the first SN is responded to the OLT device through the first Serial_Number_ONU PLOAM message.

[0107] S307, the OLT device sends a second broadcast message, and the second broadcast message is used to instruct the inactive ONU device to report a serial number on a second time window.

[0108] Specifically, the OLT device broadcasts a second broadcast message downwardly, the second broadcast message carrying a second time window, so that the second ONU device, after receiving the second broadcast message, sends a second SN on the second time window according to the second broadcast message. Optionally, the second broadcast message is an SN_Request message. When the second ONU receives the second SN_Request message, a random delay time is generated, and after the random delay time expires, the second SN is responded to the OLT device through a second Serial_Number_ONU PLOAM message.

[0109] Based on the above scheme, the present application determines whether to allocate a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, so as to determine whether to continue the registration and activation process of the second ONU device. When the OLT device receives a SN that has been configured again, the normal working ONU can be avoided to be offline, so as to improve the stability of the system, and further to ensure the user experience.

[0110] Figure 5 A schematic diagram of a second communication method 500 provided by an embodiment of the present application is shown. Figure 5 The schematic flow of information interaction between the OLT device and the first ONU device and the second ONU device is shown in FIG. Figure 5 The method 500 shown can include the following steps.

[0111] S501, the first ONU device sends a first SN to the OLT device in a first time window, and the second ONU device sends a second SN to the OLT device in the first time window, the first SN being 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 a Serial_Number_ONU PLOAM message sent by the first ONU device, and the second SN is carried in a Serial_Number_ONU PLOAM message sent by the first ONU device.

[0113] S502, the OLT device sends third indication information, the third indication information being 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 in the first time window at the same time, the OLT device considers that the first ONU device and the second ONU device conflict. At this time, the OLT device does not allocate an ONU identifier to the first ONU device and the second ONU device, but sends third indication information indicating a conflict.

[0115] It should be noted that the message carrying the third indication information is not limited in the present application, and the third indication information is carried in a collision feedback message. It can be understood that when the third indication information is carried in the collision feedback message, the indication field including the third indication information in the collision feedback message can include a plurality of bits. For example, if the indication field occupies 2 bits, 00 indicates that the evaluation cannot be performed, 01 indicates that there is no uplink signal, 10 indicates successful allocation, and 11 indicates collision. Alternatively, the third indication information is specifically used to indicate SN collision, and in this case, a certain fixed bit of the plurality of bits included in the indication field carrying the third indication information can be used to indicate that the collision is SN collision, and the certain fixed bit can be the highest bit or the lowest bit, which is not limited in the present application. For example, if the indication field occupies 3 bits, when the highest bit is used to indicate that the collision is SN collision, for example, the highest bit is 1 to indicate that the collision is SN collision, and the highest bit is 0 to indicate that the collision is not SN collision, the remaining two bits are used to indicate different situations, for example, 111 indicates SN collision, and 011 indicates collision but not SN collision.

[0116] It can be understood that the message carrying the third indication information further 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 the uplink collision 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, and the third broadcast message is used to instruct the inactive ONU device to report a serial number in a first time window.

[0119] Specifically, the OLT device sends the third broadcast message downward, and the third broadcast message carries the first time window, so that the first ONU device and the second ONU device send the SN in the first time window according to the third broadcast message after receiving the third broadcast message. The third broadcast message is not limited in the present application, and the third broadcast message is an SN_Request message.

[0120] It should be noted that after the first and second ONU devices receive the third instruction information, they will each generate a random delay time. Once their respective random delay times expire, they can request the registration and activation process from the OLT device again. Because the random delay times of the first and second ONU devices are different, the probability of them simultaneously reporting the same SN to the OLT next time will be greatly reduced. This avoids uplink conflicts between ONUs, thereby improving system stability and ensuring a better user experience.

[0121] Regarding the above Figure 3 to Figure 5 In the embodiments described, it should be noted that:

[0122] (1) The step numbers of the flowcharts described in the embodiments are only examples of the execution flow and do not constitute a restriction on the order of execution of the steps. There is no strict execution order between steps that have no temporal dependency relationship with each other in the embodiments of this application. In addition, not all steps shown in the flowcharts are mandatory steps. Some steps can be added or deleted based on the actual needs of each flowchart.

[0123] (2) In the various embodiments of this application, unless otherwise specified or logically conflicting, the terminology and / or descriptions between different embodiments are consistent and can be referenced mutually. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships. The above... Figure 3 to Figure 5 The embodiments can be implemented independently or in combination, for example... Figure 3 The illustrated embodiments and Figure 5 The illustrated embodiments are combined with each other. When the OLT device first receives the first SN in the first time window and then receives the second SN in the second time window, at this time, Figure 3 The illustrated embodiments and Figure 5 The combination of the illustrated embodiments can be that the OLT device receives the same SN sent from the third ONU device and the fourth ONU device in a third time window and performs the steps included in method 500; or, the OLT device receives the same first SN and second SN sent from the first ONU device and the second ONU device in a first time window, in which case, Figure 3 The illustrated embodiments and Figure 5 The combination of the illustrated embodiment may be that the OLT device receives a third SN from a third ONU device in a second time window, and the OLT device receives a fourth SN, which is the same as the third SN, sent by a fourth ONU device in a fourth time window, and performs the steps included in method 300.

[0124] (3) The above embodiments use some messages and parameters in the PON system in the description, but in the specific implementation, different messages or message names can 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 taken as examples for illustrative description (OLT device, ONU device), and it should be understood that the specific form of the device is not limited by the embodiments of the present application. For example, devices that can achieve the same function in the future are also applicable to the embodiments of the present application.

[0125] (4) In each of the above method embodiments, the method and operation implemented by the device (such as the OLT device and the ONU device) can also be implemented by a component (such as a chip or a circuit) of the device, and is not limited.

[0126] The above, combined with Figure 3 to Figure 5 The method provided by the embodiments of the present application is described in detail. Hereinafter, combined with Figure 6 to Figure 9 The device and chip system provided by the embodiments of the present application are described in detail. It should be understood that the description of the device embodiment corresponds to the description of the method embodiment, therefore, the content not described in detail can be referred to the method embodiment described above, and for the sake of brevity, it is not described here.

[0127] The above Figure 3 to Figure 5 The communication method is mainly introduced from the perspective of the interaction between the OLT device and the ONU device. It can be understood that the OLT device and the ONU device contain the corresponding hardware structure and / or software module for executing each function in order to achieve the above functions.

[0128] It can be understood that in order to achieve the functions in the above embodiments, the OLT device and the ONU device include the corresponding hardware structure and / or software module for executing each function. Those skilled in the art should easily realize that the units and method steps of each example described in combination with the embodiments disclosed in the present application can be realized in the form of hardware or hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application scene and design constraints of the technical solution.

[0129] Figure 6 A schematic block diagram of a communication device 600 provided by the embodiments of the present application is shown. For example, it is Figure 1The illustrated OLT device can also be a module (such as a chip) applied to the OLT device. Specifically, the communication apparatus 600 includes a receiving module 601, which can be configured to perform the corresponding receiving function. The receiving module 601 can also be referred to as a receiving unit. The communication apparatus 600 further includes a processing module 602, which can be configured to perform the corresponding processing function. The communication apparatus 600 further includes a sending module 603, which can be configured to perform the corresponding sending function. The sending module 603 can also be referred to as a sending unit. The receiving module 601 and the sending module 603 can also be referred to as a communication interface or a communication unit.

[0130] Optionally, the communication apparatus 600 further includes a storage unit, which can be configured to store instructions and / or data. The processing module 602 can read the instructions and / or data in the storage unit, so that the communication apparatus 600 performs the actions of the OLT device in the foregoing various method embodiments.

[0131] The communication apparatus 600 can be configured to perform the actions performed by the OLT device in the foregoing method embodiments 300 to 500. In this case, the communication apparatus 600 can be a component of the OLT device. The receiving module 601 is configured to perform the receiving-related operations of the OLT device in the foregoing method embodiments. The processing module 602 is configured to perform the processing-related operations of the OLT device in the foregoing method embodiments 300 to 500. The sending module 603 is configured to perform the sending-related operations of the OLT device in the foregoing method embodiments 300 to 500.

[0132] In one embodiment, the communication apparatus 600 can be configured to perform the operations of the OLT device described above in the foregoing method embodiments. For example: Figure 3 to Figure 5

[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 an authentication result of the first ONU device.

[0135] The sending module 603 is configured to send first indication information and the 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 processes by which the modules perform the corresponding steps described above have been described in detail in the foregoing method embodiments. For brevity, they will not be described again here. ​

[0137] In addition, the receiving module 601, processing module 602 and transmitting module 603 in the communication device 600 can 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 can 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 can be interface circuits, pins, etc. Specifically, the interface circuit can include input circuits and output circuits, wherein the receiving module 601 can include input circuits, the transmitting module 603 can include output circuits, and the processing module 602 can include processing circuits.

[0139] Figure 7 This is a schematic block diagram of a communication device 700 provided in an embodiment of this application. For example, it is as follows: Figure 1 One of the ONU devices shown can also 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 corresponding receiving functions. 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 corresponding processing functions. The communication device 700 also includes a transmitting module 703, which can be used to implement corresponding transmitting functions. The transmitting module 703 can also be called a transmitting unit. The receiving module 701 and the transmitting module 703 can also be called a communication interface or a communication unit.

[0140] Optionally, the communication device 700 further includes a storage unit, which can be used to store instructions and / or data. The processing module 702 can read the instructions and / or data in the storage unit so that the communication device 700 can perform the operation of the ONU device in the aforementioned method embodiments.

[0141] The communication device 700 can be used to perform the actions performed by the ONU device in the above method embodiments 300 to 500. In this case, the communication device 700 can be a component of the ONU device. The receiving module 701 is used to perform the receiving-related operations of the ONU device in the above method embodiments. The processing module 702 is used to perform the processing-related operations of the ONU device in the above method embodiments 300 to 500. The sending module 703 is used to perform the sending-related operations of the ONU device in the above method embodiments 300 to 500.

[0142] In one embodiment, the communication device 700 can be used to perform the above. Figure 3 to Figure 5 Operation of the ONU device. For example:

[0143] The receiving module 701 is configured to receive first indication information and a first ONU identifier from an OLT device. The first indication information indicates that the OLT device successfully allocates the first ONU identifier for a first ONU device. The receiving module 701 is further configured to receive second indication information and a second ONU identifier from the OLT device. The second indication information indicates that the OLT device successfully allocates the second ONU identifier for a second ONU device. The second ONU identifier is different from the first ONU identifier.

[0144] The processing module 702 is configured to jump to an 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 a first time window. The first SN is the same as a second SN. The second SN is sent by the second ONU device to the OLT device in a second time window. The second time window is located after the first time window.

[0146] It should be understood that the specific processes in which the modules perform the corresponding steps described above have been described in detail in the method embodiments described above. For brevity, the details will not be described here.

[0147] In addition, the receiving module 701, the processing module 702, and the sending module 703 in the communication apparatus 700 can also implement other operations or functions of the ONU device in the method described above, which will not be described here.

[0148] Optionally, the communication apparatus 700 can be a device including the ONU device, or a component configured in the ONU device, for example, a chip of the ONU device. In this case, the receiving module 701 and the sending module 703 can be interface circuits, pins, etc. Specifically, the interface circuit can include an input circuit and an output circuit. The receiving module 701 can include the input circuit, the sending module 703 can include the output circuit, and the processing module 702 can include a processing circuit.

[0149] Figure 8 A schematic structural diagram of a communication apparatus 800 is provided for the embodiments of the present application. The communication apparatus 800 includes a processor 801 and a transceiver 802. The transceiver 802 is configured to interact with information through a transmission medium. Optionally, the transceiver 802 can be an interface, a bus, a circuit, or an apparatus capable of realizing the functions of receiving and sending. Optionally, the devices in the transceiver 802 used to realize the receiving function can be regarded as a receiving module, and the devices in the transceiver 802 used to realize the sending function can be regarded as a sending module. That is, the transceiver 802 includes a receiver and a transmitter.

[0150] The transceiver 802 may also be called a transceiver unit, transceiver module, or transceiver circuit. The receiver may also be called a receiver unit, receiver module, or receiver circuit. The transmitter 802 may also be called a transmitter, transmitter module, or transmitter circuit.

[0151] For example, in one embodiment, the processor 801 is configured for other operations or functions of the OLT device's chip. The transceiver 802 is used to enable the exchange of information between the communication device 800 and the ONU device.

[0152] In another embodiment, the processor 801 is configured for other operations or functions of the ONU device's chip. The transceiver 802 is used to enable information exchange between the communication device 800 and the OLT device.

[0153] The communication device 800 may further include a memory 803 for storing computer programs or instructions and / or data. The memory 803 is coupled to a processor 801, which executes the computer programs or instructions and / or data stored in the memory 803, causing one of methods 300 to 500 in the above method embodiments to be executed. The coupling in the embodiments of this application is an indirect coupling or communication connection between devices, units, or modules, which may be electrical, mechanical, or other forms, for information exchange between devices, units, or modules. The processor 801 may operate in conjunction with the memory 803.

[0154] Optionally, the communication device 800 may include one or more processors 801 and one or more memory 803.

[0155] Alternatively, the memory 803 may be integrated with the processor 801 or set separately.

[0156] This application embodiment does not limit the specific connection medium between the processor 801, transceiver 802, and memory 803. This application embodiment... Figure 8 The processor 801, transceiver 802, and memory 803 are connected via a bus 804. Figure 8 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The bus can be divided into address bus, data bus, control bus, etc.

[0157] It should be understood that, for ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0158] Figure 9A schematic diagram of a chip system 900 is provided for embodiments of the present application. The chip system 900 (or also referred to as a processing system) comprises a logic circuit 910 and an input / output interface 920.

[0159] The logic circuit 910 can be a processing circuit in the chip system 900. The logic circuit 910 can be coupled to a storage unit, and invoke instructions in the storage unit, so that the chip system 900 can implement the methods and functions of embodiments of the present application. The input / output interface 920 can be an input / output circuit in the chip system 900, and output processed information of the chip system 900, or input data or signaling information to be processed into the chip system 900 for processing.

[0160] Optionally, the logic circuit 910 can be implemented by one or more processors, including the one or more processors or processing portions in the one or more processors.

[0161] Optionally, the input / output interface 920 can include a transceiver, a transceiver, an input / output circuit or a communication interface.

[0162] As an option, the chip system 900 is configured to implement operations performed by the OLT device or the ONU device in the above various method embodiments.

[0163] Specifically, the logic circuit 910 is configured to implement processing-related operations performed by the OLT device or the ONU device in the above method embodiments; and the input / output interface 920 is configured to implement sending and / or receiving-related operations performed by the OLT device or the ONU device in the above method embodiments.

[0164] Embodiments of the present application also provide a computer readable storage medium having stored thereon computer instructions for implementing the method performed by the OLT device or the ONU device in the above various method embodiments.

[0165] For example, the computer program is executed by a computer, so that the computer can implement the method performed by the OLT device or the ONU device in the above various method embodiments.

[0166] Embodiments of the present application also provide a computer program product comprising instructions, which, when executed by a computer, implement the method performed by the OLT device or the ONU device in the above various method embodiments.

[0167] Embodiments of the present application also provide a PON system, which comprises the ONU device and / or the OLT device in the above various embodiments. For example, the system comprises Figure 1 the ONU device and the OLT device in the above various embodiments.

[0168] The explanations and beneficial effects of the related content in any of the above-provided devices can refer to the corresponding method embodiments provided above, which will not be repeated here.

[0169] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the above-described device embodiments are only schematic, and the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0170] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented 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, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. 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 site, computer, server or data center to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk (SSD), etc. For example, the foregoing available media includes but is not limited to: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. Various media that can store program codes.

[0171] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A communication method, characterized in that, The method, applied to optical line terminal (OLT) equipment, includes: The OLT device receives a first serial number SN from the first optical network unit (ONU) device; The OLT device assigns a first ONU identifier to the first ONU device; The OLT device sends a first indication message and the first ONU identifier, wherein 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 the second ONU device, and the second SN is the same as the first SN. The OLT device determines whether to assign a second ONU identifier to the second ONU device based on the authentication result of the first ONU device; The OLT device determines whether to assign a second ONU identifier to the second ONU device based on the authentication result of the first ONU device, including: When the OLT device determines that the first ONU device has passed authentication. The OLT device does not assign a second ONU identifier to the second ONU device; When the OLT device determines that the authentication of the first ONU device has failed. The OLT device sends a second indication message and a second ONU identifier. The second indication message is used to indicate that the OLT device has successfully assigned the second ONU identifier to the second ONU device. The second ONU identifier is used to return the first ONU device to its initial state. The second ONU identifier is different from the first ONU identifier.

2. The method according to claim 1, characterized in that, The OLT device receives the first SN in a first time window, and the OLT device receives the second SN in a second time window; The second time window is located after the first time window.

3. The method according to claim 1 or 2, characterized in that, The first indication information and the first ONU identifier are carried in the first ONU identifier allocation message.

4. The method according to claim 3, characterized in that, The first allocation ONU identifier message also includes the first SN.

5. The method according to claim 3, characterized in that, The second indication information and the second ONU identifier are carried in the second ONU identifier allocation message.

6. The method according to claim 5, characterized in that, The second allocation ONU identifier message also includes the second SN.

7. The method according to claim 1 or 2, 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, wherein the third SN is the same as the fourth SN. The OLT device sends a third indication message, which is used to indicate a conflict.

8. The method according to claim 7, characterized in that, The third SN is carried in the conflict feedback message.

9. The method according to claim 7, characterized in that, The third indication information is specifically used to indicate SN conflict.

10. The method according to claim 1 or 2, characterized in that, The method further includes: The OLT sends a first broadcast message and a second broadcast message. The first broadcast message is used to instruct an inactive ONU device to report its serial number in a first time interval, and the second broadcast message is used to instruct an inactive ONU device to report its serial number in a second time interval. The first time interval and the second time interval do not overlap.

11. A communication method, characterized in that, The method, applied to a first optical network unit (ONU) device, includes: The first ONU device sends a first serial number (SN) to the optical line terminal (OLT) device. The first SN and the second SN are the same. The second SN is sent by the second ONU device to the OLT device after the first ONU device sends the first SN. The first ONU device receives a first indication message and a first ONU identifier from the OLT device. The first indication message indicates that the OLT device has successfully assigned the first ONU identifier to the first ONU device. When the first ONU device authentication fails The first ONU device receives a second indication information and a second ONU identifier from the OLT device. The second indication information indicates that the OLT device has successfully assigned the second ONU identifier to the second ONU device. The second ONU identifier is different from the first ONU identifier. The first ONU device jumps to the initial state.

12. The method according to claim 11, characterized in that, The first indication information and the first ONU identifier are carried in the first ONU identifier allocation message.

13. The method according to claim 12, characterized in that, The first allocation ONU identifier message also includes the first SN.

14. The method according to any one of claims 11 to 13, characterized in that, The second indication information and the second ONU identifier are carried in the second ONU identifier allocation message.

15. The method according to claim 14, characterized in that, The second allocation ONU identifier message also includes the second SN.

16. A communication device, characterized in that, include: A module for performing the method as described in any one of claims 1 to 10, or a module for performing the method as described in any one of claims 11 to 15.

17. A chip, characterized in that, The chip includes a processor and a communication interface, the communication interface being used to receive data frames and transmit them to the processor or to send data frames to other communication devices other than the communication device including the chip, the processor being used to perform the method as described in any one of claims 1 to 10, or the method as described in any one of claims 11 to 15.

18. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the method as claimed in any one of claims 1 to 10, or the method as claimed in any one of claims 11 to 15.

19. A computer program product, characterized in that, The computer program product includes computer program code that, when run on a computer, causes the method as claimed in any one of claims 1 to 10, or the method as claimed in any one of claims 11 to 15.

Citation Information

Patent Citations

  • Registration method of ONU in GPON system

    CN101783808A

  • A method and system for identifying malicious optical network units

    CN102271293A

  • Optical line terminal and method of registering optical network terminal thereof

    US20140178072A1