Equipment remote operation and maintenance method, system and device and readable storage medium

By establishing VXLAN tunnels and virtual port mapping in the GPON/EPON system, remote operation and maintenance of ONU devices is realized, solving the problems of high operation and maintenance difficulty and poor user experience in existing technologies, and improving operation and maintenance efficiency and user experience.

CN121728385APending Publication Date: 2026-03-24FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511956030.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-23
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

In existing GPON/EPON systems, ONU devices are difficult to maintain and have poor user experience. Traditional methods cannot effectively identify and capture bidirectional messages, resulting in application limitations.

Method used

By establishing a VXLAN tunnel between the core switching board and the PON service board, mapping ONU objects to VNIs, and mapping VNIs to virtual ports, remote image packet capture is achieved using preset packet capture rules, enabling bidirectional data operation and maintenance of ONU devices.

Benefits of technology

Without changing the existing hardware, bidirectional remote operation and maintenance of ONU devices was achieved, improving user experience and operation and maintenance efficiency, and solving the problems of difficulty in ONU device operation and maintenance and user perception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121728385A_ABST
    Figure CN121728385A_ABST
Patent Text Reader

Abstract

An equipment remote operation and maintenance method, system and device and a readable storage medium relate to the PON access system field, and comprise the following steps: receiving a target uplink service flow corresponding to a target ONU sent by a target PON service disk through a target VXLAN tunnel, and forwarding the target uplink service flow to a target uplink port based on a target virtual port; the VNI carried by the uplink service flow has a mapping relationship with an address code (including a slot number, a PON number and an ONU number) of the target ONU and a virtual port; forwarding a target downlink service flow corresponding to the target ONU to the target PON service disk through the target VXLAN tunnel based on the target virtual port; and remote mirror image packet capture is performed on the target uplink service flow and / or the target downlink service flow flowing through the target virtual port through the packet capture rule which is bound on the target virtual port and corresponds to the target ONU, so that bidirectional data remote operation and maintenance of the ONU equipment are realized, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of PON (Passive Optic Network) access system technology, specifically to a method, system, device, and readable storage medium for remote operation and maintenance of equipment. Background Technology

[0002] For systems such as GPON / EPON, the current OLT (Optical Line Terminal) operation and maintenance scenarios encounter the following problems when it is necessary to capture packets from a specific ONU (Optical Network Unit): (1) Mirroring the ONU PON port on the ONU side at the user's home is not only difficult to maintain, but also has a poor user experience.

[0003] (2) The traditional method is to add PVLAN (Private VLAN) to PON port + ONU by adding PVLAN (Private VLAN) to PON service board. However, the range of PVLAN may overlap with the user's service VLAN (Virtual Local Area Network), which makes the main controller unable to identify it. Moreover, it can only capture ONU uplink packets, which has limitations in application.

[0004] (3) The business flow mirroring method requires the early identification of all business flow characteristics of the ONU. It cannot capture all interactive messages based on the ONU object, which has limitations in application.

[0005] Therefore, how to remotely achieve bidirectional data operation and maintenance of ONU devices is an urgent problem to be solved. Summary of the Invention

[0006] This application provides a method, system, device, and readable storage medium for remote operation and maintenance of equipment, which can remotely realize bidirectional data operation and maintenance of ONU equipment and improve user experience.

[0007] In a first aspect, embodiments of this application provide a method for remote operation and maintenance of a device, the method being applied to a core switch disk, the method comprising: The target uplink service flow corresponding to the target ONU is received by the target PON service board through the preset target VXLAN tunnel, and the target uplink service flow is forwarded to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. Based on the target virtual port, the target downlink service flow corresponding to the target ONU is forwarded to the target PON service board through the target VXLAN tunnel; Remotely mirror and capture packets of the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU. Among them, the VXLAN network identifier VNI carried by the uplink service flow has a mapping relationship with the address code of the target ONU and a mapping relationship with the virtual port. The address code includes the slot number of the ONU, the PON number, and the ONU number.

[0008] In conjunction with the first aspect, in one implementation, forwarding the target uplink service flow to the target uplink port based on the target virtual port includes: The target uplink traffic flow is decapsulated to obtain the original uplink packet and VXLAN tunnel header; The target virtual port is determined based on the VNI carried by the VXLAN tunnel header. A first mapping relationship is constructed between the target virtual port and the source MAC address and its corresponding VLAN information carried by the uplink original packet. The first mapping relationship is used to determine the virtual port object in the downlink direction. The target uplink port is determined by the destination MAC address and its corresponding VLAN information carried in the original uplink packet; The original uplink packets are forwarded to the target uplink port based on the target virtual port.

[0009] In conjunction with the first aspect, in one implementation, the step of forwarding the target downlink service flow corresponding to the target ONU through the target VXLAN tunnel to the target PON service board based on the target virtual port includes: Receive the first downlink service flow output from the target uplink port, and construct a second mapping relationship between the target uplink port and the source MAC address and its corresponding VLAN information carried by the first downlink service flow. The second mapping relationship is used to determine the uplink port object in the uplink direction. If the destination port of the first downlink service flow is determined to be the target virtual port based on the destination MAC address and VLAN information carried by the first downlink service flow, then the target VNI is determined based on the target virtual port; The target PON service board is determined based on the target VNI, and the first downlink service flow is encapsulated by the pre-stored VXLAN tunnel endpoint VTEP IP address corresponding to the target PON service board and the MAC address corresponding to the VTEP IP address to obtain the target downlink service flow. Control the target downlink service flow to enter the target VXLAN tunnel based on the target virtual port and forward it to the target PON service board.

[0010] In conjunction with the first aspect, in one implementation, the step of remotely mirroring and capturing target uplink and / or downlink traffic flowing through the target virtual port using preset packet capture rules corresponding to the target ONU bound to the target virtual port includes: When the target uplink or downlink traffic flows through the target virtual port, the target uplink or downlink traffic flows that conform to the preset packet capture rules are mirrored to the preset destination port for encapsulation and target packets are generated. The target message is forwarded to the packet capture server to enable remote operation and maintenance of the target ONU.

[0011] In conjunction with the first aspect, in one embodiment, the method further includes: When the target information of the target ONU configured by the user is received, the target virtual port is determined based on the target information, which includes the slot number, PON number and ONU number of the target ONU; Bind the preset packet capture rules to the target virtual port.

