[go: up one dir, main page]

WO2024235251A1 - Network management method, communication apparatus, and storage medium - Google Patents

Network management method, communication apparatus, and storage medium Download PDF

Info

Publication number
WO2024235251A1
WO2024235251A1 PCT/CN2024/093323 CN2024093323W WO2024235251A1 WO 2024235251 A1 WO2024235251 A1 WO 2024235251A1 CN 2024093323 W CN2024093323 W CN 2024093323W WO 2024235251 A1 WO2024235251 A1 WO 2024235251A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
port
onu
slave
identifier
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
PCT/CN2024/093323
Other languages
French (fr)
Chinese (zh)
Inventor
孙一牧
贺峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2024235251A1 publication Critical patent/WO2024235251A1/en
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present disclosure relates to the field of communication technology, and in particular to a network management method, a communication device, and a storage medium.
  • a network management method is provided.
  • the network management method is applied to a master optical network unit (ONU), where the master ONU is connected to a plurality of slave ONUs.
  • the network management method comprises:
  • the port request information including a device identifier of a first terminal connected to the first slave ONU, the port request information being used to request allocation of a port for the first terminal, the first slave ONU being one of the plurality of slave ONUs;
  • first indication information is sent to multiple slave ONUs, where the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, where the target port is the port allocated by the master ONU to the first terminal.
  • a network management method is provided.
  • the network management method is applied to a first slave optical network unit (ONU), the first slave ONU is connected to a master ONU, the master ONU is connected to multiple slave ONUs, and the first slave ONU is one of the multiple slave ONUs.
  • the network management method includes:
  • the port request information is sent to the master ONU, where the port request information includes the device identification of the first terminal, and the port request information is used to request allocation of a port for the first terminal;
  • the correspondence between the device identifier of the first terminal and the port identifier of the target port is stored, and the target port is enabled.
  • a network management method is provided.
  • the network management method is applied to a second slave optical network unit (ONU), the second slave ONU is connected to a master ONU, the master ONU is connected to a plurality of slave ONUs, and the second slave ONU is one of the plurality of slave ONUs.
  • the network management method comprises:
  • Receive first indication information sent by the master ONU where the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal, where the first terminal is a terminal connected to a first slave ONU, and where the first slave ONU is one of the multiple slave ONUs except the second slave ONU;
  • the correspondence between the device identifier of the first terminal and the port identifier of the target port is stored.
  • a communication device comprises:
  • a receiving unit configured to receive port request information sent by a first slave ONU, wherein the port request information includes a device identifier of a first terminal connected to the first slave ONU, and the port request information is used to request allocation of a port for the first terminal, wherein the first slave ONU is one of the plurality of slave ONUs;
  • a sending unit configured to send first indication information to the plurality of slave ONUs in response to the port request information, wherein the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, wherein the target port is the master ONU.
  • the port assigned to the first terminal configured to send first indication information to the plurality of slave ONUs in response to the port request information, wherein the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, wherein the target port is the master ONU.
  • a communication device comprises:
  • an acquiring unit configured to acquire a device identification of the first terminal when detecting access of the first terminal
  • a sending unit configured to send port request information to the master ONU when the sending unit does not store a corresponding relationship related to the device identification of the first terminal, wherein the port request information includes the device identification of the first terminal, and the port request information is used to request allocation of a port for the first terminal;
  • the acquiring unit is further used to receive first indication information sent by the master ONU, where the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal;
  • the storage unit is used to store the correspondence between the device identifier of the first terminal and the port identifier of the target port, and enable the target port.
  • a communication device comprises:
  • a receiving unit configured to receive first indication information sent by the master ONU, wherein the first indication information is used to indicate a correspondence between a device identifier of a first terminal and a port identifier of a target port, wherein the target port is a port allocated by the master ONU to the first terminal, wherein the first terminal is a terminal connected to a first slave ONU, and the first slave ONU is one of the multiple slave ONUs except the second slave ONU;
  • a storage unit is used to store the correspondence between the device identifier of the first terminal and the port identifier of the target port.
  • a communication device comprising: a processor and a memory, wherein the memory stores instructions executable by the processor, and when the processor is configured to execute the instructions, the communication device implements the method provided in any of the above aspects.
  • a computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the method provided in any one of the above aspects.
  • a computer program product comprising computer instructions.
  • the computer instructions are executed on a computer, the computer is enabled to execute the method provided in any one of the above aspects.
  • FIG1 is a schematic diagram of roaming of a current terminal in a FTTR (fiber to the room) system according to some embodiments of the present disclosure.
  • FIG2 is a schematic diagram of the structure of an FTTR system according to some embodiments of the present disclosure.
  • FIG3 is a flow chart of a network management method according to some embodiments of the present disclosure.
  • FIG4 is a flow chart of another network management method according to some embodiments of the present disclosure.
  • FIG5 is a flow chart of yet another network management method according to some embodiments of the present disclosure.
  • FIG6 is a flow chart of yet another network management method according to some embodiments of the present disclosure.
  • FIG. 7 is a flow chart of yet another network management method according to some embodiments of the present disclosure.
  • FIG8 is a flow chart of yet another network management method according to some embodiments of the present disclosure.
  • FIG9 is a schematic diagram of a terminal roaming to other slave ONUs according to some embodiments of the present disclosure.
  • FIG10 is a flow chart of yet another network management method according to some embodiments of the present disclosure.
  • FIG. 11 is a schematic diagram of an interactive process of a network management method according to some embodiments of the present disclosure.
  • FIG. 12 is a schematic diagram showing the composition of a communication device according to some embodiments of the present disclosure.
  • FIG. 13 is a schematic diagram showing the composition of another communication device according to some embodiments of the present disclosure.
  • FIG. 14 is a schematic diagram of the composition of yet another communication device according to some embodiments of the present disclosure.
  • FIG. 15 is a schematic diagram of the structure of a communication device according to some embodiments of the present disclosure.
  • first”, “second”, etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined by the terms “first”, “second”, etc. may explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, "plurality" means two or more.
  • words such as “exemplarily” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplarily” or “for example” in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplarily” or “for example” is intended to present related concepts in a specific way.
  • GPON Gigabit-capable passive optical networks
  • the GPON system includes an optical line terminal (OLT) and an optical network unit (ONU).
  • OLT optical line terminal
  • ONU optical network unit
  • data is transmitted between the OLT and the ONU in the link layer in the form of uplink time division and downlink broadcast. That is, each ONU can receive data from other ONUs in the downstream direction.
  • the GPON system adds a GPON encapsulation method port (Gemport) identifier (identity document, ID) to the link layer message to distinguish them. Only when the ONU enables the Gemport corresponding to the Gemport ID can it send and receive data from the specified Gemport.
  • Gemport GPON encapsulation method port
  • FTTR FTTR
  • terminals will roam between different slave ONUs, and the latency and network resource consumption required during this period have a significant impact on user experience.
  • GPON networks were previously commonly used in fiber to the home (FTTH) scenarios, and terminals do not roam between ONUs.
  • the optimization of FTTR scenarios was not considered at the GPON level, and when terminals roam between different slave ONUs, the master/slave ONU occupies too much bandwidth at the GPON layer, resulting in high latency.
  • the Gemport between the master and slave ONUs of the FTTR system is configured and enabled when the slave ONU accesses the network.
  • the terminal connected to the slave ONU needs to use the allocated Gemport to send and receive information with the master ONU.
  • the slave ONU forwards the upstream message of the terminal to the Gemport specified by the master ONU according to the forwarding rules sent by the master ONU.
  • the forwarder of the master ONU learns the device identification of the terminal in the Gemport, such as the physical address (media access control, MAC) of the terminal, to correctly forward the downstream message belonging to the terminal to the Gemport used when the slave ONU forwards the upstream message of the terminal, so that the terminal can receive the downstream message belonging to the terminal.
  • FIG1 is a schematic diagram of a current terminal roaming in an FTTR system provided by an embodiment of the present disclosure.
  • the terminal accesses slave ONU1, the master ONU and slave ONU1 forward messages through Gemport1.
  • the terminal roams from the coverage of slave ONU1 to the coverage of slave ONU2, it accesses slave ONU2, and the master ONU and slave ONU2 forward messages through Gemport2.
  • This roaming method has the following disadvantages: After the terminal roams to slave ONU2, the terminal needs to send an uplink message so that the master ONU's forwarder can learn the terminal's device identifier on Gemport2, generate a new forwarding rule, and correctly forward the terminal's downlink message to Gemport2. Therefore, the delay required for the terminal to successfully roam and for data services to be forwarded normally is: the time it takes for the terminal to send the uplink message for the first time after roaming + the time it takes for the master ONU to learn the terminal's device identifier and generate a new forwarding rule, resulting in a relatively long delay for the terminal to perform data services after roaming between slave ONUs.
  • the device ID of the terminal will be aged on Gemport1 only after the terminal roams to ONU2 for a period of time, so that during this period of time, the downstream messages belonging to the terminal will still be forwarded to Gemport1, resulting in a waste of downstream bandwidth.
  • the embodiment of the present disclosure provides a network management method, after a terminal accesses a slave ONU, the slave ONU sends a port request information to the master ONU to request the master ONU to allocate a port for the terminal, that is, to allocate a Gemport for the terminal.
  • the master ONU After the master ONU allocates a target port for the terminal, it establishes a correspondence between the port identifier of the target port and the device identifier of the terminal, generates a forwarding rule for the data service belonging to the terminal for the terminal, and then broadcasts the correspondence between the port identifier of the target port and the device identifier of the terminal to all slave ONUs, so that when the terminal roams from the currently accessed slave ONU to other slave ONUs, other slave ONUs can enable the corresponding target port based on the correspondence between the port identifier of the received target port and the device identifier of the terminal, and can correctly forward the downlink message belonging to the terminal, thereby reducing the waste of downlink bandwidth, and there is no need for the terminal to send an uplink message again so that the master ONU learns the device identifier of the terminal to generate a new forwarding rule, thereby reducing the delay of the terminal sending the uplink message again and the time consuming of the master ONU learning the device identifier of the
  • FIG2 is a schematic diagram of the structure of an FTTR system provided by an embodiment of the present disclosure.
  • the FTTR system includes a master ONU 11 , an optical splitter 21 , a plurality of slave ONUs (eg, slave ONU 31 , slave ONU 32 , and slave ONU 33 ) and a terminal 41 .
  • slave ONUs eg, slave ONU 31 , slave ONU 32 , and slave ONU 33
  • the master ONU 11 is a home device, which is connected to multiple slave ONUs through an optical splitter 21 and is the main gateway of the FTTR system.
  • the master ONU 11 includes a device management module (master), which is a logic/software node inside the master ONU 11 and is responsible for allocating ports (i.e., allocating Gemports) to each terminal accessing the FTTR network, generating a dedicated port identifier (i.e., Gemport ID), establishing a correspondence between the device identifier and the port identifier of the terminal (also referred to as a mapping relationship), and synchronously sending this correspondence to each slave ONU.
  • a forwarding rule between the terminal's message and the port identifier is constructed, and the forwarding rule includes a forwarding rule between a downstream message belonging to the terminal and the port identifier.
  • the optical splitter 21 is a passive optical transmission device that connects the master ONU 11 and multiple slave ONUs.
  • the slave ONU for each slave ONU among the multiple slave ONUs, the slave ONU is arranged in each room, connected to the master ONU 11 through the optical splitter 21, and is an access point of the terminal 41 in the FTTR system.
  • the slave ONU includes a device management module (slave), which is a logical/software node inside the slave ONU and is responsible for sending the device identifier of the terminal to the device management module (master) of the master ONU when a terminal accesses the slave ONU, and constructing a forwarding rule between the uplink message of the terminal and the port identifier of the port according to the correspondence between the device identifier of the terminal and the port identifier issued by the device management module (master) of the master ONU.
  • slave device management module
  • the device management module (master) and the device management module (slave) exchange information through protocols including but not limited to the optical network unit management and control interface (ONU management and control interface, OMCI) and the transmission control protocol (transmission control protocol, TCP), thereby achieving synchronization of the correspondence between the device identifier of the terminal and the port identifier of the port within the GPON system.
  • protocols including but not limited to the optical network unit management and control interface (ONU management and control interface, OMCI) and the transmission control protocol (transmission control protocol, TCP), thereby achieving synchronization of the correspondence between the device identifier of the terminal and the port identifier of the port within the GPON system.
  • the terminal 41 can access the slave ONU wirelessly.
  • the slave ONU can be accessed through a wireless local area network (WLAN).
  • WLAN wireless local area network
  • the terminal 41 may be a device with wireless transceiver function, which may be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted.
  • the terminal 41 may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
  • VR virtual reality
  • AR augmented reality
  • the embodiments of the present disclosure do not limit the application scenarios.
  • the terminal It may also be called user, user equipment (UE), access terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal, mobile device, UE terminal, wireless communication equipment, UE agent or UE device, etc., but the embodiments of the present disclosure are not limited to this.
  • UE user equipment
  • access terminal UE unit
  • UE station mobile station
  • mobile station mobile station
  • remote station remote terminal
  • mobile device UE terminal
  • wireless communication equipment UE agent or UE device, etc.
  • Fig. 2 is an exemplary structural diagram, and the number of devices included in the FTTR system shown in Fig. 2 is not limited, for example, the number of terminals is not limited. In addition, in addition to the devices shown in Fig. 1, the FTTR system shown in Fig. 2 may also include other devices, which is not limited.
  • an embodiment of the present disclosure provides a network management method, which is applied to a master ONU.
  • the master ONU may be the master ONU 11 shown in FIG. 2 .
  • the method includes the following S101 - S102 .
  • the port request information includes a device identifier of a first terminal connected to the first slave ONU, and the port request information is used to request allocation of a port to the first terminal, where the first slave ONU is one of a plurality of slave ONUs connected to the master ONU.
  • the port may be a Gemport, that is, the port request information is used to request allocation of a Gemport to the first terminal.
  • the first slave ONU when the first slave ONU detects that the first terminal is connected, the first slave ONU obtains the device identification of the first terminal, and then based on the device identification of the first terminal, queries whether it has stored a corresponding relationship related to the device identification of the first terminal. In the case that the corresponding relationship related to the device identification of the first terminal is not stored in itself, it represents that the first terminal is a terminal newly connected to the FTTR system, and the first slave ONU sends a port request message to the master ONU to request the master ONU to allocate a port to the first terminal.
  • the device identification of the first terminal is used to uniquely indicate the first terminal, for example, it can be the MAC address of the first terminal. Then, the master ONU receives the port request information sent by the first ONU.
  • S102 In response to the port request information, send first indication information to multiple slave ONUs.
  • the first indication information is used to indicate the corresponding relationship between the device identifier of the first port and the port identifier of the target port, and the target port is a port allocated by the master ONU to the first terminal.
  • the master ONU may allocate a port to the first terminal in the following situations.
  • Case 1 The master ONU has at least one unassigned port.
  • the master ONU may include multiple ports. After receiving the port request information, the master ONU may query whether there is at least one unallocated port among its multiple ports. When there is at least one unallocated port among its multiple ports, the master ONU may allocate a port to the first terminal from the at least one unallocated port.
  • the master ONU may randomly select a port from at least one unallocated port and allocate it to the first terminal, that is, the target port is one of the at least one unallocated port.
  • the master ONU does not have at least one unallocated port, which means that multiple ports of the master ONU have been allocated.
  • the master ONU can allocate a port to the first port from the allocated ports.
  • the master ONU may allocate the earliest allocated port among the allocated ports to the first terminal, that is, the target port is the earliest allocated port among the allocated ports.
  • the master ONU may also randomly select a port from the allocated ports and allocate it to the first terminal, that is, the target port is one of the allocated ports.
  • the master ONU After determining the target port, the master ONU sends first indication information to the multiple slave ONUs.
  • the master ONU may also send a prompt message to the first slave ONU to prompt that the master ONU does not have at least one unallocated port and cannot allocate a port to the first terminal.
  • the first slave ONU learns that all ports of the master ONU have been allocated, and the first slave ONU actively disconnects from the first terminal.
  • the master ONU when the master ONU does not have at least one unassigned port, the master ONU sends a prompt message to the first slave ONU, which can ensure that when a terminal exceeding the access capacity of the FTTR system accesses the FTTR system, it will not affect the terminals that have already accessed the FTTR system. Normal use.
  • the slave ONU After the terminal accesses a slave ONU, the slave ONU sends a port request message to the master ONU to request the master ONU to allocate a port to the terminal, that is, to allocate a Gemport to the terminal.
  • the master ONU After the master ONU allocates a target port to the terminal, it establishes a correspondence between the port identifier of the target port and the device identifier of the terminal, that is, it generates a forwarding rule for the data service belonging to the terminal for the terminal, and then broadcasts the correspondence between the port identifier of the target port and the device identifier of the terminal to all slave ONUs, so that when the terminal roams from the currently accessed slave ONU to other slave ONUs, other slave ONUs can enable the corresponding target port based on the correspondence between the port identifier of the received target port and the device identifier of the terminal, and can correctly forward the downlink message belonging to the terminal, thereby reducing the waste of downlink bandwidth, and there is no need for the terminal to send an uplink message again so that the master ONU learns the device identifier of the terminal to generate a new forwarding rule, thereby reducing the delay of the terminal sending the uplink message again and the time consuming of the master ONU learning the device
  • the method further includes the following S201 .
  • the second indication information is used to instruct to delete the corresponding relationship related to the device identification of the first terminal from the ONU, and the preset time length may be preset by a network administrator, for example, the preset time length is 10 minutes.
  • the preset duration may also be called by other names, for example, the preset duration may also be called aging duration.
  • the correspondence related to the device identifier of the first terminal can be deleted, and a second indication message can be sent to multiple slave ONUs to instruct the multiple slave ONUs to delete the correspondence related to the device identifier of the first terminal. In this way, the correspondence between the device identifier of the terminal stored in the master ONU and the multiple slave ONUs and the port identifier of the port is consistent.
  • the message of the first terminal may be uplink traffic sent by the first terminal.
  • the master ONU after the master ONU deletes the corresponding relationship related to the device identifier of the first terminal, it can disable the port corresponding to the device identifier of the first terminal and delete the downlink forwarding rule of the port corresponding to the device identifier of the first terminal, so that the state of the port corresponding to the device identifier of the first terminal is converted from the allocated state to the unallocated state. At this point, the resources of the port corresponding to the device identifier of the first terminal are released and can be allocated to the terminal newly connected to the FTTR system.
  • an embodiment of the present disclosure provides a network management method, which is applied to a first slave ONU.
  • the first slave ONU may be one of the multiple slave ONUs shown in FIG2 .
  • the first slave ONU may be slave ONU31.
  • the method includes the following S301-S304.
  • the first slave ONU when the first terminal accesses the first slave ONU wirelessly (eg, WLAN), the first slave ONU detects the access of the first terminal. When the access of the first terminal is detected, the first slave ONU may obtain the device identification of the first terminal.
  • the first slave ONU may obtain the device identification of the first terminal.
  • the first terminal when the first terminal accesses the first slave ONU, the first terminal actively reports its own device identification, and then the first slave ONU obtains the device identification of the first terminal.
  • the first slave ONU After the first slave ONU obtains the device identification of the first terminal, it may use the device identification of the first terminal as an index to query whether it has stored a corresponding relationship related to the device identification of the first terminal.
  • the first slave ONU sends a The port request information is used to request the master ONU to allocate a port to the first terminal.
  • the port request information includes a device identifier of the first terminal.
  • the first slave ONU when the first slave ONU itself stores the corresponding relationship related to the device identifier of the first terminal, representing that the first terminal is a terminal that has been connected to the FTTR system, the first slave ONU can enable the port corresponding to the device identifier of the first terminal based on the corresponding relationship related to the device identifier of the first terminal, so that the message of the first terminal can be forwarded in the FTTR system.
  • S303 Receive first indication information sent by the master ONU.
  • S304 Store the correspondence between the device identifier of the first terminal and the port identifier of the target port, and enable the target port.
  • storing the correspondence between the device identifier of the first terminal and the port identifier of the target port may include the following situations.
  • Scenario 1 The corresponding relationship related to the port identifier of the target port is not stored.
  • the corresponding relationship related to the port identifier of the target port is not stored, it means that the target port has not been allocated and can be directly allocated to the first terminal. Therefore, if the corresponding relationship related to the target port is not stored, the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port is stored.
  • Scenario 2 The corresponding relationship related to the port identifier of the target port is stored in the device itself.
  • the corresponding relationship related to the port identifier of the target port is stored, it means that the target port has been allocated to other terminals before.
  • the corresponding relationship related to the port identifier of the target port is stored, the corresponding relationship related to the port identifier of the target port is updated to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port, so that the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port is unique, thereby avoiding the situation of message forwarding disorder.
  • the first slave ONU may also enable the target port so that the message of the first terminal can be forwarded through the target port.
  • the first slave ONU if no message from the first terminal is received within a preset time period, the first slave ONU disables the target port.
  • the first terminal may have left the coverage of the first slave ONU, and the first slave ONU may disable the target port to release its own bandwidth resources.
  • the first slave ONU when the first slave ONU detects that the first terminal is connected to the first slave ONU, the first slave ONU disables the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port.
  • the method further includes the following S401 - S402 .
  • S401 Receive second indication information sent by a master ONU.
  • the second indication information is used to instruct to delete the corresponding relationship related to the device identifier of the first terminal from the ONU.
  • the first slave ONU uses the device identifier of the first terminal as an index, determines the corresponding relationship related to the device identifier of the first terminal, and then deletes the corresponding relationship related to the device identifier of the first terminal.
  • the uplink forwarding rule of the port corresponding to the device identifier of the first terminal is deleted.
  • the resources of the port corresponding to the device identifier of the first terminal are released, that is, the state of the port corresponding to the device identifier of the first terminal is switched from an allocated state to an unallocated state, and can be allocated as a newly accessed terminal.
  • an embodiment of the present disclosure provides a network management method, which is applied to a second slave ONU.
  • the second slave ONU may be one of the plurality of slave ONUs shown in FIG. 2 except the first slave ONU.
  • the first slave ONU may be a slave ONU31
  • the second slave ONU may be slave ONU32
  • the method includes the following S501-S502.
  • S501 Receive first indication information sent by a master ONU.
  • the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, the target port is a port allocated by the master ONU to the first terminal, the first terminal is a terminal connected to the first slave ONU, and the first slave ONU is one of the multiple slave ONUs except the second slave ONU.
  • S502 Store the correspondence between the device identifier of the first terminal and the port identifier of the target port.
  • the method further includes the following S503 .
  • one slave ONU corresponds to one room.
  • the first terminal moves from the room where the first slave ONU is located to the room where the second slave ONU is located, it means that the first terminal moves from the coverage range of the first slave ONU to the coverage range of the second slave ONU.
  • the first terminal disconnects from the first slave ONU and accesses the second slave ONU.
  • the second slave ONU When the second slave ONU detects the access of the first terminal, it determines that the port corresponding to the first terminal is the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port stored in itself, thereby enabling the target port, so that the uplink message of the first terminal can continue to be sent by the target port, so that the master ONU can continue to forward the downlink message belonging to the first terminal to the target port, and then the target port forwards the downlink message belonging to the first terminal to the first terminal, so that when the port corresponding to the first terminal is not switched, the uplink and downlink messages of the first terminal can be forwarded normally in the FTTR system.
  • terminal 41 moves from the coverage of slave ONU 31 to the coverage of slave ONU 32.
  • slave ONU 32 detects that terminal 41 is connected, it obtains the device identification of terminal 41, and then determines that the port corresponding to terminal 41 is Gem1 according to the correspondence between the device identification of the terminal stored in itself and the port identification of the port, and then slave ONU 32 enables its own Gem1, so that the message of terminal 41 can continue to be sent by Gem1, so that the message belonging to terminal 41 can still be forwarded by master ONU 11 to Gem1, and Gem1 forwards the message belonging to terminal 41 to terminal 41.
  • the second slave ONU when the second slave ONU enables the target port, if no message from the first terminal is received within a preset time period, it means that the first terminal may have left the coverage of the second slave ONU, and the second slave ONU disables the target port to release its own bandwidth resources.
  • the method further includes the following S601 - S602 .
  • FIG11 shows a schematic diagram of the interaction flow of a network management method provided by the embodiment of the present disclosure, as shown in FIG11 , including the following S701-S712.
  • a first terminal accesses an FTTR network and connects to a first slave ONU.
  • the first slave ONU senses access of the first terminal and queries whether it has stored a corresponding relationship related to the device identification of the first terminal.
  • the device management module (slave) 1 of the first slave ONU senses the access of the first terminal, the device management module (slave) 1 queries whether it has stored a corresponding relationship related to the device identification of the first terminal. If the query fails, the following S703 is executed. If successful, enable the target port corresponding to the device identifier of the first terminal.
  • S703 The first slave ONU sends port request information to the master ONU.
  • the device management module (slave) 1 of the first slave ONU sends port request information to the device management module (master) of the master ONU, and the port request information includes the device identifier of the first terminal.
  • the device management module (slave) 1 sends a message with sequence number 1 to the device management module (master), and the content is "new Device device identification 1".
  • the master ONU allocates a target port to the first terminal, and generates a correspondence between the port identifier of the target port and the device identifier of the first terminal.
  • the device management module (master) receives message 1, takes device ID 1 as input parameter, calls the mapping algorithm, obtains the port ID Gemport ID1 of an unassigned port, and then generates the corresponding relationship between device ID 1 and Gemport ID1.
  • the master ONU sends the correspondence between the port identifier of the target port and the device identifier of the first terminal to the first slave ONU and the second slave ONU.
  • the device management module (master) sends a message with sequence number 2 to the device management modules (slaves) 1 and 2.
  • the content is "map device identifier 1 Gemport ID1".
  • the downstream forwarding rule is configured: message with device identifier 1->Gemport ID1. Accordingly, the first slave ONU and the second slave ONU receive the correspondence between the port identifier of the target port and the device identifier of the first terminal.
  • the first slave ONU enables the target port and configures a forwarding rule.
  • Device management modules (slave) 1 and 2 receive message 2.
  • Device management module (slave) 1 enables Gemport ID1, caches the correspondence between device identifier 1 ⁇ ->Gemport ID1, and configures the upstream forwarding rule: message of device identifier 1->Gemport ID1.
  • Device management module (slave) 2 does not need to enable Gemport ID1. So far, the message of the first terminal can be forwarded normally in the FTTR system by slave ONU1.
  • S707 The first terminal roams to the second slave ONU.
  • the first terminal After the first terminal enters the coverage area of the second slave ONU from the coverage area of the first slave ONU, the first terminal roams to the second slave ONU.
  • the second slave ONU determines the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port.
  • the second slave ONU senses the access of the first terminal, and queries the cache of the device management module (slave) 2 with the device identification 1 of the first terminal.
  • the device management module (slave) 2 receives the correspondence of device identification 1 ⁇ ->Gemport ID1 issued by the device management module (master) in S705, so it is found that device identification 1 corresponds to Gemport ID1, that is, the target port is determined to be Gemport 1.
  • the second slave ONU enables the target port.
  • the message sent by the first terminal to the master ONU is sent out by Gemport1; for the message belonging to the first terminal, the master ONU continues to forward it to Gemport1. So far, the message of the first terminal continues to be forwarded normally in the FTTR system without Gemport ID switching.
  • S710 The first slave ONU senses that the first terminal is disconnected, and disables the target port.
  • the first slave ONU senses that the first terminal has been disconnected from itself, and according to the correspondence between the device identifier 1 ⁇ ->Gemport ID1 of the first terminal, it enables Gemport 1 corresponding to Gemport ID1, thereby releasing its own bandwidth resources.
  • all ONUs disable the target ports.
  • the network when power is off, the network is shut down, or the first terminal leaves the network coverage of the FTTR system, the first terminal is disconnected from the FTTR system, and all ONUs disable the target port Gemport1.
  • the master ONU disables the target port and sends instruction information to the first slave ONU and the second slave ONU to instruct the first slave ONU and the second slave ONU to delete the correspondence between the device identifier of the first terminal and the port identifier of the target port.
  • the device management module (master) does not sense the message of the first terminal, and then deletes the corresponding relationship of device identifier 1 ⁇ ->Gemport ID1 in the cache, disables Gemport 1, and deletes the downlink forwarding rule of Gemport ID1. And sends a sequence number 3 message to device management modules (slaves) 1 and 2; the content is "del map (delete mapping) device identifier 1 Gemport ID1".
  • the first slave ONU and the second slave ONU delete the correspondence between the device identifier of the first terminal and the port identifier of the target port.
  • the device management modules (slaves) 1 and 2 receive the sequence number 3 message, delete the correspondence between device ID 1 and Gemport ID 1, and delete the uplink forwarding rule of Gemport ID 1. At this point, the resources of Gemport 1 are released and can be allocated to new terminals.
  • the functions of the device management module (master) and the device management module (slave) are introduced below.
  • the following is an example of a message list between device management modules.
  • the message content can be transmitted by multiple protocols.
  • the following example uses the TCP protocol to transmit messages between device management modules, and takes the terminal's device identifier as the terminal's MAC address.
  • a network management method provided by an embodiment of the present disclosure is illustrated by way of example.
  • an FTTR network is deployed in a house with three rooms.
  • a slave ONU is deployed in each room.
  • the rooms are numbered 1-3, and the corresponding slave ONUs are also numbered 1-3.
  • the master/slave ONU starts, and the device management module inserts a hook into the MAC learning module of the ONU.
  • the device management module can receive a notification.
  • the device management module (main) After the device management module (main) is started, it listens to TCP port 18992, which is the pre-agreed device management module communication port. At the same time, Gemport ID1000-3999 is used as the dedicated Gemport ID for terminal wireless access. A bit map is allocated for these 3000 Gemport IDs. Each bit represents the usage of the Gemport ID. If bit x is set, it means that this Gemport IDx has been used by a terminal. All bits are not set in the initialization stage.
  • the device management module (slave) connects to the gateway's TCP 18992 port and establishes a link with the device management module (master) to prepare for subsequent message sending and receiving.
  • a user in room 1 connects a terminal to the FTTR network via WLAN and connects to slave ONU 1.
  • the MAC address of the terminal network card is dc:6a:e7:0d:7f:30, which is learned from the MAC learning module of ONU 1 and notified to the device management module (slave) 1.
  • the device management module (slave) 1 queries whether it has stored the corresponding relationship related to the MAC address of the terminal, and sends the message "new Device dc:6a:e7:0d:7f:30" to the device management module (master).
  • the device management module (master) receives the message, traverses the bit map of Gemport ID, and finds that bit 100 is not set. It then sets bit 100 and generates a mapping relationship: dc:6a:e7:0d:7f:30 ⁇ ->Gemport ID100, and adds the mapping relationship to its own mapping cache. It also configures the MAC-based downlink forwarding rule dc:6a:e7:0d:7f:30->Gemport ID100.
  • the device management module (master) sends a message to each device management module (slave) connected to itself: "map dc:6a:e7:0d:7f:30 100".
  • the device management modules (from) 1, 2, and 3 receive the message and cache the mapping relationship, and configure the uplink forwarding rule dc:6a:e7:0d:7f:30->Gemport ID100.
  • Device management module (slave) 1 enables Gemport ID100. At this point, the terminal's messages can be forwarded through Gemport ID100.
  • Device management module (slave) 2 queries its own mapping cache and finds the mapping entry: dc:6a:e7:0d:7f:30 ⁇ ->Gemport ID100. Then, Gemport ID100 is enabled and the terminal's message is forwarded normally.
  • S14 The user leaves the house and the random terminal is disconnected from slave ONU 2.
  • Slave ONU 2 does not receive the uplink message of dc:6a:e7:0d:7f:30 for an aging period, and the MAC ages.
  • the MAC is notified to the device management module (slave) 2, and then the device management module (slave) 2 de-enables Gemport ID100.
  • the master ONU does not receive the upstream message of dc:6a:e7:0d:7f:30 within the aging time of Gemport ID100.
  • the MAC is aged and the device management module (master) is notified.
  • the device management module (master) then deletes the mapping relationship in the cache: dc:6a:e7:0d:7f:30 ⁇ ->Gemport ID100. It also sends a message to each device management module (slave) connected to itself: "del map dc:6a:e7:0d:7f:30 100", setting bit 100 in the internal bit map to 0. Delete the downstream rule: dc:6a:e7:0d:7f:30->Gemport ID100.
  • the device management module (slave) 1-3 receives the message from the master ONU and deletes the upstream forwarding rule dc:6a:e7:0d:7f:30->Gemport ID100.
  • the following S17-S20 may also be included.
  • the device management module (main) receives the message, traverses the bit map of Gemport ID, and finds that bits 1-3000 are all set, indicating that the terminal has used up the Gemport ID assigned by the FTTR system. Then the device management module (main) traverses the MAC in the MAC learning table, finds the entry with the earliest timestamp, and finds that its MAC and mapping relationship are 00:0d:b6:0d:7f:00 ⁇ ->Gemport ID1.
  • the device management module (master) updates the mapping relationship to dc:6a:e7:0d:7f:30 ⁇ ->Gemport ID1, and sends a message to each device management module (slave) connected to itself: "update map 00:0d:b6:0d:7f:00dc:6a:e7:0d:7f:30 1", and updates the downstream forwarding rules: 00:0d:b6:0d:7f:00->Gemport ID1 is dc:6a:e7:0d:7f:30->Gemport ID1.
  • the device management module (slave) 1-3 receives the message from the master ONU, updates the mapping relationship in the cache: dc:6a:e7:0d:7f:30 ⁇ ->Gemport ID1, and updates the upstream forwarding rule: 00:0d:b6:0d:7f:00->Gemport ID1 is dc:6a:e7:0d:7f:30->Gemport ID1.
  • the message of the terminal with MAC dc:6a:e7:0d:7f:30 can be forwarded normally.
  • the device management module (slave) 1-3 checks its own MAC learning table. If there is still an entry of 00:0d:b6:0d:7f:00, it deletes this entry so that 00:0d:b6:0d:7f:00 can re-trigger the process of joining the FTTR network.
  • This process ensures that the latest terminals joining the FTTR network can be assigned a Gemport ID.
  • the following S21-S23 may also be included.
  • the device management module (master) receives the message, traverses the bit map of Gemport ID, and finds that bits 1-3000 are all set, indicating that the terminal has used up all the Gemport IDs of the FTTR system. Then the device management module (master) sends a message to the device management module (slave) 1: "mapdc:6a:e7:0d:7f:30NULL", indicating that the Gemport ID cannot be allocated to this terminal at present.
  • the device management module (slave) 1 receives the message sent by the master ONU and actively disconnects from the terminal.
  • the terminal disconnects and reconnects, and repeats this process until the device management module (master) has an idle Gemport ID available.
  • This process ensures that the access of terminals exceeding the system access capacity will not affect the normal use of the terminals that have been connected.
  • the attributes include the management entity identification number, the MAC address of the new device, and the device mapping table.
  • the management entity identification number indicates that this attribute uniquely identifies each instance of this management entity.
  • the device mapping table indicates the Gemport ID bound to the MAC. Each row of the table contains the following fields: Gemport ID, action, and the MAC address of the device (Device MAC). Gemport ID indicates that the Gemport ID is also the key part of each row.
  • Device MAC indicates that the MAC address of the terminal is bound to the Gemport ID.
  • Managed entity id This attribute uniquely identifies each instance of this managed entity.(R,Set-by-create)(mandatory)(2bytes)
  • (2)Device Map table The table is the device map that indicates the Gemport IDbind to a MAC
  • Gemport ID The Gemport ID,Also as key part of each row(2byte).
  • Device MAC The device bind to Gemport ID.(6bytes)
  • Device map table represents the device mapping table
  • Attributes represents attributes
  • Managed entity id represents the identity document (identity document, id) of the managed entity.
  • This attribute uniquely identifies each instance of this managed entity.
  • (R, Set by create) (mandatory) (2 bytes) means "This attribute uniquely identifies each instance of this managed entity.
  • New Device MAC represents the MAC address of the new device.
  • the table is the device map that indicates the Gemport ID bind to a MAC” means “The table is the device mapping table, indicating the Gemport ID bound to a MAC”.
  • Each row of the table comprises the following fields” means “Each row of the table comprises the following fields”.
  • Actions means action, Create means create, delete means delete, get means obtain, get next means get next, set means setting, and Set table means setting table.
  • OMCI When OMCI is used to carry messages communicated between device management modules, the following A1-A5 may be included.
  • the master ONU When the slave ONU is connected to the master ONU, the master ONU creates an OMCI ME Device map table for the slave ONU.
  • the device management module (slave) When the device management module (slave) needs to send sequence 1 message, it writes the terminal's MAC address into the New Device MAC attribute of the Device map table, and notifies the master ONU through the OMCI attribute value change (AVC) message; after the master ONU receives the OMCI AVC message, it sends an OMCI GET message to obtain this MAC and notifies the device management module (master).
  • AVC OMCI attribute value change
  • the device management module (master) needs to send sequence 2 message, it sends OMCI Set Table message to set the Device map table attributes of the Device map table entity, the Gemport ID field is set to the Gemport ID mapped by the device, Action is set to 1, and Device MAC is set to the MAC address of the terminal.
  • the OMCI of the ONU notifies the device management module (slave) of this mapping relationship.
  • the device management module (master) needs to send sequence 3 message, it sends OMCI Set Table message to set the Device map table attributes of the Device map table entity, the Gemport ID field is set to the Gemport ID mapped by the device, Action is set to 0, and Device MAC is set to the MAC address of the terminal.
  • the OMCI of the ONU notifies the device management module (slave) of this mapping relationship.
  • the device management module (master) needs to send sequence 4 messages, it sends OMCI Set Table message to set the Device map table attributes of the Device map table entity, the Gemport ID field is set to the Gemport ID mapped by the device, Action is set to 1, Device MAC is set to the MAC address of the terminal, and the OMCI from the ONU finds that the Row key sent is repeated, performs an overwrite operation, and notifies the new and old entries to the device management module (slave).
  • each node such as a terminal, includes a hardware structure and/or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the algorithm steps of each example described in the embodiments disclosed in this article, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific technical solution. Application and Design Constraints. A skilled person may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
  • FIG12 is a schematic diagram showing the composition of a communication device provided by an embodiment of the present disclosure.
  • the communication device 30 includes a receiving unit 301 and a sending unit 302 .
  • the communication device 30 may be the master ONU.
  • each unit is specifically used to implement the following functions.
  • the receiving unit 301 is used to receive port request information sent by a first slave ONU, the port request information includes a device identifier of a first terminal connected to the first slave ONU, and the port request information is used to request allocation of a port for the first terminal.
  • the first slave ONU is one of multiple slave ONUs.
  • the sending unit is used to send first indication information to multiple slave ONUs in response to the port request information, wherein the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, and the target port is the port allocated by the master ONU to the first terminal.
  • the target port is one of the at least one unassigned port.
  • the target port is the earliest allocated port among the allocated ports of the master ONU.
  • the sending unit 302 is also used to delete the corresponding relationship related to the device identifier of the first terminal if no message is received from the first terminal within a preset time period, and send a second indication message to multiple slave ONUs, where the second indication message is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal.
  • Fig. 13 is a schematic diagram showing the composition of another communication device provided by an embodiment of the present disclosure.
  • the communication device 40 includes an acquisition unit 401, a storage unit 402, and a sending unit 403.
  • the communication device 40 may also include a processing unit 404.
  • the communication device 40 may be the first slave ONU.
  • each unit is specifically used to implement the following functions.
  • the acquisition unit 401 is configured to acquire a device identification of the first terminal when detecting that the first terminal has accessed.
  • the sending unit 403 is used to send port request information to the master ONU when the corresponding relationship related to the device identification of the first terminal is not stored in the sending unit 403.
  • the port request information includes the device identification of the first terminal and is used to request allocation of a port for the first terminal.
  • the acquisition unit 401 is further used to receive first indication information sent by the master ONU, where the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, where the target port is the port allocated by the master ONU to the first terminal.
  • the storage unit 402 is used to store the correspondence between the device identifier of the first terminal and the port identifier of the target port, and enable the target port.
  • the storage unit 402 is specifically configured to store the correspondence between the device identifier of the first terminal and the port identifier of the target port when the storage unit 402 does not store the correspondence related to the port identifier of the target port.
  • the storage unit 402 is specifically configured to update the corresponding relationship related to the port identifier of the target port to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port when the corresponding relationship related to the port identifier of the target port is stored in the storage unit 402.
  • the processing unit 404 is configured to disable the target port if no message from the first terminal is received within a preset time period.
  • the acquisition unit 401 is further used to receive second indication information sent by the master ONU, where the second indication information is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal;
  • the processing unit is further configured to delete the corresponding relationship related to the device identification of the first terminal in response to the second indication information.
  • FIG14 is a schematic diagram showing the composition of another communication device provided by an embodiment of the present disclosure.
  • the communication device 50 includes a receiving unit 501 , a storage unit 502 and a processing unit 503 .
  • the communication device 50 may be the second slave ONU.
  • Each unit is specifically used to implement the following functions.
  • the receiving unit 501 is used to receive the first indication information sent by the master ONU, where the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, where the target port is the port allocated by the master ONU to the first terminal, the first terminal is a terminal connected to the first slave ONU, and the first slave ONU is one of the multiple slave ONUs except the second slave ONU.
  • the storage unit 502 is configured to store a correspondence between a device identifier of the first terminal and a port identifier of the target port.
  • the storage unit 502 is specifically configured to store the correspondence between the device identifier of the first terminal and the port identifier of the target port when the storage unit 502 does not store the correspondence related to the port identifier of the target port.
  • the storage unit 502 is specifically configured to update the corresponding relationship related to the port identifier of the target port to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port when the corresponding relationship related to the port identifier of the target port is stored in the storage unit 502.
  • the processing unit 503 is further configured to enable the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port when the first terminal moves from the coverage of the first slave ONU to the coverage of the second slave ONU.
  • the processing unit 503 is further configured to disable the target port if no message from the first terminal is received within a preset time period.
  • the receiving unit 501 is further used to receive second indication information sent by the master ONU, where the second indication information is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal.
  • the processing unit 503 is further configured to delete the corresponding relationship related to the device identification of the first terminal in response to the second indication information.
  • the units in FIG. 12, FIG. 13 and FIG. 14 may also be referred to as modules, for example, the sending unit may be referred to as a sending module.
  • the names of the various units may not be the names shown in the figures, for example, the sending unit may also be referred to as a communication unit, and the receiving unit may also be referred to as a communication unit.
  • FIG. 12 , FIG. 13 and FIG. 14 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of various embodiments of the present disclosure.
  • the storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
  • the communication device 60 includes: a memory 601, a processor 602, a communication interface 603, and a bus 604.
  • the memory 601 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store dynamic information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
  • ROM read-only memory
  • RAM random access memory
  • EEPROM electrically erasable programmable read-only memory
  • disk storage medium or other magnetic storage devices or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
  • the processor 602 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure.
  • the processor 602 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof.
  • the processor 602 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure.
  • the processor 602 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the communication interface 603 is used to connect with other devices through a communication network.
  • the communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.
  • the memory 601 may exist independently of the processor 602, and the memory 601 may be connected to the processor 602 via a bus 604 to store instructions or program codes.
  • the processor 602 calls and executes the instructions or program codes stored in the memory 601, the network management method provided in the embodiment of the present disclosure can be implemented.
  • the memory 601 may also be integrated with the processor 602 .
  • the bus 604 may be an extended industry standard architecture (EISA) bus, etc.
  • the bus 604 may be divided into an address bus, a data bus, a control bus, etc.
  • FIG15 only uses one thick line, but does not mean that there is only one bus or one type of bus.
  • the disclosed embodiment also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments.
  • the computer-readable storage medium can be an internal storage unit of the communication device of any of the above embodiments, such as a hard disk or memory of a computer device.
  • the above computer-readable storage medium can also be an external storage device of the above communication device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above communication device.
  • the above computer-readable storage medium can also include both the internal storage unit of the above base station or terminal and an external storage device.
  • the above computer-readable storage medium is used to store the above computer program and other programs and data required by the above communication device.
  • the above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output.
  • the above computer-readable storage medium includes a non-transitory computer-readable storage medium.
  • the embodiments of the present disclosure also provide a computer program product, which includes a computer program.
  • the computer program product When the computer program product is run on a computer, the computer is enabled to execute any one of the network management methods provided in the above embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

