WO2022089134A1 - 无源光网络的组网方法和装置 - Google Patents

无源光网络的组网方法和装置 Download PDF

Info

Publication number
WO2022089134A1
WO2022089134A1 PCT/CN2021/121349 CN2021121349W WO2022089134A1 WO 2022089134 A1 WO2022089134 A1 WO 2022089134A1 CN 2021121349 W CN2021121349 W CN 2021121349W WO 2022089134 A1 WO2022089134 A1 WO 2022089134A1
Authority
WO
WIPO (PCT)
Prior art keywords
ont
edge
main
mode
networking mode
Prior art date
Application number
PCT/CN2021/121349
Other languages
English (en)
French (fr)
Inventor
郑刚
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21884864.6A priority Critical patent/EP4216567A4/en
Publication of WO2022089134A1 publication Critical patent/WO2022089134A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0064Arbitration, scheduling or medium access control aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Definitions

  • the present application relates to the technical field of optical fiber communication, and in particular, to a networking method and device for a passive optical network (PON).
  • PON passive optical network
  • PON is a passive optical network, which usually consists of three parts: optical line terminal (OLT) at the central office, optical distribution network (ODN) and optical network terminal (ONT).
  • OLT optical line terminal
  • ONT optical distribution network
  • ONT optical network terminal
  • the secondary networking includes a main ONT and an edge ONT, the main ONT is connected to the OLT, and the edge ONT is connected to the main ONT.
  • the home gateway is the main ONT
  • the ONT deployed in each room is the edge ONT
  • the home gateway manages the edge ONT deployed in each room.
  • the edge ONT is connected to the main ONT, and the edge ONT is manually configured as a wireless routing device. Due to the large number of edge ONTs, each edge ONT needs to be manually configured, which will result in low PON networking efficiency.
  • the present application provides a PON networking method and device to improve the PON networking efficiency.
  • the technical solution is as follows:
  • the present application provides a networking method for a PON
  • the PON includes a main ONT and at least one edge ONT
  • the at least one edge ONT includes a first edge ONT
  • the method includes: the first edge ONT detects a grouping of the main ONT and the main ONT.
  • Network mode when the first edge ONT detects that the networking mode is the first networking mode, it receives the configuration content delivered by the master ONT, and configures the first edge ONT based on the configuration content.
  • the first edge ONT detects that the networking mode is: In the case of the second networking mode, configure the bridge ONT as the master ONT or enter the sleep mode.
  • 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 of optical fibers, network cables, or wireless connections.
  • the first networking mode may also be referred to as a separate networking mode, an independent networking mode, or the like.
  • the second networking mode is used to instruct the first edge ONT 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 combined networking mode or the like.
  • the PON includes a main ONT and at least one edge ONT, and the at least one edge ONT includes a first edge ONT.
  • the first edge ONT can detect the networking mode with the main ONT, and in the networking mode, it is the first networking mode. In the case of the mode, the first edge ONT receives the configuration content delivered by the master ONT, and configures the first edge ONT based on the configuration content.
  • 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 status without manual setting, so the networking efficiency of the PON can be improved.
  • the configuration content includes one or more of a working mode, a service configuration, or a network configuration, where the working mode is a bridge mode or a routing mode.
  • the service configuration indicates services (such as video, voice, text, etc.) performed by the first edge ONT
  • the network configuration indicates network information of the first edge ONT, such as bandwidth.
  • the first edge ONT detects that it is not powered by the main ONT, and can receive downlink packets sent by the main ONT, and determines that the networking mode with the main ONT is the first networking mode; the first The 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.
  • the first edge ONT can detect whether the power is supplied by the main ONT, and when it is detected that the power is supplied by the main ONT, it can be determined that the networking mode is the second networking mode. When it is detected that the power supply is not supplied by the main ONT, it can be further judged whether the downlink message sent by the main ONT is received. If the first edge ONT receives the downlink packet sent by the main ONT, it is determined that the networking mode is the first networking mode. Alternatively, the first edge ONT can detect whether it is connected to the main ONT through the high-speed interface, and when detecting that it is connected to the main ONT through the high-speed interface, it can determine that the networking mode is the second networking mode.
  • the first edge ONT detects whether the power is supplied by the main ONT, which may be to detect whether the input current module connected to the main ONT is turned on. If the ONT is turned on, it means that the main ONT is powered. Otherwise, it means that it is not powered by the main ONT. In this way, the networking mode can be accurately determined.
  • the method further includes: when the first edge ONT receives the first uplink packet sent by the terminal device connected to the first edge ONT, Convert the source internet protocol (IP) address in the first upstream packet to a public IP address, and forward the first upstream packet after address translation to the primary ONT; the first edge ONT receives the primary ONT.
  • IP internet protocol
  • the ONT sends the first downlink packet it converts the destination IP address in the first downlink packet into a private network IP address, and forwards the address-translated first downlink packet to the terminal connected to the first edge ONT equipment.
  • the first edge ONT is in the 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 packet to the external network After the terminal device accesses the first edge ONT, the terminal device sends the first uplink packet to the first edge ONT, the source IP address in the first uplink packet It is the private IP address of the terminal device.
  • the first edge ONT may convert the source IP address in the first upstream packet into a corresponding public network IP address. Then the first edge ONT forwards the converted first upstream packet to the main ONT.
  • the primary ONT can send the converted first uplink packet to the external network.
  • the primary ONT can perform secondary conversion on the public network IP address in the converted first upstream packet, convert the public network IP address stored by the primary ONT, and then send the secondary converted first upstream packet to the outside world. , and send it to the Internet.
  • the processing process of the terminal device receiving the first downlink packet sent by the external network the master ONT receives the first downlink packet sent by the external network, and the master ONT can forward the first downlink packet to the first edge ONT, or The primary ONT may convert the destination IP address in the first downlink packet to the public network IP address stored by the first edge ONT, and then forward the address-translated first downlink packet to the first edge ONT.
  • the first edge ONT can correspondingly translate the destination IP address in the received first downlink packet into a corresponding private network IP address of the terminal device, and forward the address-translated first downlink packet to the terminal device. In this way, the first edge ONT can be used alone as a wireless routing device.
  • the method further includes: after the first edge ONT receives the first edge ONT When the terminal device connected to the ONT sends the second uplink packet, it forwards the second uplink packet to the main ONT; when the first edge ONT receives the second downlink packet sent by the main ONT, it forwards the second downlink packet A terminal device connected to the first edge ONT.
  • the process for the terminal device to send the second uplink packet to the external network after the terminal device accesses the first edge ONT, the terminal device sends the second uplink packet to the first edge ONT, and the first edge ONT sends the second uplink packet to the first edge ONT.
  • the second upstream packet is not processed, and the received second upstream packet is sent to the primary ONT. If the primary ONT and the first edge ONT are in Layer 2 bridge mode, the primary ONT can forward the second upstream packet according to the media access control (MAC) address in the second upstream packet, but not the second upstream packet.
  • the second uplink packet is processed. If the primary ONT and the first edge ONT are in Layer 3 bridge mode, the primary ONT converts the source IP address in the second upstream packet to the corresponding public IP address, and then sends the converted second upstream packet to Extranet.
  • MAC media access control
  • the external network sends the second downlink packet to the main ONT. If the main ONT and the first edge ONT are in Layer 2 bridge mode, the main ONT can follow the second downlink packet. The MAC address in the text is used to forward the second downlink packet to the first edge ONT. If the primary ONT and the first edge ONT are in Layer 3 bridging mode, the primary ONT converts the destination IP address in the second downlink packet to the private IP address of the corresponding terminal device, and then converts the converted second downlink packet to the private network IP address of the corresponding terminal device. The message is sent to the first edge ONT.
  • the first edge ONT sends the second downlink packet 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 bridging ONT of the main ONT, the packet forwarding process can also be performed.
  • the method further includes: the first edge ONT receives a discovery message broadcast by the main ONT, where the discovery message Including the first identification information, the first identification information is the identification information of the main ONT; the first edge ONT sends the second identification information to the main ONT after determining that the first identification information is the stored identification information of the known main ONT, wherein, The second identification information is the identification information of the first edge ONT; the first edge ONT receives the configuration content issued by the main ONT, including: the first edge ONT receives the main ONT and determines that the first edge ONT is a known edge according to the second identification information. Configuration content sent after the ONT.
  • the first edge ONT receives a discovery message broadcast by the main ONT, where the discovery message includes the identification information of the main ONT, that is, the first identification information.
  • the first edge ONT After determining that the first identification information is the identification information of the known master ONT, the first edge ONT sends second identification information to the master ONT, where the second identification information is the identification information of the first edge ONT.
  • the master ONT After identifying that the second identification information is the identification information of the known edge ONT, the master ONT sends the configuration content to the first edge ONT.
  • the first edge ONT receives the configuration content. In this way, when the edge ONT is added to the main ONT, two-way authentication can be implemented to prevent access of other non-contracted edge ONTs, so the PON networking can be made more secure.
  • the connection between the first edge ONT and the main ONT is a PON connection, a point-to-point (point-to-point) One or more of peer-to-peer, P2P) fiber connection, P2P network cable connection or wireless connection.
  • the first edge ONT 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.
  • the present application provides a networking method for a PON
  • the PON includes a main optical network terminal ONT and at least one edge ONT
  • the at least one edge ONT includes a first edge ONT
  • the method includes: the main ONT detects a networking mode; When the primary ONT detects that the networking mode is the first networking mode, it delivers the configuration content to the first edge ONT; powered by.
  • the main ONT detects the networking mode, when it detects that the networking mode is the first networking mode, it delivers the configuration content to the first edge ONT, and when it detects that the networking mode is the second networking mode , supply power to the first edge ONT.
  • the main ONT can automatically detect the networking mode, and automatically configure the edge ONT, or automatically supply power to the edge ONT without manual settings, so the networking efficiency of the PON can be improved.
  • the main ONT detects the networking mode, including: the main ONT detects that the target function is turned on, and determines that the networking mode is the first networking mode; the main ONT detects that the target function is not turned on, and determines the networking mode is the second networking mode, wherein the target function refers to a function for managing at least one edge ONT.
  • 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.
  • the user can set in advance whether the target function of the main ONT is enabled or disabled.
  • the user can connect to the main ONT through a terminal device to configure whether the target function of the main ONT is enabled, or a physical button is set on the main ONT, and the user can control the target function to be turned on and off through the physical button.
  • the master ONT can detect whether the target function is enabled, and in the case of detecting that the target function is enabled, determine that the networking mode is the first networking mode.
  • the first networking mode may also be referred to as a separate networking mode, an independent networking mode, or the like.
  • the networking mode is determined to be the second networking mode, and the second networking mode is used to instruct the first edge ONT 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 combined networking mode or the like. In this way, the networking mode can be accurately determined.
  • the method further includes: the primary ONT controls the power supply function of the primary ONT to turn off or sleep.
  • the power supply function is used to supply power to at least one edge ONT.
  • the main ONT when the networking mode is the first networking mode, the main ONT can control its own power supply function to be turned off or sleep, saving the power consumption of the main ONT.
  • the configuration content includes one or more of a working mode, a service configuration, or a network configuration, where the working mode is a bridge mode or a routing mode.
  • the method when the primary ONT detects that the networking mode is the first networking mode, the method further includes: the primary ONT broadcasts a discovery message, wherein the discovery message includes first identification information, the first identification The information is the identification information of the main ONT; the main ONT receives the second identification information sent by the first edge ONT, wherein the second identification information is the identification information of the first edge ONT;
  • the configuration content is issued to the first edge ONT, including: the main ONT
  • the ONT sends the configuration content to the first edge ONT.
  • the master ONT when the master ONT detects that the networking mode is the first networking mode, the master ONT can broadcast a discovery message, and the discovery message includes the identification information of the master ONT, that is, the first identification information.
  • the first edge ONT receives the discovery message, and when determining that the first identification information is the known identification information of the main ONT, sends the second identification information of itself to the main ONT.
  • the master ONT sends configuration content to the first edge ONT for configuring the first edge ONT. In this way, when the edge ONT is added to the main ONT, two-way authentication can be implemented to prevent access of other non-contracted edge ONTs, so the PON networking can be made more secure.
  • the present application provides a PON networking device, where the device includes one or more modules for implementing the networking method described in the first aspect above.
  • the present application provides a PON networking device, the device includes one or more modules for implementing the networking method described in the second aspect above.
  • the present application provides an edge ONT, the edge ONT includes a processor and a memory, wherein: computer instructions are stored in the memory, and the processor executes the computer instructions to implement the method of the first aspect and possible implementations thereof.
  • the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions in the computer-readable storage medium are executed by the edge ONT, the edge ONT is made to execute the first aspect and The method of its possible implementation, or enabling the edge ONT to implement the functions of the apparatus of the third aspect and its possible implementation.
  • the application provides a computer program product comprising computer instructions, when it runs on the edge ONT, the edge ONT is made to perform the method of the above-mentioned first aspect and a possible implementation manner thereof, or the edge ONT is made to realize the above-mentioned method.
  • the present application provides a main ONT, the main ONT includes 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 implementations thereof.
  • the present application provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and when the computer instructions in the computer-readable storage medium are executed by the main ONT, the main ONT is made to execute the second aspect and The method of its possible implementations, or enabling the master ONT to implement the functions of the apparatus of the fourth aspect and its possible implementations.
  • the application provides a computer program product comprising computer instructions, when it runs on the main ONT, the main ONT is made to perform the method of the above-mentioned second aspect and a possible implementation thereof, or the main ONT is made to realize the above-mentioned Functions of the apparatus of the fourth aspect and possible implementations thereof.
  • the application provides a PON system
  • the PON system 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
  • the primary ONT is used to implement the networking method described in the second aspect above.
  • Fig. 1 is a PON system architecture diagram provided by an exemplary embodiment of the present application
  • FIG. 2 is a schematic diagram of the networking of FTTR provided by an exemplary embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a primary ONT provided by an exemplary embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an edge ONT provided by an exemplary embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a method for networking a PON provided by an exemplary embodiment of the present application
  • FIG. 6 is a schematic flowchart of a method for networking a PON provided by an exemplary embodiment of the present application
  • FIG. 7 is a schematic diagram of the networking of a PON in a first networking mode provided by an exemplary embodiment of the present application.
  • FIG. 8 is a schematic diagram of the networking of a PON in a second networking mode provided by an exemplary embodiment of the present application.
  • FIG. 9 is a schematic diagram of the networking of a PON in a second networking mode provided by an exemplary embodiment of the present application.
  • FIG. 10 is a schematic flowchart of the configuration of the primary ONT to the edge ONT provided by an exemplary embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a PON networking device provided by an exemplary embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a PON networking device provided by an exemplary embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a PON networking device provided by an exemplary embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a PON networking device provided by an exemplary embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a PON networking device provided by an exemplary embodiment of the present application.
  • PON is a passive optical network, which usually consists of three parts: OLT, ODN, and ONT at the central office.
  • the ONT can also be an optical network unit (ONU).
  • ONU optical network unit
  • multiple ONTs are connected to the PON port of the same OLT through the ODN.
  • FTTR is to extend the optical fiber not only to the user's room, but also to the user's various rooms, and install wireless routing equipment in the room, thus reducing the distance between the user's terminal equipment and the wireless routing equipment, ensuring the wireless signal the quality of.
  • a networking mode of FTTR may be: as shown in FIG. 2 , the network operator provides users with gigabit access bandwidth through the PON.
  • the home gateway ie, the main ONT
  • the home gateway 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 in the home.
  • the wireless signal of the ONT in each room only needs to cover the interior of the room, and each terminal device in the home selects the ONT closest to itself for connection. Multiple ONTs can cover every angle of the room due to the reduced area each ONT needs to cover. In this way, with the FTTR-based networking system, the user's terminal device can fully enjoy the improved network experience brought about by the increased access bandwidth.
  • the present application provides a PON networking method, the PON is a secondary networking, the PON includes a main ONT and at least one edge ONT, and the at least one edge ONT includes a first edge ONT .
  • the PON networking method is applied in FTTR, the main ONT is the home gateway, and the edge ONT is the ONT in each room.
  • the ONT involved in this application can implement the wireless routing function, and can provide wireless signals without connecting to a router.
  • 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 can store computer instructions, and 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.
  • the processor 302 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processor (graphics processing unit, GPU), or one or more integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • GPU graphics processing unit
  • the edge ONT may further include a communication interface and a bus.
  • the memory 301, the processor 302, and the communication interface realize communication connection among each other through a bus.
  • the communication interface uses a transceiver module such as but not limited to a transceiver to implement communication between the edge ONT and other devices. For example, communication with the primary ONT can be done through a communication interface.
  • the bus may include pathways for transferring information between various components of the edge ONT (eg, memory 301, processor 302, communication interfaces).
  • the main ONT may include a memory 401 and a processor 402 .
  • the memory 401 may be ROM, static storage device, dynamic storage device or RAM.
  • the memory 401 can store computer instructions, and 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.
  • Memory 401 may also store data.
  • the processor 402 may employ a general-purpose CPU, microprocessor, ASIC, GPU, or one or more integrated circuits.
  • the main 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 a bus.
  • the communication interface uses a transceiver module such as but not limited to a transceiver to implement the communication between the main ONT and other devices.
  • the communication with the edge ONT may be carried out through a communication interface.
  • the bus may include pathways for transferring information between various components of the main ONT (eg, memory 401, processor 402, communication interfaces).
  • the process of the edge ONT in the PON networking method can be as follows:
  • Step 501 the first edge ONT detects the networking mode with the main ONT.
  • the first edge ONT when the first edge ONT is powered on, it detects the networking mode between itself and the main ONT. Or, when the first edge ONT exits the sleep mode, it detects the networking mode between itself and the main ONT.
  • the first edge ONT may determine the networking mode with the main ONT in the following manner:
  • the first edge ONT detects that it is not powered by the main ONT and can receive downlink messages 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 the main ONT is powered or Connect to the main ONT through the high-speed interface, and determine that the networking mode with the main ONT is the second networking mode.
  • the high-speed interface is a local network interface of the first edge ONT, and is used to connect with the main ONT when networking with the main ONT according to the second networking mode.
  • the first edge ONT can detect whether the power is supplied by the main ONT. When it is detected that the power is supplied by the main ONT, it can determine that the networking mode is the second networking mode. Further judge whether the downlink packet sent by the main ONT is received. If the downlink packet sent by the main ONT is received, determine that the networking mode is the first networking mode. Otherwise, if the downlink packet sent by the main ONT is not received, the It can be determined that the networking mode is the first networking mode.
  • the first edge ONT can detect whether it is connected to the main ONT through the high-speed interface, and when detecting that it is connected to the main ONT through the high-speed interface, it can determine that the networking mode is the second networking mode.
  • the first edge ONT detects whether the power is supplied by the main ONT, which may be to detect whether the input current module connected to the main ONT is turned on. If the ONT is turned on, it means that the main ONT is powered. Otherwise, it means that it is not powered by the main ONT.
  • the networking mode of the first edge ONT and the main ONT can be accurately determined based on the power supply situation.
  • 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 delivered by the master ONT, and configures the first edge ONT based on the configuration content.
  • 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 of optical fibers, network cables, or wireless connections.
  • the first networking mode may also be referred to as a separate networking mode, an independent networking mode, an independent networking mode, and the like.
  • the first edge ONT when the first edge ONT detects that the networking mode with the master ONT is the first networking mode, the first edge ONT receives the configuration content delivered by the master ONT, and then uses the configuration content for configuration .
  • 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 the service performed by the first edge ONT (such as video, voice, text, etc.)
  • the network configuration indicates the 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 the service that the first edge ONT can perform, and uses the network configuration in the configuration content to configure its own service configuration.
  • the internet The internet.
  • the first edge ONT may also acquire pre-stored configuration content and perform configuration.
  • a 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 first edge ONT is configured in the first edge ONT to operate in bridge mode, then the first edge ONT Configure its own working mode as bridge mode.
  • the user uses a terminal device to connect to the first edge ONT through the network port or wireless mode of the first edge ONT, and the first edge ONT is configured with the working mode of the first edge ONT as routing mode, then the first edge ONT The ONT configures its own working mode as routing mode.
  • the first edge ONT is a wireless routing device, which is used to provide wireless signals for the user's terminal device.
  • step 502 when the working mode of the first edge ONT is the routing mode, the process of transmitting the packet may be:
  • the first edge ONT When receiving the first upstream packet sent by the terminal device, the first edge ONT converts the source IP address in the first upstream packet into a public network IP address, and forwards the converted first upstream packet to the main ONT. ; When receiving the first downlink message sent by the main ONT, the first edge ONT converts the destination IP address in the first downlink message into a private network IP address, and converts the first downlink message after the address conversion forwarded to the end device.
  • the first edge ONT is in the 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 an uplink packet to the external network (the uplink packet is called the first uplink packet): After the terminal device accesses the first edge ONT, the terminal device sends the first uplink packet to the first edge ONT.
  • the source IP address in the first uplink packet is the private network IP address of the terminal device.
  • the first edge ONT may convert the source IP address in the first upstream packet into a corresponding public network IP address. Then the first edge ONT forwards the converted first upstream packet to the main ONT.
  • the primary ONT can send the converted first uplink packet to the external network.
  • the primary ONT can perform secondary conversion on the public network IP address in the converted first upstream packet, convert the public network IP address stored by the primary ONT, and then send the secondary converted first upstream packet to the outside world. , and send it to the Internet.
  • the processing process of the terminal device receiving the downlink packet sent by the external network (the uplink packet is referred to as the first downlink packet): the main ONT receives the first downlink packet sent by the external network, and the main ONT can send the first downlink packet.
  • the downlink packet is forwarded to the first edge ONT, or the main ONT can convert the destination IP address in the first downlink packet to the public network IP address stored by the first edge ONT, and then convert the first downlink address after address translation.
  • the packet is forwarded to the first edge ONT.
  • the first edge ONT can correspondingly translate the destination IP address in the received first downlink packet into a corresponding private network IP address of the terminal device, and forward the address-translated first downlink packet to the terminal device.
  • 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.
  • the second networking mode is used to instruct the first edge ONT to be directly plugged into the main ONT, and to instruct the first edge ONT to act 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 combined networking mode, an integrated networking mode, or the like.
  • the user uses a terminal device to connect to the first edge ONT through a network port with the first edge ONT or wirelessly,
  • the working mode of the first edge ONT is configured as a bridge mode in the first edge ONT.
  • the first edge ONT configures itself as a bridge ONT to which the main ONT is connected.
  • the main ONT is also a wireless routing device.
  • the user uses the terminal device to connect to the first-edge ONT through the network port of the first-edge ONT or wirelessly.
  • the working mode of the first edge ONT configured in the ONT is the sleep mode.
  • the first edge ONT may set itself to sleep mode and not perform task service processing.
  • a physical interface is set on the main ONT, and the first edge ONT is directly plugged into the physical interface of the main ONT.
  • the main ONT serves as the power supply of the first edge ONT, and can supply power to the first edge ONT through the physical interface.
  • the user can use the terminal device to connect to the master ONT through the network port or wireless connection of the master ONT, and the bandwidth of the first edge ONT on the master ONT , to configure the business.
  • the master ONT may send the configuration content of the user to the first edge ONT to the first edge ONT.
  • the first edge ONT is configured using the configuration content.
  • the user may also connect to the first edge ONT through the network port or wireless connection of the first edge ONT, and configure the first edge ONT.
  • the flow of transmitting the message may be:
  • the first edge ONT When the first edge ONT receives the second uplink packet sent by the terminal device, it forwards the second uplink packet to the main ONT; when the first edge ONT receives the second downlink packet sent by the main ONT, it forwards the second uplink packet to the main ONT. Downlink packets are forwarded to the terminal device.
  • the process in which the terminal device sends an uplink packet (the uplink packet is referred to as the second uplink packet) to the external network: after the terminal device accesses the first edge ONT, the terminal device sends the first edge ONT to the When sending the second upstream packet, the first edge ONT does not process the second upstream packet, and sends the received second upstream packet to the main ONT. If the primary ONT and the first edge ONT are in Layer 2 bridging mode, the primary ONT may forward the second upstream packet according to the MAC address in the second upstream packet without processing the second upstream packet. If the primary ONT and the first edge ONT are in Layer 3 bridge mode, the primary ONT converts the source IP address in the second upstream packet to the corresponding public IP address, and then sends the converted second upstream packet to Extranet.
  • the primary ONT and the first edge ONT are in Layer 2 bridging mode
  • the primary ONT converts the source IP address in the second upstream packet to the corresponding public IP address, and then sends the
  • the external network sends the second downlink packet to the main ONT, if the main ONT and the first edge ONT are Layer 2 In bridge mode, the master ONT can forward the second downlink packet to the first edge ONT according to the MAC address in the second downlink packet. If the primary ONT and the first edge ONT are in Layer 3 bridging mode, the primary ONT converts the destination IP address in the second downlink packet to the private IP address of the corresponding terminal device, and then converts the converted second downlink packet to the private network IP address of the corresponding terminal device. The message is sent to the first edge ONT. The first edge ONT sends the second downlink packet to the terminal device indicated by the private network IP address according to the private network IP address.
  • the main ONT and the first edge ONT are in a Layer 3 bridge mode, the main ONT and the first edge ONT are located 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 connected to the first edge ONT. Of course, some terminal devices can also be directly connected to the main ONT. At this time, the transmission packets do not pass through the first edge ONT. .
  • step 502 and step 503 are not in order.
  • the first edge ONT 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.
  • the embodiment of the present application provides the process of the main ONT in the networking method of the PON:
  • Step 601 the primary ONT detects the networking mode.
  • the master ONT detects its own networking mode after being started.
  • the processing of the primary ONT detecting the networking mode may be:
  • the main ONT detects that the target function is turned on, and determines that the networking mode is the first networking mode; the main ONT detects that the target function is not turned on, and determines that the networking mode is the second networking mode.
  • 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.
  • the user can set in advance whether the target function of the main ONT is enabled or disabled. Specifically, the user can connect to the main ONT through a terminal device, and configure whether the target function of the main ONT is enabled, or whether the main ONT is set with a A physical button, through which the user can control the on and off of the target function.
  • the master ONT can detect whether the target function is enabled, and in the case of detecting that the target function is enabled, determine that the networking mode is the first networking mode.
  • the first networking mode may also be referred to as a separate networking mode, an independent networking mode, or the like.
  • the networking mode is determined to be the second networking mode, and the second networking mode is used to instruct the first edge ONT 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 combined networking mode or the like.
  • Step 602 when the primary ONT detects that the networking mode is the first networking mode, it sends the configuration content to the first edge ONT.
  • the primary ONT when the primary ONT detects that the networking mode is the first networking mode, it can add the first edge ONT, and after the first edge ONT is successfully added, it can add the first edge ONT to the first edge ONT.
  • Send configuration content The configuration content may include one or more of work mode, service configuration or network configuration.
  • the main ONT controls its own power supply function to be turned off or hibernated.
  • This power supply function is used to supply power to at least one edge ONT in the PON. Since it is not necessary to supply power to at least one edge ONT, turning off or hibernating the power supply function can reduce the power consumption of the main ONT. The power consumption of the ONT.
  • Step 603 when the primary ONT detects that the networking mode is the second networking mode, it supplies power to the first edge ONT.
  • the power supply module for supplying power to the edge ONT can be activated to supply power to the first edge ONT .
  • step 602 and step 603 are not in sequence.
  • the main ONT can automatically detect the networking mode, and automatically perform the process of configuring the edge ONT, or automatically supply power to the edge ONT without manual setting, so the networking efficiency of the PON can be improved.
  • each edge ONT in the PON is powered independently, and the connection with the main ONT may be a PON connection, a P2P optical fiber connection, a P2P network cable connection, or a wireless connection. one or more of the connections.
  • the edge ONT detects that the networking mode with the main ONT is the first networking mode, and each edge ONT works in bridge mode or routing mode.
  • the PON includes 5 edge ONTs, the 5 edge ONTs are the first edge ONT to the fifth edge ONT, and the first edge ONT and the second edge ONT are connected to each other through a 1:2 optical splitter.
  • the main ONT realizes PON connection
  • the third edge ONT and the main ONT are connected through P2P optical fiber
  • the fourth edge ONT and the main ONT are connected through a P2P network cable
  • the fifth edge ONT and the main ONT are connected wirelessly.
  • multiple physical interfaces are set on the main ONT, and each edge ONT in the PON is directly plugged into different physical interfaces of the main ONT, and all of them are connected by the main ONT.
  • ONT power supply 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 bridge mode or sleep mode.
  • 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 fifth edge ONT are all It is plugged into the main ONT and works in bridge mode.
  • 9 edge ONTs can be inserted into the main ONT, 5 edge ONTs are included in the PON, and the 5 edge ONTs are the first edge ONT to the fifth edge ONT, and the first edge ONT to the third edge ONT. Both are plugged into the main ONT and work in bridge mode, and the fourth edge ONT and the fifth edge ONT work in sleep mode.
  • some edge ONTs in the PON are powered independently, and the part of the edge ONTs work in bridge mode or routing mode, and the rest of the edge ONTs are powered by the main ONT, and the rest of the edge ONTs work in bridge mode.
  • a PON is also provided.
  • the PON includes a main ONT and at least one edge ONT.
  • the main ONT and the at least one edge ONT cooperate with each other to form an integrated device.
  • the multiple networking modes may include a first networking mode and a second networking mode.
  • a processing flow for the primary ONT to authenticate and configure the first edge ONT when the first edge ONT detects that the networking mode with the primary ONT is the first networking mode is also provided, as shown in the figure 10 shows:
  • Step 1001 the primary ONT broadcasts a discovery message, wherein the discovery message includes first identification information, and the first identification information is the identification information of the primary ONT.
  • the primary ONT when the primary ONT detects that the networking mode is the first networking mode, and the number of edge ONTs currently accessed is less than the maximum number of edge ONTs allowed to be accessed by the primary ONT, the primary ONT periodically broadcasts a discovery message,
  • the discovery message includes first identification information, where the first identification information is identification information of the primary ONT, and the first identification information may be a device serial number or a MAC address of the primary ONT.
  • the number of edge ONTs connected to the main ONT is not limited. Therefore, when it is detected that the networking mode is the first networking mode, the main ONT can broadcast discovery messages periodically until it detects the networking mode.
  • the mode is the second networking mode.
  • the master ONT no longer broadcasts the discovery message.
  • the main ONT broadcasts the discovery message again.
  • the primary ONT may broadcast the discovery message to the outside through all channels for sending messages to the outside.
  • the path includes wireless signals, PON ports, and P2P ports.
  • the PON port indicates that a PON connection is established
  • the P2P port indicates that a P2P optical fiber connection or a P2P network cable connection is established.
  • Step 1002 the first edge ONT receives the discovery message broadcast by the main ONT.
  • the first edge ONT receives the discovery message broadcasted by the main ONT, and obtains the first identification information therefrom.
  • the first edge ONT can confirm whether to receive the discovery message broadcast by the main ONT by switching among the receiving mode of the PON port, the receiving mode of the P2P port, and the wireless signal receiving mode.
  • the two can communicate through wireless signals; when the main ONT and the first edge ONT are connected by optical fibers, they can be connected through PON or P2P.
  • the main ONT and the first edge ONT are connected through a P2P network cable, the two can communicate through P2P.
  • Step 1003 After determining that the first identification information is the stored identification information of the known master ONT, the first edge ONT sends second identification information to the master ONT, where the second identification information is the identification information of the first edge ONT.
  • the identification information of the known master ONT stored in the first edge ONT is the identification information of the accessible master ONT, which may be stored in the first edge ONT when it leaves the factory. Alternatively, the identification information of the known master ONT stored in the first edge ONT may be input by the user after connecting to the first edge ONT through the terminal device.
  • the identification information of the known primary ONT indicates the primary ONT to which the first edge ONT is connected.
  • the first edge ONT determines whether the first identification information is the stored identification information of the known master ONT, and when determining that the first identification information is the stored identification information of the known master ONT, the first edge ONT considers that As the main ONT is a local area network device, the first edge ONT can obtain its own identification information (ie, the second identification information), and send the second identification information to the main ONT.
  • the second identification information may be a device serial number or a MAC address of the first edge ONT.
  • the first edge ONT receives the discovery message through at least the PON connection, it sends the second identification information to the main ONT through the PON connection. If the first edge ONT does not receive the discovery message through the PON connection, but at least receives the discovery message 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 at least receives the discovery message through the P2P network cable connection, the second identification information is sent to the main ONT through the P2P network cable connection.
  • the first edge ONT receives the discovery message only through the wireless connection, it sends the second identification information to the main ONT through the wireless connection. In this way, since the PON connection is more stable, the PON connection is preferentially used, which can make the process of adding edge ONTs more reliable.
  • Step 1004 the primary ONT receives the second identification information sent by the first edge ONT.
  • Step 1005 in the case that the second identification information is the stored identification information of the known edge ONT, the master ONT sends the configuration content to the first edge ONT.
  • the identification information of the known edge ONT stored in the main ONT is the identification information of the edge ONT that can access the main ONT, and may be stored in the main ONT when it leaves the factory. Alternatively, the identification information of the known edge ONT stored in the main ONT may be input by the user after connecting to the main ONT through the terminal device. The identification information of the known edge ONT indicates the edge ONT that is allowed to access the main ONT.
  • the master ONT after receiving the second identification information, can determine whether the second identification information belongs to the stored identification information of the known edge ONT, and after determining the identification information belonging to the known edge ONT, it is considered to be a local area network
  • the device can send the configuration content to the first edge ONT.
  • the specific configuration content may be sent through a configuration message, and the configuration message may be an optical network unit management and control interface (OMCI) message.
  • the configuration content may include service configuration (eg, video, voice, etc.) of the first edge ONT, network configuration (eg, used bandwidth), and working mode of the first edge ONT.
  • the service performed here and the bandwidth used may be preset and configured in the main ONT by the user.
  • Step 1006 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.
  • Step 1007 the first edge ONT configures the first edge ONT using the configuration content.
  • the first edge ONT may configure the working mode in the configuration content 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, respectively. After the configuration is complete, the first edge ONT can transmit service packets with the main ONT.
  • the PON is a gigabit passive optical network (GPON), a 10G symmetric gigabit passive optical network (10G symmetric passive optical network, XGS-PON), and a 10G asymmetric gigabit passive optical network.
  • GPON gigabit passive optical network
  • 10G symmetric passive optical network, XGS-PON 10G symmetric passive optical network
  • 10G asymmetric gigabit passive optical network 10G passive optical network, XG-PON
  • the messages sent from steps 1001 to 1004 use physical layer operations administration and maintenance (PLOAM) messages, steps 1005 and 1006
  • PLOAM physical layer operations administration and maintenance
  • the packets sent from steps 1001 to 1004 use a multi-point control protocol (multi-point control protocol). , MPCP) message, the packets sent in steps 1005 and 1006 use OMA messages.
  • MPCP multi-point control protocol
  • the main ONT and the first edge ONT communicate with each other through ordinary Ethernet packets.
  • the main ONT and the first edge ONT connect and interact through a communication mode defined by 802.11.
  • FIG. 11 is a structural diagram of a PON networking device provided by an embodiment of the present application.
  • the apparatus can be implemented by software, hardware or a combination of the two to become a part or all of the apparatus.
  • the apparatus provided by the embodiment of the present application can implement the process described in FIG. 5 in the embodiment of the present application, and the apparatus includes: a detection module 1110, a receiving module 1120, and a configuration module 1130, wherein:
  • the PON includes a main ONT and at least one edge ONT, and the at least one edge ONT includes a first edge ONT.
  • the detection module 1110 is used to detect the networking mode with the main ONT, and can be specifically used to realize the detection of step 501. Functions and implicit steps included in execution step 501;
  • the receiving module 1120 is configured to receive the configuration content issued by the master ONT when it is detected that the networking mode is the first networking mode, and specifically can be used to implement the receiving function of step 502 and execute step 502 including: implicit steps;
  • a configuration module 1130 configured 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 In the case of the mode, configuring the bridge ONT as the master ONT or entering the sleep mode may be specifically used to implement the configuration function of step 503 and execute the implicit steps included in step 503 .
  • the configuration content includes one or more of a working mode, a service configuration, or a network configuration, where the working mode is a bridge mode or a routing mode.
  • the detection module 1110 is used for:
  • Detecting that it is not powered by the main ONT and can receive the downlink message sent by the main ONT, determine that the networking mode with the main ONT is the first networking mode;
  • the main ONT is powered or connected to the main ONT through a high-speed interface, and it is determined that the networking mode with the main ONT is the second networking mode.
  • the apparatus when the working mode is the routing mode, the apparatus further includes a sending module 1140 for:
  • the primary ONT When receiving the first downlink packet sent by the primary ONT, convert the destination IP address in the first downlink packet into a private network IP address, and convert the address-translated first downlink packet into a private network IP address.
  • the message is forwarded to the terminal device connected to the first edge ONT.
  • the apparatus when the working mode is a bridge mode, or after the first edge ONT is configured as a bridge ONT of the main ONT, the apparatus further includes a sending module 1140 for :
  • the second downlink packet When receiving the second downlink packet sent by the primary ONT, the second downlink packet is forwarded to the terminal device connected to the first edge ONT.
  • the receiving module 1120 when it is detected that the networking mode is the first networking mode, is further configured to:
  • the discovery message broadcasted by the main ONT, wherein the discovery message includes first identification information, and the first identification information is the identification information of the main ONT;
  • the device also includes a sending module 1140 for sending second identification information to the main ONT after determining that the first identification information is the stored identification information of the known main ONT, wherein the second identification information is the identification information of the first edge ONT;
  • the receiving module 1120 is configured to receive the configuration content sent by the primary ONT after determining that the first edge ONT is a known edge ONT according to the second identification information.
  • the connection between the first edge ONT and the main ONT is a PON One or more of connection, P2P fiber connection, P2P network cable connection or wireless connection.
  • the first edge ONT is plugged into the physical interface of the main ONT.
  • FIG. 13 is a structural diagram of a PON networking device provided by an embodiment of the present application.
  • the apparatus can be implemented by software, hardware or a combination of the two to become a part or all of the apparatus.
  • the apparatus provided by the embodiment of the present application can implement the process described in FIG. 6 in the embodiment of the present application, and the apparatus includes: a detection module 1310, a sending module 1320, and a power supply module 1330, wherein:
  • the PON includes a main ONT and at least one edge ONT, and the at least one edge ONT includes a first edge ONT.
  • the detection module 1310 is used to detect the networking mode, and specifically can be used to realize the detection function of step 601 and execute step 601 to include: implicit steps;
  • the sending module 1320 is configured to deliver the configuration content 1330 to the first edge ONT when it is detected that the networking mode is the first networking mode, which can specifically be used to implement the sending function of step 602 and execute the steps included in step 602. implicit step;
  • the power supply module 1330 is configured to supply power to the first edge ONT when it is detected that the networking mode is the second networking mode, and specifically can be used to implement the power supply function of step 603 and execute the implicit steps included in step 603 .
  • the detection module 1310 is used for:
  • the target function is turned on, and the networking mode is determined to be the first networking mode
  • 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.
  • the apparatus when it is detected that the networking mode is the first networking mode, the apparatus further includes:
  • the control module 1340 is configured 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.
  • the configuration content includes one or more of a working mode, a service configuration, or a network configuration, where the working mode is a bridge mode or a routing mode.
  • the sending module 1320 is further configured to:
  • the discovery message includes first identification information, and the first identification information is the identification information of the primary ONT;
  • the device further includes a receiving module 1350 for receiving second identification information sent by the first edge ONT, wherein the second identification information is the identification information of the first edge ONT;
  • the sending module 1320 is configured to send the configuration content to the first edge ONT when the second identification information is the stored identification information of the known edge ONT.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division. In actual implementation, there may also be other division methods.
  • the functional modules in the various embodiments of the present application may be integrated into one
  • the processor may also exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • the computer program product includes one or more computer instructions, and when loading and executing the computer program instructions on the ONT (ONT is an edge ONT or a main ONT), the whole or part of the process according to the embodiment of the present application is generated or Features.
  • ONT is an edge ONT or a main ONT
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that an ONT (ONT is an edge ONT or a main ONT) can access, or a data storage device such as a server, a data center, etc. that includes one or more available mediums integrated.
  • the usable medium may be a magnetic medium (such as a floppy disk, a hard disk, and a magnetic tape, etc.), an optical medium (such as a digital video disk (DVD), etc.), or a semiconductor medium (such as a solid-state disk, etc.).
  • a magnetic medium such as a floppy disk, a hard disk, and a magnetic tape, etc.
  • an optical medium such as a digital video disk (DVD), etc.
  • a semiconductor medium such as a solid-state disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供了一种无源光网络的组网方法和装置,该方法属于光纤通信技术领域。PON包括主ONT和至少一个边缘ONT,至少一个边缘ONT包括第一边缘ONT,该方法包括:第一边缘ONT检测与主ONT的组网模式(501),在检测到组网模式为第一组网模式的情况下,第一边缘ONT接收主ONT下发的配置内容,基于该配置内容,配置第一边缘ONT(502)。在检测到组网模式为第二组网模式的情况下,第一边缘ONT配置作为主ONT的桥接ONT或者进入休眠模式(503)。采用本申请,可以提升PON组网的效率。