[0012] In conjunction with the first aspect, in one implementation, the preset packet capture rules include the data packet capture direction and the destination port of the mirror, wherein the data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

[0013] Secondly, embodiments of this application provide a remote equipment operation and maintenance system, the remote equipment operation and maintenance system including a core switchboard, the core switchboard being used for: The target uplink service flow corresponding to the target ONU is received by the target PON service board through the preset target VXLAN tunnel, and the target uplink service flow is forwarded to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. Based on the target virtual port, the target downlink service flow corresponding to the target ONU is forwarded to the target PON service board through the target VXLAN tunnel; Remotely mirror and capture packets of the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU. Among them, the VXLAN network identifier VNI carried by the uplink service flow has a mapping relationship with the address code of the target ONU and a mapping relationship with the virtual port. The address code includes the slot number of the ONU, the PON number, and the ONU number.

[0014] Thirdly, this application provides another method for remote operation and maintenance of equipment, which is applied to a PON service board and includes: When the first uplink service stream sent by the target ONU is received, the first uplink service stream is encapsulated by VXLAN to generate the target uplink service stream. The VNI field of the target uplink service stream is filled based on the address code of the target ONU. The address code includes the slot number where the ONU is located, the PON number, and the ONU number. The target uplink service flow is sent to the core switching board through a preset target VXLAN tunnel, so that the core switching board can forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. There is a mapping relationship between VNI and virtual port. Receive the target downlink traffic forwarded by the core switching board based on the target virtual port through the target VXLAN tunnel; The core switching disk remotely mirrors and captures the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU.

[0015] In conjunction with the third aspect, in one implementation, the step of performing VXLAN encapsulation on the first uplink service flow to generate the target uplink service flow includes: The slot number, PON number, and ONU number corresponding to the target ONU are encoded to obtain the address code; During the VXLAN encapsulation of the first uplink service flow, the address code is mapped to the VNI field of the VXLAN tunnel header to generate the target uplink service flow.

[0016] In conjunction with the third aspect, in one implementation, after the step of receiving the target downlink traffic flow forwarded by the core switch based on the target virtual port through the target VXLAN tunnel, the method further includes: Decapsulate the target downlink service flow to obtain the original downlink message; The target ONU is determined by the destination MAC address and its corresponding VLAN information carried in the downlink original message; Forward the original downlink message to the target ONU.

[0017] In conjunction with the third aspect, in one implementation, the preset packet capture rules include a data packet capture direction and a mirror destination port, wherein the data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

[0018] Fourthly, embodiments of this application provide another remote equipment operation and maintenance system, which includes a PON service board, the PON service board being used for: When the first uplink service stream sent by the target ONU is received, the first uplink service stream is encapsulated by VXLAN to generate the target uplink service stream. The VNI field of the target uplink service stream is filled based on the address code of the target ONU. The address code includes the slot number where the ONU is located, the PON number, and the ONU number. The target uplink service flow is sent to the core switching board through a preset target VXLAN tunnel, so that the core switching board can forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. There is a mapping relationship between VNI and virtual port. Receive the target downlink traffic forwarded by the core switching board based on the target virtual port through the target VXLAN tunnel; The core switching disk remotely mirrors and captures the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU.

[0019] Fifthly, embodiments of this application provide a remote equipment operation and maintenance device, which includes a processor, a memory, and a remote equipment operation and maintenance program stored in the memory and executable by the processor. When the remote equipment operation and maintenance program is executed by the processor, it implements the steps of the aforementioned remote equipment operation and maintenance method.

[0020] Sixthly, embodiments of this application provide a computer-readable storage medium storing a device remote operation and maintenance program, wherein when the device remote operation and maintenance program is executed by a processor, it implements the steps of the device remote operation and maintenance method as described above.

[0021] The beneficial effects of the technical solutions provided in this application include at least the following: The system receives the target uplink service flow corresponding to the target ONU sent by the target PON service board through the target VXLAN tunnel between the target PON service board where the target ONU is located and the core switching board. The VNI carried by the uplink service flow has a mapping relationship with the address code of the target ONU (i.e., including the slot number, PON number, and ONU number of the ONU) and a mapping relationship between the VNI and the virtual port. Based on the target virtual port, the system forwards the target uplink service flow to the target uplink port. Based on the target virtual port, the system forwards the target downlink service flow corresponding to the target ONU to the target PON service board through the target VXLAN tunnel. The system remotely mirrors and captures packets of the target uplink service flow and / or target downlink service flow flowing through the target virtual port through the preset packet capture rules bound to the target virtual port corresponding to the target ONU. As can be seen, this application, without changing the existing hardware, establishes a VXLAN tunnel between the core switching board and the PON service board, maps ONU objects to VNIs, and simultaneously maps VNIs to virtual ports (VPORTs) on the core switching board. This enables all ONU objects in the system to be mapped to the VPORTs of the core switching board. Then, remote mirroring is achieved through the packet capture rules bound to the VPORTs of the core switching board, thereby realizing bidirectional remote operation and maintenance of ONU devices and improving the user experience. Attached Figure Description

[0022] Figure 1 This is a flowchart illustrating the first embodiment of the remote operation and maintenance method for equipment according to this application; Figure 2 This is a schematic diagram illustrating the VXLAN principle of ONU service flow encapsulation in the embodiments of this application; Figure 3 This is a schematic diagram illustrating the principle of ONU mapping to VNI in the embodiments of this application; Figure 4 This is a schematic diagram of the VPORT image packet capture process involved in the embodiments of this application; Figure 5 This is a flowchart illustrating the second embodiment of the remote operation and maintenance method for equipment in this application; Figure 6 This is a schematic diagram of the hardware structure of the remote operation and maintenance device involved in the embodiments of this application. Detailed Implementation

[0023] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0024] First, some of the technical terms used in this application will be explained to help those skilled in the art understand this application.

[0025] VXLAN (Virtual Extensible LAN): Virtual Extensible Local Area Network.

[0026] VNI (VXLAN Network Identifier): A 24-bit identifier used in VXLAN to identify different VXLAN networks and distinguish between different virtual networks.