Provided are a network management method, a communication apparatus, and a storage medium. The method is applied to a master ONU, the master ONU being connected to a plurality of slave ONUs. The network management method comprises: receiving port request information sent by a first slave ONU, the port request information comprising a device identifier of a first terminal connected to the first slave ONU, the port request information being used for requesting to allocate a port to the first terminal, and the first slave ONU being one of the plurality of slave ONUs; and in response to the port request information, sending first indication information to the plurality of slave ONUs, the first indication information being used for indicating a correspondence between the device identifier of the first terminal and a port identifier of a target port, the target port being a port allocated to the first terminal by the master ONU.

Description

网络管理方法、通信装置、及存储介质Network management method, communication device, and storage medium

本公开要求于2023年05月16日提交的、申请号为202310558327.X的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This disclosure claims priority to Chinese patent application No. 202310558327.X filed on May 16, 2023, the entire contents of which are incorporated by reference into this application.

技术领域Technical Field

本公开涉及通信技术领域,尤其涉及一种网络管理方法、通信装置、及存储介质。The present disclosure relates to the field of communication technology, and in particular to a network management method, a communication device, and a storage medium.

背景技术Background Art

通信行业一直在持续加快光纤带宽升级,当前,家庭网络已大部分实现光纤接入。光纤接入以及其它网络基础设施的不断提升,为互联网业务的繁荣提供了坚实的信息底座。与此同时,创新的业务应用也层出不穷,超高清视频、云虚拟现实(virtual reality,VR)、云游戏、线上教育、远程办公等,对网络的带宽、时延、抖动等提出了越来越高的要求。The communications industry has been continuously accelerating the upgrade of fiber optic bandwidth. Currently, most home networks have achieved fiber optic access. The continuous improvement of fiber optic access and other network infrastructure has provided a solid information foundation for the prosperity of Internet services. At the same time, innovative business applications are emerging in an endless stream, such as ultra-high-definition video, cloud virtual reality (VR), cloud gaming, online education, and remote office, which have put forward higher and higher requirements on network bandwidth, latency, and jitter.

