ONU registration online method, system and device
By using port tags in the optical splitter to determine the ONU ID, the communication conflict problem caused by multiple ONUs interacting with the OLT simultaneously in the passive optical network is solved, and the stability and efficiency of ONU registration and online are improved.
Patent Information
- Application Number
- CN202411150509.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2026-03-03
AI Technical Summary
In passive optical networks, during the process of the OLT assigning temporary IDs to ONUs, multiple ONUs interacting with the OLT simultaneously can cause communication conflicts.
By using port tags in the optical splitter to determine the ONU's ID, the ONU determines its own ID based on the port tag carried in the received broadcast message. This eliminates the need for the OLT to assign temporary IDs to the ONU and avoids multiple ONUs simultaneously sending information back to the OLT.
This effectively avoids communication conflicts when the OLT assigns temporary IDs to multiple ONUs, simplifies the ONU registration and online process, and improves the stability and efficiency of the system.
Smart Images

Figure CN121603812A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of optical communication technology, and in particular to a method, system and apparatus for registering and going online an optical network unit (ONU). Background Technology
[0002] In a passive optical network (PON), an ONU needs to be authenticated by the optical line termination (OLT) before it can be registered and put online. Only after the ONU is registered and put online can it be managed and configured with services by the OLT.
[0003] In the existing ONU registration and online process, the identification (ID) of the ONU to be registered and online is a temporary ID assigned by the OLT. The OLT performs the registration and online process based on the temporary ID. The assignment of the temporary ID requires information exchange between the OLT and the ONU. However, the OLT sends information to the ONU in a broadcast manner, meaning multiple ONUs in the PON will receive information from the OLT. Therefore, if there are multiple ONUs to be registered and online in the PON, these multiple ONUs may simultaneously send feedback information to the OLT, leading to communication conflicts. Summary of the Invention
[0004] This application provides an ONU registration and online method, system, and apparatus to solve the problem of communication conflicts caused by multiple ONUs interacting with the OLT simultaneously during the process of the OLT assigning temporary IDs to ONUs in the prior art.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] Firstly, this application provides an ONU registration and online method. This method is applied to a first ONU, or to modules within the first ONU, such as chips or chip systems. The first ONU is connected to an OLT via a splitter, and the first ONU is connected to a first branch port of the splitter. The ONU registration and online method may include: the first ONU receiving a first broadcast message from the OLT, the first broadcast message carrying a first port tag, which is a port tag carried by the first broadcast message after passing through the first branch port.
[0007] The first ONU determines its ID as the first ID based on the first port label. The first ID corresponds to the first port label.
[0008] Based on this scheme, the ONU can determine its own ID based on the port label carried in the received broadcast message, without the OLT needing to assign a temporary ID to the ONU. This avoids the communication conflict caused by multiple ONUs simultaneously sending information back to the OLT during the interaction process of assigning temporary IDs to the ONU.
[0009] In conjunction with the first aspect mentioned above, in one optional implementation, the OLT connects to multiple ONUs via a splitter, and each ONU connects to multiple branch ports of the splitter. The first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports. The first broadcast message, after passing through different branch ports of the splitter, will carry different port tags.
[0010] Based on this scheme, the first ONU can be any one of the multiple ONUs connected to the splitter. This means that any one of the multiple ONUs connected to the splitter can determine its own ID based on the port tag. The OLT does not need to assign temporary IDs to multiple ONUs, thus avoiding the communication conflict caused by the OLT interacting with multiple ONUs simultaneously.
[0011] In conjunction with the first aspect described above, in one optional implementation, the first ONU determines its ID as the first ID based on the first port label. Specifically, this may include: the first ONU determining its connection to the first branch port based on the first port label. Then, the first ONU further determines its ID as the first ID based on the first branch port and the mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the splitter and multiple IDs, where the first ID is the ID corresponding to the first branch port among the multiple IDs.
[0012] Based on this scheme, the ONU can determine its ID by querying the mapping relationship based on the branch port it is connected to. The ONU can achieve automatic ID allocation without the involvement of the OLT.
[0013] In conjunction with the first aspect described above, in one optional implementation, the ONU registration and online method further includes: a first ONU receiving a first serial number request message from an OLT, the first serial number request message carrying a first ID, the first serial number request message being used to request the serial number of the ONU corresponding to the first ID. Based on the first ONU's ID being the first ID, the first ONU sends its own serial number to the OLT.
[0014] Based on this scheme, the OLT can include a specified ID in the sequence number request it sends, thereby obtaining the sequence number of the OMU corresponding to the specified ID and then registering and going online. This avoids the communication conflict caused by multiple ONUs simultaneously responding to the OLT's sequence number request message.
[0015] In conjunction with the first aspect described above, in one optional implementation, before the first ONU receives the first sequence number request message from the OLT, the method further includes: the first ONU receiving a second broadcast message from the OLT, the second broadcast message being used to query ONUs to be registered and online. The first ONU sends first indication information to the OLT, the first indication information being used to indicate that the first ONU is to be registered and online.
[0016] Based on this scheme, before the OLT registers and puts ONUs online, the OLT first determines which ONUs are to be registered and put online through information exchange, thus avoiding the initiation of invalid registration and online processes.
[0017] In conjunction with the first aspect mentioned above, in one optional implementation, the first port label is related to the characteristic parameters of the first branch port, and the characteristic parameters include at least one of time delay, optical dispersion value, and signal intensity change value.
[0018] Secondly, this application provides an ONU registration and online method. This method is applied to an OLT, and can also be applied to modules within the OLT, such as chips or chip systems. The OLT is connected to a first ONU via a splitter, and the first ONU is connected to a first branch port of the splitter. The ONU registration and online method may include: the OLT sending a first broadcast message to the first ONU. The first broadcast message, after passing through the first branch port, carries a first port tag, which is used to identify the ID of the first ONU.
[0019] In conjunction with the second aspect mentioned above, in one optional implementation, the OLT connects to multiple ONUs via a splitter, and each ONU connects to multiple branch ports of the splitter. The first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports. The first broadcast message, after passing through different branch ports of the splitter, will carry different port tags.
[0020] In conjunction with the second aspect described above, in one optional implementation, the ONU registration and online method further includes: the OLT sending a first serial number request message, the first serial number request message carrying a first ID, the first serial number request message being used to request the serial number of the ONU corresponding to the first ID. The OLT receives the serial number of the first ONU, the ID of the first ONU being the first ID.
[0021] In conjunction with the second aspect described above, in one optional implementation, before the OLT sends the first sequence number request message, the ONU registration and online method further includes: the OLT determining the first ID based on the mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, where the first ID is the ID among the multiple IDs that corresponds to the first branch port of the optical splitter.
[0022] In conjunction with the second aspect above, in one optional implementation, the OLT determines the first ID based on the mapping relationship. Specifically, this may include: the OLT determining multiple IDs corresponding to multiple branch ports of the splitter based on the mapping relationship, with the first ID being one of the multiple IDs. The OLT sends a first sequence number request message, which may include: the OLT sequentially sending multiple sequence number request messages, each carrying multiple IDs, with the first sequence number request message being one of the multiple sequence number request messages.
[0023] In conjunction with the second aspect described above, in one optional implementation, before the OLT sends the first sequence number request message, the ONU registration and online method further includes: the OLT sending a second broadcast message, which is used to query the ONUs to be registered and online among multiple ONUs. The OLT receives first indication information, which is used to indicate that a first ONU is to be registered and online. The OLT sending the first sequence number request message includes: the OLT sending the first sequence number request message based on the indication of the first indication information.
[0024] In conjunction with the second aspect above, in one optional implementation, the first port label is related to the characteristic parameters of the first branch port, and the characteristic parameters include at least one of time delay, optical dispersion value, and signal intensity change value.
[0025] Thirdly, a PON system is provided, comprising an OLT, a splitter, and a first ONU. The first ONU is connected to the OLT via the splitter and is also connected to a first branch port of the splitter. The OLT is used to send a first broadcast message, which carries a first port tag after passing through the first branch port. The first ONU is used to determine its identifier ID as a first ID based on the first port tag. The first ID corresponds to the first port tag.
[0026] In conjunction with the third aspect mentioned above, in one optional implementation, the OLT connects to multiple ONUs via a splitter, and each ONU connects to multiple branch ports of the splitter. The first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports. The first broadcast message, after passing through different branch ports of the splitter, will carry different port tags.
[0027] In conjunction with the third aspect mentioned above, in one optional implementation, the first ONU is specifically used to determine the connection between the first ONU and the first branch port based on the first port label. Specifically, the first ONU is used to determine its ID as a first ID based on the first branch port and the mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the splitter and multiple IDs, where the first ID is the ID corresponding to the first branch port among the multiple IDs.
[0028] In conjunction with the third aspect mentioned above, in one optional implementation, the OLT is also used to send a first sequence number request message, which carries a first ID and is used to request the sequence number of the ONU corresponding to the first ID.
[0029] The first ONU is also used to send the first ONU's serial number to the OLT.
[0030] In conjunction with the third aspect mentioned above, in one optional implementation, the OLT is further used to determine the first ID based on the mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, where the first ID is the ID among the multiple IDs that corresponds to the first branch port of the optical splitter.
[0031] In conjunction with the third aspect mentioned above, in one optional implementation, the OLT is specifically used to determine multiple IDs corresponding to multiple branch ports of the optical splitter according to the mapping relationship, wherein the first ID is one of the multiple IDs. The OLT is specifically used to sequentially send multiple sequence number request messages, each carrying multiple IDs, wherein the first sequence number request message is one of the multiple sequence number request messages.
[0032] In conjunction with the third aspect mentioned above, in one optional implementation, the OLT is further configured to send a second broadcast message, which queries among multiple ONUs for ONUs awaiting registration and online access. The first ONU is further configured to send first indication information to the OLT, which indicates that the first ONU is awaiting registration and online access. Specifically, the OLT is configured to send a first sequence number request message based on the indication of the first indication information.
[0033] Fourthly, a communication device is provided, applied to a first ONU. The communication device may include a receiving unit and a processing unit. The receiving unit receives a first broadcast message from the OLT, the first broadcast message carrying a first port tag, which is a port tag carried by the first broadcast message after passing through a first branch port. The processing unit determines the ID of the first ONU as a first ID based on the first port tag. The first ID corresponds to the first port tag.
[0034] In conjunction with the fourth aspect mentioned above, in one optional implementation, the processing unit is used to determine the ID of the first ONU as the first ID based on the first port label. Specifically, this may include: the processing unit determining that the first ONU is connected to the first branch port based on the first port label; and the processing unit further determining the ID of the first ONU as the first ID based on the first branch port and the mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, where the first ID is the ID corresponding to the first branch port among the multiple IDs.
[0035] In conjunction with the fourth aspect above, in one optional implementation, the receiving unit is further configured to receive a first sequence number request message from the OLT. The first sequence number request message carries a first ID and is used to request the acquisition of the sequence number of the ONU corresponding to the first ID. The communication device includes a sending unit, which is configured to send the sequence number of the first ONU to the OLT.
[0036] In conjunction with the fourth aspect described above, in one optional implementation, the receiving unit is further configured to receive a second broadcast message from the OLT, the second broadcast message being used to query ONUs awaiting registration and online access. The sending unit is further configured to send first indication information to the OLT, the first indication information being used to indicate that a first ONU is awaiting registration and online access.
[0037] Fifthly, a communication device is provided, which is applied to an OLT. The communication device may include a transmitting unit. The transmitting unit is used to send a first broadcast message to a first ONU. The first broadcast message carries a first port tag after passing through a first branch port, and the first port tag is used to identify the ID of the first ONU.
[0038] In conjunction with the fifth aspect above, in one optional implementation, the sending unit is further configured to send a first sequence number request message, the first sequence number request message carrying a first ID, the first sequence number request message being used to request the acquisition of the sequence number of the ONU corresponding to the first ID. The communication device further includes a receiving unit, the receiving unit being configured to receive the sequence number of the first ONU, the ID of the first ONU being the first ID.
[0039] In conjunction with the fifth aspect described above, in one optional implementation, the communication device further includes a processing unit, which is used to determine a first ID based on a mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, where the first ID is the ID among the multiple IDs that corresponds to the first branch port of the optical splitter.
[0040] In conjunction with the fifth aspect above, in one optional implementation, the processing unit is used to determine the first ID based on the mapping relationship. Specifically, this may include: the processing unit determining multiple IDs corresponding to multiple branch ports of the optical splitter based on the mapping relationship, wherein the first ID is one of the multiple IDs. The sending unit is used to send a first sequence number request message. Specifically, this may include: the sending unit sequentially sending multiple sequence number request messages, each carrying multiple IDs, wherein the first sequence number request message is one of the multiple sequence number request messages.
[0041] In conjunction with the fifth aspect above, in one optional implementation, the sending unit is further configured to send a second broadcast message, which is used to query the ONUs among multiple ONUs that are yet to be registered and online. The receiving unit is further configured to receive first indication information, which is used to indicate that a first ONU is yet to be registered and online. The sending unit is configured to send a first sequence number request message, which may specifically include: the sending unit sending a first sequence number request message based on the indication of the first indication information.
[0042] Sixthly, a communication device is provided for implementing the ONU registration and online method described in any one of the first or second aspects above. The communication device includes modules, units, or means corresponding to the above methods, which can be implemented in hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
[0043] In a seventh aspect, a communication device is provided, comprising: a processor; the processor being coupled to a memory, and after reading instructions from the memory, executing an ONU registration and online method as described in any one of the first or second aspects above, according to the instructions.
[0044] In one possible implementation, the communication device further includes a memory for storing computer instructions.
[0045] In one possible implementation, the communication device further includes a communication interface for communicating with other devices. For example, the communication interface may be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, pins, or related circuitry.
[0046] In one possible implementation, the communication device can be a chip or a chip system. When the communication device is a chip system, it can be composed of chips or may include chips and other discrete components.
[0047] In one possible implementation, when the communication device is a chip or chip system, the aforementioned communication interface can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip or chip system. The aforementioned processor can also be embodied as a processing circuit or logic circuit.
[0048] Eighthly, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to perform the ONU registration and online method described in any one of the first or second aspects.
[0049] Ninthly, a computer program product is provided, the computer program product including computer instructions that, when executed on a processor, cause the processor to perform the ONU registration and online method described in any possible implementation of the first or second aspect.
[0050] The technical effects of any of the design methods in the third or ninth aspect can be found in the technical effects of different design methods in the first or second aspect, and will not be repeated here. Attached Figure Description
[0051] Figure 1 This is a schematic diagram of the structure of a PON system provided in an embodiment of this application;
[0052] Figure 2 A flowchart illustrating an ONU registration and online method provided in this application embodiment;
[0053] Figure 3 This is a schematic diagram illustrating a complete process for the registration and online launch of a first ONU, as provided in an embodiment of this application.
[0054] Figure 4 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0055] Figure 5 This is a schematic diagram of another communication device provided in an embodiment of this application;
[0056] Figure 6 This is a schematic diagram of another communication device provided in an embodiment of this application. Detailed Implementation
[0057] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can represent A or B. "And / or" in this application is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple. Furthermore, to facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" are not necessarily different. Meanwhile, in the embodiments of this application, the words "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding. In addition, the network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions in the embodiments of this application and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those skilled in the art will understand that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0058] Before introducing the ONU registration and online method provided in the embodiments of this application, the communication system used in the ONU registration and online method of this application will be introduced first.
[0059] The ONU registration and online method provided in this application is applied to a PON system, which typically includes an OLT, an optical distribution network (ODN), and ONUs. The OLT is located on the operator's side, the ONU is located on the user's side, and the ODN is used to provide optical signal transmission between the OLT and ONU. The ODN is composed of optical splitters and optical fibers interconnected together.
[0060] A PON system is a point-to-multipoint (P2MP) communication system. A PON system typically includes one OLT and multiple ONUs. The OLT is connected to multiple ONUs through a splitter. The OLT is connected to the combining port of the splitter, and the multiple ONUs are connected to multiple branch ports of the splitter.
[0061] For example, Figure 1 A schematic diagram of a PON system provided in this application is shown below. Figure 1 As shown, the PON includes an OLT 101, a splitter 102, and multiple ONUs 103, the multiple ONUs 103 including Figure 1 The diagram shows ONUs 103_1 to 103_n. OLT 101 is connected to splitter 102, which in turn connects to multiple ONUs. OLT 101 is connected to the combining port of splitter 102, and ONUs 103 are connected to the branching ports of the splitter. Different ONUs 103 are connected to different branching ports.
[0062] The following will combine Figure 1 The communication system shown describes the ONU registration and online method provided in this application. Actions, terminology, etc., involved in the various embodiments of this application can be referenced interchangeably without limitation. Message names or parameter names in messages in the embodiments of this application are merely examples; other names may be used in specific implementations without limitation.
[0063] Figure 2 This is a flowchart illustrating an ONU registration and online method provided in an embodiment of this application, as shown below. Figure 2 As shown, the method may include the following steps S201 and S202.
[0064] S201, the OLT sends a first broadcast message to the first ONU. The OLT is connected to the first ONU via a splitter, and the first ONU is connected to the first branch port of the splitter. The first broadcast message carries a first port tag after passing through the first branch port. Therefore, the first broadcast message received by the first ONU carries the first port tag.
[0065] Optionally, the OLT connects to multiple ONUs via a splitter, and each ONU connects to a different branch port of the splitter. The first broadcast message is transmitted to the multiple ONUs via the splitter. After passing through different branch ports of the splitter, the first broadcast message will carry different port tags. The first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports. The first port tag is the port tag corresponding to the first branch port; the port tags corresponding to the other branch ports of the splitter are different from the first port tag.
[0066] Optionally, the port tags carried by the first broadcast information through each branch port of the optical splitter are related to the characteristic parameters of each branch port of the optical splitter. For example, the first port tag is related to the characteristic parameters of the first branch port. These characteristic parameters include at least one of time delay, optical dispersion value, and signal intensity variation value. Different branch ports have different characteristic parameters, thus resulting in different port tags carried by the first broadcast information through different branch ports of the optical splitter.
[0067] As one possibility, the different branch ports of the optical splitter may have different delays in forwarding the first broadcast message, thus allowing the different branch ports to be distinguished based on the different delays generated by the first broadcast message. In this case, the delay can serve as a port label.
[0068] It should be understood that all messages transmitted between the OLT and ONU are optical signals; for example, the first broadcast message mentioned above is an optical signal. Therefore, as a possible scenario, the optical dispersion value or signal intensity change generated by the first broadcast message through different branch ports of the splitter may differ. Thus, different branch ports can be distinguished based on the different optical dispersion values or signal intensity changes generated by the first broadcast message. In this case, the optical dispersion value or signal intensity change can serve as a port label.
[0069] One possible implementation is that the different characteristic parameters of the different branch ports of the beam splitter can be due to the different parameters of the devices deployed at the different branch ports. For example, deploying dispersive devices with different parameters at the different branch ports of the beam splitter will result in different dispersion values of the signal passing through the different branch ports. Another example is deploying power amplifier devices with different parameters at the different branch ports of the beam splitter, which will result in different signal strength variations of the signal passing through the different branch ports.
[0070] Optionally, the first broadcast message can be any broadcast message sent by the OLT that can be received by the first ONU. For example, the first broadcast message can be a DS frame with a valid physical synchronization (PSYNC) field sent by the OLT. Alternatively, the first broadcast message can be an upstream top-level physical layer operation administration and maintenance (PLOAM) message sent by the OLT, i.e., an upstream_overhead PLOAM message.
[0071] S202. The first ONU determines its ID as the first ID based on the first port label. The first port label corresponds to the first ID.
[0072] As one possible implementation, the first ONU determines its ID as the first ID based on the first port label, specifically including the following steps: S2021, the first ONU determines that it is connected to the first branch port based on the first port label. S2022, the first ONU determines its ID as the first ID based on the first branch port and the mapping relationship. The mapping relationship includes a one-to-one correspondence between multiple branch ports of the splitter and multiple IDs, with the first ID being the ID corresponding to the first branch port among the multiple IDs. The mapping relationship can be pre-configured in the first ONU.
[0073] It should be understood that the first ONU can be any one of multiple ONUs, and each of the multiple ONUs can perform similar behaviors to the first ONU described above. For example, the first broadcast message received by each of the multiple ONUs will carry a port label, and the port labels carried in the first broadcast messages received by different ONUs will be different. Each of the multiple ONUs can determine its ONU ID based on the port label carried in the received first broadcast message, and the IDs determined by different ONUs based on different port labels will be different.
[0074] According to the above scheme, messages sent by the OLT carry port tags after passing through the branch ports of the optical splitter, allowing the ONU to determine its ID based on the port tags. Different ONUs connected to different branch ports of the optical splitter have different IDs. Therefore, when an ONU registers and comes online, the OLT does not need to interact with the ONU to assign a temporary ID.
[0075] Optionally, the ONU registration and online method provided in this application also includes steps S203 and S204.
[0076] S203, the OLT sends a first serial number request (SN_request) message. The first serial number request message carries the first ID and is used to request the serial number of the ONU corresponding to the first ID.
[0077] In other words, the first serial number request message carrying the first ID is used to request the serial number of the ONU with the first ID. Compared to the serial number request message in the current ONU registration and online process, the first serial number request message provided in this application can specifically indicate the serial number of a certain ONU, thereby avoiding the problem of conflicts caused by multiple ONUs responding to the serial number request message at the same time.
[0078] S204. Based on the ID of the first ONU being the first ID, the first ONU sends its sequence number to the OLT.
[0079] Upon receiving the first serial number request message, the first ONU parses and obtains the first ID carried in the message. The first ONU will find that the first ID is the same as its own ID, thus determining that the first serial number request message was used to request its serial number, and subsequently sends the first ONU's serial number back to the OLT. The first ONU's serial number can then be used for registration and going live in the OLT.
[0080] Optionally, among the multiple ONUs connected to the OLT, all ONUs other than the first ONU can also receive the first sequence number request message. However, the IDs of the ONUs other than the first ONU are different from the first ID. Therefore, the ONUs other than the first ONU will not send the sequence number back to the OLT.
[0081] Based on the above scheme, after the OLT sends a first sequence number request message carrying the first ID, only the first ONU with the first ID will report the sequence number to the OLT, while other ONUs will not report it. This avoids the problem of multiple ONUs reporting the sequence number to the OLT at the same time, which would cause a conflict.
[0082] It should be understood that any one of the multiple ONUs can perform the behavior of the first ONU described above, so that the OLT can obtain the serial number of each of the multiple ONUs one by one.
[0083] Optionally, the serial number of the first ONU can be carried in the ONU serial number PLOAM (serial number ONUPLOAM) message.
[0084] In the scheme of this application embodiment, the OLT obtains a first ID in advance, and then sends a first serial number request message based on the first ID. As one possible implementation, before the OLT sends the first serial number request message to the first ONU, the ONU registration and online method further includes step S205.
[0085] S205, the OLT determines the first ID based on the mapping relationship. The mapping relationship is pre-configured in the OLT and is the same as the mapping relationship in S2022 above, so it will not be repeated here.
[0086] As one possible implementation, the OLT determines the first ID based on the mapping relationship. Specifically, this can include: the OLT determining multiple IDs corresponding to multiple branch ports of the optical splitter based on the mapping relationship, with the first ID being one of the multiple IDs. The OLT then selects the first ID from the multiple IDs to register and bring the ONU corresponding to the first ID online.
[0087] Optionally, the OLT can sequentially send multiple sequence number request messages, each carrying multiple IDs corresponding to multiple branch ports of the splitter recorded in the mapping relationship. The multiple sequence number request messages include the aforementioned first sequence number request message, and the multiple IDs include the aforementioned first ID. In other words, the OLT sends sequence number request messages sequentially to the ONUs connected to each branch port of the splitter in a polling manner, so as to register and bring the ONUs connected to the branch ports online respectively.
[0088] Optionally, before the OLT sends the first serial number request message to the first ONU, the ONU registration and online method further includes steps S206 and S207.
[0089] S206, OLT sends a second broadcast message, which is used to query the ONUs that are waiting to be registered and connected among multiple ONUs.
[0090] S207. After receiving the second broadcast message, the first ONU sends a first instruction message to the OLT. The first instruction message is used to indicate that the first ONU is ready to register and go online.
[0091] Optionally, the OLT sends a first sequence number request message, which specifically includes: the OLT sending a first sequence number request message based on the instruction of the first indication information.
[0092] It should be understood that multiple ONUs can receive the second broadcast message sent by the OLT. Furthermore, at least one ONU among the multiple ONUs awaiting registration will send at least one indication message to the OLT, each indicating that at least one ONU is awaiting registration. The at least one indication message includes the aforementioned first indication message.
[0093] Optionally, the OLT can send a serial number request message to at least one ONU to be registered and put online, based on the indication of at least one indication message, thereby performing the registration and online process for the at least one ONU to be registered and put online.
[0094] Optionally, when the OLT sends the first sequence number request message, the first ONU is already in the serial-number state. The states of the first ONU before the serial number state also include the initial state and the standby state. The state of the first ONU transitions from the initial state to the standby state, and then from the standby state to the serial-number state.
[0095] As one possible implementation, the first ONU will be in an initial state upon initial power-up. During this initial state, the first ONU will receive a downlink signal frame with valid psync from the OLT. This downlink signal frame includes a physical synchronization field, which the first ONU uses to complete frame synchronization. Afterward, the first ONU will transition from the initial state to a standby state. During this standby state, the first ONU will receive an upstream overhead PLOAM message from the OLT. This upstream overhead PLOAM message carries network parameters such as delimiters, compensation time, and power levels. The first ONU will perform relevant configurations based on these network parameters. Afterward, the first ONU will transition from the standby state to a sequence code state.
[0096] Optionally, the first ONU's states after the sequence code state also include a ranging state and an operation state. The first ONU's state will transition from the sequence code state to the ranging state, and then from the ranging state to the operation state. The registration and online process is completed when the first ONU transitions to the operation state. In the operation state, the first ONU can transmit business data and PLOAM messages according to the control of the OLT.
[0097] As one possible implementation, after the first ONU reports its sequence number to the OLT (e.g., by sending a `serial_number_ONU PLOAM` message), it can transition from the sequence number state to the ranging state. While in the ranging state, the first ONU receives a ranging request message from the OLT, which allocates a response time window for the first ONU. Upon receiving the ranging request message, the first ONU replies with a ranging response message, which includes the ONU's response processing time. After receiving the ranging response message, the OLT calculates the first ONU's equalization delay (EQD) based on the ranging request message's sending time, the ranging response message's arrival time, the ONU's response processing time, and the system's baseline equalization delay. Then, the OLT sends a ranging time message to the first ONU, which carries the first ONU's equalization delay. After receiving the ranging time message, the first ONU will set its equalization delay according to the ranging time message. After that, the state of the first ONU will transition from ranging state to running state.
[0098] It should be understood that in the prior art, when the OLT receives the ONU's serial number and determines that the ONU's serial number is not currently configured in the OLT, it sends a "Configure ONU ID (assign OUN_ID)" message to the ONU. This message carries the ID assigned to the ONU by the OLT. After receiving the "Configure ONU ID" message from the OLT, the ONU sets its own ID according to the message and transitions from the serial number state to the ranging state. However, in this embodiment, the first ONU's ID is already configured in the OLT (e.g., in the OLT's mapping relationship) before the OLT sends the first serial number request message. Therefore, the OLT does not need to assign an ID to the first ONU after receiving its serial number. Thus, in this embodiment, the first ONU can transition from the serial number state to the ranging state immediately after sending its serial number back to the OLT.
[0099] Optionally, after receiving the serial number of the first ONU, the OLT will authenticate the serial number of the first ONU according to a pre-configured table of valid serial numbers. If the first ONU uses serial number authentication, the OLT will configure the first ONU to register and go online after the serial number authentication is successful. However, the OLT and the first ONU still need to perform a ranging process afterward. If the first ONU uses a serial number + password authentication method, the OLT and the first ONU also need to perform a password authentication process after the ranging process is completed.
[0100] As one possible implementation, if the first ONU uses a serial number + password authentication method, after receiving the ranging time message and transitioning to the running state, the first ONU will also receive a password request message from the OLT. This password request message requests the first ONU's password. The first ONU will respond to the password request message, replying to the OLT with a password response message containing its password. The OLT will then authenticate the first ONU's password. If the password authentication is successful, the OLT will configure the first ONU to register and go online.
[0101] Optionally, the OLT periodically activates a quiet zone, also known as windowing. During the quiet zone, the OLT suspends receiving signals from registered ONUs. As one implementation, in this embodiment, messages sent by the first ONU to the OLT during the registration process can occur during the quiet zone, thus avoiding conflicts between messages sent by the first ONU to the OLT and signals sent by already registered ONUs.
[0102] For example, the first sequence number request message sent by the OLT may carry the OLT's windowing time information, so that the first ONU can send its sequence number to the OLT during the OLT's windowing period.
[0103] As another example, the second broadcast message sent by the OLT may also carry the OLT's window opening time information, so that the first ONU can send the first instruction information to the OLT during the OLT's window opening period.
[0104] As another example, the ranging request message sent by the OLT can also carry the OLT's windowing time information, so that the first ONU can send a ranging response message to the OLT during the OLT's windowing period.
[0105] As one possible implementation, the windowing time information of the OLT is specifically the idle bandwidth map during the OLT windowing period.
[0106] Optionally, the OLT does not open a window. The message sent by the first ONU to the OLT during its registration process can be low-frequency periodic information. This message can be transmitted in parallel with signals sent by already online ONUs to the OLT. It should be understood that low-frequency periodic signals have low energy and will not interfere with each other when transmitted in parallel with service data signals sent by other ONUs to the OLT. Furthermore, because low-frequency periodic signals are periodic, the OLT can also perform signal recovery to obtain the information carried in the low-frequency periodic signal.
[0107] For example, the sequence number of the first ONU sent to the OLT can be carried in a low-frequency periodic signal. Taking the first ONU sending an ONU sequence number PLOAM message carrying the first ONU sequence number as an example, then the ONU sequence number PLOAM message will be modulated into a low-frequency periodic signal.
[0108] As another example, the first indication information sent by the first ONU to the OLT can be transmitted in a low-frequency periodic signal.
[0109] For example, the ranging response message sent by the first ONU to the OLT will be modulated into a low-frequency periodic signal.
[0110] In scenarios where the OLT is not open, the timing of the first ONU sending messages to the OLT is not limited. For example, the first ONU can send its sequence number to the OLT at any time within a preset time period after receiving the first sequence number request message. Similarly, the first ONU can send the first indication information to the OLT at any time within a preset time period after receiving the second broadcast message. Furthermore, the first ONU can send a ranging response message to the OLT at any time within a preset time period after receiving the ranging request message. The preset time period is the waiting time for message responses set by the OLT; if this timeout occurs, the OLT will no longer wait.
[0111] It should be understood that, due to the longer transmission time of low-frequency periodic signals, in scenarios where the first ONU uses low-frequency periodic signals to send signals to the OLT, the transmission times of multiple low-frequency periodic signals sent by the first ONU may overlap. In this case, if the frequency ranges of different low-frequency periodic signals overlap, the low-frequency periodic signals cannot be transmitted normally. This is because different signals using the same frequency cannot be transmitted simultaneously in the optical fiber, resulting in optical wave collisions. To avoid this problem, as one implementation method, the different low-frequency periodic signals sent by the first ONU use different frequency domain ranges. Based on this, even if the transmission times of different low-frequency periodic signals overlap, the signals can still be transmitted normally because their frequency domain ranges are different.
[0112] For example, taking the registration and online process of the first ONU using serial number authentication as an example, Figure 3 A schematic diagram illustrating the complete process of a first ONU registration and online launch is shown, as follows: Figure 3 As shown, the registration and online process for the first ONU may include the following steps.
[0113] 301. The OLT broadcasts a DS frame with a valid PSYNC field to instruct the ONU to perform frame synchronization with the OLT.
[0114] The first ONU will receive a DS frame with a valid PSYNC field broadcast by the OLT, and then perform frame synchronization with the OLT.
[0115] 302. The OLT broadcasts a PLOAM message from the upstream top layer to indicate the uplink overhead parameters of the OLT.
[0116] The first ONU will receive the upstream top-level PLOAM message broadcast by the OLT and obtain the uplink overhead parameters of the OLT.
[0117] 303. The first ONU determines its ID as the first ID based on the first port label carried in the DS frame with a valid PSYNC field or the upstream top-level PLOAM message.
[0118] It should be understood that a DS frame with a valid PSYNC field or an upstream top-level PLOAM message will carry a first port tag after passing through the first branch port of the splitter. This allows the first ONU to determine its ID as the first ID based on the first port tag. For a detailed implementation, please refer to the description in S202 above; it will not be repeated here.
[0119] 304. The OLT sends a first sequence number request message to the first ONU, which carries the first ID.
[0120] 305. The first ONU sends an ONU sequence number PLOAM message to the OLT, which carries the sequence number of the first ONU.
[0121] 306. The OLT authenticates the serial number of the first ONU. If the serial number of the first ONU is successfully authenticated, proceed to step 307.
[0122] 307. The OLT sends a ranging request message to the first ONU.
[0123] 308. The first ONU sends a ranging response message to the OLT.
[0124] 309. The OLT sends a ranging time message to the first ONU to allocate equalization delay for the first ONU.
[0125] At this point, the first ONU has been certified by the OLT and configured and registered online. Furthermore, the ranging process between the OLT and the first ONU has been completed, and subsequent transmission of business data can proceed normally.
[0126] This application also provides a communication device for implementing the various methods described above. This communication device may be an OLT in the above method embodiments, or a component that can be used in an OLT. Alternatively, the communication device may be a first ONU in the above method embodiments, or a component that can be used in a first ONU. It is understood that, in order to implement the above functions, the communication device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0127] This application embodiment can divide the communication device into functional modules according to the above method embodiment. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0128] Figure 4 A schematic diagram of the structure of a communication device provided in this application is shown, with reference to... Figure 4 The communication device 40 may include a receiving unit 401 and a processing unit 402. The communication device 40 can be used to implement the functions performed by the first ONU in the above embodiments. Specifically, the receiving unit 401 can be used to perform the receiving action performed by the first ONU in step S201, and the processing unit 402 can be used to perform the processing action performed by the first ONU in step S202.
[0129] Optionally, the communication device 40 may further include a transmitting unit 403, which may be used to perform the transmitting action performed by the first ONU in the above steps S204 and S207.
[0130] It should be understood that the receiving unit 401 can be used to support the device in performing any receiving action performed by the first ONU in the above method embodiments. The processing unit 402 can be used to support the device in performing any processing action performed by the first ONU in the above method embodiments. The transmitting unit 403 can be used to support the device in performing any transmitting action performed by the first ONU in the above method embodiments.
[0131] Figure 5 A schematic diagram of another communication device provided in this application is shown, with reference to... Figure 5 The communication device 50 may include a transmitting unit 501. This communication device 50 can be used to implement the functions performed by the OLT in the above embodiments. Specifically, the transmitting unit 501 can be used to perform the transmitting actions performed by the OLT in steps S201, S203, and S206.
[0132] Optionally, the communication device 50 may further include a processing unit 502, which may be used to perform the processing actions performed by the OLT in step S205 above.
[0133] Optionally, the communication device 50 may further include a receiving unit 503, which can be used to perform the receiving actions performed by the OLT in the above steps S204 and S207.
[0134] It should be understood that the transmitting unit 501 can be used to support the device in performing any transmitting action performed by the OLT in the above method embodiments. The processing unit 502 can be used to support the device in performing any processing action performed by the OLT in the above method embodiments. It should be understood that the receiving unit 503 can be used to support the device in performing any receiving action performed by the OLT in the above method embodiments.
[0135] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here in the embodiments of this application.
[0136] It should be understood that the module division in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. For example, two or more functions may be integrated into one processing module. In addition, the integrated modules described above can be implemented in hardware or as software functional modules, and this application does not impose any restrictions on this.
[0137] In this embodiment, communication devices 40 and 50 are presented in an integrated manner, divided into various functional modules. Here, "module" can refer to a specific ASIC, circuit, processor and memory executing one or more software or firmware programs, integrated logic circuits, and / or other devices that can provide the aforementioned functions. In a simplified embodiment, those skilled in the art will understand that communication devices 40 and 50 can adopt... Figure 6 The communication device 60 shown is in the form of [example device].
[0138] Figure 6 This is a schematic diagram of the structure of another communication device provided in the embodiments of this application, as shown below. Figure 6 As shown, the communication device 60 includes one or more processors 601, a communication line 602, and at least one communication interface. Figure 6(This is merely an example illustration using a communication interface 603 and a processor 601.) Optionally, a memory 604 may also be included. The processor 601 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs according to this application. The communication line 602 may include a path for communication between different components. The communication interface 603 may be a transceiver module for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. For example, the transceiver module may be a transceiver or similar device. Optionally, the communication interface 603 may also be a transceiver circuit located within the processor 601, used to implement signal input and signal output of the processor. The memory 604 may be a device with storage function. For example, it can be a read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited to these. The memory can exist independently and be connected to the processor via communication line 602. The memory can also be integrated with the processor. The memory 604 is used to store computer execution instructions for executing the scheme of this application, and is controlled by the processor 601 for execution. The processor 601 is used to execute the computer execution instructions stored in the memory 604, thereby implementing the ONU registration and online method provided in the embodiments of this application. Alternatively, in this embodiment, the processor 601 executes the processing-related functions in the ONU registration and online method provided in the following embodiments of this application, and the communication interface 603 is responsible for communicating with other devices or communication networks. This embodiment does not specifically limit this.The computer execution instructions in this application embodiment can also be referred to as application code, and this application embodiment does not specifically limit this. As one embodiment, the processor 601 may include one or more CPUs, for example. Figure 6 CPU0 and CPU1 in the CPU.
[0139] As one embodiment, the communication device 60 may include multiple processors, such as Figure 6 The processors 601 and 607 are described herein. Each of these processors may be a single-core processor or a multi-core processor. The processors herein may include, but are not limited to, at least one of the following: CPU, microprocessor, digital signal processor (DSP), microcontroller unit (MCU), or artificial intelligence processor, and other computing devices that run software. Each computing device may include one or more cores for executing software instructions to perform calculations or processing.
[0140] As one embodiment, the communication device 60 may further include an output device 605 and an input device 606. The output device 605 communicates with the processor 601 and can display information in various ways. For example, the output device 605 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 606 communicates with the processor 601 and can receive user input in various ways. For example, the input device 606 may be a mouse, keyboard, touchscreen device, or sensing device, etc.
[0141] The aforementioned communication device 60 may sometimes be referred to as a communication equipment. It may be a general-purpose device or a special-purpose device. The embodiments of this application do not limit the type of communication device 60.
[0142] Figure 6 The processor 601 in the communication device 60 shown can execute the ONU registration and online method in the above method embodiment by calling computer execution instructions stored in the memory 604. Since the communication device 60 provided in this embodiment can execute the above ONU registration and online method, the technical effects it can obtain can be referred to the above method embodiment, and will not be repeated here.
[0143] In the various embodiments of this application, the sequence numbers of the above processes do not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. Those skilled in the art will recognize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs. Additionally, the functional units in the various embodiments of this application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. In the above embodiments, implementation can be entirely or partially achieved through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be entirely or partially in the form of a computer program product. This computer program product includes one or more computer instructions. When computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable 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 via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more media that can be integrated. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital versatile disc (DVD)), or a semiconductor medium (e.g., solid state disk (SSD)).
[0144] As used herein, the terms “component,” “module,” “system,” etc., are intended to refer to a computer-related entity, which may be hardware, firmware, a combination of hardware and software, software, or running software. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable file, a running thread, a program, and / or a computer. As an example, an application running on a computing device and the computing device itself can both be components. One or more components may reside in a running process and / or thread, and components may be located in a single computer and / or distributed among two or more computers. Furthermore, these components are capable of execution from various computer-readable media having various data structures thereon. These components may communicate locally and / or remotely via signals, such as based on one or more data packets (e.g., data from a component that interacts with a local system, another component in a distributed system, and / or signals that interact with other systems via a network such as the Internet). This application presents various aspects, embodiments, or features of a system that may include multiple devices, components, modules, etc. It should be understood and acknowledged that each system may include additional devices, components, modules, etc., and / or may not include all the devices, components, modules, etc. discussed in conjunction with the accompanying drawings. Furthermore, combinations of these approaches are also possible.
[0145] Additionally, in the embodiments of this application, the term "exemplary" is used to indicate that something is used as an example, illustration, or description. Any embodiment or design described as "exemplary" in this application should not be construed as being better or more advantageous than other embodiments or designs. Specifically, the use of the term "exemplary" is intended to present the concept in a concrete manner. In the embodiments of this application, information, signal, message, and channel may sometimes be used interchangeably, and it should be noted that their intended meanings are consistent when their distinctions are not emphasized. "Of," "corresponding, relevant," and "corresponding" may sometimes be used interchangeably, and it should be noted that their intended meanings are consistent when their distinctions are not emphasized. "System" and "network" may sometimes be used interchangeably, and their intended meanings are consistent when their distinctions are not emphasized; for example, "communication network" also refers to "communication system." The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0146] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for registering and going online as an optical network unit (ONU), characterized in that, The method is applied to a first ONU, which is connected to an optical line terminal (OLT) via a splitter, and the first ONU is connected to a first branch port of the splitter; the method further includes: The first ONU receives a first broadcast message from the OLT. The first broadcast message carries a first port tag, which is the port tag carried by the first broadcast message after passing through the first branch port. The first ONU determines its identifier ID as the first ID based on the first port label; the first ID corresponds to the first port label.
2. The method according to claim 1, characterized in that, The OLT is connected to multiple ONUs via a splitter, and the multiple ONUs are respectively connected to multiple branch ports of the splitter; the first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports; The first broadcast message will carry different port tags after passing through different branch ports of the optical splitter.
3. The method according to claim 1 or 2, characterized in that, The first ONU determines its ID as the first ID based on the first port tag, including: The first ONU determines that it is connected to the first branch port based on the first port label; The first ONU determines its ID as the first ID based on the first branch port and the mapping relationship; wherein, the mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, and the first ID is the ID among the multiple IDs that corresponds to the first branch port.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: The first ONU receives a first serial number request message from the OLT. The first serial number request message carries the first ID and is used to request the serial number of the ONU corresponding to the first ID. Based on the first ONU's ID being the first ID, the first ONU sends its sequence number to the OLT.
5. The method according to claim 4, characterized in that, Before the first ONU receives the first sequence number request message from the OLT, the method further includes: The first ONU receives a second broadcast message from the OLT, the second broadcast message being used to query ONUs to be registered and online; The first ONU sends a first indication message to the OLT, the first indication message being used to indicate that the first ONU is to be registered and put online.
6. The method according to any one of claims 1-5, characterized in that, The first port label is associated with the characteristic parameters of the first branch port, and the characteristic parameters include at least one of time delay, optical dispersion value, and signal intensity variation value.
7. A method for registering and going online as an optical network unit (ONU), characterized in that, The method is applied to an optical line terminal (OLT), wherein the OLT is connected to a first ONU via a splitter, and the first ONU is connected to a first branch port of the splitter; the method includes: The OLT sends a first broadcast message to the first ONU; the first broadcast message carries a first port tag after passing through the first branch port, and the first port tag is used to determine the identifier ID of the first ONU.
8. The method according to claim 7, characterized in that, The OLT is connected to multiple ONUs via a splitter, and the multiple ONUs are respectively connected to multiple branch ports of the splitter; the first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports; The first broadcast message will carry different port tags after passing through different branch ports of the optical splitter.
9. The method according to claim 8, characterized in that, The method further includes: The OLT sends a first serial number request message, which carries a first ID and is used to request the serial number of the ONU corresponding to the first ID. The OLT receives the serial number of the first ONU, and the ID of the first ONU is the first ID.
10. The method according to claim 9, characterized in that, Before the OLT sends the first sequence number request message, the method further includes: The OLT determines the first ID based on the mapping relationship; wherein, the mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, and the first ID is the ID among the multiple IDs that corresponds to the first branch port of the optical splitter.
11. The method according to claim 10, characterized in that, The OLT determines the first ID based on the mapping relationship, including: The OLT determines multiple IDs corresponding to multiple branch ports of the optical splitter according to the mapping relationship, and the first ID is one of the multiple IDs; The OLT sends the first sequence number request message, including: The OLT sequentially sends multiple sequence number request messages, each carrying one of the multiple IDs, and the first sequence number request message is one of the multiple sequence number request messages.
12. The method according to claim 9 or 10, characterized in that, Before the OLT sends the first sequence number request message, the method further includes: The OLT sends a second broadcast message, which is used to query the ONUs that are to be registered and put online among the plurality of ONUs; The OLT receives first indication information, which is used to indicate that the first ONU is to be registered and online. The OLT sends the first sequence number request message, including: The OLT sends the first sequence number request message based on the instruction of the first indication information.
13. The method according to any one of claims 7-12, characterized in that, The first port label is associated with the characteristic parameters of the first branch port, and the characteristic parameters include at least one of time delay, optical dispersion value, and signal intensity variation value.
14. A passive optical network (PON) system, characterized in that, The PON system includes an optical line terminal (OLT), a splitter, and a first optical network unit (ONU); the first ONU is connected to the OLT via the splitter, and the first ONU is connected to a first branch port of the splitter; wherein... The OLT is used to send a first broadcast message, which carries a first port tag after passing through the first branch port. The first ONU is used to determine the identifier ID of the first ONU as the first ID based on the first port label; the first ID corresponds to the first port label.
15. The system according to claim 14, characterized in that, The OLT is connected to multiple ONUs via a splitter, and the multiple ONUs are respectively connected to multiple branch ports of the splitter; the first ONU is one of the multiple ONUs, and the first branch port is one of the multiple branch ports; The first broadcast message will carry different port tags after passing through different branch ports of the optical splitter.
16. The system according to claim 14 or 15, characterized in that, Specifically, the first ONU is used to determine the connection between the first ONU and the first branch port based on the first port label; Specifically, the first ONU is used to determine the ID of the first ONU as the first ID based on the first branch port and the mapping relationship; wherein, the mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, and the first ID is the ID among the multiple IDs that corresponds to the first branch port.
17. The system according to any one of claims 14-16, characterized in that, The OLT is also used to send a first serial number request message, the first serial number request message carrying the first ID, the first serial number request message being used to request to obtain the serial number of the ONU corresponding to the first ID; The first ONU is also used to send the serial number of the first ONU to the OLT.
18. The system according to claim 17, characterized in that, The OLT is further configured to determine the first ID based on a mapping relationship; wherein the mapping relationship includes a one-to-one correspondence between multiple branch ports of the optical splitter and multiple IDs, and the first ID is the ID among the multiple IDs that corresponds to the first branch port of the optical splitter.
19. The system according to claim 18, characterized in that, Specifically, the OLT is used to determine multiple IDs corresponding to multiple branch ports of the optical splitter according to the mapping relationship, wherein the first ID is one of the multiple IDs; The OLT is specifically used to send multiple sequence number request messages in sequence, each of which carries the multiple IDs, and the first sequence number request message is one of the multiple sequence number request messages.
20. The system according to claim 17 or 18, characterized in that, The OLT is also used to send a second broadcast message, which is used to query the ONUs that are to be registered and go online among the plurality of ONUs; The first ONU is also used to send a first indication message to the OLT, the first indication message being used to indicate that the first ONU is to be registered and put online; Specifically, the OLT is used to send the first sequence number request message based on the indication of the first indication information.
21. A communication device, characterized in that, The communication device includes: a processor and a memory; The memory is used to store program instructions, which, when executed by the processor, cause the communication device to perform the method as described in any one of claims 1-6 or 7-13.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1-6 or 7-13.
23. A computer program product, characterized in that, The computer program product includes computer instructions that, when executed on a processor, cause the processor to perform the method as described in any one of claims 1-6 or 7-13.