[0027] VXLAN tunnels are logical transmission channels established on IP networks to encapsulate and transmit raw Layer 2 Ethernet frames (including MAC addresses, VLAN information, etc.) to achieve Layer 2 communication across physical networks. Essentially, they construct a virtual Layer 2 network environment on a Layer 3 IP network by nesting raw Ethernet frames within UDP packets (i.e., "tunnel encapsulation").

[0028] VTEP (VXLAN Tunnel End Point): A VXLAN tunnel endpoint, which is the device endpoint in a VXLAN network responsible for encapsulating and decapsulating VXLAN packets. It is usually located on a switch or router.

[0029] VPORT (Virtual Port): A virtual port is a port that is logically partitioned by software in network devices such as switches or routers. It can be configured and managed independently to implement specific network functions.

[0030] VLANIF (VLAN Interface): A VLAN interface is a virtual interface on a router or Layer 3 switch used to connect different VLANs and enable routing between VLANs.

[0031] UDP (User Datagram Protocol): It is a connectionless transport layer protocol that provides simple and fast data transmission, but does not guarantee reliability. It is often used in real-time applications and network monitoring.

[0032] MAC (Media Access Control): It is the physical address of a device in a network, consisting of 6 bytes, used to uniquely identify the device in the network.

[0033] ARP (Address Resolution Protocol): This protocol maps IP addresses to physical MAC addresses, ensuring that data packets are transmitted correctly within a local area network.

[0034] ACL (Access Control List): A list of rules in a network device used to control whether data packets can pass through.

[0035] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0036] In a first aspect, embodiments of this application provide a method for remote operation and maintenance of equipment, which is applied to a core switch.

[0037] In one embodiment, reference is made to Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the remote operation and maintenance method for equipment according to this application. Figure 1 As shown, the remote operation and maintenance methods for equipment include: Step S10: Receive the target uplink service flow corresponding to the target ONU sent by the target PON service board through a preset target VXLAN tunnel, and forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. The VXLAN network identifier (VNI) carried by the uplink service flow has a mapping relationship with the address code of the target ONU, and the VNI also has a mapping relationship with the virtual port. The address code includes the slot number of the ONU, the PON number, and the ONU number.

[0038] As an example, it should be noted that the target ONU refers to the ONU that the user side expects to achieve remote operation and maintenance for. In this embodiment, a target VXLAN tunnel will be created between the target PON service board where the user-configured target ONU object is located and the core switching board to provide a transmission medium for data interaction between the PON service board and the core switching board, thereby providing a basis for the ONU object under the OLT to be mapped to the core switching board of the OLT.

[0039] It is worth noting that, see Figure 2As shown, this embodiment also constructs two mapping relationships: (1) the correspondence between VNI and ONU address codes; (2) the correspondence between VNI and virtual ports (VPORT). Specifically, for each ONU in the system, the PON service board will uniformly address it according to its slot number + PON number + ONU number to obtain the address code, and then map the address code to the VNI of the VXLAN to form a mapping relationship between VNI and address code; wherein, the slot number can preferably use 5 bits (0-31, the system supports 32 slots), the PON number can preferably use 5 bits (0-31, one slot supports 32 PON ports), and the ONU number can preferably use 8 bits (0-255, one PON port supports 256 ONUs), see Figure 3 As shown, the address code can preferably be mapped to the VNI (24 bits) in bit form. It should be noted that mapping the address code to the VNI in bit form is merely an example; other mapping methods can be chosen according to actual needs. Furthermore, the VXLAN VNI is mapped to the VPORT of the switching chip on the core switching board, forming a mapping relationship between VNI and VPORT. Therefore, this embodiment can map each ONU in the system to a different VPORT through the above two mapping relationships, thus enabling all ONU objects in the system to be mapped to the core switching board, thereby identifying all service flows of the ONU object to be captured.

[0040] It should be understood that when implementing data interaction between the PON service board and the core switch, it is necessary to control the PON service board and the core switch to initiate ARP resolution based on the VTEP IP address of the peer (this IP address is the communication IP address inside the OLT) to learn the MAC address of the peer VTEP, thereby providing an interaction basis for packet encapsulation and decapsulation. Specifically, the PON service board initiates ARP resolution based on the VTEP IP address of the core switch to learn the VTEP MAC address of the core switch, and the core switch initiates ARP resolution based on the VTEP IP address of the PON service board to learn the VTEP MAC address of the PON service board.

[0041] Based on this, see Figure 2As shown, for the uplink direction of the service flow, when the target PON service board receives the uplink service flow sent by the target ONU located on it, it encapsulates it into the target VXLAN tunnel, so that the destination MAC of the VXLAN tunnel header is the MAC address of the core switching board VTEP that it has learned, and the destination IP is the IP address of the core switching board VTEP. The address code of the target ONU (including the slot number, PON number, and ONU number) is filled into the VNI field of the VXLAN tunnel header to generate the target uplink service flow. Then, it is forwarded to the core switching board through the target VXLAN tunnel, so that the core switching board VTEP receives the VXLAN encapsulated packet (i.e., the target uplink service flow) and decapsulates it to obtain the target VPORT according to the VNI information filled in. Finally, the original packet corresponding to the target uplink service flow is forwarded to the target uplink port through the target VPORT.

[0042] Further, in one embodiment, forwarding the target uplink service flow to the target uplink port based on the target virtual port includes: The target uplink traffic flow is decapsulated to obtain the original uplink packet and VXLAN tunnel header; The target virtual port is determined based on the VNI carried by the VXLAN tunnel header. A first mapping relationship is constructed between the target virtual port and the source MAC address and its corresponding VLAN information carried by the uplink original packet. The first mapping relationship is used to determine the virtual port object in the downlink direction. The target uplink port is determined by the destination MAC address and its corresponding VLAN information carried in the original uplink packet; The original uplink packets are forwarded to the target uplink port based on the target virtual port.

[0043] In this exemplary embodiment, the core switching board receives the target uplink service flow via VTEP and decapsulates it to remove the VXLAN tunnel header. Based on the VNI information filled in the VXLAN tunnel header, it obtains the target VPORT as the learning port for the packet and learns the source MAC address + VLAN information of the original uplink packet to construct a first mapping relationship between the target VPORT and the source MAC address + VLAN information, which is used to determine the VPORT object in the downlink direction. At the same time, it finds and forwards the packet to the designated uplink port (i.e., the target uplink port) based on the destination MAC + VLAN information of the original uplink packet. Finally, the original uplink packet is forwarded to the target uplink port through the target VPORT.