发明内容Summary of the invention

一方面,提供一种网络管理方法。该网络管理方法应用于主光网络单元(optical network unit,ONU),主ONU与多个从ONU连接。该网络管理方法包括:In one aspect, a network management method is provided. The network management method is applied to a master optical network unit (ONU), where the master ONU is connected to a plurality of slave ONUs. The network management method comprises:

接收第一从ONU发送的端口请求信息,端口请求信息包括与第一从ONU连接的第一终端的设备标识,端口请求信息用于请求为第一终端分配端口,第一从ONU为多个从ONU中的一个;receiving port request information sent by a first slave ONU, the port request information including a device identifier of a first terminal connected to the first slave ONU, the port request information being used to request allocation of a port for the first terminal, the first slave ONU being one of the plurality of slave ONUs;

响应于端口请求信息,向多个从ONU发送第一指示信息,第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口。In response to the port request information, first indication information is sent to multiple slave ONUs, where the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, where the target port is the port allocated by the master ONU to the first terminal.

另一方面,提供一种网络管理方法。该网络管理方法应用于第一从光网络单元ONU,第一从ONU与主ONU连接,主ONU与多个从ONU连接,第一从ONU为多个从ONU中的一个。该网络管理方法包括:On the other hand, a network management method is provided. The network management method is applied to a first slave optical network unit (ONU), the first slave ONU is connected to a master ONU, the master ONU is connected to multiple slave ONUs, and the first slave ONU is one of the multiple slave ONUs. The network management method includes:

在检测到第一终端接入的情况下,获取第一终端的设备标识;When detecting that the first terminal is connected, obtaining a device identifier of the first terminal;

在自身未存储有第一终端的设备标识相关的对应关系的情况下,向主ONU发送端口请求信息,端口请求信息包括第一终端的设备标识,端口请求信息用于请求为第一终端分配端口;In the case that the corresponding relationship related to the device identification of the first terminal is not stored in the master ONU, the port request information is sent to the master ONU, where the port request information includes the device identification of the first terminal, and the port request information is used to request allocation of a port for the first terminal;

接收主ONU发送的第一指示信息,第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口;Receive first indication information sent by the master ONU, where the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal;

存储第一终端的设备标识与目标端口的端口标识之间的对应关系,使能目标端口。The correspondence between the device identifier of the first terminal and the port identifier of the target port is stored, and the target port is enabled.

又一方面,提供一种网络管理方法。该网络管理方法应用于第二从光网络单元ONU,第二从ONU与主ONU连接,主ONU与多个从ONU连接,第二从ONU为多个从ONU中的一个。该网络管理方法包括:In another aspect, a network management method is provided. The network management method is applied to a second slave optical network unit (ONU), the second slave ONU is connected to a master ONU, the master ONU is connected to a plurality of slave ONUs, and the second slave ONU is one of the plurality of slave ONUs. The network management method comprises:

接收主ONU发送的第一指示信息,第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口,第一终端为连接第一从ONU的终端,第一从ONU为多个从ONU中除第二从ONU之外的一个;Receive first indication information sent by the master ONU, where the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal, where the first terminal is a terminal connected to a first slave ONU, and where the first slave ONU is one of the multiple slave ONUs except the second slave ONU;

存储第一终端的设备标识与目标端口的端口标识之间的对应关系。The correspondence between the device identifier of the first terminal and the port identifier of the target port is stored.

又一方面,提供一种通信装置。该通信装置包括:In another aspect, a communication device is provided. The communication device comprises:

接收单元,用于接收第一从ONU发送的端口请求信息,所述端口请求信息包括与所述第一从ONU连接的第一终端的设备标识,所述端口请求信息用于请求为所述第一终端分配端口,所述第一从ONU为所述多个从ONU中的一个;A receiving unit, configured to receive port request information sent by a first slave ONU, wherein the port request information includes a device identifier of a first terminal connected to the first slave ONU, and the port request information is used to request allocation of a port for the first terminal, wherein the first slave ONU is one of the plurality of slave ONUs;

发送单元,用于响应于所述端口请求信息,向所述多个从ONU发送第一指示信息,所述第一指示信息用于指示所述第一终端的设备标识与目标端口的端口标识之间的对应关系,所述目标端口为所述主ONU为 所述第一终端所分配的端口。A sending unit, configured to send first indication information to the plurality of slave ONUs in response to the port request information, wherein the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, wherein the target port is the master ONU. The port assigned to the first terminal.

又一方面,提供一种通信装置。该通信装置包括:In another aspect, a communication device is provided. The communication device comprises:

获取单元,用于在检测到第一终端接入的情况下,获取所述第一终端的设备标识;an acquiring unit, configured to acquire a device identification of the first terminal when detecting access of the first terminal;

发送单元,用于在自身未存储有所述第一终端的设备标识相关的对应关系的情况下,向所述主ONU发送端口请求信息,所述端口请求信息包括所述第一终端的设备标识,所述端口请求信息用于请求为所述第一终端分配端口;a sending unit, configured to send port request information to the master ONU when the sending unit does not store a corresponding relationship related to the device identification of the first terminal, wherein the port request information includes the device identification of the first terminal, and the port request information is used to request allocation of a port for the first terminal;

获取单元,还用于接收所述主ONU发送的第一指示信息,所述第一指示信息用于指示所述第一终端的设备标识与目标端口的端口标识之间的对应关系,所述目标端口为所述主ONU为所述第一终端所分配的端口;The acquiring unit is further used to receive first indication information sent by the master ONU, where the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal;

存储单元,用于存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,使能所述目标端口。The storage unit is used to store the correspondence between the device identifier of the first terminal and the port identifier of the target port, and enable the target port.

又一方面,提供一种通信装置。该通信装置包括:In another aspect, a communication device is provided. The communication device comprises:

接收单元,用于接收所述主ONU发送的第一指示信息,所述第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,所述目标端口为所述主ONU为所述第一终端所分配的端口,所述第一终端为连接第一从ONU的终端,所述第一从ONU为所述多个从ONU中除所述第二从ONU之外的一个;A receiving unit, configured to receive first indication information sent by the master ONU, wherein the first indication information is used to indicate a correspondence between a device identifier of a first terminal and a port identifier of a target port, wherein the target port is a port allocated by the master ONU to the first terminal, wherein the first terminal is a terminal connected to a first slave ONU, and the first slave ONU is one of the multiple slave ONUs except the second slave ONU;

存储单元,用于存储所述第一终端的设备标识与目标端口的端口标识之间的对应关系。A storage unit is used to store the correspondence between the device identifier of the first terminal and the port identifier of the target port.

又一方面,提供一种通信装置。该通信装置包括:处理器和存储器;存储器存储有处理器可执行的指令;处理器被配置为执行指令时,使得通信装置实现上述任一方面所提供的方法。In another aspect, a communication device is provided, comprising: a processor and a memory, wherein the memory stores instructions executable by the processor, and when the processor is configured to execute the instructions, the communication device implements the method provided in any of the above aspects.

又一方面,提供一种计算机可读存储介质。该计算机可读存储介质存储计算机指令,当该计算机指令在计算机上运行时,使得计算机执行上述任一方面所提供的方法。In yet another aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the method provided in any one of the above aspects.

又一方面,提供一种包含计算机指令的计算机程序产品。当该计算机指令在计算机上运行时,使得计算机执行上述任一方面所提供的方法。In another aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer is enabled to execute the method provided in any one of the above aspects.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

附图用来提供对本公开技术方案的进一步理解,并且构成说明书的一部分,与本公开的实施例一起用于解释本公开的技术方案,并不构成对本公开技术方案的限制。The accompanying drawings are used to provide further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.

图1为根据本公开一些实施例的一种目前终端在FTTR(fiber to the room,光纤到房间)系统中漫游示意图。FIG1 is a schematic diagram of roaming of a current terminal in a FTTR (fiber to the room) system according to some embodiments of the present disclosure.

图2为根据本公开一些实施例的一种FTTR系统的结构示意图。FIG2 is a schematic diagram of the structure of an FTTR system according to some embodiments of the present disclosure.

图3为根据本公开一些实施例的一种网络管理方法的流程示意图。FIG3 is a flow chart of a network management method according to some embodiments of the present disclosure.

图4为根据本公开一些实施例的另一种网络管理方法的流程示意图。FIG4 is a flow chart of another network management method according to some embodiments of the present disclosure.

图5为根据本公开一些实施例的又一种网络管理方法的流程示意图。FIG5 is a flow chart of yet another network management method according to some embodiments of the present disclosure.

图6为根据本公开一些实施例的又一种网络管理方法的流程示意图。FIG6 is a flow chart of yet another network management method according to some embodiments of the present disclosure.

图7为根据本公开一些实施例的又一种网络管理方法的流程示意图。FIG. 7 is a flow chart of yet another network management method according to some embodiments of the present disclosure.

图8为根据本公开一些实施例的又一种网络管理方法的流程示意图。FIG8 is a flow chart of yet another network management method according to some embodiments of the present disclosure.

图9为根据本公开一些实施例的一种终端漫游到其他从ONU的示意图。FIG9 is a schematic diagram of a terminal roaming to other slave ONUs according to some embodiments of the present disclosure.

图10为根据本公开一些实施例的又一种网络管理方法的流程示意图。FIG10 is a flow chart of yet another network management method according to some embodiments of the present disclosure.

图11为根据本公开一些实施例的一种网络管理方法的交互流程示意图。 FIG. 11 is a schematic diagram of an interactive process of a network management method according to some embodiments of the present disclosure.

图12为根据本公开一些实施例的一种通信装置的组成示意图。FIG. 12 is a schematic diagram showing the composition of a communication device according to some embodiments of the present disclosure.

图13为根据本公开一些实施例的另一种通信装置的组成示意图。FIG. 13 is a schematic diagram showing the composition of another communication device according to some embodiments of the present disclosure.

图14为根据本公开一些实施例的又一种通信装置的组成示意图。FIG. 14 is a schematic diagram of the composition of yet another communication device according to some embodiments of the present disclosure.

图15为根据本公开一些实施例的一种通信装置的结构示意图。FIG. 15 is a schematic diagram of the structure of a communication device according to some embodiments of the present disclosure.

具体实施方式DETAILED DESCRIPTION

为使本领域的技术人员更好地理解本公开实施例的技术方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

术语“第一”、“第二”等表述仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”等表述的特征可以明示或者隐含地包括一个或多个该特征。在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。The terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined by the terms "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present disclosure, unless otherwise specified, "plurality" means two or more.

在本公开实施例中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present disclosure, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

千兆无源光网络(gigabit-capable passive optical networks,GPON)技术是基于ITU-T G.988标准的无源光网络接入技术。GPON系统包括光线路终端(optical line terminal,OLT)和光网络单元ONU。GPON系统中OLT和ONU之间在链路层采取上行时分、下行广播的方式传输数据。也即,下行方向上每个ONU都可以收到其他ONU的数据。为区分属于不同ONU/不同流分类的数据,GPON系统为链路层消息添加GPON封装模式封装端口(GPON encapsulation method port,Gemport)标识(identity document,ID)加以区分。ONU只有使能了Gemport ID对应的Gemport,才能收发指定Gemport的数据。Gigabit-capable passive optical networks (GPON) technology is a passive optical network access technology based on the ITU-T G.988 standard. The GPON system includes an optical line terminal (OLT) and an optical network unit (ONU). In the GPON system, data is transmitted between the OLT and the ONU in the link layer in the form of uplink time division and downlink broadcast. That is, each ONU can receive data from other ONUs in the downstream direction. In order to distinguish data belonging to different ONUs/different stream categories, the GPON system adds a GPON encapsulation method port (Gemport) identifier (identity document, ID) to the link layer message to distinguish them. Only when the ONU enables the Gemport corresponding to the Gemport ID can it send and receive data from the specified Gemport.

