Passive optical network networking method and device
By introducing automatic detection and configuration methods into PON, edge ONTs and main ONTs can detect the networking mode on their own and perform corresponding operations, solving the problem of low networking efficiency in the existing technology and achieving a more efficient and secure networking. process.
Patent Information
- Application Number
- CN202011197425.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-10-30
AI Technical Summary
The existing passive optical network (PON) networking efficiency is low, mainly because edge ONTs require manual configuration, resulting in a cumbersome networking process and low efficiency.
By introducing a method of automatically detecting the networking mode in PON, the edge ONT can configure itself according to the configuration content delivered by the main ONT, or enter sleep mode or bridge ONT mode. The main ONT can also automatically detect the networking mode and perform corresponding configuration or Power supply operation, reducing manual intervention.
It improves PON networking efficiency, reduces the need for manual configuration, and improves the automation and security of networking.
Smart Images

Figure CN114449377B
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical fiber communication technology, and in particular to a passive optical network (PON) networking method and device. Background Art
[0002] PON is a passive optical network, usually composed of three parts: optical line terminal (OLT) at the central office, optical distribution network (ODN) and optical network terminal (ONT). In the case of secondary networking of PON, the secondary networking includes main ONT and edge ONT, the main ONT is connected to OLT, and the edge ONT is connected to the main ONT. For example, in the (fiber to the room, FTTR) networking, the home gateway is the main ONT, the ONT deployed in each room is the edge ONT, and the home gateway manages the edge ONT deployed in each room.
[0003] In the related art, the edge ONT is connected to the main ONT, and the edge ONT is manually configured as a wireless routing device. Since there are a large number of edge ONTs, each edge ONT needs to be manually configured, which will lead to a relatively low networking efficiency of the PON. Summary of the invention
[0004] The present application provides a PON networking method and device to improve the PON networking efficiency. The technical solution is as follows:
[0005] In a first aspect, the present application provides a PON networking method, the PON comprising a main ONT and at least one edge ONT, the at least one edge ONT comprising a first edge ONT, the method comprising: the first edge ONT detecting a networking mode with the main ONT, the first edge ONT detecting that the networking mode is the first networking mode, receiving configuration content issued by the main ONT, configuring the first edge ONT based on the configuration content, and the first edge ONT detecting that the networking mode is the second networking mode, configuring the bridging ONT as the main ONT or entering a sleep mode.
[0006] The first networking mode is used to indicate that the first edge ONT is not directly plugged into the main ONT, but is connected to the main ONT through one or more connections of optical fiber, network cable or wireless. The first networking mode may also be referred to as a separation networking mode, an independent networking mode, etc. The second networking mode is used to indicate that the first edge ONT serves as an extension port of the main ONT to extend the wireless signal of the main ONT. The second networking mode may also be referred to as a unified networking mode, etc.
[0007] The solution shown in the present application, the PON includes a main ONT and at least one edge ONT, at least one edge ONT includes a first edge ONT, the first edge ONT can detect the networking mode with the main ONT, when the networking mode is the first networking mode, the first edge ONT receives the configuration content sent by the main ONT, and configures the first edge ONT based on the configuration content. When the networking mode is the second networking mode, the first edge ONT configures itself as a bridge ONT of the main ONT or enters a sleep mode. In this way, the edge ONT in the PON can automatically detect the networking mode with the main ONT and set its own state without manual setting, so the networking efficiency of the PON can be improved.
[0008] In a possible implementation, the configuration content includes one or more of a working mode, a service configuration, or a network configuration, wherein the working mode is a bridging mode or a routing mode. The service configuration indicates the service (such as video, voice, text, etc.) performed by the first edge ONT, and the network configuration indicates the network information of the first edge ONT, such as bandwidth, etc. In this way, the master ONT can perform comprehensive configuration on the managed edge ONTs.
[0009] In a possible implementation, the first edge ONT detects that it is not powered by the main ONT and can receive a downlink message sent by the main ONT, and determines that the networking mode with the main ONT is the first networking mode; the first edge ONT detects that it is powered by the main ONT or is connected to the main ONT through a high-speed interface, and determines that the networking mode with the main ONT is the second networking mode.
[0010] The scheme shown in the present application, the first edge ONT can detect whether it is powered by the main ONT, and when it is detected that it is powered by the main ONT, it can be determined that the networking mode is the second networking mode. When it is detected that it is not powered by the main ONT, it can be further determined whether the downlink message sent by the main ONT is received. If the first edge ONT receives the downlink message sent by the main ONT, it is determined that the networking mode is the first networking mode. Or the first edge ONT can detect whether it is connected to the main ONT through a high-speed interface, and when it is detected that it is connected to the main ONT through a high-speed interface, it can be determined that the networking mode is the second networking mode. Here, the first edge ONT detects whether it is powered by the main ONT, and it can be detected whether the input current module connected to the main ONT is turned on. Turning on indicates that it is powered by the main ONT, otherwise it indicates that it is not powered by the main ONT. In this way, the networking mode can be accurately judged.
[0011] In a possible implementation, when the working mode is a routing mode, the method further includes: when the first edge ONT receives a first uplink message sent by a terminal device connected to the first edge ONT, converting a source Internet Protocol (IP) address in the first uplink message into a public IP address, and forwarding the first uplink message after the address conversion to the main ONT; when the first edge ONT receives a first downlink message sent by the main ONT, converting the destination IP address in the first downlink message into a private IP address, and forwarding the first downlink message after the address conversion to the terminal device connected to the first edge ONT.
[0012] In the scheme shown in the present application, the first edge ONT is in routing mode, that is, it is used as an independent wireless routing device, and the main ONT is also used as an independent wireless routing device. The processing process of the terminal device sending the first uplink message to the external network: After the terminal device accesses the first edge ONT, the terminal device sends the first uplink message to the first edge ONT, and the source IP address in the first uplink message is the private network IP address of the terminal device. When the first edge ONT receives the first uplink message, the first edge ONT can convert the source IP address in the first uplink message into the corresponding public network IP address. Then the first edge ONT forwards the converted first uplink message to the main ONT. The main ONT can send the converted first uplink message outward to the external network. Or the main ONT can perform a secondary conversion on the public network IP address in the converted first uplink message, convert it into a public network IP address stored by the main ONT, and then send the secondary converted first uplink message outward to the external network. Processing process of receiving the first downlink message sent by the external network by the terminal device: When the master ONT receives the first downlink message sent by the external network, the master ONT can forward the first downlink message to the first edge ONT, or the master ONT can convert the destination IP address in the first downlink message into the public network IP address stored in the first edge ONT, and then forward the first downlink message after the address conversion to the first edge ONT. The first edge ONT can convert the destination IP address in the received first downlink message into the corresponding private network IP address of the terminal device, and forward the first downlink message after the address conversion to the terminal device. In this way, the first edge ONT can be used as a wireless routing device alone.
[0013] In a possible implementation, when the working mode is the bridging mode, or after the first edge ONT is configured as a bridging ONT of the main ONT, the method further includes: when the first edge ONT receives a second uplink message sent by a terminal device connected to the first edge ONT, the first edge ONT forwards the second uplink message to the main ONT; when the first edge ONT receives a second downlink message sent by the main ONT, the first edge ONT forwards the second downlink message to the terminal device connected to the first edge ONT.
[0014] The scheme shown in the present application is a process in which a terminal device sends a second uplink message to an external network: after the terminal device accesses the first edge ONT, the terminal device sends a second uplink message to the first edge ONT, and the first edge ONT does not process the second uplink message, and sends the received second uplink message to the main ONT. If the main ONT and the first edge ONT are in a layer 2 bridge mode, the main ONT can forward the second uplink message according to the media access control (MAC) address in the second uplink message without processing the second uplink message. If the main ONT and the first edge ONT are in a layer 3 bridge mode, the main ONT converts the source IP address in the second uplink message into a corresponding public network IP address, and then sends the converted second uplink message to the external network.
[0015] The process of the terminal device receiving the second downstream message sent by the external network: the external network sends the second downstream message to the main ONT. If the main ONT and the first edge ONT are in the second-layer bridge mode, the main ONT can forward the second downstream message to the first edge ONT according to the MAC address in the second downstream message. If the main ONT and the first edge ONT are in the third-layer bridge mode, the main ONT converts the destination IP address in the second downstream message into the private network IP address of the corresponding terminal device, and then sends the converted second downstream message to the first edge ONT. The first edge ONT sends the second downstream message to the terminal device indicated by the private network IP address according to the private network IP address. In this way, when the first edge ONT is in the bridge ONT of the main ONT, message forwarding processing can also be performed.
[0016] In a possible implementation, when the first edge ONT detects that the networking mode is the first networking mode, the method further includes: the first edge ONT receives a discovery message broadcast by the main ONT, wherein the discovery message includes first identification information, and the first identification information is identification information of the main ONT; after the first edge ONT determines that the first identification information is identification information of a stored known main ONT, the first edge ONT sends second identification information to the main ONT, wherein the second identification information is identification information of the first edge ONT; the first edge ONT receives configuration content sent by the main ONT, including: the first edge ONT receives the configuration content sent by the main ONT after determining that the first edge ONT is a known edge ONT according to the second identification information.
[0017] In the scheme shown in the present application, the first edge ONT receives a discovery message broadcast by the main ONT, and the discovery message includes the identification information of the main ONT, that is, the first identification information. After determining that the first identification information is the identification information of the known main ONT, the first edge ONT sends the second identification information to the main ONT, and the second identification information is the identification information of the first edge ONT. After the main ONT recognizes that the second identification information is the identification information of the known edge ONT, it sends the configuration content to the first edge ONT. The first edge ONT receives the configuration content. In this way, since two-way authentication can be achieved when the edge ONT is added to the main ONT, other non-agreed edge ONTs are prevented from accessing, the networking of the PON can be made safer.
[0018] In a possible implementation, when the first edge ONT detects that the networking mode with the main ONT is the first networking mode, the connection between the first edge ONT and the main ONT is one or more of a PON connection, a peer-to-peer (P2P) optical fiber connection, a P2P network cable connection, or a wireless connection.
[0019] In a possible implementation manner, when the first edge ONT detects that the networking mode is the second networking mode, the first edge ONT is plugged into the physical interface of the main ONT.
[0020] In a second aspect, the present application provides a PON networking method, the PON including a main optical network terminal ONT and at least one edge ONT, the at least one edge ONT including a first edge ONT, the method including: the main ONT detecting a networking mode; when the main ONT detects that the networking mode is the first networking mode, sending configuration content to the first edge ONT; when the main ONT detects that the networking mode is the second networking mode, powering the first edge ONT.
[0021] In the solution shown in the present application, the main ONT detects the networking mode, and when the networking mode is detected to be the first networking mode, the configuration content is sent to the first edge ONT, and when the networking mode is detected to be the second networking mode, the first edge ONT is powered. In this way, the main ONT can automatically detect the networking mode, and automatically configure the edge ONT, or automatically power the edge ONT without manual settings, so the networking efficiency of the PON can be improved.
[0022] In a possible implementation, the master ONT detects the networking mode, including: the master ONT detects that a target function is enabled, and determines that the networking mode is a first networking mode; the master ONT detects that the target function is not enabled, and determines that the networking mode is a second networking mode, wherein the target function refers to a function for managing at least one edge ONT.
[0023] In the scheme shown in this application, the target function is the OLT function, that is, the function of managing the edge ONT. The target function corresponds to a virtual module in the main ONT, and the target function can be turned on or off by controlling the virtual module to work and stop working.
[0024] The user can set in advance whether the target function of the main ONT is turned on or off. Optionally, the user can connect to the main ONT through a terminal device to configure whether the target function of the main ONT is turned on, or a physical button is set on the main ONT, and the user can control the turning on and off of the target function through the physical button.
[0025] The master ONT can detect whether the target function is turned on. When the target function is detected to be turned on, the networking mode is determined to be the first networking mode. The first networking mode can also be called a separation networking mode, an independent networking mode, etc. When it is detected that the target function is not turned on, the networking mode is determined to be the second networking mode, and the second networking mode is used to indicate that the first edge ONT serves as an extension port of the master ONT to extend the wireless signal of the master ONT. The second networking mode can also be called a unified networking mode, etc. In this way, the networking mode can be accurately determined.
[0026] In a possible implementation manner, when the master ONT detects that the networking mode is the first networking mode, the method further includes: the master ONT controls a power supply function of the master ONT to be turned off or sleep.
[0027] The power supply function is used to supply power to at least one edge ONT.
[0028] In the solution shown in the present application, when the networking mode is the first networking mode, the master ONT can control its own power supply function to be turned off or sleep, thereby saving the power consumption of the master ONT.
[0029] In a possible implementation, the configuration content includes one or more of a working mode, a service configuration, or a network configuration, wherein the working mode is a bridging mode or a routing mode.
[0030] In a possible implementation, when the master ONT detects that the networking mode is the first networking mode, the method further includes: the master ONT broadcasts a discovery message, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT; the master ONT receives second identification information sent by the first edge ONT, wherein the second identification information is identification information of the first edge ONT; and sending configuration content to the first edge ONT includes: when the second identification information is identification information of a stored known edge ONT, the master ONT sends the configuration content to the first edge ONT.
[0031] In the scheme shown in the present application, when the main ONT detects that the networking mode is the first networking mode, the main ONT can broadcast a discovery message, and the discovery message includes the identification information of the main ONT, that is, the first identification information. The first edge ONT receives the discovery message, and when it is determined that the first identification information is the identification information of the known main ONT, it sends its own second identification information to the main ONT. When the main ONT determines that the second identification information is the identification information of the known edge ONT, it sends configuration content to the first edge ONT for configuring the first edge ONT. In this way, since two-way authentication can be achieved when the edge ONT is added to the main ONT, other non-agreed edge ONTs are prevented from accessing, the networking of the PON can be made safer.
[0032] In a third aspect, the present application provides a PON networking device, which includes one or more modules for implementing the networking method described in the first aspect.
[0033] In a fourth aspect, the present application provides a PON networking device, which includes one or more modules for implementing the networking method described in the second aspect.
[0034] In a fifth aspect, the present application provides an edge ONT, the edge ONT comprising a processor and a memory, wherein: the memory stores computer instructions, and the processor executes the computer instructions to implement the method of the first aspect and possible implementation methods thereof.
[0035] In a sixth aspect, the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions in the computer-readable storage medium are executed by the edge ONT, the edge ONT performs the method of the first aspect and its possible implementation, or enables the edge ONT to implement the functions of the device of the above-mentioned third aspect and its possible implementation.
[0036] In a seventh aspect, the present application provides a computer program product comprising computer instructions, which, when running on an edge ONT, enables the edge ONT to perform the method of the first aspect and its possible implementation, or enables the edge ONT to implement the functions of the device of the third aspect and its possible implementation.
[0037] In an eighth aspect, the present application provides a master ONT, the master ONT comprising a processor and a memory, wherein: the memory stores computer instructions, and the processor executes the computer instructions to implement the method of the second aspect and possible implementation methods thereof.
[0038] In a ninth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions. When the computer instructions in the computer-readable storage medium are executed by a master ONT, the master ONT performs the method of the second aspect and its possible implementation, or enables the master ONT to implement the functions of the apparatus of the fourth aspect and its possible implementation.
[0039] In a tenth aspect, the present application provides a computer program product comprising computer instructions, which, when running on a master ONT, enables the master ONT to perform the method of the second aspect and its possible implementation, or enables the master ONT to implement the functions of the device of the fourth aspect and its possible implementation.
[0040] In an eleventh aspect, the present application provides a PON system, which includes a main ONT and at least one edge ONT, each edge ONT in the at least one edge ONT is used to implement the networking method described in the first aspect above, and the main ONT is used to implement the networking method described in the second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 is a PON system architecture diagram provided by an exemplary embodiment of the present application;
[0042] Figure 2 is a schematic diagram of FTTR networking provided by an exemplary embodiment of the present application;
[0043] Figure 3 is a schematic structural diagram of a master ONT provided by an exemplary embodiment of the present application;
[0044] Figure 4 is a schematic structural diagram of an edge ONT provided by an exemplary embodiment of the present application;
[0045] Figure 5 It is a flowchart of a PON networking method provided by an exemplary embodiment of the present application;
[0046] Figure 6It is a flowchart of a PON networking method provided by an exemplary embodiment of the present application;
[0047] Figure 7 is a schematic diagram of a PON network in a first networking mode provided by an exemplary embodiment of the present application;
[0048] Figure 8 is a schematic diagram of PON networking in a second networking mode provided by an exemplary embodiment of the present application;
[0049] Fig. 9 is a schematic diagram of PON networking in a second networking mode provided by an exemplary embodiment of the present application;
[0050] Fig.10 It is a schematic diagram of a configuration flow of a master ONT to an edge ONT provided by an exemplary embodiment of the present application;
[0051] Fig.11 It is a structural diagram of a PON networking device provided by an exemplary embodiment of the present application;
[0052] Fig.12 It is a structural schematic diagram of a PON networking device provided by an exemplary embodiment of the present application;
[0053] Fig.13 It is a structural diagram of a PON networking device provided by an exemplary embodiment of the present application;
[0054] Fig.14 It is a structural schematic diagram of a PON networking device provided by an exemplary embodiment of the present application;
[0055] Fig.15 It is a structural diagram of a PON networking device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0056] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0057] In order to facilitate the understanding of the embodiments of the present application, the concepts of the terms involved are first introduced below:
[0058] 1. PON is a passive optical network, usually composed of three parts: OLT, ODN and ONT at the local end. ONT can also be an optical network unit (ONU). Figure 1 As shown, multiple ONTs are connected to the PON port of the same OLT through the ODN.
[0059] 2. FTTR is to extend the optical fiber not only into the user's room, but also into each room of the user, and install wireless routing equipment inside the room. In this way, the distance between the user's terminal equipment and the wireless routing equipment is shortened, ensuring the quality of the wireless signal. Optionally, one networking method of FTTR can be: Figure 2 As shown in the figure, network operators provide users with gigabit access bandwidth through PON. The home gateway (i.e., main ONT) can be deployed in the information box, and the optical fiber is connected to each room through the pipe hole resources reserved during decoration. The home gateway is connected to the ONT in each room through the optical fiber deployed inside the home. The wireless signal of the ONT in each room only needs to cover the inside of the room. Each terminal device in the home selects the ONT closest to it for connection. Since the coverage range of each ONT is reduced, multiple ONTs can cover every angle of the room. In this way, based on the FTTR networking system, the user's terminal device can fully enjoy the improved network experience brought by the increased access bandwidth.
[0060] In order to efficiently carry out PON networking, the present application provides a PON networking method, the PON is a two-level networking, the PON includes a main ONT and at least one edge ONT, the at least one edge ONT includes a first edge ONT. For example, the PON networking method is applied to FTTR, the main ONT is a home gateway, and the edge ONT is an ONT in each room. The ONT involved in the present application can realize a wireless routing function, and can provide a wireless signal without connecting to a router.
[0061] The structure of edge ONT is introduced as follows: Figure 3 As shown, the edge ONT may include a memory 301 and a processor 302. The memory 301 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 301 may store computer instructions. When the computer instructions stored in the memory 301 are executed by the processor 302, the processor 302 is used to perform the networking method of the PON. The memory 301 may also store data.
[0062] The processor 302 may be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits.
[0063] Optionally, the edge ONT may further include a communication interface and a bus. The memory 301, the processor 302, and the communication interface are connected to each other through the bus. The communication interface uses a transceiver module such as, but not limited to, a transceiver to enable the edge ONT to communicate with other devices. For example, communication can be performed with the main ONT through the communication interface.
[0064] The bus may include a path for transmitting information between various components of the edge ONT (eg, memory 301, processor 302, communication interface).
[0065] The structure of the main ONT is introduced as follows: Figure 4 As shown, the master ONT may include a memory 401 and a processor 402. The memory 401 may be a ROM, a static storage device, a dynamic storage device or a RAM. The memory 401 may store computer instructions. When the computer instructions stored in the memory 401 are executed by the processor 402, the processor 402 is used to perform the networking method of the PON. The memory 401 may also store data.
[0066] The processor 402 may be a general-purpose CPU, a microprocessor, an ASIC, a GPU, or one or more integrated circuits.
[0067] Optionally, the master ONT may further include a communication interface and a bus. The memory 401, the processor 402, and the communication interface are connected to each other through the bus. The communication interface uses a transceiver module such as, but not limited to, a transceiver to enable the master ONT to communicate with other devices. For example, communication can be performed with an edge ONT through a communication interface.
[0068] The bus may include a path for transmitting information between various components of the master ONT (eg, memory 401, processor 402, communication interface).
[0069] like Figure 5 As shown, the process of edge ONT in the PON networking method can be:
[0070] Step 501: A first edge ONT detects a networking mode with a master ONT.
[0071] In this embodiment, the first edge ONT detects the networking mode between itself and the main ONT when it is powered on or the first edge ONT detects the networking mode between itself and the main ONT when it exits the sleep mode.
[0072] In a possible implementation, in step 501, the first edge ONT may determine the networking mode with the master ONT in the following manner:
[0073] The first edge ONT detects that it is not powered by the main ONT and can receive the downlink message sent by the main ONT, and determines that the networking mode with the main ONT is the first networking mode; the first edge ONT detects that it is powered by the main ONT or is connected to the main ONT through a high-speed interface, and determines that the networking mode with the main ONT is the second networking mode.
[0074] The high-speed interface is a local network interface of the first edge ONT, and is used to connect to the main ONT when networking with the main ONT according to the second networking mode.
[0075] In this embodiment, the first edge ONT can detect whether it is powered by the main ONT. When it is detected that it is powered by the main ONT, it can be determined that the networking mode is the second networking mode. When it is detected that it is not powered by the main ONT, it can be further determined whether a downlink message sent by the main ONT is received. If a downlink message sent by the main ONT is received, the networking mode is determined to be the first networking mode. On the contrary, if the downlink message sent by the main ONT is not received, it is not possible to determine that the networking mode is the first networking mode. Or the first edge ONT can detect whether it is connected to the main ONT through a high-speed interface. When it is detected that it is connected to the main ONT through a high-speed interface, it can be determined that the networking mode is the second networking mode. Here, the first edge ONT detects whether it is powered by the main ONT, which can be to detect whether the input current module connected to the main ONT is turned on. Turning on indicates that it is powered by the main ONT, otherwise it indicates that it is not powered by the main ONT.
[0076] In this way, the networking mode of the first edge ONT and the main ONT can be accurately determined based on the power supply situation.
[0077] Step 502: When it is detected that the networking mode with the master ONT is the first networking mode, the first edge ONT receives the configuration content sent by the master ONT, and configures the first edge ONT based on the configuration content.
[0078] The first networking mode is used to indicate that the first edge ONT is not directly plugged into the main ONT, but is connected to the main ONT through one or more connections of optical fiber, network cable or wireless. The first networking mode can also be called a separation networking mode, an independent networking mode, a separate networking mode, etc.
[0079] In this embodiment, when the first edge ONT detects that the networking mode with the main ONT is the first networking mode, the first edge ONT receives the configuration content sent by the main ONT, and then uses the configuration content for configuration.
[0080] In a possible implementation, the configuration content may include one or more of a working mode, a service configuration, or a network configuration, the working mode is a bridging mode or a routing mode, the service configuration indicates a service (such as video, voice, text, etc.) performed by the first edge ONT, and the network configuration indicates network information of the first edge ONT, such as bandwidth, etc. The first edge ONT configures the working mode in the configuration content as its own working mode, determines the service configuration in the configuration content as a service that the first edge ONT can perform, and uses the network configuration in the configuration content to configure its own network.
[0081] In addition, when the first edge ONT detects that the networking mode with the main ONT is the first networking mode, the first edge ONT can also obtain the pre-stored configuration content and perform configuration. For example, the user uses a terminal device to connect to the first edge ONT through the network port of the first edge ONT or wirelessly, and the working mode of the first edge ONT is configured as a bridge mode in the first edge ONT, then the first edge ONT configures its own working mode as a bridge mode. For another example, the user uses a terminal device to connect to the first edge ONT through the network port of the first edge ONT or wirelessly, and the working mode of the first edge ONT is configured as a routing mode in the first edge ONT, then the first edge ONT configures its own working mode as a routing mode, and at this time the first edge ONT is a wireless routing device for providing wireless signals for the user's terminal device.
[0082] In a possible implementation, in step 502, when the working mode of the first edge ONT is the routing mode, the process of transmitting the message may be:
[0083] When the first edge ONT receives the first uplink message sent by the terminal device, the source IP address in the first uplink message is converted into a public IP address, and the first uplink message after the address conversion is forwarded to the main ONT; when the first edge ONT receives the first downlink message sent by the main ONT, the destination IP address in the first downlink message is converted into a private IP address, and the first downlink message after the address conversion is forwarded to the terminal device.
[0084] In this embodiment, the first edge ONT is in routing mode, that is, used as an independent wireless routing device, and the main ONT is also used as an independent wireless routing device.
[0085] The processing process of the terminal device sending an uplink message (the uplink message is called the first uplink message) to the external network: After the terminal device accesses the first edge ONT, the terminal device sends the first uplink message to the first edge ONT, and the source IP address in the first uplink message is the private IP address of the terminal device. When the first edge ONT receives the first uplink message, the first edge ONT can convert the source IP address in the first uplink message into the corresponding public IP address. Then the first edge ONT forwards the converted first uplink message to the main ONT. The main ONT can send the converted first uplink message outward to the external network. Or the main ONT can perform a secondary conversion on the public IP address in the converted first uplink message, convert it into a public IP address stored in the main ONT, and then send the secondary converted first uplink message outward to the external network.
[0086] The processing process of the terminal device receiving the downlink message sent from the external network (the uplink message is called the first downlink message): the master ONT receives the first downlink message sent from the external network, and the master ONT can forward the first downlink message to the first edge ONT, or the master ONT can convert the destination IP address in the first downlink message into the public network IP address stored in the first edge ONT, and then forward the first downlink message after the address conversion to the first edge ONT. The first edge ONT can convert the destination IP address in the received first downlink message into the corresponding private network IP address of the terminal device, and forward the first downlink message after the address conversion to the terminal device.
[0087] Step 503: When it is detected that the networking mode is the second networking mode, the first edge ONT is configured as a bridge ONT of the main ONT or enters a sleep mode.
[0088] The second networking mode is used to indicate that the first edge ONT is directly plugged into the main ONT, indicating that the first edge ONT serves as an extension port of the main ONT to extend the wireless signal of the main ONT. The second networking mode can also be called a unified networking mode, an integrated networking mode, etc.
[0089] In this embodiment, when the first edge ONT detects that the networking mode is the second networking mode, the user uses a terminal device to connect to the first edge ONT through the network port of the first edge ONT or wirelessly, and configures the working mode of the first edge ONT as a bridge mode in the first edge ONT. The first edge ONT configures itself as a bridge ONT connected to the main ONT. At this time, the main ONT is also a wireless routing device.
[0090] Alternatively, when the first edge ONT detects that the networking mode is the second networking mode, the user uses a terminal device to connect to the first edge ONT through a network port of the first edge ONT or wirelessly, and configures the working mode of the first edge ONT as a sleep mode in the first edge ONT. The first edge ONT can set itself to sleep mode and not perform task service processing.
[0091] Optionally, when the first edge ONT is in the second networking mode, a physical interface is provided on the master ONT, and the first edge ONT is directly plugged into the physical interface of the master ONT. And the master ONT, as a power source of the first edge ONT, can supply power to the first edge ONT through the physical interface.
[0092] Optionally, when the first edge ONT is in the second networking mode, the user can use a terminal device to connect to the main ONT through the network port or wireless connection of the main ONT, and configure the bandwidth and services of the first edge ONT on the main ONT. After the configuration is completed, the main ONT can send the user's configuration content of the first edge ONT to the first edge ONT. The first edge ONT is configured using the configuration content. Of course, the user can also connect to the first edge ONT through the network port or wireless connection of the first edge ONT to configure the first edge ONT.
[0093] In a possible implementation, after the first edge ONT is set as a bridge ONT of the master ONT in step 503 or when the working mode of the first edge ONT is a bridge mode in step 502, the process of transmitting the message may be:
[0094] When the first edge ONT receives the second uplink message sent by the terminal device, it forwards the second uplink message to the main ONT; when the first edge ONT receives the second downlink message sent by the main ONT, it forwards the second downlink message to the terminal device.
[0095] In this embodiment, the process of the terminal device sending an uplink message (the uplink message is called the second uplink message) to the external network is as follows: after the terminal device accesses the first edge ONT, the terminal device sends the second uplink message to the first edge ONT, and the first edge ONT does not process the second uplink message, and sends the received second uplink message to the main ONT. If the main ONT and the first edge ONT are in a layer 2 bridge mode, the main ONT can forward the second uplink message according to the MAC address in the second uplink message without processing the second uplink message. If the main ONT and the first edge ONT are in a layer 3 bridge mode, the main ONT converts the source IP address in the second uplink message into the corresponding public network IP address, and then sends the converted second uplink message to the external network.
[0096] The process of a terminal device receiving a downlink message sent by an external network (the downlink message is called a second downlink message): the external network sends a second downlink message to the main ONT. If the main ONT and the first edge ONT are in a layer 2 bridge mode, the main ONT can forward the second downlink message to the first edge ONT according to the MAC address in the second downlink message. If the main ONT and the first edge ONT are in a layer 3 bridge mode, the main ONT converts the destination IP address in the second downlink message into the private network IP address of the corresponding terminal device, and then sends the converted second downlink message to the first edge ONT. The first edge ONT sends the second downlink message to the terminal device indicated by the private network IP address according to the private network IP address.
[0097] It should be noted that if the main ONT and the first edge ONT are in layer 3 bridging mode, the main ONT and the first edge ONT are in the same network segment and are in a local area network. It should also be noted that the description here is based on the case where the terminal device is accessed to the first edge ONT. Of course, some terminal devices can also be directly accessed to the main ONT, and the transmission message does not pass through the first edge ONT.
[0098] It should also be noted that there is no order between step 502 and step 503.
[0099] In this way, the first edge ONT can automatically detect the networking mode with the main ONT and set its own status without manual setting, so the networking efficiency of PON can be improved.
[0100] In the embodiment of the present application, Figure 6 As shown, the process of the main ONT in the PON networking method is provided:
[0101] Step 601: The master ONT detects the networking mode.
[0102] In this embodiment, after being started, the master ONT detects its own networking mode.
[0103] In a possible implementation, the process of the master ONT detecting the networking mode may be:
[0104] The master ONT detects that the target function is enabled, and determines that the networking mode is the first networking mode; the master ONT detects that the target function is not enabled, and determines that the networking mode is the second networking mode.
[0105] The target function is the OLT function, that is, the function of managing the edge ONT. The target function corresponds to a virtual module in the main ONT. The target function can be turned on or off by controlling the virtual module to work or stop working.
[0106] In this embodiment, the user can set in advance whether the target function of the main ONT is turned on or off. Specifically, the user can connect to the main ONT through a terminal device to configure whether the target function of the main ONT is turned on, or a physical button is provided on the main ONT, and the user can control the turning on and off of the target function through the physical button.
[0107] The master ONT can detect whether the target function is turned on, and when it is detected that the target function is turned on, the networking mode is determined to be the first networking mode. The first networking mode may also be referred to as a separate networking mode, an independent networking mode, etc. When it is detected that the target function is not turned on, the networking mode is determined to be the second networking mode, and the second networking mode is used to indicate that the first edge ONT serves as an extension port of the master ONT to extend the wireless signal of the master ONT. The second networking mode may also be referred to as a unified networking mode, etc.
[0108] Step 602: When the master ONT detects that the networking mode is the first networking mode, the master ONT sends configuration content to the first edge ONT.
[0109] In this embodiment, when the master ONT detects that the networking mode is the first networking mode, the master ONT can add the first edge ONT, and after the first edge ONT is successfully added, the master ONT can send configuration content to the first edge ONT. The configuration content may include one or more of the working mode, service configuration, or network configuration.
[0110] In addition, the master ONT controls its own power supply function to be turned off or dormant, and the power supply function is used to power at least one edge ONT in the PON. Since there is no need to power at least one edge ONT, turning off or dormant the power supply function can reduce the power consumption of the master ONT.
[0111] Step 603: When the master ONT detects that the networking mode is the second networking mode, the master ONT supplies power to the first edge ONT.
[0112] In this embodiment, when the master ONT detects that the networking mode is the second networking mode, since the master ONT is directly connected to the first edge ONT, a power supply module for supplying power to the edge ONT may be started to supply power to the first edge ONT.
[0113] It should be noted that there is no order between step 602 and step 603.
[0114] In this way, Figure 6 In the process, the master ONT can automatically detect the networking mode and automatically perform the configuration of the edge ONT or automatically power the edge ONT without manual settings, so the networking efficiency of PON can be improved.
[0115] In one possible implementation, combining Figure 5 and Figure 6 In the process, each edge ONT in the PON is independently powered, and the connection with the main ONT can be one or more of a PON connection, a P2P optical fiber connection, a P2P network cable connection, or a wireless connection. At this time, the edge ONT detects that the networking mode with the main ONT is the first networking mode, and each edge ONT works in a bridging mode or a routing mode. For example, Figure 7 As shown, the PON includes 5 edge ONTs, the 5 edge ONTs are the first edge ONT to the fifth edge ONT, the first edge ONT and the second edge ONT are connected to the main ONT via a 1:2 optical splitter to achieve PON connection, the third edge ONT is connected to the main ONT via a P2P optical fiber, the fourth edge ONT is connected to the main ONT via a P2P network cable, and the fifth edge ONT is connected to the main ONT via a wireless connection.
[0116] In one possible implementation, combining Figure 5 and Figure 6 In the process, the main ONT is provided with multiple physical interfaces, and each edge ONT in the PON is directly plugged into different physical interfaces of the main ONT and powered by the main ONT. At this time, the edge ONT detects that the networking mode with the main ONT is the second networking mode, and each edge ONT works in the bridge mode or the sleep mode. For example, Figure 8 As shown, the main ONT can be inserted into 9 edge ONTs, and the PON includes 5 edge ONTs, the 5 edge ONTs are the first edge ONT to the fifth edge ONT, the first edge ONT to the fifth edge ONT are all inserted into the main ONT and work in the bridge mode. For another example, Fig. 9 As shown, the main ONT can be inserted into 9 edge ONTs, the PON includes 5 edge ONTs, the 5 edge ONTs are the first edge ONT to the fifth edge ONT, the first edge ONT to the third edge ONT are all inserted into the main ONT and work in the bridging mode, and the fourth edge ONT and the fifth edge ONT work in the sleep mode.
[0117] In a possible implementation, some edge ONTs in the PON are independently powered and operate in a bridging mode or a routing mode, and the remaining edge ONTs are powered by a main ONT and operate in a bridging mode.
[0118] Combination Figure 5 and Figure 6A process is also provided, wherein the PON includes a main ONT and at least one edge ONT, and the main ONT and the at least one edge ONT cooperate with each other to form an integrated device. There are multiple networking modes between the main ONT and the at least one edge ONT. Optionally, the multiple networking modes may include a first networking mode and a second networking mode.
[0119] In an embodiment of the present application, a processing flow is also provided in which, when the first edge ONT detects that the networking mode with the main ONT is the first networking mode, the main ONT authenticates and configures the first edge ONT, such as Fig.10 As shown:
[0120] Step 1001: The master ONT broadcasts a discovery message, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT.
[0121] In this embodiment, when the master ONT detects that the networking mode is the first networking mode and the number of edge ONTs currently connected is less than the maximum number of edge ONTs allowed to be accessed by the master ONT, the master ONT periodically broadcasts a discovery message, and the discovery message includes first identification information, the first identification information is identification information of the master ONT, and the first identification information may be a device serial number or MAC address of the master ONT. Of course, in some cases, the number of edge ONTs connected to the master ONT is not limited, so when the networking mode is detected to be the first networking mode, the master ONT can continue to periodically broadcast the discovery message until the networking mode is detected to be the second networking mode.
[0122] In addition, after the number of edge ONTs currently connected is equal to the maximum number of edge ONTs allowed to be connected by the master ONT, the master ONT no longer broadcasts the discovery message. When it is detected again that the number of edge ONTs that have been connected is less than the maximum number of edge ONTs allowed to be connected by the master ONT, the master ONT broadcasts the discovery message again.
[0123] Optionally, the master ONT may broadcast the discovery message through all channels for sending messages outwardly. For example, the channel includes wireless signals, PON ports and P2P ports, etc. The PON port indicates that a PON connection is established, and the P2P port indicates that a P2P optical fiber connection or a P2P network cable connection is established.
[0124] Step 1002: A first edge ONT receives a discovery message broadcast by a master ONT.
[0125] In this embodiment, the first edge ONT receives the discovery message broadcast by the master ONT, and obtains the first identification information therefrom.
[0126] Optionally, the first edge ONT may confirm whether to receive the discovery message broadcasted by the main ONT by switching among a receiving mode of a PON port, a receiving mode of a P2P port, and a wireless signal receiving mode.
[0127] It should be noted here that when the wireless of the main ONT and the first edge ONT are both turned on, the two can communicate through wireless signals; when the main ONT and the first edge ONT are connected through optical fiber, the two can communicate through PON or P2P; when the main ONT and the first edge ONT are connected through a P2P network cable, the two can communicate through P2P.
[0128] Step 1003: After determining that the first identification information is identification information of a known stored master ONT, the first edge ONT sends second identification information to the master ONT, wherein the second identification information is identification information of the first edge ONT.
[0129] The identification information of the known master ONT stored in the first edge ONT is the identification information of the accessible master ONT, and may be stored in the first edge ONT at the time of leaving the factory. Alternatively, the identification information of the known master ONT stored in the first edge ONT may be input by a user after connecting to the first edge ONT through a terminal device. The identification information of the known master ONT indicates the master ONT to which the first edge ONT is connected.
[0130] In this embodiment, the first edge ONT determines whether the first identification information is the identification information of the stored known master ONT. When it is determined that the first identification information is the identification information of the stored known master ONT, the first edge ONT considers that it is a device of a local area network with the master ONT, and the first edge ONT can obtain its own identification information (i.e., the second identification information) and send the second identification information to the master ONT. The second identification information can be a device serial number or MAC address of the first edge ONT.
[0131] Optionally, if the first edge ONT receives the discovery message at least through the PON connection, the second identification information is sent to the main ONT through the PON connection. If the first edge ONT does not receive the discovery message through the PON connection, but receives the discovery message at least through the P2P optical fiber connection, the second identification information is sent to the main ONT through the P2P optical fiber connection. If the first edge ONT does not receive the discovery message through the PON connection and the P2P optical fiber connection, but receives the discovery message at least through the P2P network cable connection, the second identification information is sent to the main ONT through the P2P network cable connection. If the first edge ONT receives the discovery message only through the wireless connection, the second identification information is sent to the main ONT through the wireless connection. In this way, since the PON connection is more stable, the PON connection is used preferentially, which can make the reliability of the process of adding edge ONTs higher.
[0132] Step 1004: The master ONT receives second identification information sent by the first edge ONT.
[0133] Step 1005: When the second identification information is identification information of a known edge ONT that is stored, the master ONT sends configuration content to the first edge ONT.
[0134] The identification information of the known edge ONT stored in the master ONT is the identification information of the edge ONT that can access the master ONT, and may be stored in the master ONT at the factory. Alternatively, the identification information of the known edge ONT stored in the master ONT may be input by the user after connecting to the master ONT through a terminal device. The identification information of the known edge ONT indicates the edge ONT that is allowed to access the master ONT.
[0135] In this embodiment, after the main ONT receives the second identification information, it can be determined whether the second identification information belongs to the identification information of the stored known edge ONT. After determining that the identification information belongs to the known edge ONT, it is considered to be a device of a local area network, and the configuration content can be sent to the first edge ONT. The specific configuration content can be sent via a configuration message, and the configuration message can be an optical network unit management and control interface (OMCI) message. The configuration content may include the service configuration (such as video, voice, etc.) of the first edge ONT, the network configuration (such as the bandwidth used), and the working mode of the first edge ONT. The services performed here and the bandwidth used can be preset by the user in the main ONT.
[0136] Step 1006: The first edge ONT receives configuration content sent by the master ONT after the master ONT determines that the first edge ONT is a known edge ONT according to the second identification information.
[0137] Step 1007: The first edge ONT uses the configuration content to configure the first edge ONT.
[0138] In this embodiment, after the first edge ONT receives the configuration content sent by the main ONT, the working mode in the configuration content can be configured as the working mode of the first edge ONT. And the first edge ONT configures the service indicated in the configuration content and the used bandwidth as the service that the first edge ONT can perform and the used bandwidth. After the configuration is completed, the first edge ONT can transmit service messages with the main ONT.
[0139] It should be noted that when the connection between the main ONT and the first edge ONT is a PON connection, the main ONT and the first edge ONT interact through a data frame format specific to the PON. Specifically, when the PON is a higher speed PON such as a gigabit passive optical network (GPON), a 10G symmetric gigabit passive optical network (10G symmetric passive optical network, XGS-PON), or a 10G asymmetric gigabit passive optical network (10G passive optical network, XG-PON), the messages sent from step 1001 to step 1004 use a physical layer operations administration and maintenance (PLOAM) message, and the messages sent in step 1005 and step 1006 use an OMCI message. When the PON is a higher speed EPON such as Ethernet passive optical network (EPON), 10G EPON and 25G EPON, the messages sent in steps 1001 to 1004 use multi-point control protocol (MPCP) messages, and the messages sent in steps 1005 and 1006 use OMA messages.
[0140] When the connection between the master ONT and the first edge ONT is a P2P optical fiber connection or a P2P network cable connection, the master ONT interacts with the first edge ONT through common Ethernet messages.
[0141] When the connection between the master ONT and the first edge ONT is a wireless connection, the master ONT and the first edge ONT are connected and interacted with each other through a communication method defined by 802.11.
[0142] In this way, since bidirectional authentication can be achieved when the edge ONT is added to the main ONT, other non-agreed ONTs are prevented from accessing, the PON networking can be made safer.
[0143] It should be noted that, in the embodiments of the present application, “at least one” includes both “one” and “plurality”.
[0144] Fig.11 1 is a structural diagram of a PON networking device provided in an embodiment of the present application. The device can be implemented as part or all of the device through software, hardware, or a combination of both. The device provided in an embodiment of the present application can implement the embodiment of the present application. Figure 5The process described above, the device includes: a detection module 1110, a receiving module 1120 and a configuration module 1130, wherein:
[0145] The PON includes a main ONT and at least one edge ONT, the at least one edge ONT includes a first edge ONT, and the detection module 1110 is used to detect the networking mode with the main ONT, and can be specifically used to implement the detection function of step 501 and execute the implicit steps included in step 501;
[0146] The receiving module 1120 is used to receive the configuration content sent by the master ONT when it is detected that the networking mode is the first networking mode, and can be specifically used to implement the receiving function of step 502 and execute the implicit steps included in step 502;
[0147] The configuration module 1130 is used to configure the first edge ONT based on the configuration content when it is detected that the networking mode is the first networking mode; when it is detected that the networking mode is the second networking mode, configure the bridging ONT as the main ONT or enter the sleep mode, which can be specifically used to implement the configuration function of step 503 and execute the implicit steps included in step 503.
[0148] In a possible implementation, the configuration content includes one or more of a working mode, a service configuration, or a network configuration, wherein the working mode is a bridging mode or a routing mode.
[0149] In a possible implementation, the detection module 1110 is used to:
[0150] Detecting that the power supply is not provided by the master ONT and that a downlink message sent by the master ONT can be received, and determining that the networking mode with the master ONT is the first networking mode;
[0151] It is detected that the master ONT is powered by the master ONT or is connected to the master ONT through a high-speed interface, and it is determined that the networking mode with the master ONT is the second networking mode.
[0152] In one possible implementation, Fig.12 As shown, when the working mode is the routing mode, the device further includes a sending module 1140, which is used to:
[0153] Upon receiving a first uplink message sent by a terminal device connected to the first edge ONT, converting a source Internet Protocol IP address in the first uplink message into a public network IP address, and forwarding the first uplink message after the address conversion to the master ONT;
[0154] When receiving the first downlink message sent by the master ONT, the destination IP address in the first downlink message is converted into a private network IP address, and the first downlink message after the address conversion is forwarded to a terminal device connected to the first edge ONT.
[0155] In a possible implementation, when the working mode is the bridge mode, or after the first edge ONT is configured as a bridge ONT of the main ONT, the device further includes a sending module 1140, which is used to:
[0156] When receiving a second uplink message sent by a terminal device connected to the first edge ONT, forwarding the second uplink message to the main ONT;
[0157] When receiving the second downlink message sent by the master ONT, the second downlink message is forwarded to a terminal device connected to the first edge ONT.
[0158] In a possible implementation, when it is detected that the networking mode is the first networking mode, the receiving module 1120 is further configured to:
[0159] Receiving a discovery message broadcast by the master ONT, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT;
[0160] The device also includes a sending module 1140, which is used to send second identification information to the master ONT after determining that the first identification information is the identification information of the stored known master ONT, wherein the second identification information is the identification information of the first edge ONT;
[0161] The receiving module 1120 is configured to receive configuration content sent by the master ONT after the master ONT determines that the first edge ONT is a known edge ONT according to the second identification information.
[0162] In a possible implementation, when it is detected that the networking mode with the main ONT is the first networking mode, the connection between the first edge ONT and the main ONT is one or more of a PON connection, a P2P optical fiber connection, a P2P network cable connection or a wireless connection.
[0163] In a possible implementation manner, when it is detected that the networking mode is the second networking mode, the first edge ONT is inserted into the physical interface of the master ONT.
[0164] Fig.131 is a structural diagram of a PON networking device provided in an embodiment of the present application. The device can be implemented as part or all of the device through software, hardware, or a combination of both. The device provided in an embodiment of the present application can implement the embodiment of the present application. Figure 6 The process described above, the device includes: a detection module 1310, a sending module 1320 and a power supply module 1330, wherein:
[0165] The PON includes a main ONT and at least one edge ONT, the at least one edge ONT includes a first edge ONT, and a detection module 1310 is used to detect a networking mode, and can be specifically used to implement the detection function of step 601 and execute the implicit steps included in step 601;
[0166] The sending module 1320 is used to send the configuration content 1330 to the first edge ONT when detecting that the networking mode is the first networking mode, which can be specifically used to implement the sending function of step 602 and execute the implicit steps included in step 602;
[0167] The power supply module 1330 is used to supply power to the first edge ONT when detecting that the networking mode is the second networking mode. Specifically, it can be used to implement the power supply function of step 603 and execute the implicit steps included in step 603.
[0168] In a possible implementation, the detection module 1310 is configured to:
[0169] It is detected that the target function is turned on, and the networking mode is determined to be the first networking mode;
[0170] It is detected that the target function is not enabled, and the networking mode is determined to be the second networking mode, wherein the target function refers to a function for managing the at least one edge ONT.
[0171] In one possible implementation, Fig.14 As shown, when it is detected that the networking mode is the first networking mode, the device further includes:
[0172] The control module 1340 is used to control the power supply function of the master ONT to be turned off or dormant, wherein the power supply function is used to supply power to the at least one edge ONT.
[0173] In a possible implementation, the configuration content includes one or more of a working mode, a service configuration, or a network configuration, wherein the working mode is a bridging mode or a routing mode.
[0174] In a possible implementation, the sending module 1320 is further configured to:
[0175] Broadcasting a discovery message, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT;
[0176] like Fig.15 As shown, the device also includes a receiving module 1350, which is used to receive second identification information sent by the first edge ONT, wherein the second identification information is identification information of the first edge ONT;
[0177] The sending module 1320 is configured to send configuration content to the first edge ONT when the second identification information is identification information of a known edge ONT that is stored.
[0178] The division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0179] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions, and when the computer program instructions are loaded and executed on the ONT (ONT is an edge ONT or a main ONT), the process or function described in the embodiment of the present application is generated in whole or in part. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by the ONT (ONT is an edge ONT or a main ONT) or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a digital video disk (DVD), etc.), or a semiconductor medium (such as a solid state drive, etc.).
Claims
1. A networking method for a passive optical network PON, It is characterized in that The PON comprises a main optical network terminal ONT and at least one edge ONT, wherein the at least one edge ONT comprises a first edge ONT, and the method comprises: The first edge ONT detects a networking mode with the main ONT; When the first edge ONT detects that the networking mode is the first networking mode, receiving the configuration content sent by the master ONT, and configuring the first edge ONT based on the configuration content; When the first edge ONT detects that the networking mode is the second networking mode, it configures the bridge ONT as the main ONT or enters a sleep mode.
2. The method according to claim 1, It is characterized in that The configuration content includes one or more of a working mode, a service configuration or a network configuration, wherein the working mode is a bridging mode or a routing mode.
3. The method according to claim 1 or 2, It is characterized in that The first edge ONT detects a networking mode with the main ONT, including: The first edge ONT detects that it is not powered by the main ONT and can receive a downlink message sent by the main ONT, and determines that the networking mode with the main ONT is the first networking mode; The first edge ONT detects that it is powered by the main ONT or is connected to the main ONT through a high-speed interface, and determines that the networking mode with the main ONT is the second networking mode.
4. The method according to claim 2, It is characterized in that When the working mode is a routing mode, the method further includes: When receiving a first uplink message sent by a terminal device connected to the first edge ONT, the first edge ONT converts a source Internet Protocol IP address in the first uplink message into a public network IP address, and forwards the first uplink message after the address conversion to the master ONT; When receiving the first downlink message sent by the master ONT, the first edge ONT converts the destination IP address in the first downlink message into a private network IP address, and forwards the first downlink message after the address conversion to a terminal device connected to the first edge ONT.
5. The method according to claim 2, It is characterized in that In a case where the working mode is a bridge mode, or after the first edge ONT is configured as a bridge ONT of the main ONT, the method further includes: When the first edge ONT receives a second uplink message sent by a terminal device connected to the first edge ONT, the first edge ONT forwards the second uplink message to the main ONT; When receiving the second downstream message sent by the master ONT, the first edge ONT forwards the second downstream message to a terminal device connected to the first edge ONT.
6. The method according to any one of claims 1 to 5, It is characterized in that When the first edge ONT detects that the networking mode is the first networking mode, the method further includes: The first edge ONT receives a discovery message broadcast by the master ONT, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT; After determining that the first identification information is identification information of a known stored master ONT, the first edge ONT sends second identification information to the master ONT, wherein the second identification information is identification information of the first edge ONT; The first edge ONT receives configuration content sent by the master ONT, including: The first edge ONT receives the configuration content sent by the master ONT after determining that the first edge ONT is a known edge ONT according to the second identification information.
7. The method according to any one of claims 1 to 6, It is characterized in that When the first edge ONT detects that the networking mode with the main ONT is the first networking mode, the connection between the first edge ONT and the main ONT is one or more of a PON connection, a point-to-point P2P optical fiber connection, a P2P network cable connection, or a wireless connection.
8. The method according to any one of claims 1 to 7, It is characterized in that When the first edge ONT detects that the networking mode is the second networking mode, the first edge ONT is plugged into the physical interface of the main ONT.
9. A method for networking a passive optical network PON, It is characterized in that The PON comprises a main optical network terminal ONT and at least one edge ONT, wherein the at least one edge ONT comprises a first edge ONT, and the method comprises: The master ONT detects a networking mode; When the master ONT detects that the networking mode is the first networking mode, the master ONT sends configuration content to the first edge ONT; When the master ONT detects that the networking mode is the second networking mode, the master ONT supplies power to the first edge ONT.
10. The method according to claim 9, It is characterized in that The master ONT detects the networking mode, including: The master ONT detects that the target function is turned on and determines that the networking mode is the first networking mode; The master ONT detects that the target function is not enabled, and determines that the networking mode is the second networking mode, wherein the target function refers to a function for managing the at least one edge ONT.
11. The method according to claim 9 or 10, It is characterized in that When the master ONT detects that the networking mode is the first networking mode, the method further includes: The master ONT controls a power supply function of the master ONT to be turned off or put into sleep mode, wherein the power supply function is used to supply power to the at least one edge ONT.
12. The method according to any one of claims 9 to 11, It is characterized in that The configuration content includes one or more of a working mode, a service configuration or a network configuration, wherein the working mode is a bridging mode or a routing mode.
13. The method according to any one of claims 9 to 11, It is characterized in that When the master ONT detects that the networking mode is the first networking mode, the method further includes: The master ONT broadcasts a discovery message, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT; The master ONT receives second identification information sent by the first edge ONT, wherein the second identification information is identification information of the first edge ONT; The sending the configuration content to the first edge ONT includes: When the second identification information is identification information of a known edge ONT that is stored, the master ONT sends configuration content to the first edge ONT.
14. A networking device for a passive optical network PON, It is characterized in that The PON comprises a main optical network terminal ONT and at least one edge ONT, wherein the at least one edge ONT comprises a first edge ONT, and the device comprises: A detection module, used to detect a networking mode with the master ONT; A receiving module, configured to receive the configuration content issued by the master ONT when detecting that the networking mode is the first networking mode; A configuration module is used to configure the first edge ONT based on the configuration content when it is detected that the networking mode is the first networking mode; and configure the bridging ONT as the main ONT or enter a sleep mode when it is detected that the networking mode is the second networking mode.
15. The device according to claim 14, It is characterized in that The configuration content includes one or more of a working mode, a service configuration or a network configuration, wherein the working mode is a bridging mode or a routing mode.
16. The device according to claim 14 or 15, It is characterized in that The detection module is used for: Detecting that the power supply is not provided by the master ONT and that a downlink message sent by the master ONT can be received, and determining that the networking mode with the master ONT is the first networking mode; It is detected that the master ONT is powered by the master ONT or is connected to the master ONT through a high-speed interface, and it is determined that the networking mode with the master ONT is the second networking mode.
17. The device according to claim 15, It is characterized in that When the working mode is a routing mode, the device further includes a sending module, which is used to: Upon receiving a first uplink message sent by a terminal device connected to the first edge ONT, converting a source Internet Protocol IP address in the first uplink message into a public network IP address, and forwarding the first uplink message after the address conversion to the master ONT; When receiving the first downlink message sent by the master ONT, the destination IP address in the first downlink message is converted into a private network IP address, and the first downlink message after the address conversion is forwarded to a terminal device connected to the first edge ONT.
18. The device according to claim 15, It is characterized in that In the case where the working mode is the bridge mode, or after the first edge ONT is configured as a bridge ONT of the main ONT, the device further includes a sending module, which is used to: When receiving a second uplink message sent by a terminal device connected to the first edge ONT, forwarding the second uplink message to the main ONT; When receiving the second downlink message sent by the master ONT, the second downlink message is forwarded to a terminal device connected to the first edge ONT.
19. The device according to any one of claims 14 to 18, It is characterized in that When it is detected that the networking mode is the first networking mode, the receiving module is further configured to: Receiving a discovery message broadcast by the master ONT, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT; The device also includes a sending module, which is used to send second identification information to the master ONT after determining that the first identification information is the identification information of the stored known master ONT, wherein the second identification information is the identification information of the first edge ONT; The receiving module is used to receive the configuration content sent by the master ONT after determining that the first edge ONT is a known edge ONT according to the second identification information.
20. The device according to any one of claims 14 to 19, It is characterized in that When it is detected that the networking mode with the main ONT is the first networking mode, the connection between the first edge ONT and the main ONT is one or more of a PON connection, a point-to-point P2P optical fiber connection, a P2P network cable connection or a wireless connection.
21. The device according to any one of claims 14 to 20, It is characterized in that When it is detected that the networking mode is the second networking mode, the first edge ONT is plugged into the physical interface of the main ONT.
22. A networking device for a passive optical network PON, It is characterized in that The PON comprises a main optical network terminal ONT and at least one edge ONT, wherein the at least one edge ONT comprises a first edge ONT, and the device comprises: A detection module, used to detect the networking mode; A sending module, configured to send configuration content to the first edge ONT when detecting that the networking mode is the first networking mode; The power supply module is used to supply power to the first edge ONT when detecting that the networking mode is the second networking mode.
23. The device according to claim 22, It is characterized in that The detection module is used for: It is detected that the target function is turned on, and the networking mode is determined to be the first networking mode; It is detected that the target function is not enabled, and the networking mode is determined to be the second networking mode, wherein the target function refers to a function for managing the at least one edge ONT.
24. The device according to claim 22 or 23, It is characterized in that When it is detected that the networking mode is the first networking mode, the device further includes: The control module is used to control the power supply function of the main ONT to be turned off or dormant, wherein the power supply function is used to supply power to the at least one edge ONT.
25. The device according to any one of claims 22 to 24, It is characterized in that The configuration content includes one or more of a working mode, a service configuration or a network configuration, wherein the working mode is a bridging mode or a routing mode.
26. The device according to any one of claims 22 to 25, It is characterized in that The sending module is further used for: Broadcasting a discovery message, wherein the discovery message includes first identification information, and the first identification information is identification information of the master ONT; The device also includes a receiving module, configured to receive second identification information sent by the first edge ONT, wherein the second identification information is identification information of the first edge ONT; The sending module is configured to send configuration content to the first edge ONT when the second identification information is identification information of a known edge ONT that is stored.
27. An edge optical network terminal ONT, It is characterized in that The edge ONT includes a processor and a memory, wherein: The memory stores computer instructions; The processor executes the computer instructions to implement the method of any one of claims 1 to 8.
28. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions. When the computer instructions in the computer-readable storage medium are executed by an edge optical network terminal ONT, the edge ONT executes the method according to any one of claims 1 to 8.
29. A main optical network terminal ONT, It is characterized in that The master ONT includes a processor and a memory, wherein: The memory stores computer instructions; The processor executes the computer instructions to implement the method of any one of claims 9 to 13.
30. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions. When the computer instructions in the computer-readable storage medium are executed by a master optical network terminal ONT, the master ONT executes the method according to any one of claims 9 to 13.
31. A computer program product comprising computer instructions, It is characterized in that When the computer program product runs on an edge optical network terminal ONT, the edge ONT is enabled to perform the method according to any one of claims 1 to 8.
32. A computer program product comprising computer instructions, It is characterized in that When the computer program product is run on a master optical network terminal ONT, the master ONT is enabled to perform the method according to any one of claims 9 to 13.
Citation Information
Patent Citations
Passive optical network aggregation node device and system
CN101459656A
System and method for expanding FTTH (Fiber To The Home) network by master-slave ONT (Optical Network Terminal)
CN110809203A
Integrated PON MAC matching apparatus for providing voice, data and video stream services, and Integrated PON ONT(ONU) apparatus using that
KR1020130126810A
Apparatus and method of managing POTS lines in a PON network
US20070263782A1
Cited By
Networking method and apparatus for passive optical network
WO2022089134A1