[0044] Step S20: Based on the target virtual port, forward the target downlink service flow corresponding to the target ONU to the target PON service board through the target VXLAN tunnel.

[0045] As an example, for the downlink direction of the service flow, when the core switching board receives the downlink service flow sent by the target uplink port, it will determine the target VPORT based on the destination MAC+VLAN information carried by the downlink service flow and the learned first mapping relationship; then, based on the mapping relationship between VNI and VPORT, the downlink service flow will be encapsulated into a VXLAN tunnel to form the target downlink service flow and sent to the target PON service board.

[0046] Further, in one embodiment, the step of forwarding the target downlink service flow corresponding to the target ONU through the target VXLAN tunnel to the target PON service board based on the target virtual port includes: Receive the first downlink service flow output from the target uplink port, and construct a second mapping relationship between the target uplink port and the source MAC address and its corresponding VLAN information carried by the first downlink service flow. The second mapping relationship is used to determine the uplink port object in the uplink direction. If the destination port of the first downlink service flow is determined to be the target virtual port based on the destination MAC address and VLAN information carried by the first downlink service flow, then the target VNI is determined based on the target virtual port; The target PON service board is determined based on the target VNI, and the first downlink service flow is encapsulated by the pre-stored VXLAN tunnel endpoint VTEP IP address corresponding to the target PON service board and the MAC address corresponding to the VTEP IP address to obtain the target downlink service flow. Control the target downlink service flow to enter the target VXLAN tunnel based on the target virtual port and forward it to the target PON service board.

[0047] In this exemplary embodiment, when the core switching board receives the first downlink service flow output from the target uplink port, it learns the correspondence between the source MAC+VLAN information of the packet and the target uplink port to construct a second mapping relationship between the source MAC address+VLAN information and the target uplink port, which is used to determine the uplink port object in the uplink direction. At the same time, it searches for forwarding based on the destination MAC+VLAN information carried by the first downlink service flow. If its destination port is found to be VPORT, the target VNI is determined according to the mapping relationship between VNI and VPORT. Then, the target PON service board is determined through the PON port recorded in the target VNI, and the first downlink service flow is encapsulated into the target VXLAN tunnel, so that the destination MAC of the VXLAN tunnel header is the MAC address of the target PON service board VTEP that it has learned, and the destination IP is the IP address of the target PON service board VTEP. Finally, it is forwarded to the target PON service board through the target VPORT.

[0048] Step S30: Remotely mirror and capture packets of the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU. The preset packet capture rules include the data packet capture direction and the destination port for mirroring. The data packet capture direction includes one of uplink packet capture, downlink packet capture, or bidirectional packet capture.

[0049] As an example, it should be understood that before remotely operating and maintaining the target ONU, a data interaction foundation needs to be provided for subsequent packet capture. Specifically, the user side needs to configure a VLANIF interface and its corresponding IP address on the core switching board, where the VLANIF interface is used to manage the OLT. Simultaneously, the user side will configure the IP address of the packet capture server and the UDP port number for monitoring the packet capture software. Furthermore, the core switching board sends an ARP request to the packet capture server through the VLANIF interface to obtain the next-hop information (i.e., the MAC address corresponding to the next hop) reaching the packet capture server. Based on this, the user side will also pre-configure the ONU information to be maintained and its corresponding preset packet capture rules (i.e., ACL packet capture rules). These preset packet capture rules include, but are not limited to, the direction of the service flow to be mirrored (e.g., uplink packet capture, downlink packet capture, or bidirectional packet capture) and the destination port for mirroring, which is typically an internal port of the switching chip on the core switch. Finally, the preset packet capture rules will be bound to the specified VPORT according to the ONU information, and the aforementioned next-hop information and the UDP port number for monitoring the packet capture software configured on the user side will be distributed and bound to the aforementioned internal port.

[0050] Based on this, when a target uplink and / or downlink service flow passes through a target VPORT for forwarding, remote mirroring packet capture of the target uplink and / or downlink service flows will be performed unidirectionally or bidirectionally according to the preset packet capture rules bound to it. It is evident that this embodiment effectively realizes remote ONU operation and maintenance, solves the problem of difficult ONU service packet capture, greatly improves the efficiency of problem troubleshooting, and simultaneously achieves manageable and controllable service forwarding of ONU objects on the core switching disk.

[0051] In summary, this embodiment, without changing the existing hardware, establishes a VXLAN tunnel between the core switching board and the PON service board, maps ONU objects to VNIs, and simultaneously maps VNIs to virtual ports (VPORTs) on the core switching board. This enables all ONU objects in the system to be mapped to the VPORTs of the core switching board. Then, remote mirroring is achieved through packet capture rules bound to the VPORTs of the core switching board, thereby realizing bidirectional remote operation and maintenance of ONU devices and improving user experience.

[0052] Furthermore, in one embodiment, the remote operation and maintenance method for the device further includes: When the target information of the target ONU configured by the user is received, the target virtual port is determined based on the target information, which includes the slot number, PON number and ONU number of the target ONU; Bind the preset packet capture rules to the target virtual port.

[0053] As an example, in this embodiment, when the target information of the target ONU configured by the user (including the slot number, PON number, and ONU number of the ONU) is received, the target VPORT corresponding to the core switching board can be found according to the correspondence between VNI and ONU address code and VPORT respectively; then, the preset packet capture rules corresponding to the target ONU, including but not limited to the service flow direction to be mirrored and the mirror destination port, are bound to the target VPORT so as to perform one-way or two-way packet capture on the upstream and downstream service flows corresponding to the target ONU that flow through the target VPORT through the preset packet capture rules.

[0054] Further, in one embodiment, the step of remotely mirroring and capturing the target uplink and / or downlink traffic flowing through the target virtual port using a preset packet capture rule bound to the target virtual port and corresponding to the target ONU includes: When the target uplink or downlink traffic flows through the target virtual port, the target uplink or downlink traffic flows that conform to the preset packet capture rules are mirrored to the preset destination port for encapsulation and target packets are generated. The target message is forwarded to the packet capture server to enable remote operation and maintenance of the target ONU.