在FTTR场景中,终端会在不同的从ONU之间漫游,期间所需要的时延和网络资源消耗对于用户体验具有显著的影响。而GPON网络之前普遍应用于光纤到户(fiber to the home,FTTH)场景,终端不会在ONU之间漫游。在GPON层面未考虑到FTTR场景下的优化,存在终端在不同的从ONU之间漫游时,主/从ONU在GPON层占用带宽过高,时延较大的问题。In FTTR scenarios, terminals will roam between different slave ONUs, and the latency and network resource consumption required during this period have a significant impact on user experience. GPON networks were previously commonly used in fiber to the home (FTTH) scenarios, and terminals do not roam between ONUs. The optimization of FTTR scenarios was not considered at the GPON level, and when terminals roam between different slave ONUs, the master/slave ONU occupies too much bandwidth at the GPON layer, resulting in high latency.

目前FTTR系统的主/从ONU之间的Gemport在从ONU接入网络时进行配置与使能。接入从ONU的终端与主ONU之间进行信息收发,需要使用已分配的Gemport。在上行方向,从ONU根据主ONU下发的转发规则,来将终端的上行报文转发到主ONU指定的Gemport。在下行方向,主ONU的转发器通过在Gemport学习终端的设备标识,例如学习终端的物理地址(media access control,MAC)来将属于终端的下行报文正确转发至从ONU转发终端的上行报文时所使用的Gemport上,以使得终端可以接收到属于终端的下行报文。At present, the Gemport between the master and slave ONUs of the FTTR system is configured and enabled when the slave ONU accesses the network. The terminal connected to the slave ONU needs to use the allocated Gemport to send and receive information with the master ONU. In the upstream direction, the slave ONU forwards the upstream message of the terminal to the Gemport specified by the master ONU according to the forwarding rules sent by the master ONU. In the downstream direction, the forwarder of the master ONU learns the device identification of the terminal in the Gemport, such as the physical address (media access control, MAC) of the terminal, to correctly forward the downstream message belonging to the terminal to the Gemport used when the slave ONU forwards the upstream message of the terminal, so that the terminal can receive the downstream message belonging to the terminal.

图1为本公开实施例提供的一种目前终端在FTTR系统中漫游示意图。终端在接入从ONU1的情况下,主ONU与从ONU1之间通过Gemport1进行报文转发。当终端由从ONU1的覆盖范围漫游至从ONU2的覆盖范围后,接入从ONU2,主ONU与从ONU2之间通过Gemport2进行报文转发。FIG1 is a schematic diagram of a current terminal roaming in an FTTR system provided by an embodiment of the present disclosure. When the terminal accesses slave ONU1, the master ONU and slave ONU1 forward messages through Gemport1. When the terminal roams from the coverage of slave ONU1 to the coverage of slave ONU2, it accesses slave ONU2, and the master ONU and slave ONU2 forward messages through Gemport2.

此种漫游方法具有如下缺点:终端漫游到从ONU2后,需要终端发送上行报文,主ONU的转发器才能在Gemport2上学习到终端的设备标识,生成新的转发规则,将属于终端的下行报文正确转发到Gemport2上。所以终端漫游成功到数据业务正常转发的所需要的时延为:终端漫游后首次发送上行报文时长+主ONU学习终端的设备标识生成新的转发规则耗时,导致终端在从ONU之间漫游后进行数据业务所需要的时延较 长,从而影响了用户的使用体验。且终端漫游到从ONU2一段时间后,终端的设备标识才会在Gemport1上老化,导致在此一段时间内,属于终端的下行报文依旧会转发到Gemport1,导致了下行带宽的浪费。This roaming method has the following disadvantages: After the terminal roams to slave ONU2, the terminal needs to send an uplink message so that the master ONU's forwarder can learn the terminal's device identifier on Gemport2, generate a new forwarding rule, and correctly forward the terminal's downlink message to Gemport2. Therefore, the delay required for the terminal to successfully roam and for data services to be forwarded normally is: the time it takes for the terminal to send the uplink message for the first time after roaming + the time it takes for the master ONU to learn the terminal's device identifier and generate a new forwarding rule, resulting in a relatively long delay for the terminal to perform data services after roaming between slave ONUs. The device ID of the terminal will be aged on Gemport1 only after the terminal roams to ONU2 for a period of time, so that during this period of time, the downstream messages belonging to the terminal will still be forwarded to Gemport1, resulting in a waste of downstream bandwidth.

基于此,本公开实施例提供一种网络管理方法,在终端接入到一个从ONU之后,此从ONU向主ONU发送端口请求信息以请求主ONU为该终端分配一个端口,也即为该终端分配一个Gemport。主ONU在为终端分配一个目标端口之后,建立目标端口的端口标识与终端的设备标识之间的对应关系,为终端生成属于终端的数据业务的转发规则,进而将目标端口的端口标识与终端的设备标识之间的对应关系广播至所有的从ONU,以使得终端从当前接入的从ONU漫游至其他从ONU时,其他从ONU可以基于已接收到的目标端口的端口标识与终端的设备标识之间的对应关系,使能相应的目标端口,即可将属于终端的下行报文进行正确转发,减少了下行带宽的浪费,无需终端再次发送上行报文以使主ONU学习终端的设备标识生成新的转发规则,减少了终端再次发送上行报文的时延以及主ONU学习终端的设备标识生成新的转发规则的耗时,从而降低了终端在从ONU之间漫游后进行数据业务所需要的时延。Based on this, the embodiment of the present disclosure provides a network management method, after a terminal accesses a slave ONU, the slave ONU sends a port request information to the master ONU to request the master ONU to allocate a port for the terminal, that is, to allocate a Gemport for the terminal. After the master ONU allocates a target port for the terminal, it establishes a correspondence between the port identifier of the target port and the device identifier of the terminal, generates a forwarding rule for the data service belonging to the terminal for the terminal, and then broadcasts the correspondence between the port identifier of the target port and the device identifier of the terminal to all slave ONUs, so that when the terminal roams from the currently accessed slave ONU to other slave ONUs, other slave ONUs can enable the corresponding target port based on the correspondence between the port identifier of the received target port and the device identifier of the terminal, and can correctly forward the downlink message belonging to the terminal, thereby reducing the waste of downlink bandwidth, and there is no need for the terminal to send an uplink message again so that the master ONU learns the device identifier of the terminal to generate a new forwarding rule, thereby reducing the delay of the terminal sending the uplink message again and the time consuming of the master ONU learning the device identifier of the terminal to generate a new forwarding rule, thereby reducing the delay required for the terminal to perform data services after roaming between slave ONUs.

下面结合附图对本公开实施例的方案进行介绍。The following describes the solutions of the embodiments of the present disclosure in conjunction with the accompanying drawings.

图2为本公开实施例提供的一种FTTR系统的结构示意图。如图2所示,FTTR系统包括主ONU11、分光器21和多个从ONU(例如从ONU31、从ONU32和从ONU33)和终端41。FIG2 is a schematic diagram of the structure of an FTTR system provided by an embodiment of the present disclosure. As shown in FIG2 , the FTTR system includes a master ONU 11 , an optical splitter 21 , a plurality of slave ONUs (eg, slave ONU 31 , slave ONU 32 , and slave ONU 33 ) and a terminal 41 .

主ONU11为入户设备,通过分光器21下挂多个从ONU,是FTTR系统的主网关。The master ONU 11 is a home device, which is connected to multiple slave ONUs through an optical splitter 21 and is the main gateway of the FTTR system.

在一些实施例中,主ONU11包括设备管理模块(主),设备管理模块(主)为主ONU11内部的逻辑/软件节点,负责为每个接入FTTR网络的终端分配端口(也即分配Gemport),生成专用的端口标识(也即Gemport ID),建立终端的设备标识与端口标识之间的对应关系(也可以称作映射关系),并将此对应关系同步发送到每一个从ONU。同时,构建终端的报文与端口标识之间的转发规则,转发规则包括属于终端的下行报文与端口标识之间的转发规则。In some embodiments, the master ONU 11 includes a device management module (master), which is a logic/software node inside the master ONU 11 and is responsible for allocating ports (i.e., allocating Gemports) to each terminal accessing the FTTR network, generating a dedicated port identifier (i.e., Gemport ID), establishing a correspondence between the device identifier and the port identifier of the terminal (also referred to as a mapping relationship), and synchronously sending this correspondence to each slave ONU. At the same time, a forwarding rule between the terminal's message and the port identifier is constructed, and the forwarding rule includes a forwarding rule between a downstream message belonging to the terminal and the port identifier.

在一些实施例中,分光器21为连接主ONU11和多个从ONU的无源光传输设备。In some embodiments, the optical splitter 21 is a passive optical transmission device that connects the master ONU 11 and multiple slave ONUs.

在一些实施例中,对于多个从ONU中的每个从ONU,从ONU布置于各个房间,通过分光器21连接主ONU11,是FTTR系统中终端41的接入点。In some embodiments, for each slave ONU among the multiple slave ONUs, the slave ONU is arranged in each room, connected to the master ONU 11 through the optical splitter 21, and is an access point of the terminal 41 in the FTTR system.

在一些实施例中,从ONU包括设备管理模块(从),设备管理模块(从)为从ONU内部的逻辑/软件节点,负责在有终端接入从ONU时,将终端的设备标识发送到主ONU的设备管理模块(主),并根据主ONU的设备管理模块(主)下发的终端的设备标识与端口标识之间的对应关系,构建终端的上行报文与端口的端口标识之间的转发规则。In some embodiments, the slave ONU includes a device management module (slave), which is a logical/software node inside the slave ONU and is responsible for sending the device identifier of the terminal to the device management module (master) of the master ONU when a terminal accesses the slave ONU, and constructing a forwarding rule between the uplink message of the terminal and the port identifier of the port according to the correspondence between the device identifier of the terminal and the port identifier issued by the device management module (master) of the master ONU.

在一些实施例中,设备管理模块(主)与设备管理模块(从)之间通过包括但不限于光网络单元管理控制接口(ONU management and control interface,OMCI)和传输控制协议(transmission control protocol,TCP)等协议交互信息,从而实现终端的设备标识与端口的端口标识之间的对应关系在GPON系统内的同步。In some embodiments, the device management module (master) and the device management module (slave) exchange information through protocols including but not limited to the optical network unit management and control interface (ONU management and control interface, OMCI) and the transmission control protocol (transmission control protocol, TCP), thereby achieving synchronization of the correspondence between the device identifier of the terminal and the port identifier of the port within the GPON system.

在一些实施例中,终端41可以通过无线方式接入从ONU。在以无线方式接入从ONU的情况下,可以是通过无线局域网络(wireless local area networks,WLAN)接入从ONU。In some embodiments, the terminal 41 can access the slave ONU wirelessly. In the case of wirelessly accessing the slave ONU, the slave ONU can be accessed through a wireless local area network (WLAN).

