ONU registration authorization method, device and storage medium of PON system based on optoelectronic composite cable
By actively sending registration request information and utilizing the full-duplex PLC channel in the optoelectronic composite cable PON system, the problem of high performance and slow speed in the ONU registration authorization process in the existing technology is solved, the authorization speed and success rate are improved, and the authorization rate is simplified. It simplifies the ID allocation process and improves data transmission efficiency.
Patent Information
- Application Number
- CN202311655783.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-12-01
AI Technical Summary
The ONU registration and authorization process in the existing PON system has problems such as high software and hardware performance requirements, slow speed and easy failure. Especially under TDMA technology, ONU cannot actively send messages and needs to use complex conflict detection and backoff algorithms to allocate ID information.
In the optoelectronic composite cable PON system, the ONU actively sends registration request information. After the OLT replies with the confirmation information, the ONU then sends the authorization request information, checks the legality and replies with the authorization result. If it fails, it will retry silently, using the full-duplex PLC channel. Improve data transmission efficiency.
It reduces the performance requirements for PON system software and hardware, improves the speed and success rate of registration authorization, reduces the use of conflict detection algorithms, simplifies the ID allocation process, facilitates engineering maintenance through broadcast information, and improves data transmission efficiency.
Smart Images

Figure CN117615274B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of passive optical network applications, and in particular to an ONU registration authorization method, equipment and storage medium of a PON system based on an optoelectronic composite cable. Background Art
[0002] In the current design, for the passive optical network (PON) system, the chip has completed the ONU ranging and hardware registration (LLID allocation) process before reporting the discovery message of the optical network unit (ONU). After the upper-layer ONU authentication module receives the ONU discovery message reported by the driver, if it is the actual network card address (MAC) authentication mode, the authentication module authenticates the legitimacy of the ONU based on the MAC, and for the authenticated ONU, authorization can be given to configure the flow. If it is the logical ONU identification (LOID) authentication mode, after receiving the ONU discovery message, the underlying interface is called to obtain the LOID information configured on the ONU, and the authentication is performed with the legal LOID information stored on the optical line terminal (OLT) device, and the flow is configured for the authenticated ONU.
[0003] In the current PON system, the upstream data of the PON system adopts TDMA technology. The ONU cannot actively send messages. The time slots can only be dynamically allocated through DBA. The ONU allocates the online sending time slot, which requires strict time synchronization requirements and high requirements on the software and hardware performance of the PON system. The ONU cannot actively send registration authorization information. A complex conflict detection backoff algorithm (CSMA / CA) is required to allocate the ONU ID information. The conflict detection will back off multiple times, resulting in slow registration authorization and easy failure. Summary of the invention
[0004] The present invention provides an ONU registration authorization method, device and storage medium of a PON system based on an optoelectronic composite cable, which solves the problems of the current PON system using TDMA technology for uplink data, such as high requirements on system software and hardware performance, slow registration authorization and easy failure.
[0005] A first aspect of the present invention provides an ONU registration authorization method for a PON system based on an optoelectronic composite cable, comprising the following steps:
[0006] ONU sends registration request information regularly;
[0007] In response to the registration request message, the OLT replies with a registration confirmation message;
[0008] In response to the registration confirmation message, stop sending the registration request message and send the authorization request message at a fixed time;
[0009] In response to the authorization request information, check whether the ONU is legal. If it is legal, reply with authorization success information, otherwise reply with authorization failure information;
[0010] In response to the authorization success message, stop sending the authorization request message, and the registration authorization is completed;
[0011] In response to the authorization failure information, the ONU stops sending the authorization request information, enters the silent state, and sends the registration request information again at a fixed time after the silent time ends until the registration authorization is completed;
[0012] The registration request information, registration confirmation information, authorization request information, authorization success information and authorization failure information are all transmitted through the PLC channel.
[0013] In the technical solution provided by the present invention, the registration request information is actively reported by the ONU, which reduces the burden on the OLT, does not require strict time synchronization requirements, and reduces the performance requirements on the software and hardware of the PON system; because the ONU can actively send the registration authorization information, it is not necessary to use a complex conflict detection backoff algorithm to allocate the ID information of the ONU, thereby improving the speed and success rate of the registration authorization; and the information is broadcast information, other ONUs can also receive the registration request information, and the information of the entire OLT can be viewed through any ONU, which is convenient for product engineering maintenance; the modulation and demodulation adopted by the PLC (power line communication) channel is a full-duplex channel, and the sending and receiving of data are respectively transmitted by two groups of different data lines, and both communicating parties (ONU and OLT) can receive and send information at the same time, which greatly improves the data transmission efficiency, thereby further improving the authorization speed.
[0014] In some implementations, after the registration authorization is completed, ONU online request information is sent by broadcast at regular intervals to query whether the ONU is online; if online confirmation information is received, it indicates that the ONU is online; if no online confirmation information is received after timeout, it indicates that the ONU is offline and the ONU resources are released; by regularly checking whether the ONU is online and releasing the ONU resources when the ONU is offline, the system memory usage can be saved.
[0015] In some implementations, the ONU periodically sends a registration request message every 10 ms until receiving a registration confirmation message replied by the OLT.
[0016] In some embodiments, after receiving the registration request information, the OLT obtains the source MAC address information of the registration request information and assigns a unique identification information to the source MAC address information of the registration request information. The registration confirmation information, authorization request information, authorization success information and authorization failure information all include the unique identification information; the unique identification information can be used for subsequent PON network DBA scheduling and data forwarding.
[0017] In some implementations, the method for detecting whether the ONU is legitimate is:
[0018] A legal ONU is preset in an OLT local database, and the legal ONU includes MAC address information; the OLT obtains the MAC address information in the authorization request information, and compares the obtained MAC address information with the MAC address information preset in the database one by one. If the database has MAC address information corresponding to the obtained MAC address information, the unique identification information in the authorization request information is detected to confirm whether the unique identification information is consistent with the unique identification information assigned in the registration confirmation information. If they are consistent, the ONU is determined to be legal, and if they are inconsistent, the ONU is determined to be illegal; if the database does not have the MAC address information corresponding to the obtained MAC address information, the ONU is determined to be illegal.
[0019] In some implementations, the silent time is 1 minute. When the ONU remains silent for more than 1 minute, it sends the registration request information again and repeats the above steps until the registration authorization is completed.
[0020] A second aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and is characterized in that the processor implements the steps of the above-mentioned registration authorization method when executing the computer program.
[0021] A third aspect of the present invention provides a storage medium storing a computer program, wherein the computer program implements the steps of the above-mentioned registration authorization method when executed by a processor.
[0022] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The accompanying drawings in the present invention are used to illustrate preferred embodiments, so as to facilitate a person skilled in the art to clearly understand various other advantages and benefits, and should not be considered as limiting the present invention. In addition, the same reference numerals are used throughout the drawings to represent the same or similar components.
[0024] Figure 1 A schematic diagram of a flow chart of an ONU registration authorization method of a PON system based on an optoelectronic composite cable in one embodiment of the present invention;
[0025] Figure 2The figure is a flow chart of detecting whether an ONU is legal in one embodiment of the present invention. DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with specific embodiments. Obviously, the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0028] In the description of the embodiments of the present invention, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present invention, the meaning of "multiple" is more than two (including two), unless otherwise clearly and specifically defined.
[0029] In the description of the embodiments of the present invention, the term "and / or" is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0030] In the description of the embodiments of the present invention, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the embodiments of the present invention.
[0031] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0032] See also Figure 1 , Figure 2 According to a first aspect of an embodiment of the present invention, there is provided an ONU registration authorization method for a PON system based on an optoelectronic composite cable, comprising the following steps:
[0033] After the ONU is powered on, it actively broadcasts and sends registration request information at a fixed time. The source MAC address of the registration request information is the ONU MAC address, and the destination MAC address is the broadcast address.
[0034] After receiving the registration request message, the OLT replies with a registration confirmation message to the ONU. The source MAC address of the registration confirmation message is the OLT MAC address, and the destination MAC address is the ONU MAC address.
[0035] After receiving the registration confirmation message, the ONU stops sending the registration request message and sends the authorization request message to the OLT at a fixed time. The source MAC address of the authorization request message is the ONU MAC address, and the destination MAC address is the OLT MAC address.
[0036] After receiving the authorization request information, the OLT detects whether the ONU is legal. If it is legal, it replies with an authorization success message, otherwise it replies with an authorization failure message. The source MAC address of the authorization success message and the authorization failure message is the OLT MAC address, and the destination MAC address is the ONU MAC address.
[0037] If the ONU receives the authorization success message, it stops sending the authorization request message and the registration authorization is completed;
[0038] If the ONU receives authorization failure information, it stops sending authorization request information, enters silent state, and sends registration request information again at regular intervals after the silent time ends until the registration authorization is completed;
[0039] The registration request information, registration confirmation information, authorization request information, authorization success information and authorization failure information are all transmitted through the PLC channel.
[0040] In the technical solution provided by the present invention, the registration request information is actively reported by the ONU, which reduces the burden on the OLT, does not require strict time synchronization requirements, and reduces the performance requirements for the PON system hardware and software; because the ONU can actively send the registration authorization information, there is no need to use a complex conflict detection backoff algorithm to allocate the ONU ID information, which improves the speed and success rate of registration authorization; and the information is broadcast information, other ONUs can also receive the registration request information, and any ONU can view the information of the entire OLT, which is convenient for product engineering maintenance. The modulation and demodulation used in the PLC (power line communication) channel is a full-duplex channel, and the sending and receiving of data are transmitted by two different groups of data lines respectively. Both communicating parties (ONU and OLT) can receive and send information at the same time, which greatly improves the data transmission efficiency, thereby further improving the authorization speed.
[0041] The PON system of this embodiment is connected to a PLC controller, which can manage the optical network unit (ONU) through electrical signals. When in use, the PON system of this embodiment can be managed through optical signals based on traditional PON technology, or can be managed by the PLC controller through electrical signals.
[0042] Specifically, an optical line terminal (OLT) and an optical network unit (ONU) are connected by an optoelectronic composite cable.
[0043] In some embodiments, the optoelectronic composite cable has at least one optical signal channel for providing registration authorization, configuration management and other operations between the optical line terminal (OLT) and the optical network unit (ONU); and at least one electrical signal channel for providing power supply and configuration management and other operations between the optical line terminal (OLT) and the optical network unit (ONU).
[0044] In some embodiments, the connection port of the optical line terminal (OLT) includes at least one first optoelectronic composite port for connecting to an optoelectronic composite plug of an optoelectronic composite cable, or includes at least one pair of first optical signal ports and first electrical signal ports for connecting to an optoelectronic composite cable with separate optical signal plugs and electrical signal plugs.
[0045] In some embodiments, the connection port of the optical network unit (ONU) includes at least one second optoelectronic composite port for connecting to an optoelectronic composite plug of an optoelectronic composite cable, or includes at least one pair of second optical signal ports and second electrical signal ports for connecting to an optoelectronic composite cable with an optical signal plug and an electrical signal plug separated.
[0046] In some embodiments, after the registration authorization is completed, ONU online request information is sent by broadcast at regular intervals to query whether the ONU is online; if online confirmation information is received, it indicates that the ONU is online; if no online confirmation information is received within a timeout, it indicates that the ONU is offline and the ONU resources are released; by regularly checking whether the ONU is online and releasing the ONU resources when the ONU is offline, the system memory usage can be saved.
[0047] In a specific implementation manner, the ONU timing sends a signal every 10 ms (the sending period in this embodiment is 10 ms). , During the specific implementation process, the cycle length can be flexibly adjusted according to the actual situation) to send a registration request message until the registration confirmation message replied by the OLT is received.
[0048] In some embodiments, after receiving the registration request information, the OLT obtains the source MAC address information of the registration request information, and assigns a unique identification information ONU ID to the source MAC address information of the registration request information, and the registration confirmation information, authorization request information, authorization success information and authorization failure information all include the unique identification information ONUID; the unique identification information ONU ID can be used for subsequent PON network DBA scheduling and data forwarding.
[0049] Please continue reading Figure 2 In some embodiments, the method for detecting whether the ONU is legal is:
[0050] A legal ONU is preset in an OLT local database, and the legal ONU includes MAC address information; the OLT obtains the MAC address information in the authorization request information, and compares the obtained MAC address information with the MAC address information preset in the database one by one. If the database has MAC address information corresponding to the obtained MAC address information, the unique identification information in the authorization request information is detected to confirm whether the unique identification information is consistent with the unique identification information assigned in the registration confirmation information. If they are consistent, the ONU is determined to be legal, and if they are inconsistent, the ONU is determined to be illegal; if the database does not have the MAC address information corresponding to the obtained MAC address information, the ONU is determined to be illegal.
[0051] In a specific implementation, the silent time is 1 minute (in the specific implementation process, the silent time can be flexibly adjusted according to the actual situation). When the ONU remains silent for more than 1 minute, it sends the registration request information again and repeats the above steps until the registration authorization is completed.
[0052] A second aspect of an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and is characterized in that the processor implements the steps of the above-mentioned registration authorization method when executing the computer program.
[0053] A third aspect of an embodiment of the present invention provides a storage medium, wherein the storage medium stores a computer program, and is characterized in that when the computer program is executed by a processor, the steps of the above-mentioned registration authorization method are implemented.
[0054] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the embodiments, or replace some or all of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention. In particular, as long as there is no contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way. The present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.
Claims
1. An ONU registration authorization method for a PON system based on an optoelectronic composite cable, characterized in that: The following steps are involved: ONU sends registration request information regularly; In response to the registration request message, the OLT replies with a registration confirmation message; In response to the registration confirmation message, stop sending the registration request message and send the authorization request message at a fixed time; In response to the authorization request information, check whether the ONU is legal. If it is legal, reply with authorization success information, otherwise reply with authorization failure information; In response to the authorization success message, stop sending the authorization request message, and the registration authorization is completed; In response to the authorization failure information, the ONU stops sending the authorization request information, enters the silent state, and sends the registration request information again at a fixed time after the silent time ends until the registration authorization is completed; The registration request information, registration confirmation information, authorization request information, authorization success information and authorization failure information are all transmitted through the PLC power line channel.
2. The ONU registration authorization method of a PON system based on an optoelectronic composite cable according to claim 1, characterized in that: After the registration authorization is completed, the ONU online request information is sent through broadcast at regular intervals to query whether the ONU is online; if the online confirmation information is received, it indicates that the ONU is online; if the online confirmation information is not received within the time limit, it indicates that the ONU is offline and the ONU resources are released.
3. The ONU registration authorization method of a PON system based on an optoelectronic composite cable according to claim 1, characterized in that: The ONU sends a registration request message every 10 ms.
4. The ONU registration authorization method of a PON system based on an optoelectronic composite cable according to claim 1, characterized in that: After receiving the registration request information, the OLT obtains the source MAC address information of the registration request information and allocates a unique identification information to the source MAC address information of the registration request information. The registration confirmation information, authorization request information, authorization success information and authorization failure information all contain the unique identification information.
5. The ONU registration authorization method of a PON system based on an optoelectronic composite cable according to claim 1, characterized in that: The method to detect whether the ONU is legal is: Preset a legal ONU in the local database of the OLT, and the legal ONU includes MAC address information; the OLT obtains the MAC address information in the authorization request information, and compares the obtained MAC address information with the MAC address information preset in the database one by one. If the database has MAC address information corresponding to the obtained MAC address information, then detect the unique identification information in the authorization request information, and confirm whether the unique identification information is consistent with the unique identification information assigned in the registration confirmation information. If they are consistent, the ONU is determined to be legal, and if they are inconsistent, the ONU is determined to be illegal; If the database does not contain MAC address information corresponding to the acquired MAC address information, it is determined that the ONU is illegal.
6. The ONU registration authorization method of a PON system based on an optoelectronic composite cable according to claim 1, characterized in that: The silent time is 1 minute.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
8. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Optical network unit (ONU) registration activating method and system
CN101902662A
Mixed media communication network and uninterrupted communication method
CN106656265A