[0055] Exemplary, see Figure 4As shown, when the uplink and downlink traffic corresponding to the target ONU is forwarded through the target VPORT, the switching chip mirrors the packets that meet the preset packet capture conditions (for example, the preset packet capture rule is to only capture the downlink traffic of the ONU, then the downlink traffic passing through the target VPORT meets the packet capture conditions) to the preset destination port (i.e., the mirroring destination port in the preset packet capture rule, which is also the internal port of the switching chip) for encapsulation to obtain the target packet; where the destination MAC of the target packet is the MAC address corresponding to the next hop obtained in the previous steps, the source MAC is the MAC address of the VLANIF interface, and the VLAN is the VLANIF interface. The target packet is configured with the VLAN, destination IP (the IP address of the packet capture server), source IP (the IP address of the VLANIF interface), and UDP destination port (the UDP port configured by the user in the previous steps), with the source port and destination port being consistent. Finally, the target packet is transmitted sequentially to the router, the Internet, and the packet capture server via a remote packet capture tunnel. The packet capture server then uses the packet capture tools deployed on it to decapsulate the target packet, that is, to strip the UDP header encapsulated in the target packet, restore the original packet of the target ONU, and store it in a format such as pcap. This completes the remote operation and maintenance of the target ONU.

[0056] Secondly, embodiments of this application also provide a remote equipment operation and maintenance system.

[0057] In one embodiment, the remote equipment operation and maintenance system includes a core switch disk, which is used for: The target uplink service flow corresponding to the target ONU is received by the target PON service board through the preset target VXLAN tunnel, and the target uplink service flow is forwarded to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. Based on the target virtual port, the target downlink service flow corresponding to the target ONU is forwarded to the target PON service board through the target VXLAN tunnel; Remotely mirror and capture packets of the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU. Among them, the VXLAN network identifier VNI carried by the uplink service flow has a mapping relationship with the address code of the target ONU and a mapping relationship with the virtual port. The address code includes the slot number of the ONU, the PON number, and the ONU number.

[0058] Furthermore, in one embodiment, the core switch disk is specifically used for: The target uplink traffic flow is decapsulated to obtain the original uplink packet and VXLAN tunnel header; The target virtual port is determined based on the VNI carried by the VXLAN tunnel header. A first mapping relationship is constructed between the target virtual port and the source MAC address and its corresponding VLAN information carried by the uplink original packet. The first mapping relationship is used to determine the virtual port object in the downlink direction. The target uplink port is determined by the destination MAC address and its corresponding VLAN information carried in the original uplink packet; The original uplink packets are forwarded to the target uplink port based on the target virtual port.

[0059] Furthermore, in one embodiment, the core switch disk is specifically used for: Receive the first downlink service flow output from the target uplink port, and construct a second mapping relationship between the target uplink port and the source MAC address and its corresponding VLAN information carried by the first downlink service flow. The second mapping relationship is used to determine the uplink port object in the uplink direction. If the destination port of the first downlink service flow is determined to be the target virtual port based on the destination MAC address and VLAN information carried by the first downlink service flow, then the target VNI is determined based on the target virtual port; The target PON service board is determined based on the target VNI, and the first downlink service flow is encapsulated by the pre-stored VXLAN tunnel endpoint VTEP IP address corresponding to the target PON service board and the MAC address corresponding to the VTEP IP address to obtain the target downlink service flow. Control the target downlink service flow to enter the target VXLAN tunnel based on the target virtual port and forward it to the target PON service board.

[0060] Furthermore, in one embodiment, the core switch disk is specifically used for: When the target uplink or downlink traffic flows through the target virtual port, the target uplink or downlink traffic flows that conform to the preset packet capture rules are mirrored to the preset destination port for encapsulation and target packets are generated. The target message is forwarded to the packet capture server to enable remote operation and maintenance of the target ONU.

[0061] Furthermore, in one embodiment, the core switchboard is also used for: When the target information of the target ONU configured by the user is received, the target virtual port is determined based on the target information, which includes the slot number, PON number and ONU number of the target ONU; Bind the preset packet capture rules to the target virtual port.

[0062] Furthermore, in one embodiment, the preset packet capture rules include the data packet capture direction and the destination port of the mirror, wherein the data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

[0063] The functions of the core switch in the above-mentioned remote operation and maintenance system correspond to the steps in the first embodiment of the above-mentioned remote operation and maintenance method. Its functions and implementation process will not be described in detail here.

[0064] Thirdly, this application embodiment also provides another method for remote operation and maintenance of equipment, which is applied to PON service boards.

[0065] In one embodiment, reference is made to Figure 5 , Figure 5 This is a flowchart illustrating the second embodiment of the remote operation and maintenance method for equipment according to this application. Figure 5 As shown, the remote operation and maintenance methods for equipment include: Step N10: When the first uplink service flow sent by the target ONU is received, the first uplink service flow is encapsulated in VXLAN to generate the target uplink service flow. The VNI field of the target uplink service flow is filled based on the address code of the target ONU. The address code includes the slot number of the ONU, the PON number and the ONU number.

[0066] As an example, in this embodiment, it is necessary to establish a correspondence between VNI and ONU address codes: For each ONU in the system, the PON service board will uniformly address according to the slot number of the ONU + PON number + ONU number to obtain the address code, and then map the address code to the VNI of the VXLAN to form a mapping relationship between VNI and address code; wherein, the slot number can preferably use 5 bits, the PON number can preferably use 5 bits, and the ONU number can preferably use 8 bits, which is not limited here.

[0067] It should be understood that when implementing data interaction between the PON service board and the core switch, it is necessary to control both the PON service board and the core switch to initiate ARP resolution based on the VTEP IP address of the peer to learn the MAC address of the peer VTEP, thereby providing an interaction basis for packet encapsulation and decapsulation. Specifically, the PON service board initiates ARP resolution based on the VTEP IP address of the core switch to learn the VTEP MAC address of the core switch, and the core switch initiates ARP resolution based on the VTEP IP address of the PON service board to learn the VTEP MAC address of the PON service board.

[0068] Based on this, see Figure 2As shown, for the uplink direction of the service flow, when the target PON service board receives the first uplink service flow sent by the target ONU located on it, it will learn the correspondence between the source MAC address + VLAN information carried by the first uplink service flow and the target ONU service flow, so that the target PON service board can determine the ONU object in the downlink direction of the service flow; and encapsulate the first uplink service flow with VXLAN. In this process, the address code of the target ONU is mapped to the VNI, and the destination MAC of the VXLAN tunnel head is set to the MAC address of the core switching board VTEP that it has learned, and the destination IP is set to the IP address of the core switching board VTEP, so as to generate the target uplink service flow.