在一些实施例中,终端41可以是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持、穿戴或车载。终端41可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端、增强现实(Augmented Reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本公开的实施例对应用场景不做限定。终端有时 也可以称为用户、用户设备(user equipment,UE)、接入终端、UE单元、UE站、移动站、移动台、远方站、远程终端、移动设备、UE终端、无线通信设备、UE代理或UE装置等,本公开实施例对此并不限定。In some embodiments, the terminal 41 may be a device with wireless transceiver function, which may be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted. The terminal 41 may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiments of the present disclosure do not limit the application scenarios. Sometimes the terminal It may also be called user, user equipment (UE), access terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal, mobile device, UE terminal, wireless communication equipment, UE agent or UE device, etc., but the embodiments of the present disclosure are not limited to this.

应理解,图2是示例性的结构图,图2示的FTTR系统包括的设备的数量不受限制,例如终端的数量不受限制。并且,除图1所示的设备外,图2示的FTTR系统还可以包括其他设备,对此不予限定。It should be understood that Fig. 2 is an exemplary structural diagram, and the number of devices included in the FTTR system shown in Fig. 2 is not limited, for example, the number of terminals is not limited. In addition, in addition to the devices shown in Fig. 1, the FTTR system shown in Fig. 2 may also include other devices, which is not limited.

接下来,如图3所示,本公开实施例提供一种网络管理方法,该方法应用于主ONU,主ONU可以是上述图2所示的主ONU11,该方法包括如下S101-S102。Next, as shown in FIG. 3 , an embodiment of the present disclosure provides a network management method, which is applied to a master ONU. The master ONU may be the master ONU 11 shown in FIG. 2 . The method includes the following S101 - S102 .

S101、接收第一从ONU发送的端口请求信息。S101. Receive port request information sent by a first slave ONU.

端口请求信息包括与第一从ONU连接的第一终端的设备标识,端口请求信息用于请求为第一终端分配端口,第一从ONU为与主ONU连接的多个从ONU中的一个。示例性地,端口可以是Gemport,也即端口请求信息用于请求为第一终端分配Gemport。The port request information includes a device identifier of a first terminal connected to the first slave ONU, and the port request information is used to request allocation of a port to the first terminal, where the first slave ONU is one of a plurality of slave ONUs connected to the master ONU. Exemplarily, the port may be a Gemport, that is, the port request information is used to request allocation of a Gemport to the first terminal.

在一些实施例中,在第一从ONU检测到第一终端接入的情况下,第一从ONU获取第一终端的设备标识,进而基于第一终端的设备标识,查询自身是否存储有第一终端的设备标识相关的对应关系。在自身未存储有第一终端的设备标识相关的对应关系的情况下,代表第一终端为新接入FTTR系统的终端,第一从ONU向主ONU发送端口请求信息,以请求主ONU为第一终端分配端口。第一终端的设备标识用于唯一指示第一终端,例如,可以是第一终端的MAC地址。进而,主ONU接收到来自第一ONU发送的端口请求信息。In some embodiments, when the first slave ONU detects that the first terminal is connected, the first slave ONU obtains the device identification of the first terminal, and then based on the device identification of the first terminal, queries whether it has stored a corresponding relationship related to the device identification of the first terminal. In the case that the corresponding relationship related to the device identification of the first terminal is not stored in itself, it represents that the first terminal is a terminal newly connected to the FTTR system, and the first slave ONU sends a port request message to the master ONU to request the master ONU to allocate a port to the first terminal. The device identification of the first terminal is used to uniquely indicate the first terminal, for example, it can be the MAC address of the first terminal. Then, the master ONU receives the port request information sent by the first ONU.

S102、响应于端口请求信息,向多个从ONU发送第一指示信息。S102: In response to the port request information, send first indication information to multiple slave ONUs.

第一指示信息用于指示第一端口的设备标识与目标端口的端口标识的对应关系,目标端口为主ONU为第一终端所分配的端口。The first indication information is used to indicate the corresponding relationship between the device identifier of the first port and the port identifier of the target port, and the target port is a port allocated by the master ONU to the first terminal.

在一些实施例中,主ONU为第一终端分配端口可以包括以下几种情形。In some embodiments, the master ONU may allocate a port to the first terminal in the following situations.

情形1、主ONU存在至少一个未分配端口。Case 1: The master ONU has at least one unassigned port.

在一些实施例中,主ONU可以包括多个端口。主ONU在接收到端口请求信息之后,可以查询自身的多个端口中是否存在至少一个未分配端口。在自身的多个端口中存在至少一个未分配端口的情况下,主ONU可以从至少一个未分配端口中为第一终端分配一个端口。In some embodiments, the master ONU may include multiple ports. After receiving the port request information, the master ONU may query whether there is at least one unallocated port among its multiple ports. When there is at least one unallocated port among its multiple ports, the master ONU may allocate a port to the first terminal from the at least one unallocated port.

作为一种示例,主ONU可以随机从至少一个未分配端口中选择一个端口分配给第一终端,也即目标端口为至少一个未分配端口中的一个。As an example, the master ONU may randomly select a port from at least one unallocated port and allocate it to the first terminal, that is, the target port is one of the at least one unallocated port.

情形2、主ONU未存在至少一个未分配端口。Case 2: The master ONU does not have at least one unassigned port.

应理解,主ONU未存在至少一个未分配端口,代表主ONU的多个端口均已被分配。主ONU可以从已分配端口中为第一端口分配一个端口。It should be understood that the master ONU does not have at least one unallocated port, which means that multiple ports of the master ONU have been allocated. The master ONU can allocate a port to the first port from the allocated ports.

作为一种示例,主ONU可以将已分配端口中最早被分配的端口分配给第一终端,也即目标端口为已分配端口中最早被分配的端口。As an example, the master ONU may allocate the earliest allocated port among the allocated ports to the first terminal, that is, the target port is the earliest allocated port among the allocated ports.

作为另一种示例,主ONU也可以随机从已分配端口中选择一个端口分配给第一终端,也即目标端口为已分配端口中的一个。As another example, the master ONU may also randomly select a port from the allocated ports and allocate it to the first terminal, that is, the target port is one of the allocated ports.

主ONU在确定了目标端口之后,主ONU向多个从ONU发送第一指示信息。After determining the target port, the master ONU sends first indication information to the multiple slave ONUs.

在一些实施例中,在主ONU未存在至少一个未分配端口的情况下,主ONU也可以向第一从ONU发送提示信息,以提示主ONU未存在至少一个未分配端口,无法为第一终端分配一个端口。第一从ONU接收到提示信息后,获知到主ONU的端口已全部分配完毕,第一从ONU主动断开与第一终端的连接。In some embodiments, when the master ONU does not have at least one unallocated port, the master ONU may also send a prompt message to the first slave ONU to prompt that the master ONU does not have at least one unallocated port and cannot allocate a port to the first terminal. After receiving the prompt message, the first slave ONU learns that all ports of the master ONU have been allocated, and the first slave ONU actively disconnects from the first terminal.

应理解,在主ONU未存在至少一个未分配端口的情况下,主ONU向第一从ONU发送提示信息,能够保证超出FTTR系统接入能力的终端接入FTTR系统的情况下,不会影响到已接入FTTR系统的终端的 正常使用。It should be understood that when the master ONU does not have at least one unassigned port, the master ONU sends a prompt message to the first slave ONU, which can ensure that when a terminal exceeding the access capacity of the FTTR system accesses the FTTR system, it will not affect the terminals that have already accessed the FTTR system. Normal use.

基于图3所示的实施例,在终端接入到一个从ONU之后,此从ONU向主ONU发送端口请求信息以请求主ONU为该终端分配一个端口,也即为该终端分配一个Gemport。主ONU在为终端分配一个目标端口之后,建立目标端口的端口标识与终端的设备标识之间的对应关系,也即为终端生成属于终端的数据业务的转发规则,进而将目标端口的端口标识与终端的设备标识之间的对应关系广播至所有的从ONU,以使得终端从当前接入的从ONU漫游至其他从ONU时,其他从ONU可以基于已接收到的目标端口的端口标识与终端的设备标识之间的对应关系,使能相应的目标端口,即可将属于终端的下行报文进行正确转发,减少了下行带宽的浪费,无需终端再次发送上行报文以使主ONU学习终端的设备标识生成新的转发规则,减少了终端再次发送上行报文的时延以及主ONU学习终端的设备标识生成新的转发规则的耗时,从而降低了终端在从ONU之间漫游后进行数据业务所需要的时延。Based on the embodiment shown in FIG3 , after the terminal accesses a slave ONU, the slave ONU sends a port request message to the master ONU to request the master ONU to allocate a port to the terminal, that is, to allocate a Gemport to the terminal. After the master ONU allocates a target port to the terminal, it establishes a correspondence between the port identifier of the target port and the device identifier of the terminal, that is, it generates a forwarding rule for the data service belonging to the terminal for the terminal, and then broadcasts the correspondence between the port identifier of the target port and the device identifier of the terminal to all slave ONUs, so that when the terminal roams from the currently accessed slave ONU to other slave ONUs, other slave ONUs can enable the corresponding target port based on the correspondence between the port identifier of the received target port and the device identifier of the terminal, and can correctly forward the downlink message belonging to the terminal, thereby reducing the waste of downlink bandwidth, and there is no need for the terminal to send an uplink message again so that the master ONU learns the device identifier of the terminal to generate a new forwarding rule, thereby reducing the delay of the terminal sending the uplink message again and the time consuming of the master ONU learning the device identifier of the terminal to generate a new forwarding rule, thereby reducing the delay required for the terminal to perform data services after roaming between slave ONUs.

在一些实施例中,如图4所示,该方法还包括如下S201。In some embodiments, as shown in FIG. 4 , the method further includes the following S201 .

S201、在预设时长内未接收到第一终端的报文,删除与第一终端的设备标识相关的对应关系,并向多个从ONU发送第二指示信息。S201: If no message from a first terminal is received within a preset time period, a corresponding relationship related to a device identifier of the first terminal is deleted, and second indication information is sent to a plurality of slave ONUs.

第二指示信息用于指示从ONU删除与第一终端的设备标识相关的对应关系,预设时长可以是网络管理人员预先设定的,例如,预设时长为10分钟。The second indication information is used to instruct to delete the corresponding relationship related to the device identification of the first terminal from the ONU, and the preset time length may be preset by a network administrator, for example, the preset time length is 10 minutes.

在一些实施例中,预设时长也可以由其他称呼,例如,预设时长也可以称作老化时长。In some embodiments, the preset duration may also be called by other names, for example, the preset duration may also be called aging duration.

应理解,在预设时长内未接收到第一终端的报文,代表第一终端可能已经离开FTTR系统的覆盖范围了,为了释放出为第一终端分配的端口,可以删除与第一终端的设备标识相关的对应关系,并向多个从ONU发送第二指示信息,以指示多个从ONU删除与第一终端的设备标识相关的对应关系,如此,使得主ONU与多个从ONU中存储的终端的设备标识与端口的端口标识之间的对应关系是一致的。It should be understood that if no message is received from the first terminal within the preset time period, it means that the first terminal may have left the coverage of the FTTR system. In order to release the port allocated to the first terminal, the correspondence related to the device identifier of the first terminal can be deleted, and a second indication message can be sent to multiple slave ONUs to instruct the multiple slave ONUs to delete the correspondence related to the device identifier of the first terminal. In this way, the correspondence between the device identifier of the terminal stored in the master ONU and the multiple slave ONUs and the port identifier of the port is consistent.

需要说明的是,第一终端的报文可以是第一终端发送的上行流量。It should be noted that the message of the first terminal may be uplink traffic sent by the first terminal.

在一些实施例中,主ONU删除与第一终端的设备标识相关的对应关系之后,可以去使能与第一终端的设备标识对应的端口,并删除与第一终端的设备标识对应的端口的下行转发规则,使得与第一终端的设备标识对应的端口的状态由已分配状态转换为未分配状态。至此,与第一终端的设备标识对应的端口的资源被释放,可以被分配给新接入FTTR系统的终端。In some embodiments, after the master ONU deletes the corresponding relationship related to the device identifier of the first terminal, it can disable the port corresponding to the device identifier of the first terminal and delete the downlink forwarding rule of the port corresponding to the device identifier of the first terminal, so that the state of the port corresponding to the device identifier of the first terminal is converted from the allocated state to the unallocated state. At this point, the resources of the port corresponding to the device identifier of the first terminal are released and can be allocated to the terminal newly connected to the FTTR system.

在一些实施例中,如图5所示,本公开实施例提供一种网络管理方法,该方法应用于第一从ONU,第一从ONU可以是上述图2所示的多个从ONU中的一个,例如,第一从ONU可以是从ONU31,该方法包括如下S301-S304。In some embodiments, as shown in FIG5 , an embodiment of the present disclosure provides a network management method, which is applied to a first slave ONU. The first slave ONU may be one of the multiple slave ONUs shown in FIG2 . For example, the first slave ONU may be slave ONU31. The method includes the following S301-S304.

S301、在检测到第一终端接入的情况下,获取第一终端的设备标识。S301: When detecting that a first terminal has accessed, obtain a device identifier of the first terminal.

在一些实施例中,在第一终端通过无线方式(例如,WLAN)接入第一从ONU的情况下,第一从ONU检测到第一终端接入。在检测到第一终端接入的情况下,第一从ONU可以获取到第一终端的设备标识。In some embodiments, when the first terminal accesses the first slave ONU wirelessly (eg, WLAN), the first slave ONU detects the access of the first terminal. When the access of the first terminal is detected, the first slave ONU may obtain the device identification of the first terminal.

在一些实施例中,第一终端在接入第一从ONU时,第一终端主动上报自身的设备标识,进而,第一从ONU获取到第一终端的设备标识。In some embodiments, when the first terminal accesses the first slave ONU, the first terminal actively reports its own device identification, and then the first slave ONU obtains the device identification of the first terminal.

S302、在自身未存储有第一终端的设备标识相关的对应关系的情况下,向主ONU发送端口请求信息。S302: When the corresponding relationship related to the device identification of the first terminal is not stored in the master ONU, the master ONU sends port request information to the master ONU.

第一从ONU获取到第一终端的设备标识之后,可以以第一终端的设备标识为索引,查询自身是否存储有第一终端的设备标识相关的对应关系。After the first slave ONU obtains the device identification of the first terminal, it may use the device identification of the first terminal as an index to query whether it has stored a corresponding relationship related to the device identification of the first terminal.

作为一种示例,在自身未存储有第一终端的设备标识相关的对应关系的情况下,代表第一终端为新接入FTTR系统的终端,为了使第一终端的报文能够在FTTR系统中进行转发,第一从ONU向主ONU发送 端口请求信息,以请求主ONU为第一终端分配端口。端口请求信息中包括第一终端的设备标识。As an example, in the case where the corresponding relationship related to the device identification of the first terminal is not stored in the first ONU, it represents that the first terminal is a terminal newly connected to the FTTR system. In order to enable the message of the first terminal to be forwarded in the FTTR system, the first slave ONU sends a The port request information is used to request the master ONU to allocate a port to the first terminal. The port request information includes a device identifier of the first terminal.

作为另一种示例,在自身存储有第一终端的设备标识相关的对应关系的情况下,代表第一终端为已接入FTTR系统的终端,第一从ONU可以基于第一终端的设备标识相关的对应关系,使能与第一终端的设备标识相对应的端口,以使得第一终端的报文可以在FTTR系统中进行转发。As another example, when the first slave ONU itself stores the corresponding relationship related to the device identifier of the first terminal, representing that the first terminal is a terminal that has been connected to the FTTR system, the first slave ONU can enable the port corresponding to the device identifier of the first terminal based on the corresponding relationship related to the device identifier of the first terminal, so that the message of the first terminal can be forwarded in the FTTR system.

S303、接收主ONU发送的第一指示信息。S303: Receive first indication information sent by the master ONU.

对于第一指示信息的描述,可以参照上述对于S102中第一指示信息的描述,在此不予赘述。For the description of the first indication information, reference may be made to the above description of the first indication information in S102, which will not be repeated here.

S304、存储第一终端的设备标识与目标端口的端口标识之间的对应关系,使能目标端口。S304: Store the correspondence between the device identifier of the first terminal and the port identifier of the target port, and enable the target port.

作为一种示例,存储第一终端的设备标识与目标端口的端口标识之间的对应关系,可以包括如下几种情形。As an example, storing the correspondence between the device identifier of the first terminal and the port identifier of the target port may include the following situations.

情形1、自身未存储有目标端口的端口标识相关的对应关系。Scenario 1: The corresponding relationship related to the port identifier of the target port is not stored.

应理解,若自身未存储有目标端口的端口标识相关的对应关系,代表目标端口未被分配出去,可以直接分配给第一终端。所以在自身未存储有目标端口相关的对应关系的情况下,存储第一终端的设备标识与目标端口的端口标识之间的对应关系。It should be understood that if the corresponding relationship related to the port identifier of the target port is not stored, it means that the target port has not been allocated and can be directly allocated to the first terminal. Therefore, if the corresponding relationship related to the target port is not stored, the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port is stored.

情形2、自身存储有目标端口的端口标识相关的对应关系。Scenario 2: The corresponding relationship related to the port identifier of the target port is stored in the device itself.

应理解,若自身存储有目标端口的端口标识相关的对应关系,代表目标端口之前已被分配给其他终端。为了避免目标端口的端口标识同时与多个终端的设备标识具有对应关系导致后续报文转发紊乱的情况发生,在自身存储有目标端口的端口标识相关的对应关系的情况下,将目标端口的端口标识相关的对应关系更新为第一终端的设备标识与目标端口的端口标识之间的对应关系,使第一终端的设备标识与目标端口的端口标识之间的对应关系具有唯一性,从而避免报文转发紊乱的情况发生。It should be understood that if the corresponding relationship related to the port identifier of the target port is stored, it means that the target port has been allocated to other terminals before. In order to avoid the situation where the port identifier of the target port has a corresponding relationship with the device identifiers of multiple terminals at the same time, which leads to the subsequent message forwarding disorder, when the corresponding relationship related to the port identifier of the target port is stored, the corresponding relationship related to the port identifier of the target port is updated to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port, so that the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port is unique, thereby avoiding the situation of message forwarding disorder.

在第一从ONU存储第一终端的设备标识与目标端口的端口标识之间的对应关系时,第一从ONU还可以使能目标端口,以使得第一终端的报文可以通过目标端口进行转发。When the first slave ONU stores the correspondence between the device identifier of the first terminal and the port identifier of the target port, the first slave ONU may also enable the target port so that the message of the first terminal can be forwarded through the target port.

在一些实施例中,若在预设时长内未接收到第一终端的报文,第一从ONU去使能目标端口。In some embodiments, if no message from the first terminal is received within a preset time period, the first slave ONU disables the target port.

应理解,若在预设时长内未接收到第一终端的报文,代表第一终端可能已经离开第一从ONU的覆盖范围了,第一从ONU可以去使能目标端口以释放自身的带宽资源。It should be understood that if no message from the first terminal is received within a preset time period, it means that the first terminal may have left the coverage of the first slave ONU, and the first slave ONU may disable the target port to release its own bandwidth resources.

在一些实施例中,第一从ONU在检测到第一终端接出第一从ONU的情况下,第一从ONU根据第一终端的设备标识与目标端口的端口标识之间的对应关系,去使能目标端口。In some embodiments, when the first slave ONU detects that the first terminal is connected to the first slave ONU, the first slave ONU disables the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port.

在一些实施例中,如图6所示,该方法还包括如下S401-S402。In some embodiments, as shown in FIG. 6 , the method further includes the following S401 - S402 .

S401、接收主ONU发送的第二指示信息。S401. Receive second indication information sent by a master ONU.

第二指示信息用于指示从ONU删除与第一终端的设备标识相关的对应关系。The second indication information is used to instruct to delete the corresponding relationship related to the device identifier of the first terminal from the ONU.

S402、响应于第二指示信息,删除与第一终端的设备标识相关的对应关系。S402: In response to the second indication information, delete the corresponding relationship related to the device identification of the first terminal.

作为一种示例,第一从ONU接收到主ONU发送的第二指示信息之后,响应于第二指示信息,第一从ONU以第一终端的设备标识为索引,确定与第一终端的设备标识相关的对应关系,进而删除与第一终端的设备标识相关的对应关系。As an example, after the first slave ONU receives the second indication information sent by the master ONU, in response to the second indication information, the first slave ONU uses the device identifier of the first terminal as an index, determines the corresponding relationship related to the device identifier of the first terminal, and then deletes the corresponding relationship related to the device identifier of the first terminal.

在一些实施例中,第一从ONU删除与第一终端的设备标识相关的对应关系后,删除与第一终端的设备标识对应的端口的上行转发规则,至此,与第一终端的设备标识对应的端口的资源被释放,也即与第一终端的设备标识对应的端口的状态由已分配状态切换为未分配状态,可以被分配为新接入的终端。In some embodiments, after the first slave ONU deletes the corresponding relationship related to the device identifier of the first terminal, the uplink forwarding rule of the port corresponding to the device identifier of the first terminal is deleted. At this point, the resources of the port corresponding to the device identifier of the first terminal are released, that is, the state of the port corresponding to the device identifier of the first terminal is switched from an allocated state to an unallocated state, and can be allocated as a newly accessed terminal.

在一些实施例中,如图7所示,本公开实施例提供一种网络管理方法,该方法应用于第二从ONU,第二从ONU可以是上述图2所示的多个从ONU中除第一从ONU中的一个,例如,第一从ONU可以是从 ONU31,则第二从ONU可以是从ONU32,该方法包括如下S501-S502。In some embodiments, as shown in FIG. 7 , an embodiment of the present disclosure provides a network management method, which is applied to a second slave ONU. The second slave ONU may be one of the plurality of slave ONUs shown in FIG. 2 except the first slave ONU. For example, the first slave ONU may be a slave ONU31, the second slave ONU may be slave ONU32, and the method includes the following S501-S502.

S501、接收主ONU发送的第一指示信息。S501. Receive first indication information sent by a master ONU.

第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口,第一终端为连接第一从ONU的终端,第一从ONU为多个从ONU中除第二从ONU之外的一个。The first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, the target port is a port allocated by the master ONU to the first terminal, the first terminal is a terminal connected to the first slave ONU, and the first slave ONU is one of the multiple slave ONUs except the second slave ONU.

S502、存储第一终端的设备标识与目标端口的端口标识之间的对应关系。S502: Store the correspondence between the device identifier of the first terminal and the port identifier of the target port.

关于第二从ONU存储第一终端的设备标识与目标端口的端口标识之间的对应关系的描述,可以参照上述S304中第一从ONU存储第一终端的设备标识与目标端口的端口标识之间的对应关系的描述,在此不予赘述。Regarding the description of the correspondence between the device identifier of the first terminal stored in the second slave ONU and the port identifier of the target port, reference can be made to the description of the correspondence between the device identifier of the first terminal stored in the first slave ONU and the port identifier of the target port in S304 above, which will not be repeated here.

在一些实施例中,在S502之后,如图8所示,该方法还包括如下S503。In some embodiments, after S502 , as shown in FIG8 , the method further includes the following S503 .

S503、在第一终端从第一从ONU的覆盖范围移动至第二从ONU的覆盖范围的情况下,根据第一终端的设备标识与目标端口的端口标识之间的对应关系,使能目标端口。S503: When the first terminal moves from the coverage of the first slave ONU to the coverage of the second slave ONU, enable the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port.

应理解,一个从ONU对应一个房间,在第一终端由第一从ONU所在房间移动至第二从ONU所在房间的情况下,代表第一终端从第一从ONU的覆盖范围移动至第二从ONU的覆盖范围,第一终端断开与第一从ONU的连接,从而接入第二从ONU。第二从ONU检测到第一终端接入的情况下,根据自身存储的第一终端的设备标识与目标端口的端口标识之间的对应关系,确定第一终端对应的端口为目标端口,从而使能目标端口,使得第一终端的上行报文可以继续由目标端口发出,使得属于第一终端的下行报文主ONU可以继续转发到目标端口上,进而由目标端口将属于第一终端的下行报文转发给第一终端,实现了第一终端对应的端口没有切换的情况下,第一终端的上下行报文可以在FTTR系统中正常转发。It should be understood that one slave ONU corresponds to one room. When the first terminal moves from the room where the first slave ONU is located to the room where the second slave ONU is located, it means that the first terminal moves from the coverage range of the first slave ONU to the coverage range of the second slave ONU. The first terminal disconnects from the first slave ONU and accesses the second slave ONU. When the second slave ONU detects the access of the first terminal, it determines that the port corresponding to the first terminal is the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port stored in itself, thereby enabling the target port, so that the uplink message of the first terminal can continue to be sent by the target port, so that the master ONU can continue to forward the downlink message belonging to the first terminal to the target port, and then the target port forwards the downlink message belonging to the first terminal to the first terminal, so that when the port corresponding to the first terminal is not switched, the uplink and downlink messages of the first terminal can be forwarded normally in the FTTR system.

示例性地,如图9所示,为本公开实施例提供的一种终端漫游到其他从ONU的示意图。参见图9,终端41由从ONU31的覆盖范围移动至从ONU32的覆盖范围,从ONU32检测到终端41接入的情况下,获取终端41的设备标识,进而根据自身存储的终端的设备标识和端口的端口标识之间的对应关系,确定终端41对应的端口为Gem1,随即从ONU32使能自身的Gem1,使得终端41的报文可以继续由Gem1发出,使得属于终端41的报文,主ONU11仍可以转发至Gem1上,由Gem1将属于终端41的报文转发给终端41。Exemplarily, as shown in FIG9 , a schematic diagram of a terminal roaming to other slave ONUs is provided in an embodiment of the present disclosure. Referring to FIG9 , terminal 41 moves from the coverage of slave ONU 31 to the coverage of slave ONU 32. When slave ONU 32 detects that terminal 41 is connected, it obtains the device identification of terminal 41, and then determines that the port corresponding to terminal 41 is Gem1 according to the correspondence between the device identification of the terminal stored in itself and the port identification of the port, and then slave ONU 32 enables its own Gem1, so that the message of terminal 41 can continue to be sent by Gem1, so that the message belonging to terminal 41 can still be forwarded by master ONU 11 to Gem1, and Gem1 forwards the message belonging to terminal 41 to terminal 41.

在一些实施例中,在第二从ONU使能目标端口的情况下,若在预设时长内未接收到第一终端的报文,代表第一终端可能已经离开第二从ONU的覆盖范围,则第二从ONU去使能目标端口,以释放自身的带宽资源。In some embodiments, when the second slave ONU enables the target port, if no message from the first terminal is received within a preset time period, it means that the first terminal may have left the coverage of the second slave ONU, and the second slave ONU disables the target port to release its own bandwidth resources.

在一些实施例中,如图10所示,该方法还包括如下S601-S602。In some embodiments, as shown in FIG. 10 , the method further includes the following S601 - S602 .

S601、接收主ONU发送的第二指示信息。S601. Receive second indication information sent by a master ONU.

S602、响应于第二指示信息,删除与第一终端的设备标识相关的对应关系。S602: In response to the second indication information, delete the corresponding relationship related to the device identification of the first terminal.

关于S601-S602的描述,可以参照上述对于S401-S402的描述,在此不予赘述。For the description of S601-S602, reference may be made to the above description of S401-S402, which will not be repeated here.

下面以主ONU、第一从ONU与第二从ONU三者之间交互的角度对本公开实施例提供的一种网络管理方法进行说明。图11所示为本公开实施例提供的一种网络管理方法的交互流程示意图,如图11所示,包括如下S701-S712。The following describes a network management method provided by the embodiment of the present disclosure from the perspective of the interaction between the master ONU, the first slave ONU and the second slave ONU. FIG11 shows a schematic diagram of the interaction flow of a network management method provided by the embodiment of the present disclosure, as shown in FIG11 , including the following S701-S712.

S701、第一终端接入FTTR网络,连接第一从ONU。S701. A first terminal accesses an FTTR network and connects to a first slave ONU.

S702、第一从ONU感知第一终端接入,查询自身是否存储有第一终端的设备标识相关的对应关系。S702: The first slave ONU senses access of the first terminal and queries whether it has stored a corresponding relationship related to the device identification of the first terminal.

应理解,第一从ONU的设备管理模块(从)1感知到第一终端接入的情况下,设备管理模块(从)1查询自身是否存储有第一终端的设备标识相关的对应关系,在查询失败的情况下,执行下述S703。在查询成 功的情况下,使能与第一终端的设备标识相对应的目标端口。It should be understood that when the device management module (slave) 1 of the first slave ONU senses the access of the first terminal, the device management module (slave) 1 queries whether it has stored a corresponding relationship related to the device identification of the first terminal. If the query fails, the following S703 is executed. If successful, enable the target port corresponding to the device identifier of the first terminal.

S703、第一从ONU向主ONU发送端口请求信息。S703: The first slave ONU sends port request information to the master ONU.

作为一种示例,第一从ONU的设备管理模块(从)1向主ONU的设备管理模块(主)发送端口请求信息,端口请求信息中包括第一终端的设备标识。As an example, the device management module (slave) 1 of the first slave ONU sends port request information to the device management module (master) of the master ONU, and the port request information includes the device identifier of the first terminal.

示例性地,设备管理模块(从)1发送序号①消息到设备管理模块(主),内容为“new Device(新设备)设备标识1”。Exemplarily, the device management module (slave) 1 sends a message with sequence number ① to the device management module (master), and the content is "new Device device identification 1".

S704、主ONU为第一终端分配目标端口,并生成目标端口的端口标识与第一终端的设备标识之间的对应关系。S704: The master ONU allocates a target port to the first terminal, and generates a correspondence between the port identifier of the target port and the device identifier of the first terminal.

设备管理模块(主)收到消息①,以设备标识1为入参,调用映射算法,得到一个未分配的端口的端口标识Gemport ID1,进而生成设备标识1-Gemport ID1的对应关系。The device management module (master) receives message ①, takes device ID 1 as input parameter, calls the mapping algorithm, obtains the port ID Gemport ID1 of an unassigned port, and then generates the corresponding relationship between device ID 1 and Gemport ID1.

S705、主ONU向第一从ONU和第二从ONU发送目标端口的端口标识与第一终端的设备标识之间的对应关系。S705: The master ONU sends the correspondence between the port identifier of the target port and the device identifier of the first terminal to the first slave ONU and the second slave ONU.

设备管理模块(主)发送序号②消息到设备管理模块(从)1和2。内容为“map(映射)设备标识1Gemport ID1”。同时配置下行转发规则:设备标识1的报文->Gemport ID1。相应地,第一从ONU和第二从ONU接收到目标端口的端口标识与第一终端的设备标识之间的对应关系。The device management module (master) sends a message with sequence number ② to the device management modules (slaves) 1 and 2. The content is "map device identifier 1 Gemport ID1". At the same time, the downstream forwarding rule is configured: message with device identifier 1->Gemport ID1. Accordingly, the first slave ONU and the second slave ONU receive the correspondence between the port identifier of the target port and the device identifier of the first terminal.

S706、第一从ONU使能目标端口,配置转发规则。S706: The first slave ONU enables the target port and configures a forwarding rule.

设备管理模块(从)1和2收到消息②,设备管理模块(从)1使能Gemport ID1,将设备标识1<->Gemport ID1对应关系缓存,配置上行转发规则:设备标识1的报文->Gemport ID1。设备管理模块(从)2无需使能Gemport ID1。至此,第一终端的报文已可以由从ONU1接入在FTTR系统正常转发。Device management modules (slave) 1 and 2 receive message ②. Device management module (slave) 1 enables Gemport ID1, caches the correspondence between device identifier 1<->Gemport ID1, and configures the upstream forwarding rule: message of device identifier 1->Gemport ID1. Device management module (slave) 2 does not need to enable Gemport ID1. So far, the message of the first terminal can be forwarded normally in the FTTR system by slave ONU1.

S707、第一终端漫游到第二从ONU。S707: The first terminal roams to the second slave ONU.

在第一终端由第一从ONU的覆盖范围进入第二从ONU的覆盖范围后,第一终端漫游到第二从ONU。After the first terminal enters the coverage area of the second slave ONU from the coverage area of the first slave ONU, the first terminal roams to the second slave ONU.

S708、第二从ONU根据第一终端的设备标识与目标端口的端口标识之间的对应关系,确定目标端口。S708: The second slave ONU determines the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port.

第二从ONU感知到第一终端接入,以第一终端的设备标识1在设备管理模块(从)2的缓存中查询,设备管理模块(从)2在S705收到了设备管理模块(主)下发的设备标识1<->Gemport ID1的对应关系,故查询到设备标识1对应Gemport ID1,也即确定目标端口为Gemport1。The second slave ONU senses the access of the first terminal, and queries the cache of the device management module (slave) 2 with the device identification 1 of the first terminal. The device management module (slave) 2 receives the correspondence of device identification 1<->Gemport ID1 issued by the device management module (master) in S705, so it is found that device identification 1 corresponds to Gemport ID1, that is, the target port is determined to be Gemport 1.

S709、第二从ONU使能目标端口。S709: The second slave ONU enables the target port.

第二从ONU使能目标端口Gemport1后,则第一终端向主ONU发送的报文由Gemport1发出;对于属于第一终端的报文,主ONU继续将其转发到Gemport1。至此,第一终端的报文在无Gemport ID切换的情况下,继续在FTTR系统中正常转发。After the second slave ONU enables the target port Gemport1, the message sent by the first terminal to the master ONU is sent out by Gemport1; for the message belonging to the first terminal, the master ONU continues to forward it to Gemport1. So far, the message of the first terminal continues to be forwarded normally in the FTTR system without Gemport ID switching.

S710、第一从ONU感知到第一终端断连,去使能目标端口。S710: The first slave ONU senses that the first terminal is disconnected, and disables the target port.

第一从ONU感知到第一终端已与自己断连,根据第一终端的设备标识1<->Gemport ID1的对应关系,去使能Gemport ID1对应的Gemport 1,从而释放自身的带宽资源。The first slave ONU senses that the first terminal has been disconnected from itself, and according to the correspondence between the device identifier 1<->Gemport ID1 of the first terminal, it enables Gemport 1 corresponding to Gemport ID1, thereby releasing its own bandwidth resources.

在一些实施例中,若第一终端从FTTR系统中断开,所有的ONU去使能目标端口。In some embodiments, if the first terminal is disconnected from the FTTR system, all ONUs disable the target ports.

示例性地,在断电、关闭网络或者第一终端离开FTTR系统网络覆盖范围的情况下,第一终端从FTTR系统中断开,所有的ONU均去使能目标端口Gemport1。Exemplarily, when power is off, the network is shut down, or the first terminal leaves the network coverage of the FTTR system, the first terminal is disconnected from the FTTR system, and all ONUs disable the target port Gemport1.

S711、在预设时长内未接收到第一终端的报文,主ONU去使能目标端口,并向第一从ONU和第二从ONU发送指示信息,以指示第一从ONU和第二从ONU删除第一终端的设备标识与目标端口的端口标识之间的对应关系。 S711. If no message from the first terminal is received within a preset time, the master ONU disables the target port and sends instruction information to the first slave ONU and the second slave ONU to instruct the first slave ONU and the second slave ONU to delete the correspondence between the device identifier of the first terminal and the port identifier of the target port.

在一些实施例中,一个预设时长后,设备管理模块(主)未感知到第一终端的报文,随即删除缓存中的设备标识1<->Gemport ID1的对应关系,去使能Gemport 1,同时删除Gemport ID1的下行转发规则。并发送序号③消息到设备管理模块(从)1和2;内容为“del map(删除映射)设备标识1Gemport ID1”。In some embodiments, after a preset time, the device management module (master) does not sense the message of the first terminal, and then deletes the corresponding relationship of device identifier 1<->Gemport ID1 in the cache, disables Gemport 1, and deletes the downlink forwarding rule of Gemport ID1. And sends a sequence number ③ message to device management modules (slaves) 1 and 2; the content is "del map (delete mapping) device identifier 1 Gemport ID1".

S712、第一从ONU和第二从ONU删除第一终端的设备标识与目标端口的端口标识之间的对应关系。S712: The first slave ONU and the second slave ONU delete the correspondence between the device identifier of the first terminal and the port identifier of the target port.

设备管理模块(从)1和2收到序号③消息,删除设备标识1与Gemport ID1之间的对应关系,并删除Gemport ID1的上行转发规则。至此,Gemport 1的资源被释放,可分配给新的终端。The device management modules (slaves) 1 and 2 receive the sequence number ③ message, delete the correspondence between device ID 1 and Gemport ID 1, and delete the uplink forwarding rule of Gemport ID 1. At this point, the resources of Gemport 1 are released and can be allocated to new terminals.

下面对设备管理模块(主)和设备管理模块(从)所具有的功能进行介绍。
The functions of the device management module (master) and the device management module (slave) are introduced below.

下面对设备管理模块之间的消息列表进行举例说明。消息内容可以由多种协议传输。
The following is an example of a message list between device management modules. The message content can be transmitted by multiple protocols.

下面以设备管理模块之间通过TCP协议进行消息传输,以终端的设备标识为终端的MAC地址为例, 对本公开实施例提供的一种网络管理方法进行举例说明。The following example uses the TCP protocol to transmit messages between device management modules, and takes the terminal's device identifier as the terminal's MAC address. A network management method provided by an embodiment of the present disclosure is illustrated by way of example.

假设一个有三个房间的房屋中部署了FTTR网络,除了入户的主ONU外,每个房间均部署了一个从ONU,房间编号为1-3,对应的从ONU编号也为1-3。Assume that an FTTR network is deployed in a house with three rooms. In addition to the master ONU at the entrance, a slave ONU is deployed in each room. The rooms are numbered 1-3, and the corresponding slave ONUs are also numbered 1-3.

S1、主/从ONU启动,设备管理模块在ONU的MAC学习模块插入钩子,当WLAN口学习到新的MAC地址或有MAC地址老化时,设备管理模块可以收到通知。S1. The master/slave ONU starts, and the device management module inserts a hook into the MAC learning module of the ONU. When the WLAN port learns a new MAC address or a MAC address ages, the device management module can receive a notification.

S2、设备管理模块(主)启动后,监听TCP 18992端口,此端口为事先约定的设备管理模块通讯端口。同时,将Gemport ID1000-3999作为终端无线接入的专用Gemport ID,为这3000个Gemport ID分配bit map,每个bit位代表Gemport ID的使用情况,若bit x被置位,则代表此Gemport IDx已被某终端使用。初始化阶段所有bit位均未被置位。S2. After the device management module (main) is started, it listens to TCP port 18992, which is the pre-agreed device management module communication port. At the same time, Gemport ID1000-3999 is used as the dedicated Gemport ID for terminal wireless access. A bit map is allocated for these 3000 Gemport IDs. Each bit represents the usage of the Gemport ID. If bit x is set, it means that this Gemport IDx has been used by a terminal. All bits are not set in the initialization stage.

S3、设备管理模块(从)在从ONU默认网关UP后,连接网关的TCP 18992端口,与设备管理模块(主)建立链接,为后续消息收发做准备。S3. After the slave ONU default gateway is UP, the device management module (slave) connects to the gateway's TCP 18992 port and establishes a link with the device management module (master) to prepare for subsequent message sending and receiving.

S4、一段时间后,房间1中一位用户将一部终端通过WLAN接入FTTR网络,连接从ONU 1。终端网卡的MAC地址为dc:6a:e7:0d:7f:30,从ONU 1的MAC学习模块学习到此MAC,通知到设备管理模块(从)1。S4. After a period of time, a user in room 1 connects a terminal to the FTTR network via WLAN and connects to slave ONU 1. The MAC address of the terminal network card is dc:6a:e7:0d:7f:30, which is learned from the MAC learning module of ONU 1 and notified to the device management module (slave) 1.

S5、设备管理模块(从)1查询自身是否存储有该终端的MAC地址相关的对应关系,向设备管理模块(主)发送消息“new Device dc:6a:e7:0d:7f:30”。S5. The device management module (slave) 1 queries whether it has stored the corresponding relationship related to the MAC address of the terminal, and sends the message "new Device dc:6a:e7:0d:7f:30" to the device management module (master).

S6、设备管理模块(主)收到消息,遍历Gemport ID的bit map,发现bit 100未被置位,随即将bit 100置位并生成一条映射关系:dc:6a:e7:0d:7f:30<->Gemport ID100,并将该映射关系加入自身的映射缓存中。并配置基于MAC的下行转发规则dc:6a:e7:0d:7f:30->Gemport ID100。S6. The device management module (master) receives the message, traverses the bit map of Gemport ID, and finds that bit 100 is not set. It then sets bit 100 and generates a mapping relationship: dc:6a:e7:0d:7f:30<->Gemport ID100, and adds the mapping relationship to its own mapping cache. It also configures the MAC-based downlink forwarding rule dc:6a:e7:0d:7f:30->Gemport ID100.

S7、设备管理模块(主)向每个连接到自身的设备管理模块(从)发消息:“map dc:6a:e7:0d:7f:30 100”。S7. The device management module (master) sends a message to each device management module (slave) connected to itself: "map dc:6a:e7:0d:7f:30 100".

S8、设备管理模块(从)1、2、3收到消息将映射关系缓存,并配置上行转发规则dc:6a:e7:0d:7f:30->Gemport ID100。S8. The device management modules (from) 1, 2, and 3 receive the message and cache the mapping relationship, and configure the uplink forwarding rule dc:6a:e7:0d:7f:30->Gemport ID100.

S9、设备管理模块(从)1使能Gemport ID100,至此,终端的报文可以通过Gemport ID100转发。S9. Device management module (slave) 1 enables Gemport ID100. At this point, the terminal's messages can be forwarded through Gemport ID100.

S10、用户移动到房间2,用户的终端也随之漫游到从ONU 2。S10. The user moves to room 2, and the user's terminal also roams to ONU 2.

S11、从ONU 2的MAC学习模块学习到此MAC,通知到设备管理模块(从)2。S11. Learn this MAC from the MAC learning module of ONU 2 and notify the device management module (slave) 2.

S12、设备管理模块(从)2查询自身的映射缓存,找到映射条目:dc:6a:e7:0d:7f:30<->Gemport ID100,随即使能Gemport ID100,终端的报文正常转发。S12. Device management module (slave) 2 queries its own mapping cache and finds the mapping entry: dc:6a:e7:0d:7f:30<->Gemport ID100. Then, Gemport ID100 is enabled and the terminal's message is forwarded normally.

S13、从ONU1一个老化时间未收到dc:6a:e7:0d:7f:30的上行报文,MAC老化,通知到设备管理模块(从)1,随即设备管理模块(从)1去使能Gemport ID100。S13. After ONU1 has not received any uplink message of dc:6a:e7:0d:7f:30 for an aging period, the MAC has aged and the information is sent to the device management module (slave) 1. Then the device management module (slave) 1 enables Gemport ID100.

S14、用户离开房屋,随机终端与从ONU 2断连,从ONU2一个老化时间未收到dc:6a:e7:0d:7f:30的上行报文,MAC老化,通知到设备管理模块(从)2,随即设备管理模块(从)2去使能Gemport ID100。S14. The user leaves the house and the random terminal is disconnected from slave ONU 2. Slave ONU 2 does not receive the uplink message of dc:6a:e7:0d:7f:30 for an aging period, and the MAC ages. The MAC is notified to the device management module (slave) 2, and then the device management module (slave) 2 de-enables Gemport ID100.

S15、主ONU在Gemport ID100一个老化时间未收到dc:6a:e7:0d:7f:30的上行报文,MAC老化,通知到设备管理模块(主),设备管理模块(主)随即删除缓存中的映射关系:dc:6a:e7:0d:7f:30<->Gemport ID100。并向每个连接到自身的设备管理模块(从)发消息:“del map dc:6a:e7:0d:7f:30 100”,将内部的bit map中的bit 100置0。删除下行规则:dc:6a:e7:0d:7f:30->Gemport ID100。S15. The master ONU does not receive the upstream message of dc:6a:e7:0d:7f:30 within the aging time of Gemport ID100. The MAC is aged and the device management module (master) is notified. The device management module (master) then deletes the mapping relationship in the cache: dc:6a:e7:0d:7f:30<->Gemport ID100. It also sends a message to each device management module (slave) connected to itself: "del map dc:6a:e7:0d:7f:30 100", setting bit 100 in the internal bit map to 0. Delete the downstream rule: dc:6a:e7:0d:7f:30->Gemport ID100.

S16、设备管理模块(从)1-3收到主ONU发来的消息,删除上行转发规则dc:6a:e7:0d:7f:30->Gemport ID100。S16. The device management module (slave) 1-3 receives the message from the master ONU and deletes the upstream forwarding rule dc:6a:e7:0d:7f:30->Gemport ID100.

在一些实施例中,在S5之后,还可以包括如下S17-S20。 In some embodiments, after S5, the following S17-S20 may also be included.

S17、设备管理模块(主)收到消息,遍历Gemport ID的bit map,发现bit 1-3000均已被置位,说明终端已使用完FTTR系统分配的Gemport ID。随即设备管理模块(主)遍历MAC学习表中的MAC,找到时间戳最早的条目,发现其MAC及映射关系为00:0d:b6:0d:7f:00<->Gemport ID1。S17, the device management module (main) receives the message, traverses the bit map of Gemport ID, and finds that bits 1-3000 are all set, indicating that the terminal has used up the Gemport ID assigned by the FTTR system. Then the device management module (main) traverses the MAC in the MAC learning table, finds the entry with the earliest timestamp, and finds that its MAC and mapping relationship are 00:0d:b6:0d:7f:00<->Gemport ID1.

S18、设备管理模块(主)更新映射关系为dc:6a:e7:0d:7f:30<->Gemport ID1,并向每个连接到自身的设备管理模块(从)发消息:“update map 00:0d:b6:0d:7f:00dc:6a:e7:0d:7f:30 1”,并更新下行转发规则:00:0d:b6:0d:7f:00->Gemport ID1为dc:6a:e7:0d:7f:30->Gemport ID1。S18. The device management module (master) updates the mapping relationship to dc:6a:e7:0d:7f:30<->Gemport ID1, and sends a message to each device management module (slave) connected to itself: "update map 00:0d:b6:0d:7f:00dc:6a:e7:0d:7f:30 1", and updates the downstream forwarding rules: 00:0d:b6:0d:7f:00->Gemport ID1 is dc:6a:e7:0d:7f:30->Gemport ID1.

S19、设备管理模块(从)1-3收到主ONU发来的消息,更新缓存中的映射关系:dc:6a:e7:0d:7f:30<->Gemport ID1,同时更新上行转发规则:00:0d:b6:0d:7f:00->Gemport ID1为dc:6a:e7:0d:7f:30->Gemport ID1。此时,MAC为dc:6a:e7:0d:7f:30的终端的报文已可以正常转发。S19, the device management module (slave) 1-3 receives the message from the master ONU, updates the mapping relationship in the cache: dc:6a:e7:0d:7f:30<->Gemport ID1, and updates the upstream forwarding rule: 00:0d:b6:0d:7f:00->Gemport ID1 is dc:6a:e7:0d:7f:30->Gemport ID1. At this time, the message of the terminal with MAC dc:6a:e7:0d:7f:30 can be forwarded normally.

S20、设备管理模块(从)1-3检查自身MAC学习表中,若依然有00:0d:b6:0d:7f:00条目,则删除此条目,以便00:0d:b6:0d:7f:00可以重新触发加入FTTR网络的流程。S20. The device management module (slave) 1-3 checks its own MAC learning table. If there is still an entry of 00:0d:b6:0d:7f:00, it deletes this entry so that 00:0d:b6:0d:7f:00 can re-trigger the process of joining the FTTR network.

此流程保证,最新加入FTTR网络的终端可以分配到Gemport ID。This process ensures that the latest terminals joining the FTTR network can be assigned a Gemport ID.

在一些实施例中,在S5之后,还可以包括如下S21-S23。In some embodiments, after S5, the following S21-S23 may also be included.

S21、设备管理模块(主)收到消息,遍历Gemport ID的bit map,发现bit 1-3000均已被置位,说明终端已使用完FTTR系统的Gemport ID。随即设备管理模块(主)向设备管理模块(从)1发消息:“mapdc:6a:e7:0d:7f:30NULL”,代表目前无法为此终端分配Gemport ID。S21, the device management module (master) receives the message, traverses the bit map of Gemport ID, and finds that bits 1-3000 are all set, indicating that the terminal has used up all the Gemport IDs of the FTTR system. Then the device management module (master) sends a message to the device management module (slave) 1: "mapdc:6a:e7:0d:7f:30NULL", indicating that the Gemport ID cannot be allocated to this terminal at present.

S22、设备管理模块(从)1收到主ONU发来的消息,主动与终端断连。S22, the device management module (slave) 1 receives the message sent by the master ONU and actively disconnects from the terminal.

S23、终端断线重连,不断重复,直到设备管理模块(主)有空闲的Gemport ID可用。S23. The terminal disconnects and reconnects, and repeats this process until the device management module (master) has an idle Gemport ID available.

此流程保证,超出系统接入能力的终端接入,不会影响已接入终端的正常使用。This process ensures that the access of terminals exceeding the system access capacity will not affect the normal use of the terminals that have been connected.

上述实施例是以设备管理模块之间通过TCP协议进行消息传输为例进行说明的,应理解,由于设备管理模块之间的通信是在一级PON系统内部,为端到端的通信,故设备管理模块之间也可以通过OMCI承载消息进行消息传输。在使用OMCI承载设备管理模块之间通信的消息时,需要重新定义实体。The above-described embodiment is described by taking the transmission of messages between the device management modules by the TCP protocol as an example, and it should be understood that since the communication between the device management modules is inside the primary PON system, it is end-to-end communication, so the message transmission can also be carried out by the OMCI bearer message between the device management modules. When using the OMCI bearer device management module to communicate messages, it is necessary to redefine the entity.

定义实体时,需要创建一个设备映射表,设备映射表中包括属性和动作。When defining an entity, you need to create a device mapping table, which includes attributes and actions.

属性包括管理实体身份标识号、新设备的MAC地址和设备映射表。管理实体身份标识号表示此属性唯一标识受此管理实体的每个实例确定。设备映射表表示绑定到MAC的Gemport ID,该表的每行包含以下字段:Gemport ID、动作action和设备的MAC地址(Device MAC)。Gemport ID表示Gemport ID也是每行的关键部分。Device MAC表示终端的MAC地址绑定到Gemport ID。The attributes include the management entity identification number, the MAC address of the new device, and the device mapping table. The management entity identification number indicates that this attribute uniquely identifies each instance of this management entity. The device mapping table indicates the Gemport ID bound to the MAC. Each row of the table contains the following fields: Gemport ID, action, and the MAC address of the device (Device MAC). Gemport ID indicates that the Gemport ID is also the key part of each row. Device MAC indicates that the MAC address of the terminal is bound to the Gemport ID.

具体英文包括如下所示:The specific English includes as follows:

Device map tableDevice map table

AttributesAttributes

Managed entity id:This attribute uniquely identifies each instance of this managed entity.(R,Set-by-create)(mandatory)(2bytes)Managed entity id:This attribute uniquely identifies each instance of this managed entity.(R,Set-by-create)(mandatory)(2bytes)

(1)New Device MAC:This attribute specifies the device MAC need to be map to a Gemport ID(6bytes)(1)New Device MAC:This attribute specifies the device MAC need to be map to a Gemport ID(6bytes)

(2)Device Map table:The table is the device map that indicates the Gemport IDbind to a MAC(2)Device Map table:The table is the device map that indicates the Gemport IDbind to a MAC

Each row of the table comprises the following fields:Each row of the table comprises the following fields:

Gemport ID:The Gemport ID,Also as key part of each row(2byte). Gemport ID:The Gemport ID,Also as key part of each row(2byte).

Action:Remove(0)or add(1)this Map(set action)(1byte).Action:Remove(0)or add(1)this Map(set action)(1byte).

Device MAC:The device bind to Gemport ID.(6bytes)Device MAC:The device bind to Gemport ID.(6bytes)

(R,W)(mandatory)(9*N bytes,where N is the number of device map)(R,W)(mandatory)(9*N bytes,where N is the number of device map)

ActionsActions

Create,delete,get,get next,setCreate,delete,get,get next,set

Set table;Set table;

其中,Device map table表示设备映射表,Attributes表示属性,Managed entity id表示管理实体身份标识号(identity document,id)。“This attribute uniquely identifies each instance of this managed entity.(R,Set by create)(mandatory)(2bytes)”表示“此属性唯一标识受此管理实体的每个实例确定。(R,由创建设置)(强制)(2字节)”。New Device MAC表示新设备的MAC地址。“The table is the device map that indicates the Gemport IDbind to a MAC”表示“该表是设备映射表,表示绑定到MAC的Gemport ID”。“Each row of the table comprises the following fields”表示“该表的每行包含以下字段”。“Gemport ID:The Gemport ID,Also as key part of each row(2byte)”表示“Gemport ID也是每行的关键部分(2字节)”。“Action:Remove(0)or add(1)this Map(set action)(1byte)”表示“动作:删除(0)或添加(1)此Map(设置动作)(1字节)”。“Device MAC:The device bind to Gemport ID.(6bytes)”表示“终端的MAC地址:绑定到Gemport ID的设备,(6字节)”。“(R,W)(mandatory)(9*N bytes,where N is the number of device map)”表示“(R,W)(必选)(9*N字节,其中N为设备映射数)”。Actions表示动作,Create表示创建,delete表示删除,get表示获得,get next表示获得下一个,set表示设置,Set table表示设置表。Among them, Device map table represents the device mapping table, Attributes represents attributes, and Managed entity id represents the identity document (identity document, id) of the managed entity. "This attribute uniquely identifies each instance of this managed entity. (R, Set by create) (mandatory) (2 bytes)" means "This attribute uniquely identifies each instance of this managed entity. (R, Set by create) (mandatory) (2 bytes)". New Device MAC represents the MAC address of the new device. "The table is the device map that indicates the Gemport ID bind to a MAC" means "The table is the device mapping table, indicating the Gemport ID bound to a MAC". "Each row of the table comprises the following fields" means "Each row of the table comprises the following fields". “Gemport ID:The Gemport ID,Also as key part of each row(2byte)” means “Gemport ID is also the key part of each row(2byte)”. “Action:Remove(0)or add(1)this Map(set action)(1byte)” means “Action:Remove(0)or add(1)this Map(set action)(1byte)” means “Action:Remove(0)or add(1)this Map(set action)(1byte)”. “Device MAC:The device bind to Gemport ID.(6bytes)” means “MAC address of the terminal: the device bound to Gemport ID, (6 bytes)”. “(R,W)(mandatory)(9*N bytes,where N is the number of device map)” means “(R,W)(mandatory)(9*N bytes,where N is the number of device map)”. Actions means action, Create means create, delete means delete, get means obtain, get next means get next, set means setting, and Set table means setting table.

在使用OMCI承载设备管理模块之间通信的消息时,可以包括如下A1-A5。When OMCI is used to carry messages communicated between device management modules, the following A1-A5 may be included.

A1、从ONU在连接到主ONU时,主ONU为从ONU创建OMCI ME Device map table。A1. When the slave ONU is connected to the master ONU, the master ONU creates an OMCI ME Device map table for the slave ONU.

A2、当设备管理模块(从)需要发送序列①消息,将终端的MAC地址写入Device map table的New Device MAC属性中,并通过OMCI属性值改变(AVC)消息通知主ONU;主ONU收到OMCI AVC消息后,下发OMCI GET消息获取此MAC,通知到设备管理模块(主)。A2. When the device management module (slave) needs to send sequence ① message, it writes the terminal's MAC address into the New Device MAC attribute of the Device map table, and notifies the master ONU through the OMCI attribute value change (AVC) message; after the master ONU receives the OMCI AVC message, it sends an OMCI GET message to obtain this MAC and notifies the device management module (master).

A3、当设备管理模块(主)需要发送序列②消息,下发OMCI Set Table消息设置Device map table实体的Device map table属性,Gemport ID域设置为设备映射的Gemport ID,Action设置为1,Device MAC设置为终端的MAC地址,从ONU的OMCI将此映射关系通知到设备管理模块(从)。A3. When the device management module (master) needs to send sequence ② message, it sends OMCI Set Table message to set the Device map table attributes of the Device map table entity, the Gemport ID field is set to the Gemport ID mapped by the device, Action is set to 1, and Device MAC is set to the MAC address of the terminal. The OMCI of the ONU notifies the device management module (slave) of this mapping relationship.

A4、当设备管理模块(主)需要发送序列③消息,下发OMCI Set Table消息设置Device map table实体的Device map table属性,Gemport ID域设置为设备映射的Gemport ID,Action设置为0,Device MAC设置为终端的MAC地址,从ONU的OMCI将此映射关系通知到设备管理模块(从)。A4. When the device management module (master) needs to send sequence ③ message, it sends OMCI Set Table message to set the Device map table attributes of the Device map table entity, the Gemport ID field is set to the Gemport ID mapped by the device, Action is set to 0, and Device MAC is set to the MAC address of the terminal. The OMCI of the ONU notifies the device management module (slave) of this mapping relationship.

A5、当设备管理模块(主)需要发送序列④消息,下发OMCI Set Table消息设置Device map table实体的Device map table属性,Gemport ID域设置为设备映射的Gemport ID,Action设置为1,Device MAC设置为终端的MAC地址,从ONU的OMCI发现下发的Row key重复,做覆盖操作,并将新、旧条目通知到设备管理模块(从)。A5. When the device management module (master) needs to send sequence ④ messages, it sends OMCI Set Table message to set the Device map table attributes of the Device map table entity, the Gemport ID field is set to the Gemport ID mapped by the device, Action is set to 1, Device MAC is set to the MAC address of the terminal, and the OMCI from the ONU finds that the Row key sent is repeated, performs an overwrite operation, and notifies the new and old entries to the device management module (slave).

上述主要从各个节点之间交互的角度对本公开提供的方案进行了介绍。可以理解的是,各个节点,例如终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定 应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The above mainly introduces the solution provided by the present disclosure from the perspective of the interaction between various nodes. It is understandable that in order to realize the above functions, each node, such as a terminal, includes a hardware structure and/or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the algorithm steps of each example described in the embodiments disclosed in this article, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific technical solution. Application and Design Constraints. A skilled person may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

图12所示为本公开实施例提供的一种通信装置的组成示意图。如图12所示,该通信装置30包括接收单元301和发送单元302。FIG12 is a schematic diagram showing the composition of a communication device provided by an embodiment of the present disclosure. As shown in FIG12 , the communication device 30 includes a receiving unit 301 and a sending unit 302 .

该通信装置30可以为上述主ONU。通信装置30用于实现上述实施例中主ONU的功能时,各个单元具体用于实现以下功能。The communication device 30 may be the master ONU. When the communication device 30 is used to implement the function of the master ONU in the above embodiment, each unit is specifically used to implement the following functions.

接收单元301,用于接收第一从ONU发送的端口请求信息,端口请求信息包括与第一从ONU连接的第一终端的设备标识,端口请求信息用于请求为第一终端分配端口,第一从ONU为多个从ONU中的一个。The receiving unit 301 is used to receive port request information sent by a first slave ONU, the port request information includes a device identifier of a first terminal connected to the first slave ONU, and the port request information is used to request allocation of a port for the first terminal. The first slave ONU is one of multiple slave ONUs.

发送单元,用于响应于端口请求信息,向多个从ONU发送第一指示信息,第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口。The sending unit is used to send first indication information to multiple slave ONUs in response to the port request information, wherein the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, and the target port is the port allocated by the master ONU to the first terminal.

在一些实施例中,在主ONU存在至少一个未分配端口的情况下,目标端口为至少一个未分配端口中的一个。In some embodiments, when there is at least one unassigned port in the master ONU, the target port is one of the at least one unassigned port.

在一些实施例中,在主ONU未存在至少一个未分配端口的情况下,目标端口为主ONU的已分配端口中最早被分配的端口。In some embodiments, when the master ONU does not have at least one unallocated port, the target port is the earliest allocated port among the allocated ports of the master ONU.

在一些实施例中,发送单元302,还用于在预设时长内未接收到第一终端的报文,删除与第一终端的设备标识相关的对应关系,并向多个从ONU发送第二指示信息,第二指示信息用于指示从ONU删除与第一终端的设备标识相关的对应关系。In some embodiments, the sending unit 302 is also used to delete the corresponding relationship related to the device identifier of the first terminal if no message is received from the first terminal within a preset time period, and send a second indication message to multiple slave ONUs, where the second indication message is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal.

图13所示为本公开实施例提供的另一种通信装置的组成示意图。如图13所示,该通信装置40包括获取单元401、存储单元402和发送单元403。作为一种示例,该通信装置40还可以包括处理单元404。Fig. 13 is a schematic diagram showing the composition of another communication device provided by an embodiment of the present disclosure. As shown in Fig. 13, the communication device 40 includes an acquisition unit 401, a storage unit 402, and a sending unit 403. As an example, the communication device 40 may also include a processing unit 404.

该通信装置40可以为上述第一从ONU。通信装置40用于实现上述实施例中第一从ONU的功能时,各个单元具体用于实现以下功能。The communication device 40 may be the first slave ONU. When the communication device 40 is used to implement the function of the first slave ONU in the above embodiment, each unit is specifically used to implement the following functions.

获取单元401,用于在检测到第一终端接入的情况下,获取第一终端的设备标识。The acquisition unit 401 is configured to acquire a device identification of the first terminal when detecting that the first terminal has accessed.

发送单元403,用于自身未存储有第一终端的设备标识相关的对应关系的情况下,向主ONU发送端口请求信息,端口请求信息包括第一终端的设备标识,端口请求信息用于请求为第一终端分配端口。The sending unit 403 is used to send port request information to the master ONU when the corresponding relationship related to the device identification of the first terminal is not stored in the sending unit 403. The port request information includes the device identification of the first terminal and is used to request allocation of a port for the first terminal.

获取单元401,还用于接收主ONU发送的第一指示信息,第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口。The acquisition unit 401 is further used to receive first indication information sent by the master ONU, where the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, where the target port is the port allocated by the master ONU to the first terminal.

存储单元402,用于存储第一终端的设备标识与目标端口的端口标识之间的对应关系,使能目标端口。The storage unit 402 is used to store the correspondence between the device identifier of the first terminal and the port identifier of the target port, and enable the target port.

在一些实施例中,存储单元402,具体用于在自身未存储有目标端口的端口标识相关的对应关系的情况下,存储第一终端的设备标识与目标端口的端口标识之间的对应关系。In some embodiments, the storage unit 402 is specifically configured to store the correspondence between the device identifier of the first terminal and the port identifier of the target port when the storage unit 402 does not store the correspondence related to the port identifier of the target port.

在一些实施例中,存储单元402,具体用于在自身存储有目标端口的端口标识相关的对应关系的情况下,将目标端口的端口标识相关的对应关系更新为第一终端的设备标识与目标端口的端口标识之间的对应关系。In some embodiments, the storage unit 402 is specifically configured to update the corresponding relationship related to the port identifier of the target port to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port when the corresponding relationship related to the port identifier of the target port is stored in the storage unit 402.

在一些实施例中,处理单元404,用于在预设时长内未接收到第一终端的报文,去使能目标端口。In some embodiments, the processing unit 404 is configured to disable the target port if no message from the first terminal is received within a preset time period.

在一些实施例中,获取单元401,还用于接收主ONU发送的第二指示信息,第二指示信息用于指示从ONU删除与第一终端的设备标识相关的对应关系;In some embodiments, the acquisition unit 401 is further used to receive second indication information sent by the master ONU, where the second indication information is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal;

处理单元,还用于响应于第二指示信息,删除与第一终端的设备标识相关的对应关系。The processing unit is further configured to delete the corresponding relationship related to the device identification of the first terminal in response to the second indication information.

图14所示为本公开实施例提供的另一种通信装置的组成示意图。如图14所示,该通信装置50包括接收单元501、存储单元502和处理单元503。FIG14 is a schematic diagram showing the composition of another communication device provided by an embodiment of the present disclosure. As shown in FIG14 , the communication device 50 includes a receiving unit 501 , a storage unit 502 and a processing unit 503 .

该通信装置50可以为上述第二从ONU。通信装置50用于实现上述实施例中第二从ONU的功能时, 各个单元具体用于实现以下功能。The communication device 50 may be the second slave ONU. When the communication device 50 is used to implement the function of the second slave ONU in the above embodiment, Each unit is specifically used to implement the following functions.

接收单元501,用于接收主ONU发送的第一指示信息,第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,目标端口为主ONU为第一终端所分配的端口,第一终端为连接第一从ONU的终端,第一从ONU为多个从ONU中除第二从ONU之外的一个。The receiving unit 501 is used to receive the first indication information sent by the master ONU, where the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, where the target port is the port allocated by the master ONU to the first terminal, the first terminal is a terminal connected to the first slave ONU, and the first slave ONU is one of the multiple slave ONUs except the second slave ONU.

存储单元502,用于存储第一终端的设备标识与目标端口的端口标识之间的对应关系。The storage unit 502 is configured to store a correspondence between a device identifier of the first terminal and a port identifier of the target port.

在一些实施例中,存储单元502,具体用于在自身未存储有目标端口的端口标识相关的对应关系的情况下,存储第一终端的设备标识与目标端口的端口标识之间的对应关系。In some embodiments, the storage unit 502 is specifically configured to store the correspondence between the device identifier of the first terminal and the port identifier of the target port when the storage unit 502 does not store the correspondence related to the port identifier of the target port.

在一些实施例中,存储单元502,具体用于在自身存储有目标端口的端口标识相关的对应关系的情况下,将目标端口的端口标识相关的对应关系更新为第一终端的设备标识与目标端口的端口标识之间的对应关系。In some embodiments, the storage unit 502 is specifically configured to update the corresponding relationship related to the port identifier of the target port to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port when the corresponding relationship related to the port identifier of the target port is stored in the storage unit 502.

在一些实施例中,处理单元503,还用于在第一终端从第一从ONU的覆盖范围移动至第二从ONU的覆盖范围的情况下,根据第一终端的设备标识与目标端口的端口标识之间的对应关系,使能目标端口。In some embodiments, the processing unit 503 is further configured to enable the target port according to the correspondence between the device identifier of the first terminal and the port identifier of the target port when the first terminal moves from the coverage of the first slave ONU to the coverage of the second slave ONU.

在一些实施例中,处理单元503,还用于在预设时长内未接收到第一终端的报文,去使能目标端口。In some embodiments, the processing unit 503 is further configured to disable the target port if no message from the first terminal is received within a preset time period.

在一些实施例中,接收单元501,还用于接收主ONU发送的第二指示信息,第二指示信息用于指示从ONU删除与第一终端的设备标识相关的对应关系。In some embodiments, the receiving unit 501 is further used to receive second indication information sent by the master ONU, where the second indication information is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal.

处理单元503,还用于响应于第二指示信息,删除与第一终端的设备标识相关的对应关系。The processing unit 503 is further configured to delete the corresponding relationship related to the device identification of the first terminal in response to the second indication information.

需要说明的是,图12、图13和图14中的单元也可以称为模块,例如,发送单元可以称为发送模块。另外,在图12、图13和图14所示的实施例中,各个单元的名称也可以不是图中所示的名称,例如,发送单元也可以称为通信单元,接收单元也可以称作通信单元。It should be noted that the units in FIG. 12, FIG. 13 and FIG. 14 may also be referred to as modules, for example, the sending unit may be referred to as a sending module. In addition, in the embodiments shown in FIG. 12, FIG. 13 and FIG. 14, the names of the various units may not be the names shown in the figures, for example, the sending unit may also be referred to as a communication unit, and the receiving unit may also be referred to as a communication unit.

图12、图13和图14中的各个单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)或处理器(processor)执行本公开各个实施例方法的全部或部分步骤。存储计算机软件产品的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the various units in FIG. 12 , FIG. 13 and FIG. 14 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the methods of various embodiments of the present disclosure. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.

