Communication method and apparatus, and passive optical network system
Patent Information
- Application Number
- TW114104657
- Authority / Receiving Office
- TW · TW
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2024-02-08
- Filing Date
- 2025-02-07
- Publication Date
- 2026-08-11
- Estimated Expiration
- 2045-02-06
AI Technical Summary
In passive optical network (PON) systems, conflicts arise during the ONU startup process due to multiple ONUs reporting the same serial number (SN) or an already online ONU's SN being retransmitted, leading to upstream conflicts and offline functioning ONUs.
The OLT device determines whether to assign a second ONU identifier to a second ONU device based on the authentication result of a first ONU device, avoiding conflicts by managing identifier allocation and indicating conflicts through specific indication information.
This approach enhances system stability and user experience by preventing normal ONUs from going offline and resolving SN conflicts during the registration process.
Smart Images

Figure TWG2TB001905601_001 
Figure TWG2TB001905601_002 
Figure TWG2TB001905601_003
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical access, and more specifically, to a method and device for adjusting bandwidth and a passive optical network system. Prior Art
[0002] 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, and the previous copper-based access networks are no longer able to meet these requirements. Consequently, in the 1990s, passive optical network (PON) technology emerged. This high-capacity, high-speed network access system has undergone continuous innovation and improvement throughout its development, and has achieved widespread adoption following 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 the OLT can connect to multiple ONUs. However, not all ONUs can freely connect to the OLT's PON interface. Only ONUs that have been authenticated and activated by the OLT can provide services to users. Currently, during the ONU startup process, different ONUs may report the same serial number (SN) to the OLT. Furthermore, the SN of an already online ONU may be retransmitted by a subsequent ONU requesting registration. The former can cause upstream conflicts between two ONUs, while the latter can cause a functioning ONU to go offline. Therefore, resolving these potential conflicts during the ONU registration and startup process is a critical issue. Summary of the Invention
[0003] The present application provides a communication method, device, and passive optical network system, which can solve the SN conflict problem in a PON network and improve the performance of the PON network system.
[0004] In a first aspect, embodiments of the present application provide a communication method. This method can be performed by an OLT device or by a component of the OLT device (e.g., a chip, chip system, or circuit). This application does not limit this. For ease of description, the following description uses an OLT device as an example. 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 assigns a first ONU identifier to the first ONU device; the OLT device sends first indication information and the first ONU identifier, the first indication information indicating that the OLT device has successfully assigned 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; and 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.
[0005] Based on the above scheme, the present 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 startup process of the second ONU device. This can avoid the normal working ONU from going offline when the OLT device receives a configured SN again, thereby improving the stability of the system and ensuring the user experience.
[0006] 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.
[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 completes authentication, and the OLT device determines that the first ONU device has passed 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 authentication, and the OLT device determines that the first ONU device fails 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 second indication information and the second ONU identifier, the second indication information being used to indicate that the OLT device successfully allocated the second ONU identifier to the second ONU device.
[0009] In combination with the first aspect, in certain implementations of the first aspect, the first indication information and the first ONU identifier are carried in a first allocate ONU identifier message.
[0010] In combination with the first aspect, in some implementations of the first aspect, the first allocated ONU identifier message also includes the first SN, and the first SN is used to indicate that the first allocated ONU identifier message is used to allocate an ONU identifier for a device corresponding to the first SN.
[0011] 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.
[0012] In combination with the first aspect, in some implementations of the first aspect, the second ONU identifier allocation message also includes the second SN, and the second SN is used to indicate that the second ONU identifier allocation message is used to allocate an ONU identifier for the device corresponding to the second SN.
[0013] 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, where the third SN is the same as the fourth SN; and the OLT device sends third indication information, where the third indication information is used to indicate a conflict.
[0014] 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 conflicts, thereby achieving the purpose of improving system stability and ensuring user experience.
[0015] In combination with the first aspect, in certain implementations of the first aspect, the third indication information is carried in a conflict feedback message.
[0016] In combination with the first aspect, in certain implementations of the first aspect, the conflict feedback message also includes the third SN.
[0017] In combination with the first aspect, in certain implementations of the first aspect, the third indication information is specifically used to indicate an SN conflict.
[0018] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the OLT sending a first broadcast message and a second broadcast message, the first broadcast message being used to instruct an unstarted ONU device to report a sequence number in the first time window, the second broadcast message being used to instruct an unstarted ONU device to report a sequence number in the second time window, and the first time window and the second time window not overlapping.
[0019] In a second aspect, embodiments of the present application provide a communication method. This method can be executed by an ONU device or by a component of the ONU device (e.g., a chip, chip system, or circuit), and this application does not limit this. For ease of description, the following description uses an ONU device as an example. The method includes: a first ONU device sends a first sequence number (SN) to an optical line terminal (OLT) device in a first time window, wherein the first SN and a 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, which is located after the first time window; the first ONU device receives first indication information and a first ONU identifier from the OLT device, wherein the first indication information indicates that the OLT device has successfully allocated 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, wherein the second indication information indicates that the OLT device has successfully allocated the second ONU identifier to the second ONU device, wherein the second ONU identifier is different from the first ONU identifier; and the first ONU device transitions to an initial state based on the second indication information and the second ONU identifier.
[0020] Based on the above solution, the first ONU device that fails the authentication can be taken offline through the second indication information and the second ONU identifier, thereby ensuring the stability of the system.
[0021] 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.
[0022] In combination with the second aspect, in some implementations of the second aspect, the first allocation ONU identifier message also includes the first SN, and the first SN is used to indicate that the first ONU identifier is the identifier corresponding to the first ONU device.
[0023] In combination with the second aspect, in certain implementations of the second aspect, the second indication information and the second ONU identifier are carried in a second allocate ONU identifier message.
[0024] In combination with the second aspect, in some implementations of the second aspect, the second allocation ONU identifier message also includes the second SN, where the second SN is used to indicate that the second ONU identifier is the identifier corresponding to the second ONU device.
[0025] In a third aspect, embodiments of the present application provide a communication method. This method can be executed by an ONU device or by a component of the ONU device (e.g., a chip, chip system, or circuit), and this application does not limit this. For ease of description, the following description uses execution by an ONU device as an example. The method includes: the first ONU device sends a first sequence number (SN) to an optical line terminal (OLT) device during a first time window, where the first SN and a second SN are the same, and the second SN is sent by a second ONU device to the OLT device during the first time window; and the first ONU device receives indication information from the OLT device, where the indication information indicates a conflict.
[0026] 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.
[0027] 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.
[0028] In combination with the third aspect, in certain implementations of the third aspect, the indication information is carried in a conflict feedback message.
[0029] In combination with the third aspect, in certain implementations of the third aspect, the conflict feedback message also includes the SN, and the SN is used to indicate the SN conflict.
[0030] In a fourth aspect, embodiments of the present application provide a communication device. The communication device is configured to execute the first aspect and any one of its implementations. Specifically, the communication device includes a processor configured to invoke and execute a computer program, causing the communication device to execute the first aspect and any one of its implementations. Optionally, the communication device also includes a memory configured to store the computer program.
[0031] In a fifth aspect, embodiments of the present application provide a communication device. The communication device is configured to execute the second aspect and any one of its implementations, or the third aspect and any one of its implementations. Specifically, the communication device includes a processor configured to invoke and execute a computer program, causing the communication device to execute the second aspect and any one of its implementations, or the third aspect and any one of its implementations. Optionally, the communication device also includes a memory configured to store the computer program.
[0032] In a sixth aspect, embodiments of the present application provide a communication device. The communication device is configured 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., a processing unit, a transceiver unit) configured to perform the method provided in the first aspect and any one of its embodiments.
[0033] 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. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.
[0034] 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.
[0035] In a seventh aspect, embodiments of the present application provide a communication device. The communication device is configured 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., a processing unit, a transceiver unit) configured to perform the method provided in the second aspect and any one of its embodiments.
[0036] In one implementation, the 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. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.
[0037] 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.
[0038] 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.
[0039] For operations such as sending and acquiring / receiving involved in the processor, unless otherwise specified, or unless they conflict with their actual functions or internal logic in the relevant descriptions, they can be understood as processor output, reception, input, and other operations, or as sending and receiving operations performed by the radio frequency circuit and antenna. This application does not limit this.
[0040] In a ninth aspect, embodiments of the present application provide a computer program product comprising instructions. When the computer program product is executed on a computer, the computer executes the method provided by at least one of the first, second, and third aspects, as well as any implementation of each aspect.
[0041] 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.
[0042] In an eleventh aspect, a chip is provided, comprising a processor and a communication interface, wherein the processor reads instructions through the communication interface and executes at least one of the first, second, and third aspects described above, as well as the method provided by any implementation of each aspect.
[0043] Optionally, as an implementation method, 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 method of each aspect.
[0044] In a twelfth aspect, embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores a computer program that, when executed on a communication device, causes the communication device to execute at least one of the first, second, and third aspects, as well as any implementation method of each aspect.
[0045] 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. Simple diagram description
[0046] FIG1 is a schematic diagram of a PON system architecture applicable to an embodiment of the present application. FIG2 is a schematic diagram of a current ONU device startup process. FIG3 is a schematic diagram of a first communication method 300 provided in an embodiment of the present application. 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. FIG5 is a schematic diagram of a second communication method 500 provided in an embodiment of the present application. FIG6 is a schematic block diagram of a communication device 600 provided in an embodiment of the present application. FIG7 is a schematic block diagram of a communication device 700 provided in an embodiment of the present application. FIG8 is a schematic structural diagram of a communication device 800 provided in an embodiment of the present application. FIG9 is a schematic diagram of a chip system 900 according to an embodiment of the present application. Implementation Method
[0047] The technical solution in this application will be described below with reference to the accompanying drawings.
[0048] In order to facilitate understanding of the embodiments of the present application, the following explanation is made.
[0049] First, the terms "first," "second," and various numerical numbers used in the following descriptions or drawings of the embodiments of this application are merely for ease of description and are not intended to limit the scope of the embodiments of this application. For example, they distinguish between different indication information and different ONU devices.
[0050] 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.
[0051] 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 the relevant concepts in a concrete manner to facilitate understanding.
[0052] Fourth, in this application, "indication" can include direct, indirect, explicit, and implicit indications. When describing a particular indication information as indicating A, it can be understood that the indication information carries A, directly indicates A, or indirectly indicates A.
[0053] Fifth, in this application, "sending" and "receiving" refer to the direction of signal transmission. For example, "receiving information from YY" can be understood as the source of the information being YY. This can include receiving directly from YY via the air interface or indirectly from other units or modules via the air interface. "Sending" can also be understood as the "output" of a chip interface, and "receiving" can also be understood as the "input" of a chip interface. In other words, sending and receiving can occur between devices, such as between an OLT and an ONU, or within a device, for example, between components, modules, chips, software modules, or hardware modules within the device via buses, traces, or interfaces.
[0054] Sixth, in the embodiments of the present application, "multiple" refers to two or more. "And / or" describes the association relationship of related objects, indicating that three relationships can exist. For example, A and / or B can mean: 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 related objects are in an "or" relationship. "At least one of the following items" 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 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, c can be single or plural.
[0055] Seventh, 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 by each other. The technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0056] Figure 1 is a schematic diagram of the first PON system architecture applicable to the embodiments of the present application. 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 main 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 a FTTR system. The OLT device is connected to an ODN device, which in turn is connected to multiple ONU devices. The OLT device provides a network-side interface, connecting to upper-layer network-side devices (such as switches, routers, etc.) and to one or more ODN devices at the lower layer. Generally, the OLT device is located in a central office (CO), and the ONU device is located in or near the user's home. The ONU device provides a user-side interface and is also connected to the ODN device. 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 termination (ONT). ODN equipment includes passive optical splitters for optical power distribution, trunk optical fibers connecting the passive optical splitters and the OLT, and branch optical fibers connecting the passive optical splitters and the ONUs. When transmitting downstream data, the ODN transmits the downstream data from the OLT to each ONU via the optical splitters. When transmitting upstream data, the ODN combines multiple upstream data channels from multiple ONUs into a single optical signal using time division multiplexing (TDM). This works by dividing the upstream transmission time into a number of time slots Ti (i = 1, 2, 3, ..., 32, ...). Within each time slot, only one ONU is assigned to send data packets to the OLT. Each ONU transmits data sequentially in the order specified by the OLT. TDM requires the OLT device to measure the distance to each ONU device and then strictly implement transmission timing for each ONU device. Each ONU device obtains timing information from the downstream signal sent by the OLT device and sends upstream packet data within the time slot specified by the OLT device, thereby avoiding conflicts between ONU devices.
[0057] It is understandable that FIG1 is only a schematic diagram, and the PON system may also include other devices, such as wavelength division equipment, more ONU devices, etc., which are not shown in FIG1 .
[0058] Figure 2 is a schematic diagram of a second PON system architecture applicable to embodiments of the present application. Figure 1 above can be considered a fiber-to-the-home (FTTH) architecture. Building on FTTH, to address Wi-Fi coverage issues in home networks, optical fiber can be extended further into residents' homes. Installing optical terminal devices that provide Wi-Fi access inside the home reduces the distance between the user terminal and the Wi-Fi access point, improving signal quality. This application scenario is called FTTR. FTTR and FTTH networks can be considered cascaded PON systems. In FTTH, the OLT 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.
[0059] In order to facilitate a better understanding of the technical solution of this application, a brief introduction is given to the technology related to the startup mechanism of the ONU device involved in the technical solution of this application.
[0060] The ONU startup 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 upstream 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 the ranging response message arrival time. It then calculates the ONU's equalization delay (EQD) based on the ranging request message transmission time, the ranging response message arrival time, the ONU's response processing time, and the system's baseline equalization delay. Among them, the ONU device has seven states in the entire startup 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.
[0061] Currently, an inactive ONU in the O3 state sends a SN 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 can cause a functioning ONU to go offline or lead to an ONU upstream conflict.
[0062] In view of this, the present application proposes a communication method that can be applied in the startup process of an ONU device to resolve conflict scenarios in the startup process, thereby improving the stability of the PON network and further ensuring the performance of the PON network.
[0063] The following describes in detail the method provided by the embodiment of the present application in conjunction with the accompanying drawings. The embodiment provided by the present application can be applied to the PON network shown in Figure 1 above, without limitation.
[0064] In the following embodiments, an OLT device and an ONU device are used as examples for illustration. The OLT device can be replaced with a component of the OLT device (e.g., a chip or circuit), and the ONU device can be replaced with a component of the ONU device (e.g., a chip or circuit).
[0065] FIG3 is a schematic diagram of a first communication method 300 provided in an embodiment of the present application. FIG3 illustrates a schematic flow of information exchange between an OLT device and first and second ONU devices. The method 300 shown in FIG3 may include the following steps.
[0066] S301: A first ONU device sends a first SN to an OLT device in a first time window.
[0067] It should be noted that the first time window is the first time period configured by the OLT device for an unactivated ONU device to send an SN. 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.
[0068] S302: The OLT device allocates a first ONU identifier to the first ONU device.
[0069] 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. Then the OLT device assigns a first ONU identifier to the first ONU device and corresponds the first SN to the first ONU identifier.
[0070] 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 has successfully allocated the first ONU identifier to the first ONU device.
[0071] Specifically, after the OLT device assigns 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 assign an ONU identifier to the device corresponding to the first SN. It should be noted that this application does not limit the first message that carries the first ONU identifier and the first indication information. Optionally, the first message that carries 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.
[0072] S304: 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.
[0073] Specifically, the second time window is a second time period configured by the OLT device for inactive ONU devices to transmit 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.
[0074] 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.
[0075] It is understandable 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 start 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 yet completed the authentication, or, in other scenarios, the first ONU device has completed the authentication. Therefore, in conjunction with Figure 4, the above two scenarios are specifically explained.
[0076] 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.
[0077] 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.
[0078] 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 started. 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 indication information indicating a conflict; or the OLT device neither allocates a second ONU identifier to the second ONU device nor sends indication information indicating a conflict.
[0079] If the OLT receives the second SN, the first ONU completes authentication. Based on the authentication result of the first ONU, the OLT performs different information exchanges with the first and second ONUs. The following details the cases where the first ONU passes and fails authentication.
[0080] In some embodiments, when the first ONU device passes the authentication, the OLT device executes the following S402-S403.
[0081] S402: The OLT device determines that the first ONU device passes authentication.
[0082] Specifically, when the OLT device completes ranging for the first ONU device, causing the first ONU device to enter state O5, it indicates that the first ONU device has passed authentication.
[0083] 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.
[0084] Specifically, after the OLT determines that the first ONU has passed authentication, it associates the first SN with the first ONU identifier, deems the second ONU invalid, and rejects its registration. At this point, the OLT does not assign a second ONU identifier to the second ONU; or, the OLT does not send information indicating a conflict; or, the OLT neither assigns a second ONU identifier to the second ONU nor sends information indicating a conflict.
[0085] In other embodiments, when the first ONU device fails authentication, the OLT device and the first ONU device execute the following S404-S407.
[0086] S404: The OLT device determines that the first ONU device fails authentication.
[0087] 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 relevant technologies and will not be repeated here.
[0088] S405: The OLT device allocates a second ONU identifier to the second ONU device.
[0089] Specifically, when the OLT device determines that the first ONU device has failed authentication, the OLT device deems the first ONU device to be an illegitimate ONU device. At this point, the OLT device assigns a second ONU identifier to the second ONU device. It should be noted that this second ONU identifier is different from the first ONU identifier and is used to return the first ONU device to its initial state (i.e., state O1).
[0090] 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.
[0091] S407: The first ONU device jumps to the initial state based on the second indication information and the second ONU identifier.
[0092] Specifically, the second indication information and the second ONU identifier are carried in the second message. The second message also includes a second SN. The second SN carried in the second message indicates that the second message is used to allocate an ONU identifier to the device corresponding to the second SN. Because 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 based on the second SN and parses the second message, it obtains the second ONU identifier and determines that the second ONU identifier is different from the first ONU identifier. At this point, the first ONU device transitions from its current state to the initial state O1.
[0093] It should be noted that, in this application, "passing ONU device authentication" can also be understood as the ONU device's identity being legitimate, meaning that the ONU device can access the PON interface of the OLT device, be managed by the OLT device, and enable uplink and downlink data transmission with the OLT device. Correspondingly, "failure" of ONU device authentication can also be understood as the ONU device's identity being invalid, meaning that the ONU device cannot or is not allowed to access the PON interface of the OLT device, and the OLT device will not manage the ONU device.
[0094] It should also be noted that the method illustrated in FIG3 is illustrated using two ONUs as an example. When the PON network includes more ONUs, for example, when a third ONU transmits an SN identical to the first or second SN in the third time window, the interaction process between the OLT and the third ONU can refer to the description in FIG4 . Specifically, the interaction process between the OLT and the third ONU is similar to the interaction process between the second ONU. For example, when the OLT receives the same SN from the third ONU, while waiting for the authentication result from the first ONU, the OLT will not transmit conflict indication information and / or assign identifiers to the second and third ONUs. For example, when the first ONU device fails to pass the authentication (i.e., the authentication fails), the OLT device waits for the authentication result of the second ONU device. If the second ONU device passes the authentication, the OLT device will not send an indication information indicating a conflict, and / or assign an identifier to the third ONU device; if the second ONU device fails the authentication, the OLT device assigns a third identifier to the third ONU device. At this time, the second ONU device will jump to a state according to the third identifier, which will not be repeated here.
[0095] 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:
[0096] S306: The OLT device sends a first broadcast message, where the first broadcast message is used to instruct the inactive ONU device to report the serial number in the first time window.
[0097] 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 expires, the first SN is responded to the OLT device via a first Serial_Number_ONU PLOAM message.
[0098] S307: The OLT device sends a second broadcast message, where the second broadcast message is used to instruct the inactive ONU device to report the sequence number in the second time window.
[0099] Specifically, the OLT device broadcasts a second broadcast message downstream, the second broadcast message carrying a second time window, so that after receiving the second broadcast message, the second ONU device sends a second SN in the second time window according to the second broadcast message. Optionally, the second broadcast message is an SN_Request message. After receiving the second SN_Request message, the second ONU generates a random delay time. After the random delay expires, the second SN is responded to the OLT device via a second Serial_Number_ONU PLOAM message.
[0100] Based on the above scheme, the present 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 startup process of the second ONU device. This can avoid the normal working ONU from going offline when the OLT device receives a configured SN again, thereby improving the stability of the system and ensuring the user experience.
[0101] FIG5 is a schematic diagram of a second communication method 500 provided in an embodiment of the present application. FIG5 illustrates a schematic flow of information exchange between an OLT device and a first ONU device and a second ONU device. The method 500 shown in FIG5 may include the following steps.
[0102] 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 and the second SN are the same.
[0103] 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.
[0104] S502: The OLT device sends third indication information, where the third indication information is used to indicate a conflict.
[0105] Specifically, when the OLT device simultaneously receives the same SN from the first ONU device and the second ONU device during the first time window, the OLT device determines that the first ONU device and the second ONU device conflict. In this case, the OLT device does not assign ONU identifiers to the first ONU device and the second ONU device, but instead sends third indication information indicating the conflict.
[0106] It should be noted that this application does not limit the message carrying the third indication information. Optionally, the third indication information may be carried in a collision feedback message. It is understood that when the third indication information is carried in a collision feedback message, the collision feedback message includes an indication field for the third indication information, and the number of bits contained in the indication field may be multiple. For example, if the number of bits occupied by the indication field is 2, 00 indicates that the evaluation cannot be performed, 01 indicates no uplink signal, 10 indicates successful allocation, and 11 indicates a collision. Optionally, the third indication information is specifically used to indicate an SN conflict. In this case, a fixed bit in the multiple bits contained in the indication field carrying the third indication information may be set to indicate that the conflict is an SN conflict. This fixed bit may be the most significant bit or the least significant bit, etc., and this 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, and 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.
[0107] 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.
[0108] 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:
[0109] S503: The OLT device sends a third broadcast message, where the third broadcast message is used to instruct the inactive ONU device to report the serial number in the first time window.
[0110] Specifically, the OLT device sends a third broadcast message downstream, the third broadcast message carrying the first time window, so that after receiving the third broadcast message, the first ONU device and the second ONU device 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.
[0111] It should be noted that after the first and second ONU devices receive the third indication information, they each generate a random delay time. After their respective random delay times expire, they can again request registration with the OLT to initiate the process. Because the first and second ONU devices have different random delay times, the probability of simultaneously reporting the same SN to the OLT is greatly reduced. This avoids ONU uplink conflicts, thereby improving system stability and ensuring a better user experience.
[0112] Regarding the embodiments of FIG. 3 to FIG. 5 , it should be noted that:
[0113] (1) The step numbers in the flowcharts described in the embodiments are merely examples of the execution process and do not constitute a restriction on the order in which the steps are executed. In the embodiments of this application, there is no strict execution order for steps that do not have a temporal dependency on each other. Furthermore, not all steps shown in the flowcharts are mandatory, and steps may be added or deleted based on actual needs.
[0114] (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 FIG3 to FIG5 can be implemented independently or combined with each other. For example, the embodiment shown in FIG3 and the embodiment shown in FIG5 can be combined with each other. When the OLT device first receives the first SN in the first time window and receives the second SN in the second time window, the combination of the embodiment shown in FIG3 and the embodiment shown in FIG5 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 FIG3 and the embodiment shown in FIG5 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.
[0115] (3) The above embodiments utilize some messages and parameters in the PON system. However, in actual implementation, different messages or message names may be used, and the present embodiments 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 illustrative description (OLT devices, ONU devices). It should be understood that the present embodiments 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 present embodiments.
[0116] (4) In the above-mentioned various method embodiments, the methods and operations implemented by devices (such as OLT devices, ONU devices) may also be implemented by components of the devices (such as chips or circuits), without limitation.
[0117] The method provided in the embodiments of the present application is described in detail above with reference to Figures 3 to 5 . The device and wafer system provided in the embodiments of the present application are described in detail below with reference to Figures 6 to 9 . It should be understood that the description of the device embodiment corresponds to the description of the method embodiment. Therefore, any details not described in detail can be referred to above in the method embodiment and will not be repeated here for the sake of brevity.
[0118] The communication methods described in Figures 3 through 5 above are primarily described from the perspective of interaction between the OLT and ONU devices. It is understood that, to implement the aforementioned functions, the OLT and ONU devices include hardware structures and / or software modules that perform the respective functions.
[0119] 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 each function. 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, this application can be implemented using hardware or a combination of hardware and computer software. Whether a function is implemented using hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0120] FIG6 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 FIG1 , or it may 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 referred to as 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. 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 communication interfaces or communication units.
[0121] Optionally, the communication device 600 further includes a storage unit, which can be used to store instructions and / or data, and the processing unit 602 can read the instructions and / or data in the storage unit so that the communication device 600 implements the actions of the OLT device in the aforementioned various method embodiments.
[0122] 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.
[0123] 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:
[0124] 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.
[0125] The processing module 602 is used 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.
[0126] The sending module 603 is used 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.
[0127] 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.
[0128] In addition, the receiving module 601, the processing module 602 and the sending 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 repeated here.
[0129] Alternatively, communication device 600 may be a device including an OLT device, or a component configured within the OLT device, such as a chip within the OLT device. In this case, receiving module 601 and transmitting module 603 may be interface circuits, pins, etc. Specifically, the interface circuit may include input circuits and output circuits. Receiving module 601 may include input circuits, transmitting module 603 may include output circuits, and processing module 602 may include processing circuits.
[0130] FIG7 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 FIG1 , or it can be a module (such as a chip) applied to an ONU device. Specifically, the communication device 700 includes a receiving module 701, which can be used to implement a corresponding receiving function. The receiving module 701 can also be referred to as a receiving unit. The communication device 700 also includes a processing module 702, which can be used to implement a corresponding processing function. The communication device 700 also includes a sending module 703, which can be used to implement a corresponding sending function. The sending module 703 can also be referred to as a sending unit. The receiving module 701 and the sending module 703 can also be referred to as communication interfaces or communication units.
[0131] Optionally, the communication device 700 further includes a storage unit, which can be used to store instructions and / or data, and 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.
[0132] 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.
[0133] In one embodiment, the communication device 700 may be used to perform the operations of the ONU devices described in Figures 3 to 5 above. For example:
[0134] 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 has successfully allocated the first ONU identifier to a first ONU device, and to receive second indication information and a second ONU identifier from the OLT device, wherein the second indication information indicates that the OLT device has successfully allocated a second ONU identifier to a second ONU device, the second ONU identifier being different from the first ONU identifier.
[0135] The processing module 702 jumps to the initial state based on the second indication information and the second ONU identifier.
[0136] The sending module 703 is configured to send a first sequence number SN to the OLT device in a 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 a second time window, and the second time window is located after the first time window.
[0137] 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.
[0138] 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.
[0139] Alternatively, communication device 700 may include an ONU device, or a component configured within the ONU device, such as an ONU device chip. In this case, receiving module 701 and transmitting module 703 may be interface circuits, pins, etc. Specifically, the interface circuit may include input circuits and output circuits. Receiving module 701 may include input circuits, transmitting module 703 may include output circuits, and processing module 702 may include processing circuits.
[0140] Figure 8 is a schematic structural diagram of a communication device 800 provided in an embodiment of the present application. Communication device 800 includes a processor 801 and a transceiver 802. Transceiver 802 is configured to exchange information via a transmission medium. Alternatively, transceiver 803 may be an interface, bus, circuit, or device capable of performing transceiver functions. Alternatively, the device in transceiver 802 that performs the receiving function may be considered a receiving module, and the device in transceiver 802 that performs the transmitting function may be considered a transmitting module, i.e., transceiver 802 includes both a receiver and a transmitter.
[0141] The transceiver 802 may also be sometimes referred to as a transceiver, a transceiver module, or a transceiver circuit. The receiver may also be sometimes referred to as a receiver, a receiving module, or a receiving circuit. The transmitter 802 may also be sometimes referred to as a transmitter, a transmitter, a transmitting module, or a transmitting circuit.
[0142] For example, in one embodiment, the processor 801 is configured to perform other operations or functions of the chip of the OLT device. The transceiver 802 is used to implement information exchange between the communication device 800 and the ONU device.
[0143] In another embodiment, the processor 801 is configured to perform other operations or functions of the chip of the ONU device. The transceiver 802 is used to implement information exchange between the communication device 800 and the OLT device.
[0144] Communication device 800 may also include memory 803 for storing computer programs, instructions, and / or data. Memory 803 is coupled to processor 801, and processor 801 is configured to execute the computer programs, instructions, and / or data stored in memory 803, thereby executing one of methods 300 through 800 described in the above method embodiments. Coupling in the present application embodiments refers to an indirect coupling or communication connection between devices, units, or modules, and may be electrical, mechanical, or other in nature, for information exchange between the devices, units, or modules. Processor 801 can operate in conjunction with memory 803.
[0145] Optionally, the communication device 800 may include one or more processors 801 and one or more memories 803.
[0146] Optionally, the memory 803 can be integrated with the processor 801 or provided separately.
[0147] The specific connection medium between the processor 801, transceiver 802, and memory 803 is not limited in the embodiments of this application. In Figure 8 , the processor 801, transceiver 802, and memory 803 are connected via a bus 804, which is represented by a bold line. The connection methods between other components are merely illustrative and not limiting. These buses can be categorized as address buses, data buses, and control buses, among others.
[0148] 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.
[0149] 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 .
[0150] Logic circuit 910 may be a processing circuit within chip system 900. Logic circuit 910 may be coupled to a storage unit and invoke instructions within the storage unit, enabling chip system 900 to implement the methods and functions of various embodiments of the present application. Input / output interface 920 may be an input / output circuit within chip system 900, outputting information processed by chip system 900 or inputting data or signaling information to be processed into chip system 900 for processing.
[0151] Optionally, the logic circuit 910 may be implemented by one or more processors, including the one or more processors or a processing portion of the one or more processors.
[0152] Optionally, the input / output interface 920 may include a transceiver circuit, a transceiver, an input / output circuit, or a communication interface.
[0153] 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.
[0154] 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.
[0155] The embodiment of the present application further provides a computer-readable storage medium on which are stored computer instructions for implementing the methods executed by the OLT device or the ONU device in the above-mentioned method embodiments.
[0156] For example, when the computer program is executed by a computer, the computer can implement the method executed by the OLT device or the ONU device in each embodiment of the above method.
[0157] The present application also 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.
[0158] The present application also provides a PON system, which includes the ONU device and / or OLT device described in the above embodiments. For example, the system includes the ONU device and OLT device shown in Figure 1.
[0159] 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, and will not be repeated here.
[0160] 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 merely illustrative. For example, the division of the units described is merely 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 interface, indirect coupling or communication connection of devices or units, and can be electrical, mechanical, or other forms.
[0161] In the above embodiments, they can be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they 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 processes or functions described in the embodiments of this application are generated in whole or in part. The computer can be a general-purpose computer, a dedicated computer, a computer network, or other programmable device. For example, the computer can be a personal computer, a server, or a network device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)). For example, the available medium includes, but is not limited to, various media capable of storing program code, such as a flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0162] The above description is merely a specific embodiment of the present application, but the scope of protection of this 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.
[0163] 600, 700: Communication device 601, 701: receiving module 602, 702: Processing module 603, 703: Send module 801: Processor 802: transceiver 803: Memory 804: Bus 900: Chip System 910: Logic Circuit 920: Input / Output Interface 300: First communication method 500: Second communication method S301, S302, S303, S304, S305, S306, S307, S401, S402, S403, S404, S405, S406, S407, S501, S502, S503: Steps
Claims
1. A communication method, wherein, The method, applied to an Optical Line Terminal (OLT) device, includes: the OLT device receiving a first serial number (SN) from a first Optical Network Unit (ONU) device in a first time window; the OLT device assigning a first ONU identifier to the first ONU device; the OLT device sending first indication information and the first ONU identifier, the first indication information indicating that the OLT device has successfully assigned the first ONU identifier to the first ONU device; the OLT device receiving 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 determining 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 determining whether to assign the second ONU identifier to the second ONU device based on the authentication result of the first ONU device includes: when the OLT device determines that the first ONU device has passed authentication, the OLT device does not assign the second ONU identifier to the second ONU device; when the OLT device determines that the first ONU device has failed authentication, ... 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 different from the first ONU identifier.
2. The method as described in request item 1, wherein, When the OLT device determines that the first ONU device authentication fails, the method further includes: the OLT device assigning a second ONU identifier to the second ONU device, the second ONU identifier being used to return the first ONU device to its initial state.
3. The method as described in request item 1, wherein, The first instruction information and the first ONU identifier are carried in the first ONU identifier allocation message.
4. The method as described in request item 3, wherein, The first ONU identifier allocation message also includes the first SN, which is used to indicate that the first ONU identifier allocation message is used to allocate an ONU identifier to the device corresponding to the first SN.
5. The method as described in request item 1, wherein, The second instruction information and the second ONU identifier are carried in the second ONU identifier allocation message.
6. The method as described in claim 5, wherein, The second ONU identifier allocation message also includes the second SN, which is used to indicate that the second ONU identifier allocation message is used to allocate an ONU identifier to the device corresponding to the second SN.
7. The method as described in request item 1, wherein, 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 third indication information, which is used to indicate a conflict.
8. The method as described in request item 7, wherein, The third instruction information is carried in the conflict feedback message.
9. The method as described in claim 8, wherein, The conflict feedback message also includes the third SN.
10. The method as described in claim 7, wherein, The third instruction information is specifically used to indicate SN conflicts.
11. The method as claimed in any one of claims 1 to 10, wherein, The method further includes: the OLT sending a first broadcast message and a second broadcast message, wherein the first broadcast message is used to instruct the non-started ONU device to report the serial number in the first time window, and the second broadcast message is used to instruct the non-started ONU device to report the serial number in the second time window, wherein the first time window and the second time window do not overlap.
12. A communication method, wherein, The method, applied to a first optical network unit (ONU) device, includes: the first ONU device sending a first serial number (SN) to an optical line terminal (OLT) device in a first time window, wherein the first SN and a second SN are identical, and the second SN is sent by a second ONU device to the OLT device in a second time window, the second time window being after the first time window; the first ONU device receiving first indication information and a first ONU identifier from the OLT device, wherein the first indication information indicates that the OLT device has successfully allocated the first ONU identifier to the first ONU device; when the first ONU device fails authentication, the first ONU device receiving second indication information and a second ONU identifier from the OLT device, wherein the second indication information indicates that the OLT device has successfully allocated the second ONU identifier to the second ONU device, the second ONU identifier being different from the first ONU identifier; and the first ONU device jumping to an initial state based on the second indication information and the second ONU identifier.
13. The method as described in claim 12, wherein, The first instruction information and the first ONU identifier are carried in the first ONU identifier allocation message.
14. The method as described in claim 13, wherein, The first ONU identifier allocation message also includes the first SN, which is used to indicate that the first ONU identifier is the identifier corresponding to the first ONU device.
15. The method as described in any one of claims 12 to 14, wherein, The second instruction information and the second ONU identifier are carried in the second ONU identifier allocation message.
16. The method as described in claim 15, wherein, The second ONU identifier allocation message also includes the second SN, which is used to indicate that the second ONU identifier is the identifier corresponding to the second ONU device.
17. A communication device, wherein, include: A module for performing the method as described in any one of claims 1 to 11, or a module for performing the method as described in any one of claims 12 to 16.
18. A chip, wherein, The chip includes a processor and a communication interface for receiving data frames and transmitting them to the processor or sending data frames to other communication devices besides the communication device including the chip. The processor is used to perform the method as described in any one of claims 1 to 11, or the method as described in any one of claims 12 to 16.
19. A computer-readable storage medium, wherein, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the method as described in any one of claims 1 to 11, or the method as described in any one of claims 12 to 16.
20. A computer program product, wherein, The computer program product includes computer program code that, when run on a computer, causes the method as described in any one of claims 1 to 11, or the method as described in any one of claims 12 to 16.
Citation Information
Patent Citations
Registration method of ONU in GPON system
CN101783808A
Optical line terminal and method of registering optical network terminal thereof
US20140178072A1