Description

无源光网络的组网方法和装置
本申请要求于2020年10月30日提交的申请号为202011197425.8、发明名称为“无源光网络的组网方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及光纤通信技术领域,特别涉及一种无源光网络(passive optical network,PON)的组网方法和装置。
背景技术
PON是一种无源光网络,通常由局端的光线路终端(optical line terminal,OLT)、光分配网络(optical distribution network,ODN)和光网络终端(optical network terminal,ONT)三部分组成。在PON为二级组网的情况下,二级组网包括主ONT和边缘ONT,主ONT连接OLT,边缘ONT连接主ONT。例如,在(fiber to the room,FTTR)的组网中,家庭网关为主ONT,每个房间部署的ONT为边缘ONT,家庭网关管理每个房间部署的边缘ONT。
在相关技术中,边缘ONT连接主ONT,边缘ONT由人工配置作为一个无线路由设备。由于边缘ONT的数量比较多,每个边缘ONT均需要人工配置,会导致PON的组网效率比较低。
发明内容
本申请提供了一种PON的组网方法和装置,用以提升PON的组网效率。技术方案如下:
第一方面,本申请提供了一种PON的组网方法,PON包括主ONT和至少一个边缘ONT,至少一个边缘ONT包括第一边缘ONT,该方法包括:第一边缘ONT检测与主ONT的组网模式,第一边缘ONT检测到组网模式为第一组网模式的情况下,接收主ONT下发的配置内容,基于配置内容配置第一边缘ONT,第一边缘ONT检测到组网模式为第二组网模式的情况下,配置作为主ONT的桥接ONT或者进入休眠模式。
其中,第一组网模式用于指示第一边缘ONT不是直接插在主ONT上,而是通过光纤、网线或无线中的一种或多种连接,连接至主ONT。第一组网模式也可以称为是分离组网模式、独立组网模式等。第二组网模式用于指示第一边缘ONT作为主ONT的扩展端口,扩展主ONT的无线信号。第二组网模式也可以称为是合一组网模式等。
本申请所示的方案,PON包括主ONT和至少一个边缘ONT,至少一个边缘ONT包括第一边缘ONT,第一边缘ONT可以检测与主ONT的组网模式,在组网模式为第一组网模式的情况下,第一边缘ONT接收主ONT下发的配置内容,基于配置内容配置第一边缘ONT。在组网模式为第二组网模式的情况下,第一边缘ONT将自身配置作为主ONT的桥接ONT或者进入休眠模式。这样,PON中的边缘ONT可以自动的检测与主ONT的组网模式,并且设置自己的状态,而不 需要人工设置,所以可以提升PON的组网效率。
在一种可能的实现方式中,配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,工作模式为桥接模式或路由模式。业务配置指示第一边缘ONT所进行的业务(如视频、语音、文本等)、网络配置指示第一边缘ONT的网络信息,如带宽等。这样,主ONT可以对管理的边缘ONT进行全面的配置。
在一种可能的实现方式中,第一边缘ONT检测到不是由主ONT供电,且能接收到主ONT发送的下行报文,确定与主ONT的组网模式为第一组网模式;第一边缘ONT检测到由主ONT供电或者通过高速接口与主ONT连接,确定与主ONT的组网模式为第二组网模式。
本申请所示的方案,第一边缘ONT可以检测是否由主ONT供电,在检测到由主ONT供电时,可以确定组网模式为第二组网模式。在检测到不是由主ONT供电时,可以进一步判断是否接收到主ONT发送的下行报文。如果第一边缘ONT接收到主ONT发送的下行报文,确定组网模式为第一组网模式。或者第一边缘ONT可以检测是否通过高速接口与主ONT连接,在检测到通过高速接口与主ONT连接时,可以确定组网模式为第二组网模式。此处第一边缘ONT检测是否由主ONT供电,可以是检测与主ONT连接的输入电流模块是否开启,开启说明是由主ONT供电,否则说明不是由主ONT供电。这样,可以准确的判断组网模式。
在一种可能的实现方式中,在工作模式为路由模式的情况下,该方法还包括:第一边缘ONT在接收到所述第一边缘ONT连接的终端设备发送的第一上行报文时,将第一上行报文中的源网络互连协议(internet protocol,IP)地址转换为公网IP地址,将地址转换后的第一上行报文转发至主ONT;第一边缘ONT在接收到主ONT发送的第一下行报文时,将第一下行报文中的目的IP地址转换为私网IP地址,将地址转换后的第一下行报文转发至第一边缘ONT连接的终端设备。
本申请所示的方案,第一边缘ONT处于路由模式下,即作为独立的无线路由设备使用,主ONT也作为独立的无线路由设备使用。终端设备向外网发送第一上行报文的处理过程:终端设备在接入第一边缘ONT之后,终端设备向第一边缘ONT发送第一上行报文,第一上行报文中的源IP地址为终端设备的私网IP地址。第一边缘ONT在接收到第一上行报文时,第一边缘ONT可以将第一上行报文中的源IP地址转换为对应的公网IP地址。然后第一边缘ONT将转换后的第一上行报文转发至主ONT。主ONT可以对转换后的第一上行报文向外发送,发送至外网。或者主ONT可以对转换后的第一上行报文中的公网IP地址进行二次转换,转换为主ONT存储的公网IP地址,然后将二次转换后的第一上行报文向外发送,发送至外网。终端设备接收外网发送的第一下行报文的处理过程:主ONT接收到外网发送的第一下行报文,主ONT可以将第一下行报文转发至第一边缘ONT,或者主ONT可以将第一下行报文中的目的IP地址转换为第一边缘ONT存储的公网IP地址,然后将地址转换后的第一下行报文转发至第一边缘ONT。第一边缘ONT可以将接收到的第一下行报文中的目的IP地址对应转换为对应的终端设备私网IP地址,将地址转换后的第一下行报文转发至终端设备。这样,第一边缘ONT可以单独作为一个无线路由设备使用。
在一种可能的实现方式中,在工作模式为桥接模式的情况下,或者第一边缘ONT配置作为主ONT的桥接ONT之后,该方法还包括:第一边缘ONT在接收到所述第一边缘ONT连接的终端设备发送的第二上行报文时,将第二上行报文转发至主ONT;第一边缘ONT在接收到主 ONT发送的第二下行报文时,将第二下行报文转发至所述第一边缘ONT连接的终端设备。
本申请所示的方案,终端设备向外网发送第二上行报文的过程:终端设备在接入第一边缘ONT之后,终端设备向第一边缘ONT发送第二上行报文,第一边缘ONT不对第二上行报文进行处理,将接收到的第二上行报文发送至主ONT。如果主ONT与第一边缘ONT是二层桥接模式,则主ONT可以按照第二上行报文中的媒体访问控制(media access control,MAC)地址,对第二上行报文进行转发,而不对第二上行报文进行处理。如果主ONT与第一边缘ONT是三层桥接模式,则主ONT将第二上行报文中的源IP地址,转换为对应的公网IP地址,然后将转换后的第二上行报文发送至外网。
终端设备接收外网发送的第二下行报文的过程:外网向主ONT发送第二下行报文,如果主ONT与第一边缘ONT是二层桥接模式,则主ONT可以按照第二下行报文中的MAC地址,将第二下行报文转发至第一边缘ONT。如果主ONT与第一边缘ONT是三层桥接模式,则主ONT将第二下行报文中的目的IP地址,转换为对应的终端设备的私网IP地址,然后将转换后的第二下行报文发送至第一边缘ONT。第一边缘ONT按照私网IP地址,将第二下行报文发送至私网IP地址指示的终端设备。这样,在第一边缘ONT处于主ONT的桥接ONT时,也可以进行报文转发处理。
在一种可能的实现方式中,第一边缘ONT在检测到组网模式为第一组网模式的情况下,该方法还包括:第一边缘ONT接收主ONT广播的发现消息,其中,发现消息包括第一标识信息,第一标识信息为主ONT的标识信息;第一边缘ONT在确定第一标识信息为存储的已知主ONT的标识信息后,向主ONT发送第二标识信息,其中,第二标识信息为第一边缘ONT的标识信息;第一边缘ONT接收主ONT下发的配置内容,包括:第一边缘ONT接收主ONT在根据第二标识信息确定第一边缘ONT为已知边缘ONT后发送的配置内容。
本申请所示的方案,第一边缘ONT接收主ONT广播的发现消息,该发现消息包括主ONT的标识信息,即第一标识信息。第一边缘ONT在确定第一标识信息为已知主ONT的标识信息后,向主ONT发送第二标识信息,第二标识信息为第一边缘ONT的标识信息。主ONT在识别第二标识信息为已知边缘ONT的标识信息后,向第一边缘ONT发送配置内容。第一边缘ONT接收该配置内容。这样,由于在边缘ONT添加至主ONT时,可以实现双向认证,防止其它非约定边缘ONT接入,所以可以使PON的组网更安全。
在一种可能的实现方式中,第一边缘ONT在检测到与主ONT的组网模式为第一组网模式的情况下,第一边缘ONT与主ONT之间的连接为PON连接、点对点(peer-to-peer,P2P)光纤连接、P2P网线连接或无线连接中的一种或多种。
在一种可能的实现方式中,第一边缘ONT在检测到组网模式为第二组网模式的情况下,第一边缘ONT插在主ONT的物理接口上。
第二方面,本申请提供了一种PON的组网方法,PON包括主光网络终端ONT和至少一个边缘ONT,至少一个边缘ONT包括第一边缘ONT,该方法包括:主ONT检测组网模式;主ONT检测到组网模式为第一组网模式的情况下,向第一边缘ONT下发配置内容;主ONT检测到组网模式为第二组网模式的情况下,为第一边缘ONT进行供电。
本申请所示的方案,主ONT检测组网模式,在检测到组网模式为第一组网模式时,向第一边缘ONT下发配置内容,在检测到组网模式为第二组网模式时,为第一边缘ONT进行供电。 这样,主ONT可以自动的检测组网模式,并且自动执行配置边缘ONT,或者自动为边缘ONT供电,而不需要人工设置,所以可以提升PON的组网效率。
在一种可能的实现方式中,主ONT检测组网模式,包括:主ONT检测到目标功能开启,确定组网模式为第一组网模式;主ONT检测到目标功能未开启,确定组网模式为第二组网模式,其中,目标功能指用于管理至少一个边缘ONT的功能。
本申请所示的方案,目标功能为OLT功能,即管理边缘ONT的功能。目标功能在主ONT中对应有虚拟模块,控制该虚拟模块工作与停止工作,即可实现目标功能的开启或关闭。
用户可以提前设置主ONT的目标功能是开启,还是关闭。可选的,用户可以通过终端设备,连接至主ONT,配置主ONT的目标功能是否开启,或者主ONT上设置有物理按钮,用户可以通过该物理按钮控制目标功能的开启与关闭。
主ONT可以检测目标功能是否开启,在检测到目标功能开启的情况下,确定组网模式为第一组网模式。第一组网模式也可以称为是分离组网模式、独立组网模式等。在检测到目标功能未开启的情况下,确定组网模式为第二组网模式,第二组网模式用于指示第一边缘ONT作为主ONT的扩展端口,扩展主ONT的无线信号。第二组网模式也可以称为是合一组网模式等。这样,可以准确的判断组网模式。
在一种可能的实现方式中,主ONT检测到组网模式为第一组网模式的情况下,该方法还包括:主ONT控制主ONT的供电功能关闭或者休眠。
其中,供电功能用于为至少一个边缘ONT供电。
本申请所示的方案,在组网模式为第一组网模式的情况下,主ONT可以控制自身的供电功能关闭或者休眠,节约主ONT的功耗。
在一种可能的实现方式中,配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,工作模式为桥接模式或路由模式。
在一种可能的实现方式中,主ONT检测到组网模式为第一组网模式的情况下,该方法还包括:主ONT广播发现消息,其中,发现消息包括第一标识信息,第一标识信息为主ONT的标识信息;主ONT接收第一边缘ONT发送的第二标识信息,其中,第二标识信息为第一边缘ONT的标识信息;向第一边缘ONT下发配置内容,包括:主ONT在第二标识信息为存储的已知边缘ONT的标识信息的情况下,向第一边缘ONT发送配置内容。
本申请所示的方案,主ONT检测到组网模式为第一组网模式的情况下,主ONT可以广播发现消息,发现消息包括主ONT的标识信息,即第一标识信息。第一边缘ONT接收到发现消息,在确定第一标识信息为已知的主ONT的标识信息时,向主ONT发送自身的第二标识信息。主ONT在确定第二标识信息为已知边缘ONT的标识信息时,向第一边缘ONT发送配置内容,用于配置第一边缘ONT。这样,由于在边缘ONT添加至主ONT时,可以实现双向认证,防止其它非约定边缘ONT接入,所以可以使PON的组网更安全。
第三方面,本申请提供了一种PON的组网装置,该装置包括一个或多个模块,用于实现上述第一方面所述的组网方法。
第四方面,本申请提供了一种PON的组网装置,该装置包括一个或多个模块,用于实现上述第二方面所述的组网方法。
第五方面,本申请提供了一种边缘ONT,边缘ONT包括处理器和存储器,其中:存储器 中存储有计算机指令,处理器执行计算机指令,以实现第一方面及其可能的实现方式的方法。
第六方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机指令,当计算机可读存储介质中的计算机指令被边缘ONT执行时,使得边缘ONT执行第一方面及其可能的实现方式的方法,或者使得边缘ONT实现上述第三方面及其可能的实现方式的装置的功能。
第七方面,本申请提供了一种包含计算机指令的计算机程序产品,当其在边缘ONT上运行时,使得边缘ONT执行上述第一方面及其可能的实现方式的方法,或者使得边缘ONT实现上述第三方面及其可能的实现方式的装置的功能。
第八方面,本申请提供了一种主ONT,主ONT包括处理器和存储器,其中:存储器中存储有计算机指令,处理器执行计算机指令,以实现第二方面及其可能的实现方式的方法。
第九方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机指令,当计算机可读存储介质中的计算机指令被主ONT执行时,使得主ONT执行第二方面及其可能的实现方式的方法,或者使得主ONT实现上述第四方面及其可能的实现方式的装置的功能。
第十方面,本申请提供了一种包含计算机指令的计算机程序产品,当其在主ONT上运行时,使得主ONT执行上述第二方面及其可能的实现方式的方法,或者使得主ONT实现上述第四方面及其可能的实现方式的装置的功能。
第十一方面,本申请提供了一种PON系统,该PON系统包括主ONT和至少一个边缘ONT,至少一个边缘ONT中的每个边缘ONT用于实现上述第一方面所述的组网方法,主ONT用于实现上述第二方面所述的组网方法。
附图说明
图1是本申请一个示例性实施例提供的PON系统架构图;
图2是本申请一个示例性实施例提供的FTTR的组网示意图;
图3是本申请一个示例性实施例提供的主ONT的结构示意图;
图4是本申请一个示例性实施例提供的边缘ONT的结构示意图;
图5是本申请一个示例性实施例提供的PON的组网方法的流程示意图;
图6是本申请一个示例性实施例提供的PON的组网方法的流程示意图;
图7是本申请一个示例性实施例提供的第一组网模式下PON的组网示意图;
图8是本申请一个示例性实施例提供的第二组网模式下PON的组网示意图;
图9是本申请一个示例性实施例提供的第二组网模式下PON的组网示意图;
图10是本申请一个示例性实施例提供的主ONT对边缘ONT的配置流程示意图;
图11是本申请一个示例性实施例提供的PON的组网装置的结构示意图;
图12是本申请一个示例性实施例提供的PON的组网装置的结构示意图;
图13是本申请一个示例性实施例提供的PON的组网装置的结构示意图;
图14是本申请一个示例性实施例提供的PON的组网装置的结构示意图;
图15是本申请一个示例性实施例提供的PON的组网装置的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
为了便于对本申请实施例的理解,下面首先介绍所涉及到的名词的概念:
1、PON,是一种无源光网络,通常由局端的OLT、ODN和ONT三部分组成,此处ONT也可以是光网络单元(optical network unit,ONU)。如图1所示,多个ONT通过ODN连接在同一个OLT的PON端口上。
2、FTTR,是将光纤不仅延伸至用户室内,还延伸至用户的各个房间中,在房间内部安装无线路由设备,这样,就缩小了用户的终端设备与无线路由设备的距离,保证了无线信号的质量。可选的,FTTR的一种组网方式可以为:如图2所示,网络运营商通过PON给用户提供千兆的接入带宽。家庭网关(即主ONT)可部署于信息箱内,光纤通过装修时预留的管孔资源连接到各个房间。家庭网关通过家庭内部部署的光纤与各个房间的ONT连接,各个房间ONT的无线信号只需要覆盖房间内部,家庭中的各个终端设备选择离自己最近的ONT进行连接。由于每个ONT需要覆盖的范围减小,多个ONT可以覆盖房间的每个角度。这样,基于FTTR的组网系统,用户的终端设备可以充分享受接入带宽提升带来的网络体验提升。
为了高效率的进行PON组网,本申请提供了一种PON的组网方法,该PON是二级组网,该PON包括主ONT和至少一个边缘ONT,该至少一个边缘ONT包括第一边缘ONT。例如,PON组网方法应用于FTTR中,主ONT为家庭网关,边缘ONT为各个房间中的ONT。本申请中涉及的ONT可以实现无线路由功能,不需要再接路由器,即可提供无线信号。
如下介绍边缘ONT的结构,如图3所示,边缘ONT可以包括存储器301和处理器302。存储器301可以是只读存储器(read only memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(random access memory,RAM)。存储器301可以存储计算机指令,当存储器301中存储的计算机指令被处理器302执行时,处理器302用于进行PON的组网方法。存储器301还可以存储数据。
处理器302可以采用通用的中央处理器(central processing unit,CPU),微处理器,应用专用集成电路(application specific integrated circuit,ASIC),图形处理器(graphics processing unit,GPU)或者一个或多个集成电路。
可选的,边缘ONT还可以包括通信接口和总线。其中,存储器301、处理器302、通信接口通过总线实现彼此之间的通信连接。通信接口使用例如但不限于收发器一类的收发模块,来实现边缘ONT与其他设备通信。例如,可以通过通信接口与主ONT进行通信。
总线可以包括在边缘ONT各个部件(例如,存储器301、处理器302、通信接口)之间传送信息的通路。
如下介绍主ONT的结构,如图4所示,主ONT可以包括存储器401和处理器402。存储器401可以是ROM,静态存储设备,动态存储设备或者RAM。存储器401可以存储计算机指令,当存储器401中存储的计算机指令被处理器402执行时,处理器402用于进行PON的组网方法。存储器401还可以存储数据。
处理器402可以采用通用的CPU,微处理器,ASIC,GPU或者一个或多个集成电路。
可选的,主ONT还可以包括通信接口和总线。其中,存储器401、处理器402、通信接口通过总线实现彼此之间的通信连接。通信接口使用例如但不限于收发器一类的收发模块,来实现主ONT与其他设备通信。例如,可以通过通信接口与边缘ONT进行通信。
总线可包括在主ONT各个部件(例如,存储器401、处理器402、通信接口)之间传送信息的通路。
如图5所示,PON的组网方法中边缘ONT的流程可以为:
步骤501,第一边缘ONT检测与主ONT的组网模式。
在本实施例中,第一边缘ONT在上电启动时,检测自己与主ONT的组网模式。或者第一边缘ONT在退出休眠模式时,检测自己与主ONT的组网模式。
在一种可能的实现方式中,步骤501中,第一边缘ONT可以按照以下方式,确定与主ONT的组网模式:
第一边缘ONT检测到不是由主ONT供电,且能接收到主ONT发送的下行报文,确定与主ONT的组网模式为第一组网模式;第一边缘ONT检测到由主ONT供电或者通过高速接口与主ONT连接,确定与主ONT的组网模式为第二组网模式。
其中,高速接口是第一边缘ONT的一种本地网络接口,用于与主ONT按照第二组网模式组网时,与主ONT连接。
在本实施例中,第一边缘ONT可以检测是否由主ONT供电,在检测到由主ONT供电时,可以确定组网模式为第二组网模式,在检测到不是由主ONT供电时,可以进一步判断是否接收到主ONT发送的下行报文,如果接收到主ONT发送的下行报文,确定组网模式为第一组网模式,反之如果未接收到主ONT发送的下行报文,则不可以确定组网模式为第一组网模式。或者第一边缘ONT可以检测是否通过高速接口与主ONT连接,在检测到通过高速接口与主ONT连接时,可以确定组网模式为第二组网模式。此处第一边缘ONT检测是否由主ONT供电,可以是检测与主ONT连接的输入电流模块是否开启,开启说明是由主ONT供电,否则说明不是由主ONT供电。
这样,可以基于供电情况准确的确定第一边缘ONT与主ONT的组网模式。
步骤502,在检测到与主ONT的组网模式为第一组网模式的情况下,第一边缘ONT接收主ONT下发的配置内容,基于该配置内容对第一边缘ONT进行配置。
其中,第一组网模式用于指示第一边缘ONT不是直接插在主ONT上,而是通过光纤、网线或无线中的一种或多种连接,连接至主ONT。第一组网模式也可以称为是分离组网模式、独立组网模式、单独组网模式等。
在本实施例中,第一边缘ONT在检测到与主ONT的组网模式为第一组网模式的情况下,第一边缘ONT接收主ONT下发的配置内容,然后使用该配置内容进行配置。
在一种可能的实现方式中,配置内容可以包括工作模式、业务配置或者网络配置中的一项或者多项,工作模式为桥接模式或路由模式,业务配置指示第一边缘ONT所进行的业务(如视频、语音、文本等)、网络配置指示第一边缘ONT的网络信息,如带宽等。第一边缘ONT将配置内容中的工作模式,配置为自身的工作模式,将配置内容中的业务配置,确定为第一边缘ONT所能进行的业务,使用配置内容中的网络配置,配置自身的网络。
另外,第一边缘ONT在检测到与主ONT的组网模式为第一组网模式的情况下,第一边缘 ONT也可以获取预先存储的配置内容,进行配置。例如,用户使用终端设备,通过与第一边缘ONT的网口或者无线方式连接至第一边缘ONT,在第一边缘ONT中配置了第一边缘ONT的工作模式为桥接模式,则第一边缘ONT将自身的工作模式配置为桥接模式。再例如,用户使用终端设备,通过与第一边缘ONT的网口或者无线方式连接至第一边缘ONT,在第一边缘ONT中配置了第一边缘ONT的工作模式为路由模式,则第一边缘ONT将自身的工作模式配置为路由模式,此时第一边缘ONT即为一个无线路由设备,用于为用户的终端设备提供无线信号。
在一种可能的实现方式中,步骤502中在第一边缘ONT的工作模式为路由模式的情况下,传输报文的过程可以为:
第一边缘ONT在接收到终端设备发送的第一上行报文时,将第一上行报文中的源IP地址转换为公网IP地址,将地址转换后的第一上行报文转发至主ONT;第一边缘ONT在接收到主ONT发送的第一下行报文时,将第一下行报文中的目的IP地址转换为私网IP地址,将地址转换后的第一下行报文转发至终端设备。
在本实施例中,第一边缘ONT处于路由模式下,即作为独立的无线路由设备使用,主ONT也作为独立的无线路由设备使用。
终端设备向外网发送上行报文(该上行报文称为是第一上行报文)的处理过程:终端设备在接入第一边缘ONT之后,终端设备向第一边缘ONT发送第一上行报文,第一上行报文中的源IP地址为终端设备的私网IP地址。第一边缘ONT在接收到第一上行报文时,第一边缘ONT可以将第一上行报文中的源IP地址转换为对应的公网IP地址。然后第一边缘ONT将转换后的第一上行报文转发至主ONT。主ONT可以对转换后的第一上行报文向外发送,发送至外网。或者主ONT可以对转换后的第一上行报文中的公网IP地址进行二次转换,转换为主ONT存储的公网IP地址,然后将二次转换后的第一上行报文向外发送,发送至外网。
终端设备接收外网发送的下行报文(该上行报文称为是第一下行报文)的处理过程:主ONT接收到外网发送的第一下行报文,主ONT可以将第一下行报文转发至第一边缘ONT,或者主ONT可以将第一下行报文中的目的IP地址转换为第一边缘ONT存储的公网IP地址,然后将地址转换后的第一下行报文转发至第一边缘ONT。第一边缘ONT可以将接收到的第一下行报文中的目的IP地址对应转换为对应的终端设备私网IP地址,将地址转换后的第一下行报文转发至终端设备。
步骤503,在检测到组网模式为第二组网模式的情况下,第一边缘ONT配置作为主ONT的桥接ONT或者进入休眠模式。
其中,第二组网模式用于指示第一边缘ONT直接插在主ONT上,指示第一边缘ONT作为主ONT的扩展端口,扩展主ONT的无线信号。第二组网模式也可以称为是合一组网模式、一体式组网模式等。
在本实施例中,第一边缘ONT在检测到组网模式为第二组网模式的情况下,用户使用终端设备,通过与第一边缘ONT的网口或者无线方式连接至第一边缘ONT,在第一边缘ONT中配置了第一边缘ONT的工作模式为桥接模式。第一边缘ONT将自身配置作为主ONT连接的桥接ONT。此时主ONT也是一个无线路由设备。
或者,第一边缘ONT在检测到组网模式为第二组网模式的情况下,用户使用终端设备,通过与第一边缘ONT的网口或者无线方式连接至第一边缘ONT,在第一边缘ONT中配置了第 一边缘ONT的工作模式为休眠模式。第一边缘ONT可以将自身设置为休眠模式,不进行任务业务处理。
可选的,第一边缘ONT处于第二组网模式的情况下,主ONT上设置有物理接口,第一边缘ONT是直接插在主ONT的该物理接口上。并且主ONT作为第一边缘ONT的电源,可以通过该物理接口为第一边缘ONT供电。
可选的,第一边缘ONT处于第二组网模式的情况下,用户可以使用终端设备,通过主ONT的网口或无线连接,连接至主ONT,在主ONT上对第一边缘ONT的带宽、进行的业务进行配置。在配置完成后,主ONT可以将用户对第一边缘ONT的配置内容,发送至第一边缘ONT。第一边缘ONT使用配置内容进行配置。当然也可以用户通过第一边缘ONT的网口或无线连接,连接至第一边缘ONT,对第一边缘ONT进行配置。
在一种可能的实现方式中,步骤503中第一边缘ONT设置作为主ONT的桥接ONT之后或者步骤502中第一边缘ONT的工作模式为桥接模式时,传输报文的流程可以为:
第一边缘ONT在接收到终端设备发送的第二上行报文时,将第二上行报文转发至主ONT;第一边缘ONT在接收到主ONT发送的第二下行报文时,将第二下行报文转发至终端设备。
在本实施例中,终端设备向外网发送上行报文(该上行报文称为是第二上行报文)的过程:终端设备在接入第一边缘ONT之后,终端设备向第一边缘ONT发送第二上行报文,第一边缘ONT不对第二上行报文进行处理,将接收到的第二上行报文发送至主ONT。如果主ONT与第一边缘ONT是二层桥接模式,则主ONT可以按照第二上行报文中的MAC地址,对第二上行报文进行转发,而不对第二上行报文进行处理。如果主ONT与第一边缘ONT是三层桥接模式,则主ONT将第二上行报文中的源IP地址,转换为对应的公网IP地址,然后将转换后的第二上行报文发送至外网。
终端设备接收外网发送的下行报文(该下行报文称为是第二下行报文)的过程:外网向主ONT发送第二下行报文,如果主ONT与第一边缘ONT是二层桥接模式,则主ONT可以按照第二下行报文中的MAC地址,将第二下行报文转发至第一边缘ONT。如果主ONT与第一边缘ONT是三层桥接模式,则主ONT将第二下行报文中的目的IP地址,转换为对应的终端设备的私网IP地址,然后将转换后的第二下行报文发送至第一边缘ONT。第一边缘ONT按照私网IP地址,将第二下行报文发送至私网IP地址指示的终端设备。
需要说明的是,如果主ONT与第一边缘ONT是三层桥接模式,则主ONT与第一边缘ONT所处的网段相同,处于一个局域网内。还需要说明的是,此处是以终端设备接入在第一边缘ONT的情况下进行说明,当然某些终端设备也可以直接接入至主ONT,此时传输报文不经过第一边缘ONT。
还需要说明的是,步骤502和步骤503没有先后顺序。
这样,第一边缘ONT可以自动的检测与主ONT的组网模式,并且设置自己的状态,而不需要人工设置,所以可以提升PON的组网效率。
本申请实施例,如图6所示,提供了PON的组网方法中主ONT的流程:
步骤601,主ONT检测组网模式。
在本实施例中,主ONT在启动后,检测自身的组网模式。
在一种可能的实现方式中,主ONT检测组网模式的处理可以为:
主ONT检测到目标功能开启,确定组网模式为第一组网模式;主ONT检测到目标功能未开启,确定组网模式为第二组网模式。
其中,目标功能为OLT功能,即管理边缘ONT的功能。目标功能在主ONT中对应有虚拟模块,控制该虚拟模块工作与停止工作,即可实现目标功能的开启或关闭。
在本实施例中,用户可以提前设置主ONT的目标功能是开启,还是关闭,具体的,用户可以通过终端设备,连接至主ONT,配置主ONT的目标功能是否开启,或者主ONT上设置有物理按钮,用户可以通过该物理按钮控制目标功能的开启与关闭。
主ONT可以检测目标功能是否开启,在检测到目标功能开启的情况下,确定组网模式为第一组网模式。第一组网模式也可以称为是分离组网模式、独立组网模式等。在检测到目标功能未开启的情况下,确定组网模式为第二组网模式,第二组网模式用于指示第一边缘ONT作为主ONT的扩展端口,扩展主ONT的无线信号。第二组网模式也可以称为是合一组网模式等。
步骤602,主ONT检测到组网模式为第一组网模式的情况下,向第一边缘ONT发送配置内容。
在本实施例中,主ONT在检测到组网模式为第一组网模式的情况下,可以对第一边缘ONT进行添加处理,在对第一边缘ONT添加成功后,可以向第一边缘ONT发送配置内容。配置内容可以包括工作模式、业务配置或者网络配置中的一项或者多项。
另外,主ONT控制自身的供电功能关闭或者休眠,该供电功能用于为PON中的至少一个边缘ONT供电,由于不需要对至少一个边缘ONT进行供电,所以将供电功能关闭或者休眠,可以降低主ONT的功耗。
步骤603,主ONT检测到组网模式为第二组网模式的情况下,为第一边缘ONT进行供电。
在本实施例中,主ONT检测到组网模式为第二组网模式的情况下,由于主ONT与第一边缘ONT直接相连,可以启动为边缘ONT供电的供电模块,为第一边缘ONT供电。
需要说明的是,步骤602和步骤603没有先后顺序。
这样,在图6的流程中,主ONT可以自动的检测组网模式,并且自动执行配置边缘ONT的处理,或者自动为边缘ONT供电,而不需要人工设置,所以可以提升PON的组网效率。
在一种可能的实现方式中,结合图5和图6的流程,PON中每个边缘ONT均是独立供电,与主ONT之间的连接可以为PON连接、P2P光纤连接、P2P网线连接或无线连接中的一种或多种。此时边缘ONT检测到与主ONT的组网模式为第一组网模式,每个边缘ONT均工作在桥接模式或者路由模式下。例如,如图7所示,PON中包括5个边缘ONT,5个边缘ONT为第一边缘ONT至第五边缘ONT,第一边缘ONT与第二边缘ONT通过1个1:2的分光器与主ONT实现PON连接,第三边缘ONT与主ONT通过P2P光纤连接,第四边缘ONT与主ONT通过P2P网线连接,第五边缘ONT与主ONT通过无线连接。
在一种可能的实现方式中,结合图5和图6的流程,主ONT上设置有多个物理接口,PON中每个边缘ONT是直接全部插在主ONT的不同物理接口上,均由主ONT供电。此时边缘ONT检测到与主ONT的组网模式为第二组网模式,每个边缘ONT均工作在桥接模式或者休眠模式下。例如,如图8所示,主ONT可以插入9个边缘ONT,PON中包括5个边缘ONT,5个边缘ONT为第一边缘ONT至第五边缘ONT,第一边缘ONT至第五边缘ONT均插在主ONT上,且工作 在桥接模式下。再例如,如图9所示,主ONT可以插入9个边缘ONT,PON中包括5个边缘ONT,5个边缘ONT为第一边缘ONT至第五边缘ONT,第一边缘ONT至第三边缘ONT均插在主ONT上,且工作在桥接模式下,第四边缘ONT和第五边缘ONT工作在休眠模式下。
在一种可能的实现方式中,PON中部分边缘ONT是独立供电,该部分边缘ONT工作在桥接模式或者路由模式下,其余边缘ONT是由主ONT供电,该其余边缘ONT工作在桥接模式下。
结合图5和图6的流程,还提供了一种PON,PON包括主ONT和至少一个边缘ONT,主ONT与至少一个边缘ONT相互配合,可以组成一体式的设备。主ONT与至少一个边缘ONT存在多种组网模式。可选的,多种组网模式可以包括第一组网模式和第二组网模式。
本申请实施例中,还提供了第一边缘ONT在检测到与主ONT的组网模式为第一组网模式的情况下,主ONT对第一边缘ONT进行认证和配置的处理流程,如图10所示:
步骤1001,主ONT广播发现消息,其中,发现消息包括第一标识信息,第一标识信息为主ONT的标识信息。
在本实施例中,主ONT在检测到组网模式为第一组网模式,且当前接入的边缘ONT的数目小于主ONT允许接入的最大边缘ONT数目,主ONT周期性广播发现消息,该发现消息包括第一标识信息,第一标识信息为主ONT的标识信息,第一标识信息可以是主ONT的设备序列号或者MAC地址等。当然在某些情况下,并不限制主ONT连接的边缘ONT的数目,所以在检测到组网模式为第一组网模式时,主ONT就可以一直周期性广播发现消息,直至检测到组网模式为第二组网模式。
另外,当前接入的边缘ONT的数目等于主ONT允许接入的最大边缘ONT数目之后,主ONT不再广播发现消息。当再次检测到已接入的边缘ONT的数目小于主ONT允许接入的最大边缘ONT数目,主ONT再次广播发现消息。
可选的,在主ONT可以通过所有向外发送消息的通路,向外广播发现消息。例如,该通路包括无线信号、PON端口和P2P端口等,PON端口表示是建立有PON连接,P2P端口表示建立有P2P光纤连接或者P2P网线连接。
步骤1002,第一边缘ONT接收主ONT广播的发现消息。
在本实施例中,第一边缘ONT接收主ONT广播的发现消息,从中获取第一标识信息。
可选的,第一边缘ONT可以通过在PON端口的接收方式、P2P端口的接收方式和无线信号接收方式中进行切换,确认是否接收主ONT广播的发现消息。
此处需要说明的是,在主ONT和第一边缘ONT的无线均开启时,二者可以通过无线信号进行通信;在主ONT和第一边缘ONT通过光纤连接时,二者可以通过PON或者P2P的方式进行通信;在主ONT和第一边缘ONT通过P2P网线连接时,二者可以通过P2P的方式进行通信。
步骤1003,第一边缘ONT在确定第一标识信息为存储的已知主ONT的标识信息后,向主ONT发送第二标识信息,其中,第二标识信息为第一边缘ONT的标识信息。
其中,第一边缘ONT中存储的已知主ONT的标识信息是可以接入的主ONT的标识信息,可以是在出厂时就存储在第一边缘ONT中。或者,第一边缘ONT中存储的已知主ONT的标识信息可以是用户通过终端设备连接第一边缘ONT后输入。已知主ONT的标识信息指示第一边缘ONT连接的主ONT。
在本实施例中,第一边缘ONT判断第一标识信息是否为存储的已知主ONT的标识信息,在确定第一标识信息为存储的已知主ONT的标识信息时,第一边缘ONT认为与主ONT是一个局域网的设备,第一边缘ONT可以获取自身的标识信息(即第二标识信息),向主ONT发送第二标识信息。第二标识信息可以是第一边缘ONT的设备序列号或者MAC地址等。
可选的,如果第一边缘ONT至少通过PON连接接收到发现消息,则通过PON连接向主ONT发送第二标识信息。如果第一边缘ONT未通过PON连接接收到发现消息,而至少通过P2P光纤连接接收到发现消息,则通过P2P光纤连接向主ONT发送第二标识信息。如果第一边缘ONT未通过PON连接和P2P光纤连接接收到发现消息,而至少通过P2P网线连接接收到发现消息,则通过P2P网线连接向主ONT发送第二标识信息。如果第一边缘ONT仅通过无线连接接收到发现消息,则通过无线连接向主ONT发送第二标识信息。这样,由于PON连接更稳定,优先使用PON连接,可以使添加边缘ONT的过程的可靠性更高。
步骤1004,主ONT接收第一边缘ONT发送的第二标识信息。
步骤1005,在第二标识信息为存储的已知边缘ONT的标识信息的情况下,主ONT向第一边缘ONT发送配置内容。
其中,主ONT中存储的已知边缘ONT的标识信息是可以接入主ONT的边缘ONT的标识信息,可以是在出厂时就存储在主ONT中。或者,主ONT中存储的已知边缘ONT的标识信息可以是用户通过终端设备连接主ONT后输入。已知边缘ONT的标识信息指示允许接入主ONT的边缘ONT。
在本实施例中,主ONT接收到第二标识信息后,可以判断第二标识信息是否属于存储的已知边缘ONT的标识信息,在确定属于已知边缘ONT的标识信息后,认为是一个局域网的设备,可以向第一边缘ONT发送配置内容。具体的配置内容可以通过配置消息发送,配置消息可以是管理控制接口(optical network unit management and control interface,OMCI)消息。配置内容可以包括第一边缘ONT的业务配置(如视频、语音等)、网络配置(如使用的带宽)、第一边缘ONT的工作模式。此处进行的业务和使用的带宽可以是由用户预设配置在主ONT中。
步骤1006,第一边缘ONT接收主ONT在根据第二标识信息确定第一边缘ONT为已知边缘ONT后发送的配置内容。
步骤1007,第一边缘ONT使用配置内容,配置第一边缘ONT。
在本实施例中,第一边缘ONT接收到主ONT发送的配置内容后,可以将配置内容中的工作模式,配置为第一边缘ONT的工作模式。并且第一边缘ONT将配置内容中指示的业务、使用的带宽分别配置为第一边缘ONT可以进行的业务以及使用的带宽。在配置完成后,第一边缘ONT可以与主ONT进行业务报文的传输。
需要说明的是,在主ONT和第一边缘ONT之间的连接为PON连接时,主ONT与第一边缘ONT通过PON特有的数据帧格式进行交互。具体的,在PON为吉比特无源光网络(gigabit passive optical network,GPON)、10G对称吉比特无源光网络(10G symmetric passive optical network,XGS-PON)、10G非对称吉比特无源光网络(10G passive optical network,XG-PON)等更高速的PON时,步骤1001至步骤1004发送的报文使用物理层操作管理和维护(physical layer operations administration and maintenance,PLOAM)消息,步骤1005 和步骤1006发送的报文使用OMCI消息。在PON为以太网无源光网络(ethernet passive optical network,EPON)、10G EPON和25G EPON等更高速的EPON时,步骤1001至步骤1004发送的报文使用多点控制协议(multi-point control protocol,MPCP)消息,步骤1005和步骤1006发送的报文使用OMA消息。
在主ONT和第一边缘ONT之间的连接为P2P光纤连接或者P2P网线连接时,主ONT与第一边缘ONT通过普通的以太报文进行交互。
在主ONT和第一边缘ONT之间的连接为无线连接时,主ONT与第一边缘ONT通过802.11定义的通信方式进行连接进行交互。
这样,由于在边缘ONT添加至主ONT时,可以实现双向认证,防止其它非约定ONT接入,所以可以使PON的组网更安全。
需要说明的是,本申请实施例中,“至少一个”包括“一个”或“多个”两种情况。
图11是本申请实施例提供的PON的组网装置的结构图。该装置可以通过软件、硬件或者两者的结合实现成为装置中的部分或者全部。本申请实施例提供的装置可以实现本申请实施例图5所述的流程,该装置包括:检测模块1110、接收模块1120和配置模块1130,其中:
所述PON包括主ONT和至少一个边缘ONT,所述至少一个边缘ONT包括第一边缘ONT,检测模块1110,用于检测与所述主ONT的组网模式,具体可以用于实现步骤501的检测功能以及执行步骤501包含的隐含步骤;
接收模块1120,用于在检测到所述组网模式为第一组网模式的情况下,接收所述主ONT下发的配置内容,具体可以用于实现步骤502的接收功能以及执行步骤502包含的隐含步骤;
配置模块1130,用于在检测到所述组网模式为第一组网模式的情况下,基于所述配置内容配置所述第一边缘ONT;在检测到所述组网模式为第二组网模式的情况下,配置作为所述主ONT的桥接ONT或者进入休眠模式,具体可以用于实现步骤503的配置功能以及执行步骤503包含的隐含步骤。
在一种可能的实现方式中,所述配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,所述工作模式为桥接模式或路由模式。
在一种可能的实现方式中,所述检测模块1110,用于:
检测到不是由所述主ONT供电,且能接收到所述主ONT发送的下行报文,确定与所述主ONT的组网模式为所述第一组网模式;
检测到由所述主ONT供电或者通过高速接口与所述主ONT连接,确定与所述主ONT的组网模式为所述第二组网模式。
在一种可能的实现方式中,如图12所示,在所述工作模式为路由模式的情况下,所述装置还包括发送模块1140,用于:
在接收到所述第一边缘ONT连接的终端设备发送的第一上行报文时,将所述第一上行报文中的源网络互连协议IP地址转换为公网IP地址,将地址转换后的所述第一上行报文转发至所述主ONT;
在接收到所述主ONT发送的第一下行报文时,将所述第一下行报文中的目的IP地址转换为私网IP地址,将地址转换后的所述第一下行报文转发至所述第一边缘ONT连接的终端设备。
在一种可能的实现方式中,在所述工作模式为桥接模式的情况下,或者所述第一边缘ONT配置作为所述主ONT的桥接ONT之后,所述装置还包括发送模块1140,用于:
在接收到所述第一边缘ONT连接的终端设备发送的第二上行报文时,将所述第二上行报文转发至所述主ONT;
在接收到所述主ONT发送的第二下行报文时,将所述第二下行报文转发至所述第一边缘ONT连接的终端设备。
在一种可能的实现方式中,在检测到所述组网模式为第一组网模式的情况下,所述接收模块1120,还用于:
接收所述主ONT广播的发现消息,其中,所述发现消息包括第一标识信息,所述第一标识信息为所述主ONT的标识信息;
所述装置还包括发送模块1140,用于在确定所述第一标识信息为存储的已知主ONT的标识信息后,向所述主ONT发送第二标识信息,其中,所述第二标识信息为所述第一边缘ONT的标识信息;
所述接收模块1120,用于接收所述主ONT在根据所述第二标识信息确定所述第一边缘ONT为已知边缘ONT后发送的配置内容。
在一种可能的实现方式中,在检测到与所述主ONT的组网模式为所述第一组网模式的情况下,所述第一边缘ONT与所述主ONT之间的连接为PON连接、P2P光纤连接、P2P网线连接或无线连接中的一种或多种。
在一种可能的实现方式中,在检测到所述组网模式为所述第二组网模式的情况下,所述第一边缘ONT插在所述主ONT的物理接口上。
图13是本申请实施例提供的PON的组网装置的结构图。该装置可以通过软件、硬件或者两者的结合实现成为装置中的部分或者全部。本申请实施例提供的装置可以实现本申请实施例图6所述的流程,该装置包括:检测模块1310、发送模块1320和供电模块1330,其中:
所述PON包括主ONT和至少一个边缘ONT,所述至少一个边缘ONT包括第一边缘ONT,检测模块1310,用于检测组网模式,具体可以用于实现步骤601的检测功能以及执行步骤601包含的隐含步骤;
发送模块1320,用于检测到组网模式为第一组网模式的情况下,向所述第一边缘ONT下发配置内容1330,具体可以用于实现步骤602的发送功能以及执行步骤602包含的隐含步骤;
供电模块1330,用于检测到组网模式为第二组网模式的情况下,为所述第一边缘ONT进行供电,具体可以用于实现步骤603的供电功能以及执行步骤603包含的隐含步骤。
在一种可能的实现方式中,所述检测模块1310,用于:
检测到目标功能开启,确定组网模式为第一组网模式;
检测到目标功能未开启,确定组网模式为第二组网模式,其中,所述目标功能指用于管理所述至少一个边缘ONT的功能。
在一种可能的实现方式中,如图14所示,检测到组网模式为所述第一组网模式的情况下,所述装置还包括:
控制模块1340,用于控制所述主ONT的供电功能关闭或者休眠,其中,所述供电功能用 于为所述至少一个边缘ONT供电。
在一种可能的实现方式中,所述配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,所述工作模式为桥接模式或路由模式。
在一种可能的实现方式中,所述发送模块1320,还用于:
广播发现消息,其中,所述发现消息包括第一标识信息,所述第一标识信息为所述主ONT的标识信息;
如图15所示,所述装置还包括接收模块1350,用于接收所述第一边缘ONT发送的第二标识信息,其中,所述第二标识信息为所述第一边缘ONT的标识信息;
所述发送模块1320,用于在所述第二标识信息为存储的已知边缘ONT的标识信息的情况下,向所述第一边缘ONT发送配置内容。
本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时也可以有另外的划分方式,另外,在本申请各个实施例中的各功能模块可以集成在一个处理器中,也可以是单独物理存在,也可以两个或两个以上模块集成为一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现,当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令,在ONT(ONT为边缘ONT或者主ONT)上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴光缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是ONT(ONT为边缘ONT或者主ONT)能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(如软盘、硬盘和磁带等),也可以是光介质(如数字视盘(digital video disk,DVD)等),或者半导体介质(如固态硬盘等)。

Claims (32)

  1. 一种无源光网络PON的组网方法,其特征在于,所述PON包括主光网络终端ONT和至少一个边缘ONT,所述至少一个边缘ONT包括第一边缘ONT,所述方法包括:
    所述第一边缘ONT检测与所述主ONT的组网模式;
    所述第一边缘ONT检测到所述组网模式为第一组网模式的情况下,接收所述主ONT下发的配置内容,基于所述配置内容配置所述第一边缘ONT;
    所述第一边缘ONT检测到所述组网模式为第二组网模式的情况下,配置作为所述主ONT的桥接ONT或者进入休眠模式。
  2. 根据权利要求1所述的方法,其特征在于,所述配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,所述工作模式为桥接模式或路由模式。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一边缘ONT检测与所述主ONT的组网模式,包括:
    所述第一边缘ONT检测到不是由所述主ONT供电,且能接收到所述主ONT发送的下行报文,确定与所述主ONT的组网模式为所述第一组网模式;
    所述第一边缘ONT检测到由所述主ONT供电或者通过高速接口与所述主ONT连接,确定与所述主ONT的组网模式为所述第二组网模式。
  4. 根据权利要求2所述的方法,其特征在于,在所述工作模式为路由模式的情况下,所述方法还包括:
    所述第一边缘ONT在接收到所述第一边缘ONT连接的终端设备发送的第一上行报文时,将所述第一上行报文中的源网络互连协议IP地址转换为公网IP地址,将地址转换后的所述第一上行报文转发至所述主ONT;
    所述第一边缘ONT在接收到所述主ONT发送的第一下行报文时,将所述第一下行报文中的目的IP地址转换为私网IP地址,将地址转换后的所述第一下行报文转发至所述第一边缘ONT连接的终端设备。
  5. 根据权利要求2所述的方法,其特征在于,在所述工作模式为桥接模式的情况下,或者所述第一边缘ONT配置作为所述主ONT的桥接ONT之后,所述方法还包括:
    所述第一边缘ONT在接收到所述第一边缘ONT连接的终端设备发送的第二上行报文时,将所述第二上行报文转发至所述主ONT;
    所述第一边缘ONT在接收到所述主ONT发送的第二下行报文时,将所述第二下行报文转发至所述第一边缘ONT连接的终端设备。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述第一边缘ONT在检测到所述组网模式为第一组网模式的情况下,所述方法还包括:
    所述第一边缘ONT接收所述主ONT广播的发现消息,其中,所述发现消息包括第一标识信息,所述第一标识信息为所述主ONT的标识信息;
    所述第一边缘ONT在确定所述第一标识信息为存储的已知主ONT的标识信息后,向所述主ONT发送第二标识信息,其中,所述第二标识信息为所述第一边缘ONT的标识信息;
    所述第一边缘ONT接收所述主ONT下发的配置内容,包括:
    所述第一边缘ONT接收所述主ONT在根据所述第二标识信息确定所述第一边缘ONT为已知边缘ONT后发送的配置内容。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述第一边缘ONT在检测到与所述主ONT的组网模式为所述第一组网模式的情况下,所述第一边缘ONT与所述主ONT之间的连接为PON连接、点对点P2P光纤连接、P2P网线连接或无线连接中的一种或多种。
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述第一边缘ONT在检测到所述组网模式为所述第二组网模式的情况下,所述第一边缘ONT插在所述主ONT的物理接口上。
  9. 一种无源光网络PON的组网方法,其特征在于,所述PON包括主光网络终端ONT和至少一个边缘ONT,所述至少一个边缘ONT包括第一边缘ONT,所述方法包括:
    所述主ONT检测组网模式;
    所述主ONT检测到组网模式为第一组网模式的情况下,向所述第一边缘ONT下发配置内容;
    所述主ONT检测到组网模式为第二组网模式的情况下,为所述第一边缘ONT进行供电。
  10. 根据权利要求9所述的方法,其特征在于,所述主ONT检测组网模式,包括:
    所述主ONT检测到目标功能开启,确定组网模式为第一组网模式;
    所述主ONT检测到目标功能未开启,确定组网模式为第二组网模式,其中,所述目标功能指用于管理所述至少一个边缘ONT的功能。
  11. 根据权利要求9或10所述的方法,其特征在于,所述主ONT检测到组网模式为所述第一组网模式的情况下,所述方法还包括:
    所述主ONT控制所述主ONT的供电功能关闭或者休眠,其中,所述供电功能用于为所述至少一个边缘ONT供电。
  12. 根据权利要求9至11任一项所述的方法,其特征在于,所述配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,所述工作模式为桥接模式或路由模式。
  13. 根据权利要求9至11任一项所述的方法,其特征在于,所述主ONT检测到组网模式为第一组网模式的情况下,所述方法还包括:
    所述主ONT广播发现消息,其中,所述发现消息包括第一标识信息,所述第一标识信息为所述主ONT的标识信息;
    所述主ONT接收所述第一边缘ONT发送的第二标识信息,其中,所述第二标识信息为所述第一边缘ONT的标识信息;
    所述向所述第一边缘ONT下发配置内容,包括:
    所述主ONT在所述第二标识信息为存储的已知边缘ONT的标识信息的情况下,向所述第一边缘ONT发送配置内容。
  14. 一种无源光网络PON的组网装置,其特征在于,所述PON包括主光网络终端ONT和至少一个边缘ONT,所述至少一个边缘ONT包括第一边缘ONT,所述装置包括:
    检测模块,用于检测与所述主ONT的组网模式;
    接收模块,用于在检测到所述组网模式为第一组网模式的情况下,接收所述主ONT下发的配置内容;
    配置模块,用于在检测到所述组网模式为第一组网模式的情况下,基于所述配置内容配置所述第一边缘ONT;在检测到所述组网模式为第二组网模式的情况下,配置作为所述主ONT的桥接ONT或者进入休眠模式。
  15. 根据权利要求14所述的装置,其特征在于,所述配置内容包括工作模式、业务配置 或网络配置中的一项或多项,其中,所述工作模式为桥接模式或路由模式。
  16. 根据权利要求14或15所述的装置,其特征在于,所述检测模块,用于:
    检测到不是由所述主ONT供电,且能接收到所述主ONT发送的下行报文,确定与所述主ONT的组网模式为所述第一组网模式;
    检测到由所述主ONT供电或者通过高速接口与所述主ONT连接,确定与所述主ONT的组网模式为所述第二组网模式。
  17. 根据权利要求15所述的装置,其特征在于,在所述工作模式为路由模式的情况下,所述装置还包括发送模块,用于:
    在接收到所述第一边缘ONT连接的终端设备发送的第一上行报文时,将所述第一上行报文中的源网络互连协议IP地址转换为公网IP地址,将地址转换后的所述第一上行报文转发至所述主ONT;
    在接收到所述主ONT发送的第一下行报文时,将所述第一下行报文中的目的IP地址转换为私网IP地址,将地址转换后的所述第一下行报文转发至所述第一边缘ONT连接的终端设备。
  18. 根据权利要求15所述的装置,其特征在于,在所述工作模式为桥接模式的情况下,或者所述第一边缘ONT配置作为所述主ONT的桥接ONT之后,所述装置还包括发送模块,用于:
    在接收到所述第一边缘ONT连接的终端设备发送的第二上行报文时,将所述第二上行报文转发至所述主ONT;
    在接收到所述主ONT发送的第二下行报文时,将所述第二下行报文转发至所述第一边缘ONT连接的终端设备。
  19. 根据权利要求14至18任一项所述的装置,其特征在于,在检测到所述组网模式为第一组网模式的情况下,所述接收模块,还用于:
    接收所述主ONT广播的发现消息,其中,所述发现消息包括第一标识信息,所述第一标识信息为所述主ONT的标识信息;
    所述装置还包括发送模块,用于在确定所述第一标识信息为存储的已知主ONT的标识信息后,向所述主ONT发送第二标识信息,其中,所述第二标识信息为所述第一边缘ONT的标识信息;
    所述接收模块,用于接收所述主ONT在根据所述第二标识信息确定所述第一边缘ONT为已知边缘ONT后发送的配置内容。
  20. 根据权利要求14至19任一项所述的装置,其特征在于,在检测到与所述主ONT的组网模式为所述第一组网模式的情况下,所述第一边缘ONT与所述主ONT之间的连接为PON连接、点对点P2P光纤连接、P2P网线连接或无线连接中的一种或多种。
  21. 根据权利要求14至20任一项所述的装置,其特征在于,在检测到所述组网模式为所述第二组网模式的情况下,所述第一边缘ONT插在所述主ONT的物理接口上。
  22. 一种无源光网络PON的组网装置,其特征在于,所述PON包括主光网络终端ONT和至少一个边缘ONT,所述至少一个边缘ONT包括第一边缘ONT,所述装置包括:
    检测模块,用于检测组网模式;
    发送模块,用于检测到组网模式为第一组网模式的情况下,向所述第一边缘ONT下发配置内容;
    供电模块,用于检测到组网模式为第二组网模式的情况下,为所述第一边缘ONT进行供电。
  23. 根据权利要求22所述的装置,其特征在于,所述检测模块,用于:
    检测到目标功能开启,确定组网模式为第一组网模式;
    检测到目标功能未开启,确定组网模式为第二组网模式,其中,所述目标功能指用于管理所述至少一个边缘ONT的功能。
  24. 根据权利要求22或23所述的装置,其特征在于,检测到组网模式为所述第一组网模式的情况下,所述装置还包括:
    控制模块,用于控制所述主ONT的供电功能关闭或者休眠,其中,所述供电功能用于为所述至少一个边缘ONT供电。
  25. 根据权利要求22至24任一项所述的装置,其特征在于,所述配置内容包括工作模式、业务配置或网络配置中的一项或多项,其中,所述工作模式为桥接模式或路由模式。
  26. 根据权利要求22至25任一项所述的装置,其特征在于,所述发送模块,还用于:
    广播发现消息,其中,所述发现消息包括第一标识信息,所述第一标识信息为所述主ONT的标识信息;
    所述装置还包括接收模块,用于接收所述第一边缘ONT发送的第二标识信息,其中,所述第二标识信息为所述第一边缘ONT的标识信息;
    所述发送模块,用于在所述第二标识信息为存储的已知边缘ONT的标识信息的情况下,向所述第一边缘ONT发送配置内容。
  27. 一种边缘光网络终端ONT,其特征在于,所述边缘ONT包括处理器和存储器,其中:
    所述存储器中存储有计算机指令;
    所述处理器执行所述计算机指令,以实现所述权利要求1至8中任一项权利要求所述的方法。
  28. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机可读存储介质中的计算机指令被边缘光网络终端ONT执行时,使得所述边缘ONT执行所述权利要求1至8中任一项权利要求所述的方法。
  29. 一种主光网络终端ONT,其特征在于,所述主ONT包括处理器和存储器,其中:
    所述存储器中存储有计算机指令;
    所述处理器执行所述计算机指令,以实现所述权利要求9至13中任一项权利要求所述的方法。
  30. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机可读存储介质中的计算机指令被主光网络终端ONT执行时,使得所述主ONT执行所述权利要求9至13中任一项权利要求所述的方法。
  31. 一种包含计算机指令的计算机程序产品,其特征在于,当所述计算机程序产品在边缘光网络终端ONT上运行时,使得所述边缘ONT执行所述权利要求1至8中任一项权利要求所述的方法。
  32. 一种包含计算机指令的计算机程序产品,其特征在于,当所述计算机程序产品在主光网络终端ONT上运行时,使得所述主ONT执行所述权利要求9至13中任一项权利要求所述的方法。
PCT/CN2021/121349 2020-10-30 2021-09-28 无源光网络的组网方法和装置 WO2022089134A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP21884864.6A EP4216567A4 (en) 2020-10-30 2021-09-28 NETWORKING METHOD AND APPARATUS FOR PASSIVE OPTICAL NETWORK

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011197425.8 2020-10-30
CN202011197425.8A CN114449377A (zh) 2020-10-30 2020-10-30 无源光网络的组网方法和装置

Publications (1)

Publication Number Publication Date
WO2022089134A1 true WO2022089134A1 (zh) 2022-05-05

Family

ID=81356708

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/121349 WO2022089134A1 (zh) 2020-10-30 2021-09-28 无源光网络的组网方法和装置

Country Status (3)

Country Link
EP (1) EP4216567A4 (zh)
CN (1) CN114449377A (zh)
WO (1) WO2022089134A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086061A (zh) * 2022-06-30 2022-09-20 天翼数字生活科技有限公司 一种用于fttr的认证及网络接入控制方法和系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208875B (zh) * 2023-04-28 2023-07-07 深圳市新蕾电子有限公司 一种用于fttr的onu管理方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047445A (zh) * 2006-05-15 2007-10-03 华为技术有限公司 无源光网络系统及系统中主控制设备配置从属设备的方法
CN101123564A (zh) * 2006-08-09 2008-02-13 华为技术有限公司 多业务多边缘设备和系统
CN110809203A (zh) * 2019-10-15 2020-02-18 四川天邑康和通信股份有限公司 一种主从式ont来扩展ftth网络的系统及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047445A (zh) * 2006-05-15 2007-10-03 华为技术有限公司 无源光网络系统及系统中主控制设备配置从属设备的方法
CN101123564A (zh) * 2006-08-09 2008-02-13 华为技术有限公司 多业务多边缘设备和系统
CN110809203A (zh) * 2019-10-15 2020-02-18 四川天邑康和通信股份有限公司 一种主从式ont来扩展ftth网络的系统及方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4216567A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086061A (zh) * 2022-06-30 2022-09-20 天翼数字生活科技有限公司 一种用于fttr的认证及网络接入控制方法和系统
CN115086061B (zh) * 2022-06-30 2024-03-22 天翼数字生活科技有限公司 一种用于fttr的认证及网络接入控制方法和系统

Also Published As

Publication number Publication date
CN114449377A (zh) 2022-05-06
EP4216567A4 (en) 2024-04-24
EP4216567A1 (en) 2023-07-26

Similar Documents

Publication Publication Date Title
US10863256B2 (en) Plug-and-play PON systems with autonomous boot mode
US7675936B2 (en) Passive optical network (PON) system
WO2022089134A1 (zh) 无源光网络的组网方法和装置
KR101374577B1 (ko) 멀티캐스트 패킷들을 송신 및 수신하는 방법 및 장치
WO2016169246A1 (zh) 接入汇聚装置和认证注册方法
CN112887851B (zh) 一种家庭全光网络系统及其实现方法
EP2966830B1 (en) Method, apparatus and system for interacting information in access network
WO2016106599A1 (zh) 一种应用于多波长无源光网络的通信方法、装置及系统
US8699326B2 (en) Optical network automatic protection switching
WO2015188563A1 (zh) 业务配置数据的处理方法及装置
WO2012100716A1 (zh) 在无源光网络中实现家庭网关功能的方法及装置
WO2011026335A1 (zh) 一种广播包/组播控制报文处理方法和装置
WO2016124084A1 (zh) 一种配置数据分发方法及装置
WO2015196922A1 (zh) 报文处理方法及装置
WO2019141037A1 (zh) 通信网络及相关设备
WO2016188184A1 (zh) 一种数据传输方法和装置
WO2023056856A1 (zh) 光网络中的设备管理的方法、装置以及设备
JP5449548B2 (ja) マルチキャスト処理方法及び装置
JP2009260668A (ja) 局側装置
JP2009267987A (ja) 局側装置、ponシステムおよびホームゲートウェイ装置
EP3515048B1 (en) Cable media converter management method, apparatus and system
WO2018214154A1 (en) Data forwarding method to support media access control over the top gateway
JP4769239B2 (ja) 通信システム、通信装置および通信制御方法
JP2012156954A (ja) 局側装置、宅側装置および通信システム
WO2012034381A1 (zh) 一种节能模式的协商控制方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21884864

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021884864

Country of ref document: EP

Effective date: 20230420

NENP Non-entry into the national phase

Ref country code: DE