上述通信装置30、通信装置40或者通信装置50采用硬件的形式实现上述集成的模块的功能的情况下,本公开实施例提供一种通信装置的结构示意图。如图15所示,该通信装置60包括:存储器601、处理器602、通信接口603、总线604。When the communication device 30, the communication device 40 or the communication device 50 implements the functions of the integrated modules in the form of hardware, the present disclosure provides a schematic diagram of the structure of a communication device. As shown in FIG15 , the communication device 60 includes: a memory 601, a processor 602, a communication interface 603, and a bus 604.

存储器601,可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,可以是随机存取存储器(random access memory,RAM)或者可存储动态信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 601 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store dynamic information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

处理器602,可以是实现或执行结合本公开的公开内容所描述的各种示例性的逻辑方框、模块和电路。该处理器602可以是中央处理器、通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。该处理器602可以实现或执行结合本公开的公开内容所描述的各种示例性的逻辑方框、模块和电路。所述处理器602也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。 The processor 602 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure. The processor 602 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The processor 602 may be a device that implements or executes various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present disclosure. The processor 602 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

通信接口603,用于与其他设备通过通信网络连接。该通信网络可以是以太网、无线接入网、无线局域网(wireless local area networks,WLAN)等。The communication interface 603 is used to connect with other devices through a communication network. The communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