[0069] Further, in one embodiment, the step of performing VXLAN encapsulation on the first uplink service flow to generate the target uplink service flow includes: The slot number, PON number, and ONU number corresponding to the target ONU are encoded to obtain the address code; During the VXLAN encapsulation of the first uplink service flow, the address code is mapped to the VNI field of the VXLAN tunnel header to generate the target uplink service flow.

[0070] In this exemplary embodiment, when the target PON service board receives the first uplink service stream sent by the target ONU, it first performs unified encoding on the slot number, PON port number, and ONU number corresponding to the target ONU to obtain an address code with a length of 18 bits; then, it performs VXLAN encapsulation on the first uplink service stream. During this process, see [link to relevant documentation]. Figure 3 As shown, the 18-bit address code can be preferably mapped to the lower 18 bits of the VNI (which is 24 bits according to the VXLAN standard) in the form of bits, and finally the target uplink service flow is generated.

[0071] Step N20: Send the target uplink service flow to the core switching board through the preset target VXLAN tunnel, so that the core switching board can forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. There is a mapping relationship between VNI and virtual port.

[0072] As an example, in this embodiment, a target VXLAN tunnel is created between the target PON service board where the user-configured target ONU object resides and the core switching board. This provides a transmission medium for data interaction between the PON service board and the core switching board, thereby providing the foundation for mapping ONU objects connected to the OLT onto the OLT's core switching board. It is worth noting that this embodiment also establishes a mapping relationship between VNIs and VPORTs: the VXLAN VNI is mapped to the VPORT of the switching chip on the core switching board through the core switching board, forming a mapping relationship between VNIs and VPORTs. This allows each ONU in the system to be mapped to a different VPORT, meaning all ONU objects in the system can be mapped to the core switching board, thus enabling the identification of all service flows of the ONU object to be captured.

[0073] Based on this, the target PON service board forwards the target uplink service flow to the core switching board through the target VXLAN tunnel. The core switching board's VTEP receives and decapsulates the target uplink service flow, then obtains the target VPORT based on the VNI information and the mapping relationship between VNI and VPORT. Finally, it forwards the original uplink packet corresponding to the target uplink service flow to the target uplink port through this target VPORT. It should be noted that the specific implementation method and principle of how the core switching board forwards the target uplink service flow to the target uplink port are described in the first embodiment and will not be repeated here.

[0074] Step N30: ​​Receive the target downlink service flow forwarded by the core switching board based on the target virtual port through the target VXLAN tunnel; wherein, the core switching board remotely mirrors and captures the target uplink service flow and / or target downlink service flow flowing through the target virtual port using a preset packet capture rule bound to the target virtual port and corresponding to the target ONU; the preset packet capture rule includes the data packet capture direction and the mirroring destination port, and the data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

[0075] In this exemplary embodiment, for the downlink direction of the service flow, when the core switching board receives a downlink service flow sent by the target uplink port, it will determine the target VPORT based on the destination MAC+VLAN information carried by the downlink service flow and the learned first mapping relationship. Then, according to the mapping relationship between VNI and VPORT, the downlink service flow is encapsulated into a VXLAN tunnel to form a target downlink service flow, such that the destination MAC of the VXLAN tunnel header of the target downlink service flow is the MAC address of the target PON service board VTEP and the destination IP is the IP address of the target PON service board VTEP, and then sent to the target PON service board. When the target PON service board VTEP receives the target downlink service flow based on the target VXLAN tunnel, it will decapsulate it and forward it to the target ONU. It should be noted that the method and principle of how the core switching board implements the forwarding of downlink service flows are detailed in the first embodiment and will not be repeated here.

[0076] It is worth noting that this embodiment will perform unidirectional or bidirectional remote packet capture of the target uplink and / or downlink service flows flowing through the target VPORT on the core switching board and the preset packet capture rules bound to it and corresponding to the target ONU. The preset packet capture rules include, but are not limited to, the direction of the service flow to be mirrored (e.g., uplink packet capture, downlink packet capture, or bidirectional packet capture) and the destination port for mirroring. This destination port is typically an internal port of the switching chip on the core switch. It should be noted that the specific implementation method and principle of remote packet capture are detailed in the first embodiment and will not be repeated here. Therefore, this embodiment effectively realizes remote ONU operation and maintenance, solves the problem of difficult ONU service packet capture, greatly improves the efficiency of problem troubleshooting, and simultaneously achieves manageable and controllable service forwarding of ONU objects on the core switching board.

[0077] Furthermore, in one embodiment, after the step of receiving the target downlink service flow forwarded by the core switch based on the target virtual port through the target VXLAN tunnel, the method further includes: Decapsulate the target downlink service flow to obtain the original downlink message; The target ONU is determined by the destination MAC address and its corresponding VLAN information carried in the downlink original message; Forward the original downlink message to the target ONU.

[0078] As an example, in this embodiment, when the target PON service board VTEP receives the downlink-encapsulated VXLAN service flow (i.e., the target downlink service flow), it will decapsulate it to remove the VXLAN tunnel header and obtain the downlink original packet; at the same time, it will search and forward the packet to the designated target ONU based on the destination MAC address + VLAN information of the downlink original packet and the correspondence between the source MAC + VLAN information of the ONU-side original packet and the ONU service flow that has been learned before.

[0079] In summary, this application specifically addresses the remote operation and maintenance requirements of current GPON / EPON system OLTs by designing a remote mirroring method. This method solves the problem that current remote operation and maintenance systems do not support packet capture based on PON port objects and ONU objects. The specific solution is implemented in three modules: an ONU object management module, a VXLAN tunnel management module, and a packet capture management module. The ONU object management module is installed on the PON service board and is responsible for uniformly addressing ONU objects according to slot number + PON number + ONU number and mapping them to the VNI of the VXLAN tunnel. The VXLAN tunnel management module is installed on the core switching board. In the PON service board, the core switching board is responsible for managing the VXLAN tunnel between the core switching board and the PON service board. The PON service board encapsulates the uplink service flow of the ONU object to be captured into the VXLAN tunnel, and the core switching board encapsulates the downlink service flow corresponding to the ONU object to be captured into the VXLAN tunnel. The core switching board also needs to manage the mapping relationship between VNI and VPORT of the switching chip. The mirrored packet capture management module is installed on the core switching board and is responsible for managing the packet capture request configuration issued by the user. It looks up the VNI according to the user's specified packet capture ONU object, then looks up the VPORT according to the VNI, and binds the ACL packet capture rules to the VPORT.