在一些实施例中,存储器601可以独立于处理器602存在,存储器601可以通过总线604与处理器602相连接,用于存储指令或者程序代码。处理器602调用并执行存储器601中存储的指令或程序代码时,能够实现本公开实施例提供的网络管理方法。In some embodiments, the memory 601 may exist independently of the processor 602, and the memory 601 may be connected to the processor 602 via a bus 604 to store instructions or program codes. When the processor 602 calls and executes the instructions or program codes stored in the memory 601, the network management method provided in the embodiment of the present disclosure can be implemented.

在一些实施例中,存储器601也可以和处理器602集成在一起。In some embodiments, the memory 601 may also be integrated with the processor 602 .

总线604,可以是扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线604可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 604 may be an extended industry standard architecture (EISA) bus, etc. The bus 604 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, FIG15 only uses one thick line, but does not mean that there is only one bus or one type of bus.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将基站或终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the base station or terminal is divided into different functional modules to complete all or part of the functions described above.

本公开实施例还提供一种计算机可读存储介质。上述方法实施例中的全部或者部分流程可以由计算机指令来指示相关的硬件完成,该程序可存储于上述计算机可读存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。计算机可读存储介质可以是前述任一实施例的通信装置的内部存储单元,例如计算机设备的硬盘或内存。上述计算机可读存储介质也可以是上述通信装置的外部存储设备,例如上述通信装置上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,上述计算机可读存储介质还可以既包括上述基站或终端的内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序以及上述通信装置所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。上述计算机可读存储介质,包括非暂态计算机可读存储介质。The disclosed embodiment also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The computer-readable storage medium can be an internal storage unit of the communication device of any of the above embodiments, such as a hard disk or memory of a computer device. The above computer-readable storage medium can also be an external storage device of the above communication device, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above communication device. Further, the above computer-readable storage medium can also include both the internal storage unit of the above base station or terminal and an external storage device. The above computer-readable storage medium is used to store the above computer program and other programs and data required by the above communication device. The above computer-readable storage medium can also be used to temporarily store data that has been output or is to be output. The above computer-readable storage medium includes a non-transitory computer-readable storage medium.

本公开实施例还提供一种计算机程序产品,该计算机产品包含计算机程序,当该计算机程序产品在计算机上运行时,使得该计算机执行上述实施例中所提供的任一项网络管理方法。The embodiments of the present disclosure also provide a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the network management methods provided in the above embodiments.

尽管在此结合各实施例对本公开进行了描述,然而,在实施所要求保护的本公开过程中,本领域技术人员通过查看附图、公开内容、以及所附权利要求书,可理解并实现公开实施例的其他变化。在权利要求中,“包括”(Comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present disclosure is described herein in conjunction with various embodiments, in the process of implementing the claimed disclosure, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

尽管结合具体特征及其实施例对本公开进行了描述,显而易见的,在不脱离本公开的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本公开的示例性说明,且视为已覆盖本公开范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。Although the present disclosure has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely exemplary illustrations of the present disclosure as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

以上,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何在本公开揭露的技术范围内的变化或替换,都应涵盖在本公开的保护范围为准。 The above are only specific implementation methods of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present disclosure shall be covered by the protection scope of the present disclosure.

Claims (17)

一种网络管理方法,应用于主光网络单元ONU,所述主ONU与多个从ONU连接,其中,所述方法包括:A network management method is applied to a master optical network unit (ONU), wherein the master ONU is connected to a plurality of slave ONUs, wherein the method comprises: 接收第一从ONU发送的端口请求信息,所述端口请求信息包括与所述第一从ONU连接的第一终端的设备标识,所述端口请求信息用于请求为所述第一终端分配端口,所述第一从ONU为所述多个从ONU中的一个;Receiving port request information sent by a first slave ONU, the port request information including a device identifier of a first terminal connected to the first slave ONU, the port request information being used to request allocation of a port for the first terminal, the first slave ONU being one of the multiple slave ONUs; 响应于所述端口请求信息,向所述多个从ONU发送第一指示信息,所述第一指示信息用于指示所述第一终端的设备标识与目标端口的端口标识之间的对应关系,所述目标端口为所述主ONU为所述第一终端所分配的端口。In response to the port request information, first indication information is sent to the multiple slave ONUs, wherein the first indication information is used to indicate the correspondence between the device identifier of the first terminal and the port identifier of the target port, and the target port is the port allocated by the master ONU to the first terminal. 根据权利要求1所述的方法,其中,在所述主ONU存在至少一个未分配端口的情况下,所述目标端口为所述至少一个未分配端口中的一个。The method according to claim 1, wherein, in the case where there is at least one unallocated port in the master ONU, the target port is one of the at least one unallocated port. 根据权利要求1所述的方法,其中,在所述主ONU未存在至少一个未分配端口的情况下,所述目标端口为所述主ONU的已分配端口中最早被分配的端口。The method according to claim 1, wherein, when the master ONU does not have at least one unallocated port, the target port is the earliest allocated port among the allocated ports of the master ONU. 根据权利要求1至3中任一项所述的方法,还包括:The method according to any one of claims 1 to 3, further comprising: 在预设时长内未接收到所述第一终端的报文,删除与所述第一终端的设备标识相关的对应关系,并向所述多个从ONU发送第二指示信息,所述第二指示信息用于指示所述从ONU删除与所述第一终端的设备标识相关的对应关系。If no message from the first terminal is received within a preset time period, the corresponding relationship related to the device identifier of the first terminal is deleted, and second indication information is sent to the multiple slave ONUs, where the second indication information is used to instruct the slave ONU to delete the corresponding relationship related to the device identifier of the first terminal. 一种网络管理方法,应用于第一从光网络单元ONU,所述第一从ONU与主ONU连接,所述主ONU与多个从ONU连接,所述第一从ONU为所述多个从ONU中的一个,其中,所述方法包括:A network management method is applied to a first slave optical network unit (ONU), wherein the first slave ONU is connected to a master ONU, the master ONU is connected to a plurality of slave ONUs, and the first slave ONU is one of the plurality of slave ONUs, wherein the method comprises: 在检测到第一终端接入的情况下,获取所述第一终端的设备标识;When detecting that a first terminal is connected, obtaining a device identification of the first terminal; 在自身未存储有所述第一终端的设备标识相关的对应关系的情况下,向所述主ONU发送端口请求信息,所述端口请求信息包括所述第一终端的设备标识,所述端口请求信息用于请求为所述第一终端分配端口;In the case where the corresponding relationship related to the device identification of the first terminal is not stored in the master ONU, sending port request information to the master ONU, where the port request information includes the device identification of the first terminal, and the port request information is used to request allocation of a port for the first terminal; 接收所述主ONU发送的第一指示信息,所述第一指示信息用于指示所述第一终端的设备标识与目标端口的端口标识之间的对应关系,所述目标端口为所述主ONU为所述第一终端所分配的端口;Receive first indication information sent by the master ONU, where the first indication information is used to indicate a correspondence between a device identifier of the first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal; 存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,使能所述目标端口。The correspondence between the device identifier of the first terminal and the port identifier of the target port is stored, and the target port is enabled. 根据权利要求5所述的方法,其中,存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,包括:The method according to claim 5, wherein storing the correspondence between the device identifier of the first terminal and the port identifier of the target port comprises: 在自身未存储有所述目标端口的端口标识相关的对应关系的情况下,存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系。In the case that the corresponding relationship related to the port identifier of the target port is not stored in the device, the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port is stored. 根据权利要求5所述的方法,其中,存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,包括:The method according to claim 5, wherein storing the correspondence between the device identifier of the first terminal and the port identifier of the target port comprises: 在自身存储有所述目标端口的端口标识相关的对应关系的情况下,将所述目标端口的端口标识相关的对应关系更新为所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系。In the case where the corresponding relationship related to the port identifier of the target port is stored in the device, the corresponding relationship related to the port identifier of the target port is updated to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port. 根据权利要求5至7中任一项所述的方法,还包括:The method according to any one of claims 5 to 7, further comprising: 在预设时长内未接收到所述第一终端的报文,去使能所述目标端口。If no message from the first terminal is received within a preset time period, the target port is disabled. 根据权利要求5至7中任一项所述的方法,还包括:The method according to any one of claims 5 to 7, further comprising: 接收所述主ONU发送的第二指示信息,所述第二指示信息用于指示所述从ONU删除与所述第一终端的设备标识相关的对应关系; Receiving second indication information sent by the master ONU, where the second indication information is used to instruct the slave ONU to delete a corresponding relationship related to a device identifier of the first terminal; 响应于所述第二指示信息,删除与所述第一终端的设备标识相关的对应关系。In response to the second indication information, the corresponding relationship related to the device identification of the first terminal is deleted. 一种网络管理方法,应用于第二从光网络单元ONU,所述第二从ONU与主ONU连接,所述主ONU与多个从ONU连接,所述第二从ONU为所述多个从ONU中的一个,其中,所述方法包括:A network management method is applied to a second slave optical network unit (ONU), wherein the second slave ONU is connected to a master ONU, the master ONU is connected to a plurality of slave ONUs, and the second slave ONU is one of the plurality of slave ONUs, wherein the method comprises: 接收所述主ONU发送的第一指示信息,所述第一指示信息用于指示第一终端的设备标识与目标端口的端口标识之间的对应关系,所述目标端口为所述主ONU为所述第一终端所分配的端口,所述第一终端为连接第一从ONU的终端,所述第一从ONU为所述多个从ONU中除所述第二从ONU之外的一个;Receive first indication information sent by the master ONU, where the first indication information is used to indicate a correspondence between a device identifier of a first terminal and a port identifier of a target port, where the target port is a port allocated by the master ONU to the first terminal, where the first terminal is a terminal connected to a first slave ONU, and where the first slave ONU is one of the multiple slave ONUs except the second slave ONU; 存储所述第一终端的设备标识与目标端口的端口标识之间的对应关系。The correspondence between the device identifier of the first terminal and the port identifier of the target port is stored. 根据权利要求10所述的方法,其中,存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,包括:The method according to claim 10, wherein storing the correspondence between the device identifier of the first terminal and the port identifier of the target port comprises: 在自身未存储有所述目标端口的端口标识相关的对应关系的情况下,存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系。In the case that the corresponding relationship related to the port identifier of the target port is not stored in the device, the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port is stored. 根据权利要求10所述的方法,其中,存储所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,包括:The method according to claim 10, wherein storing the correspondence between the device identifier of the first terminal and the port identifier of the target port comprises: 在自身存储有所述目标端口的端口标识相关的对应关系的情况下,将所述目标端口的端口标识相关的对应关系更新为所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系。In the case where the corresponding relationship related to the port identifier of the target port is stored in the device, the corresponding relationship related to the port identifier of the target port is updated to the corresponding relationship between the device identifier of the first terminal and the port identifier of the target port. 根据权利要求10至12中任一项所述的方法,还包括:The method according to any one of claims 10 to 12, further comprising: 在所述第一终端从所述第一从ONU的覆盖范围移动至所述第二从ONU的覆盖范围的情况下,根据所述第一终端的设备标识与所述目标端口的端口标识之间的对应关系,使能所述目标端口。When the first terminal moves from the coverage of the first slave ONU to the coverage of the second slave ONU, the target port is enabled according to the correspondence between the device identifier of the first terminal and the port identifier of the target port. 根据权利要求13所述的方法,还包括:The method according to claim 13, further comprising: 在预设时长内未接收到所述第一终端的报文,去使能所述目标端口。If no message from the first terminal is received within a preset time period, the target port is disabled. 根据权利要求10至12中任一项所述的方法,还包括:The method according to any one of claims 10 to 12, further comprising: 接收所述主ONU发送的第二指示信息,所述第二指示信息用于指示所述从ONU删除与所述第一终端的设备标识相关的对应关系;Receiving second indication information sent by the master ONU, where the second indication information is used to instruct the slave ONU to delete a corresponding relationship related to a device identifier of the first terminal; 响应于所述第二指示信息,删除与所述第一终端的设备标识相关的对应关系。In response to the second indication information, the corresponding relationship related to the device identification of the first terminal is deleted. 一种通信装置,包括:处理器和存储器;其中A communication device, comprising: a processor and a memory; wherein 所述存储器存储有所述处理器可执行的指令;The memory stores instructions executable by the processor; 所述处理器被配置为执行所述指令时,使得所述通信装置实现根据权利要求1至15中任一项所述的方法。When the processor is configured to execute the instructions, the communication device implements the method according to any one of claims 1 to 15. 一种计算机可读存储介质,其中,所述计算机可读存储介质包括计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行根据权利要求1至15中任一项所述的方法。 A computer-readable storage medium, wherein the computer-readable storage medium comprises computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 15.
PCT/CN2024/093323 2023-05-16 2024-05-15 Network management method, communication apparatus, and storage medium Pending WO2024235251A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310558327.X 2023-05-16
CN202310558327.XA CN117177330A (en) 2023-05-16 2023-05-16 Network management method, device and storage medium

Publications (1)

Publication Number Publication Date
WO2024235251A1 true WO2024235251A1 (en) 2024-11-21

Family

ID=88928696

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/093323 Pending WO2024235251A1 (en) 2023-05-16 2024-05-15 Network management method, communication apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN117177330A (en)
WO (1) WO2024235251A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117177330A (en) * 2023-05-16 2023-12-05 中兴通讯股份有限公司 Network management method, device and storage medium
CN118827386B (en) * 2024-09-18 2024-11-22 四川长虹新网科技有限责任公司 Method for identifying master-slave relationship of FTTR gateway and master gateway

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022042217A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Network configuration method and related device
US20230010009A1 (en) * 2021-07-07 2023-01-12 Nokia Solutions And Networks Oy Method and apparatus for onu grouping
CN116055925A (en) * 2023-01-13 2023-05-02 武汉飞思灵微电子技术有限公司 Terminal roaming method and system in passive optical network system
CN117177330A (en) * 2023-05-16 2023-12-05 中兴通讯股份有限公司 Network management method, device and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10798645B2 (en) * 2018-06-15 2020-10-06 Juniper Networks, Inc. Extending subscriber services to roaming wireless user equipment
CN115967872A (en) * 2021-10-08 2023-04-14 华为技术有限公司 Method, device and equipment for equipment management in optical network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022042217A1 (en) * 2020-08-31 2022-03-03 华为技术有限公司 Network configuration method and related device
US20230010009A1 (en) * 2021-07-07 2023-01-12 Nokia Solutions And Networks Oy Method and apparatus for onu grouping
CN116055925A (en) * 2023-01-13 2023-05-02 武汉飞思灵微电子技术有限公司 Terminal roaming method and system in passive optical network system
CN117177330A (en) * 2023-05-16 2023-12-05 中兴通讯股份有限公司 Network management method, device and storage medium

Also Published As

Publication number Publication date
CN117177330A (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
US10992385B2 (en) Apparatus and method for joint profile-based slicing of mobile access and optical backhaul
WO2024235251A1 (en) Network management method, communication apparatus, and storage medium
US10057130B2 (en) D2HCP protocol in ad hoc networks: merging of sub-networks and address conflict resolution
WO2020063991A1 (en) Pon network, method and apparatus for pon network and robot system
US20130028176A1 (en) Wireless transmission of data packets based on client associations
CN109714376B (en) Method, device and system for sending fixed network message
WO2022228162A1 (en) Communication method, apparatus, and system
WO2012109849A1 (en) Method and apparatus for mac address allocation
CN104320347B (en) A kind of method and apparatus for actively updating LLDP
CN114025262A (en) Data intercommunication method between edge ONTs in FTTR system, optical gateway and edge ONT equipment
WO2011038692A1 (en) Network node configuration information processing method, network node, and communication system
KR101786620B1 (en) Method, apparatus and computer program for subnetting of software defined network
CN101692716A (en) Optical line terminal, optical network unit and passive optical network system
EP3086512B1 (en) Implementation method and apparatus for vlan to access vf network and fcf
CN108134986A (en) Message transmitting method and device
WO2020191684A1 (en) Method and device for handling priorities of qos rules, and storage medium
CN114827781B (en) Network collaboration method, device, equipment and storage medium
CN105591956B (en) Flow control methods and equipment based on User-Network Interface UNI
CN113163276B (en) Method, device and system for publishing routing information
WO2025050782A1 (en) Sending rate configuration method and device
CN109981462B (en) Message processing method and device
WO2021253221A1 (en) Role control method, apparatus and device
WO2017000478A1 (en) Method and device for transmitting service data with microwave link
CN117354867A (en) Data transmission method, device and storage medium

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: 24806601

Country of ref document: EP

Kind code of ref document: A1