[0080] As can be seen, this application involves the core switching board of the OLT system, the PON service board port, and the ONU connected to the PON service board port. The core switching board is responsible for decapsulating the uplink VXLAN service flow and managing the mapping relationship between VNI and VPORT. It captures service packets based on VPORT and sends them to the packet capture server. The PON service board is responsible for encapsulating the uplink service flow of the ONU into the VXLAN tunnel, and for decapsulating the VXLAN service flow in the downlink direction and forwarding it to the designated ONU.

[0081] In summary, this application, without altering the existing hardware, establishes a VXLAN tunnel between the core switching board and the PON service board, maps ONU objects to VNIs, and simultaneously maps VNIs to virtual ports (VPORTs) on the core switching board. This enables all ONU objects in the system to be mapped to the VPORTs of the core switching board. Furthermore, remote mirroring is achieved through packet capture rules bound to the VPORTs of the core switching board, thereby realizing bidirectional remote operation and maintenance of ONU devices and improving user experience.

[0082] Fourthly, embodiments of this application also provide another remote equipment operation and maintenance system.

[0083] In one embodiment, the remote operation and maintenance system for equipment includes a PON service board, which is used for: When the first uplink service stream sent by the target ONU is received, the first uplink service stream is encapsulated by VXLAN to generate the target uplink service stream. The VNI field of the target uplink service stream is filled based on the address code of the target ONU. The address code includes the slot number where the ONU is located, the PON number, and the ONU number. The target uplink service flow is sent to the core switching board through a preset target VXLAN tunnel, so that the core switching board can forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. There is a mapping relationship between VNI and virtual port. Receive the target downlink traffic forwarded by the core switching board based on the target virtual port through the target VXLAN tunnel; The core switching disk remotely mirrors and captures the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU.

[0084] Furthermore, in one embodiment, the PON service board is specifically used for: The slot number, PON number, and ONU number corresponding to the target ONU are encoded to obtain the address code; During the VXLAN encapsulation of the first uplink service flow, the address code is mapped to the VNI field of the VXLAN tunnel header to generate the target uplink service flow.

[0085] Furthermore, in one embodiment, the PON service board is specifically used for: Decapsulate the target downlink service flow to obtain the original downlink message; The target ONU is determined by the destination MAC address and its corresponding VLAN information carried in the downlink original message; Forward the original downlink message to the target ONU.

[0086] Furthermore, in one embodiment, the preset packet capture rules include data packet capture direction and mirror destination port, wherein the data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

[0087] The functions of the PON service board in the above-mentioned remote operation and maintenance system correspond to the steps in the third embodiment of the above-mentioned remote operation and maintenance method. Its functions and implementation process will not be described in detail here.

[0088] Fifthly, embodiments of this application provide a remote equipment operation and maintenance device, which can be a personal computer (PC), laptop computer, server, or other device with data processing capabilities.

[0089] Reference Figure 6 , Figure 6 This is a schematic diagram of the hardware structure of the remote equipment operation and maintenance device involved in the embodiments of this application. In the embodiments of this application, the remote equipment operation and maintenance device may include a processor, a memory, a communication interface, and a communication bus.

[0090] The communication bus can be of any type and is used to interconnect the processor, memory, and communication interface.

[0091] Communication interfaces include input / output (I / O) interfaces, physical interfaces, and logical interfaces used for interconnecting devices within the remote maintenance equipment, as well as interfaces used for interconnecting the remote maintenance equipment with other devices (such as other computing devices or user equipment). Physical interfaces can be Ethernet interfaces, fiber optic interfaces, ATM (Asynchronous Transfer Mode) interfaces, etc.; user equipment can be displays, keyboards, etc.

[0092] Memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0093] The processor can be a general-purpose processor, which can call the device remote operation and maintenance program stored in the memory and execute the device remote operation and maintenance method provided in the embodiments of this application. For example, the general-purpose processor can be a central processing unit (CPU). The method executed when the device remote operation and maintenance program is called can be referred to in the various embodiments of the device remote operation and maintenance method of this application, and will not be repeated here.

[0094] Those skilled in the art will understand that Figure 6 The hardware structure shown does not constitute a limitation of this application and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0095] Sixthly, embodiments of this application also provide a computer-readable storage medium.

[0096] The present application has a readable storage medium storing a device remote operation and maintenance program, wherein when the device remote operation and maintenance program is executed by a processor, it implements the steps of the device remote operation and maintenance method described above.

[0097] The method implemented when the remote operation and maintenance program is executed can be referred to in various embodiments of the remote operation and maintenance method of this application, and will not be repeated here.

[0098] It should be noted that the terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. The terms "first," "second," and "third," etc., are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first," "second," and "third" to different types.

[0099] In the description of the embodiments of this application, terms such as "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a concrete manner.

[0100] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.

[0101] In some processes described in the embodiments of this application, multiple operations or steps are included in a specific order. However, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of this application, or they may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.

[0102] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for remote operation and maintenance of equipment, characterized in that, The method is applied to the core swap disk, and the method includes: The target uplink service flow corresponding to the target ONU is received by the target PON service board through the preset target VXLAN tunnel, and the target uplink service flow is forwarded to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. Based on the target virtual port, the target downlink service flow corresponding to the target ONU is forwarded to the target PON service board through the target VXLAN tunnel; Remotely mirror and capture packets of the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU. Among them, the VXLAN network identifier VNI carried by the uplink service flow has a mapping relationship with the address code of the target ONU and a mapping relationship with the virtual port. The address code includes the slot number of the ONU, the PON number, and the ONU number.

2. The remote operation and maintenance method for equipment as described in claim 1, characterized in that, The forwarding of the target uplink service flow to the target uplink port based on the target virtual port includes: The target uplink traffic is decapsulated to obtain the original uplink packet and VXLAN tunnel header; The target virtual port is determined based on the VNI carried by the VXLAN tunnel header. A first mapping relationship is constructed between the target virtual port and the source MAC address and its corresponding VLAN information carried by the uplink original packet. The first mapping relationship is used to determine the virtual port object in the downlink direction. The target uplink port is determined by the destination MAC address and its corresponding VLAN information carried in the original uplink packet; The original uplink packets are forwarded to the target uplink port based on the target virtual port.

3. The remote operation and maintenance method for equipment as described in claim 1, characterized in that, The step of forwarding the target downlink service flow corresponding to the target ONU through the target VXLAN tunnel to the target PON service board based on the target virtual port includes: Receive the first downlink service flow output from the target uplink port, and construct a second mapping relationship between the target uplink port and the source MAC address and its corresponding VLAN information carried by the first downlink service flow. The second mapping relationship is used to determine the uplink port object in the uplink direction. If the destination port of the first downlink service flow is determined to be the target virtual port based on the destination MAC address and VLAN information carried by the first downlink service flow, then the target VNI is determined based on the target virtual port; The target PON service board is determined based on the target VNI, and the first downlink service flow is encapsulated by the pre-stored VXLAN tunnel endpoint VTEP IP address corresponding to the target PON service board and the MAC address corresponding to the VTEP IP address to obtain the target downlink service flow. Control the target downlink service flow to enter the target VXLAN tunnel based on the target virtual port and forward it to the target PON service board.

4. The remote operation and maintenance method for equipment as described in claim 1, characterized in that, The method of remotely mirroring and capturing target uplink and / or downlink traffic flowing through the target virtual port using preset packet capture rules bound to the target virtual port and corresponding to the target ONU includes: When the target uplink or downlink traffic flows through the target virtual port, the target uplink or downlink traffic flows that conform to the preset packet capture rules are mirrored to the preset destination port for encapsulation and target packets are generated. The target message is forwarded to the packet capture server to enable remote operation and maintenance of the target ONU.

5. The remote operation and maintenance method for equipment as described in claim 1, characterized in that, The method further includes: When the target information of the target ONU configured by the user is received, the target virtual port is determined based on the target information, which includes the slot number, PON number and ONU number of the target ONU; Bind the preset packet capture rules to the target virtual port.

6. The remote operation and maintenance method for equipment as described in claim 1, characterized in that: The preset packet capture rules include the data packet capture direction and the destination port of the mirror. The data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

7. A method for remote operation and maintenance of equipment, characterized in that, The method is applied to a PON service board, and the method includes: When the first uplink service stream sent by the target ONU is received, the first uplink service stream is encapsulated by VXLAN to generate the target uplink service stream. The VNI field of the target uplink service stream is filled based on the address code of the target ONU. The address code includes the slot number where the ONU is located, the PON number, and the ONU number. The target uplink service flow is sent to the core switching board through a preset target VXLAN tunnel, so that the core switching board can forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. There is a mapping relationship between VNI and virtual port. Receive the target downlink traffic forwarded by the core switching board based on the target virtual port through the target VXLAN tunnel; The core switching disk remotely mirrors and captures the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU.

8. The remote operation and maintenance method for equipment as described in claim 7, characterized in that, The step of encapsulating the first uplink service flow with VXLAN to generate the target uplink service flow includes: The slot number, PON number, and ONU number corresponding to the target ONU are encoded to obtain the address code; During the VXLAN encapsulation of the first uplink service flow, the address code is mapped to the VNI field of the VXLAN tunnel header to generate the target uplink service flow.

9. The remote operation and maintenance method for equipment as described in claim 7, characterized in that, Following the step of receiving the target downlink traffic flow forwarded by the core switch based on the target virtual port through the target VXLAN tunnel, the method further includes: Decapsulate the target downlink service flow to obtain the original downlink message; The target ONU is determined by the destination MAC address and its corresponding VLAN information carried in the downlink original message; Forward the original downlink message to the target ONU.

10. The remote operation and maintenance method for equipment as described in claim 7, characterized in that: The preset packet capture rules include the data packet capture direction and the mirror destination port. The data packet capture direction includes one of uplink packet capture, downlink packet capture, and bidirectional packet capture.

11. A remote equipment operation and maintenance system, characterized in that, The remote operation and maintenance system for the equipment includes a core switching disk, which is used for: The target uplink service flow corresponding to the target ONU is received by the target PON service board through the preset target VXLAN tunnel, and the target uplink service flow is forwarded to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. Based on the target virtual port, the target downlink service flow corresponding to the target ONU is forwarded to the target PON service board through the target VXLAN tunnel; Remotely mirror and capture packets of the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU. Among them, the VXLAN network identifier VNI carried by the uplink service flow has a mapping relationship with the address code of the target ONU and a mapping relationship with the virtual port. The address code includes the slot number of the ONU, the PON number, and the ONU number.

12. A remote equipment operation and maintenance system, characterized in that, The remote operation and maintenance system for the equipment includes a PON service board, which is used for: When the first uplink service stream sent by the target ONU is received, the first uplink service stream is encapsulated by VXLAN to generate the target uplink service stream. The VNI field of the target uplink service stream is filled based on the address code of the target ONU. The address code includes the slot number where the ONU is located, the PON number, and the ONU number. The target uplink service flow is sent to the core switching board through a preset target VXLAN tunnel, so that the core switching board can forward the target uplink service flow to the target uplink port based on the target virtual port. The target VXLAN tunnel is the data interaction channel between the target PON service board where the target ONU is located and the core switching board. There is a mapping relationship between VNI and virtual port. Receive the target downlink traffic forwarded by the core switching board based on the target virtual port through the target VXLAN tunnel; The core switching disk remotely mirrors and captures the target uplink and / or downlink traffic flowing through the target virtual port using the preset packet capture rules bound to the target virtual port and corresponding to the target ONU.

13. A remote equipment operation and maintenance device, characterized in that, The device remote operation and maintenance device includes a processor, a memory, and a device remote operation and maintenance program stored in the memory and executable by the processor, wherein when the device remote operation and maintenance program is executed by the processor, it implements the steps of the device remote operation and maintenance method as described in any one of claims 1 to 10.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a device remote operation and maintenance program, wherein when the device remote operation and maintenance program is executed by a processor, it implements the steps of the device remote operation and maintenance method as described in any one of claims 1 to 10.