WO2017143969A1 - Method, router, and network processor for controlling port status - Google Patents

Method, router, and network processor for controlling port status Download PDF

Info

Publication number
WO2017143969A1
WO2017143969A1 PCT/CN2017/074281 CN2017074281W WO2017143969A1 WO 2017143969 A1 WO2017143969 A1 WO 2017143969A1 CN 2017074281 W CN2017074281 W CN 2017074281W WO 2017143969 A1 WO2017143969 A1 WO 2017143969A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
packet
indication message
indication
cpu
Prior art date
Application number
PCT/CN2017/074281
Other languages
French (fr)
Chinese (zh)
Inventor
张夏
陈慧斌
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2017143969A1 publication Critical patent/WO2017143969A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/12Interfaces between hierarchically different network devices between access points and access point controllers

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method for controlling a port state, a routing device, and a network processor.
  • the present application relates to the field of communications, and in particular, to a packet transmission method and apparatus.
  • IPRAN Internet Protocol Radio Bearer Network
  • a radio base station to a radio network controller passes through a multi-layer link, and includes a link (Last Mile) and a slave link from the radio base station to the box router.
  • a box router connected to a wireless base station arrives at a link of a frame router, aggregates a large number of frame routers to a link of a small number of frame routers, and connects a small number of frame routers to a link of the RNC (Core) .
  • the frame router itself has many interconnected links. Even if the port shutdown occurs, it will not cause disconnection, and the box routers near the user side have fewer interconnect links.
  • port 1 on the A device is shut down, the A device can still connect to the network management device through other ports, so it will not cause disconnection.
  • port 2 on the B device is shut down, the connection between the B device and the network management device will be lost, resulting in disconnection. After the disconnection occurs, you can only enter the equipment room where the B device is located. Connect the B device through the serial cable to perform the undo shutdown operation.
  • the device in the IPRAN can only enter the machine room where the device is located to perform the undo shutdown operation.
  • the operation is complicated and it takes a lot of manpower and time.
  • the embodiment of the present invention provides a method and a device for controlling the state of a port, which are used to solve the problem that the device in the IPRAN is disconnected from the device in the equipment room where the device is located, and the operation is complicated. It will cost a lot of manpower and time.
  • An embodiment of the present application provides a method for controlling a state of a port, including:
  • the first port in the closed state of the first device receives the indication packet sent by the second port of the second device, where the first port in the closed state can only receive the packet, and cannot send the packet to the second device.
  • the first port sends the indication message to the network processor NP in the first device; the NP judgment in the first device Whether the indication message is a message indicating that the port is closed, and if yes, transmitting the indication message to the central processing unit CPU in the first device;
  • the CPU in the first device After receiving the indication message of the NP transmission, the CPU in the first device instructs the first port to release the shutdown state.
  • the foregoing method implements port state control by sending an indication message, and can remotely release the shutdown state of the device port without requiring the worker to enter the equipment room where the device is located, thereby simplifying the operation and saving manpower and time.
  • the method is applied in the IPRAN commissioning phase, which can improve the fault tolerance of the IPRAN commissioning phase and shorten the delivery cycle in the mass delivery scenario.
  • the NP in the first device determines whether the indication packet is a packet indicating that the port is disabled, and if the indication packet is not a packet indicating that the port is disabled, the device may discard the packet. Indicate the message.
  • the specific process that the first port sends the indication packet to the NP in the first device may be:
  • the first port transmits the indication message to the child card in the first device; the child card in the first device transmits the indication message to the NP.
  • the first device after receiving the indication message through the first port, the first device does not block the indication message at the sub-card level, but continues to transmit it to the NP, and the NP performs the indication message. Parsing, judging whether it is a message indicating that the port is closed, if not, blocking it and not transmitting it to the CPU, thus reducing the processing load of the CPU, which is equivalent to realizing the shutdown of the first port. . If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. In this way, the port status can be remotely controlled to facilitate IPRAN commissioning.
  • Another embodiment of the present application provides a method for controlling a state of a port, including:
  • the central processing unit CPU in the second device After receiving the instruction to release the closed state of the first port of the first device, the central processing unit CPU in the second device transmits the generated indication message to the second port; wherein the first port is in the closed state A packet can be received only, and the packet cannot be sent to the second device.
  • the indication packet is a packet indicating that the port is disabled.
  • the second port of the second device sends an indication message to the first port of the first device.
  • the second device controls the port state of the first device by sending the indication message, and the worker does not need to enter the equipment room where the first device is located to perform the port shutdown state release operation, thereby simplifying the operation and saving manpower and time.
  • the CPU in the second device transmits the generated indication message to the second port.
  • the CPU may receive the shutdown status of the first port of the first device that is sent by the network management device. After the instruction, the generated indication message is transmitted to the second port.
  • the embodiment of the present application provides a routing device, including:
  • a first port configured to receive the indication message sent by the second port of the second device in the off state, and send the indication message to the network processor NP; wherein the first port is in a closed state and cannot be sent to another port Sending a packet; the first port in the closed state can only receive a packet, and cannot send a packet to the second device;
  • the NP is configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to the central processing unit CPU;
  • the CPU is configured to: after receiving the indication message of the NP transmission, instructing the first port to be in an off state.
  • the routing device can implement the port state control by receiving the indication packet, and does not require the staff to enter the equipment room where the device is located, thereby simplifying the operation and saving manpower and time.
  • the application in the IPRAN commissioning phase can improve the fault tolerance of the IPRAN commissioning phase and shorten the delivery cycle in the mass delivery scenario.
  • the routing device determines whether the indication packet is a packet indicating that the port is disabled. If the indication packet is not a packet indicating that the port is disabled, the indication packet is discarded.
  • the routing device may further include a sub-card, and the first port sends the indication message to the NP by using the sub-card. Specifically, the first port transmits the indication message to the sub-card, and the sub-card receives the indication report transmitted by the first port. And transmitting the indication message to the NP.
  • the routing device After receiving the indication packet, the routing device does not block the indication packet at the sub-card level, but continues to transmit the indication packet to the NP, and the NP reports the indication.
  • the text is parsed to determine whether it is a message indicating that the port is closed. If not, it is blocked and not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to realizing the first port. Close up. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state.
  • the port status can be remotely controlled for IPRAN commissioning.
  • the embodiment of the present application provides a routing device, including:
  • the central processing unit CPU is configured to: after receiving the instruction to release the closed state of the first port of the first device, transmit the generated indication message to the second port; wherein the first port in the closed state can only Receiving the packet, the packet cannot be sent to the second device; the indication packet is a packet indicating that the port is disabled.
  • a second port configured to send the indication message to the first port of the first device.
  • the routing device can control the port state of the first device by sending the indication packet, and the worker does not need to enter the equipment room where the first device is located to perform the port shutdown state release operation, thereby simplifying the operation and saving manpower and time.
  • the instruction of the CPU to release the shutdown state of the first port of the first device may be delivered by the network management device, that is, the CPU releases the first device after receiving the network management device. After the instruction of the first port is closed, the generated indication message is transmitted to the second port.
  • the embodiment of the present application further provides a network processor NP, including:
  • a receiving module configured to receive an indication message transmitted by the first port of the routing device
  • a processing module configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to a central processing unit CPU in the routing device, where the CPU indicates The first port is released from the closed state, otherwise, the indication message is discarded.
  • the above NP adds a function of analyzing and determining the received message.
  • the routing device After receiving the indication packet on the first port in the closed state, the routing device does not block the packet at the sub-card level, but continues to transmit it to the NP.
  • the NP analyzes the indication packet and determines Whether it is a message indicating that the port is closed, if not, it is blocked and is not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to the closing of the first port. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. In this way, Remote control of the port status facilitates IPRAN commissioning.
  • 1 is a schematic structural diagram of an IPRAN network
  • FIG. 2 is a schematic diagram of a port state remote control system 20 according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for controlling a state of a port according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of sending a message from Port A of R1 to Port B of R2;
  • FIG. 5 is a schematic diagram of sending and processing a message according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a routing device 50 according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a routing device 60 according to another embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of an NP 70 according to an embodiment of the present application.
  • FIG. 2 it is a schematic diagram of a port state remote control system 20 according to an embodiment of the present application.
  • the first device 21 includes components such as a first port 210, a daughter card 211, an NP 212, and a CPU 213, and the second device 22 includes components such as a second port 220, a daughter card 221, an NP 222, and a CPU 223.
  • the CPU 223 in the second device 22 transmits the generated indication message to the second port 220; the second port 220 transmits the indication message.
  • the first port 210 is sent to the first port 210 of the first device 21; the first port 210 receives the indication message sent by the second port 220, and sends the indication message to the NP 212; the NP 212 determines whether the indication message is to indicate that the port is disabled. The message, if yes, transmits the indication message to the CPU 213, and the CPU 213 instructs the first port to be in the off state. If not, the instruction message can be discarded.
  • the embodiment of the present application implements control of the port state by sending a packet indicating that the port is closed in the closed state.
  • the device port in the closed state cannot send packets but can receive packets.
  • the device port After receiving the packet, the device port does not block the received packet at the sub-card layer, but transmits the packet to the network processor (NP).
  • the NP resolves whether the packet is legal. After determining that the received packet is valid (that is, the agreed message indicating that the port is closed), the NP transmits the packet to the CPU for subsequent processing (that is, the first port is released from the port shutdown state). If the NP determines that the received packet is invalid, the packet can be directly discarded and not transmitted to the CPU. In this way, when the device port is in the closed state, it can still receive and respond to the message indicating that the port is disabled. For other packets, the packet can be blocked at the NP level.
  • a flowchart of a method for controlling a port state includes the following steps:
  • the central processing unit (CPU) in the second device transmits the generated indication message to the second port after receiving the instruction to release the closed state of the first port of the first device;
  • the first port in the closed state can only receive packets and cannot send packets to the second device.
  • the indication packet is a packet indicating that the port is disabled.
  • the user may directly send a command to cancel the closed state of the first port of the first device in the second device, for example, executing a command in the second port view of the second device, to the first device Under the port Issue a command to release the shutdown state.
  • the second device may receive a command sent by the network management device to release the closed state of the first port of the first device. Then, the CPU responds to the command directly sent by the user or the command sent by the network management device, and removes the packet format of the port off state based on the predefined indication, generates the indication message, and transmits the indication message to the second. port.
  • the packet format indicating that the port is closed can be set by the device manufacturer, or can be uniformly set by the network administrator and sent to each device in the network through the network management device.
  • S302 The second port of the second device sends the generated indication message to the first port of the first device.
  • the port A of the device R1 and the port B of the device R2 are directly connected through the physical link, and the port B of the R2 is shut down.
  • the shutdown here is a software-implemented shutdown.
  • Port B turns off the illumination, and the packet can not be sent again, but the packet can still be received, and the received packet is not directly blocked at the sub-card level, but is further transmitted to the NP.
  • Port A is illuminated.
  • Port A sends a message to Port B indicating that the port is disabled.
  • R1 may be a core aggregation layer device in the IPRAN. As shown in the Aggregation layer of FIG.
  • R2 can be a box device close to the user side, such as the device in the Access layer in Figure 1, which has fewer interconnect links, and if the port is closed, it tends to cause disconnection.
  • R1 and R2 may also be box devices close to the user side, such as device B and device C in FIG. 1, respectively. If the device B is not disconnected, the device B can send the indication packet to the device C directly. If the device B is also out of the device, the device A can send the indication packet to the device B through the device A in the Aggregation layer to release the device B. After the port is closed, device B sends an indication packet to device C to release the port shutdown status of device C.
  • the first port in the closed state of the first device receives the indication packet sent by the second port of the second device, and sends the indication message to the NP in the first device.
  • the first port after receiving the indication message, transmits the indication message to the sub-card, that is, a Peripheral Interface Controller (PIC).
  • PIC Peripheral Interface Controller
  • the present invention does not directly block the received indication message at the sub-card layer, but sets the forwarding engine on the NP.
  • the forwarding engine determines the validity of the packet and blocks the invalid packet.
  • the legal packet is a packet indicating that the port is disabled, and the other packet is regarded as an invalid packet.
  • the user may choose to perform the above-mentioned non-sub-card layer blocking of packets only during the network commissioning phase (such as the IPRAN commissioning phase).
  • the process of transmitting the packet to the NP for parsing does not perform the above steps when the commissioning ends and enters the stable operation phase. If the device port is in the closed state, the received packet is directly blocked at the sub-card layer.
  • S304 The NP in the first device determines whether the indication message is a message indicating that the port is disabled. If yes, the process proceeds to S305. Otherwise, the process proceeds to S306.
  • the NP after determining that the indication message is valid (that is, the received message is a message indicating that the port is disabled), the NP sends the packet to the software layer for processing (that is, it is processed by the CPU). If the NP in the first device determines that the received indication packet is not a packet indicating that the port is disabled, the packet may be directly discarded.
  • the NP can strictly control the packets sent to the CPU to prevent the CPU from being over-utilized due to malicious attacks and affect other processes.
  • the CPU sends an instruction to the first port at the software layer, instructing the first port to perform an operation of releasing the undo shutdown state.
  • Port B of R2 is shut down, the CPU of R1 receives the command to release the closed state of Port B, and the CPU of R1 transmits the message indicating that the port is closed to Port A, which is sent by Port A of R1. Give Port B to R2.
  • Port B transmits it to the NP of R2 through the PIC of R2.
  • the NP of R2 determines whether the packet is a preset message indicating that the port is disabled. If yes, it transmits it to R2.
  • the CPU parses the packet, and after confirming that the packet is a preset message indicating that the port is disabled, the port B sends an instruction to release the port closed state, and the port B releases the port closed state.
  • the port in the device can be used when the port is disabled due to human error and cannot be connected to the network management device through other ports.
  • the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state.
  • the shutdown state of the device port can be remotely removed without the need for the worker to enter the equipment room where the device is located, which simplifies the operation, saves manpower and time, improves the fault tolerance of the IPRAN commissioning phase, and shortens the mass delivery scenario. The delivery cycle.
  • the embodiment of the present application further provides a routing device and a network processor NP corresponding to the foregoing method for controlling a port state.
  • the routing device and the principle of the NP solution and the state of the foregoing control port are provided by the embodiment of the present application.
  • the method is similar, so the implementation of the routing device and the NP can be referred to the implementation of the method, and the details are not repeated here.
  • FIG. 6 is a schematic structural diagram of a routing device 60 according to an embodiment of the present disclosure, including:
  • the first port 61 is configured to receive the indication message sent by the second port of the second device in the off state, and send the indication message to the network processor NP; wherein the first port is in a closed state and cannot be sent to the other port
  • the port sends a packet, where the first port in the closed state can only receive the packet, and cannot send the packet to the second device.
  • the NP 62 is configured to receive the indication message that is transmitted by the first port, and determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to the central processing unit CPU;
  • the CPU 63 is configured to instruct the first port to release the port closed state after receiving the indication message of the NP transmission.
  • the routing device can implement the port state control by receiving the indication packet, and does not require the staff to enter the equipment room where the device is located, thereby simplifying the operation and saving manpower and time.
  • the application in the IPRAN commissioning phase can improve the fault tolerance of the IPRAN commissioning phase and shorten the delivery cycle in the mass delivery scenario.
  • the NP 62 is further used to:
  • the indication message is not a message indicating that the port is disabled. If it is determined that the indication message is not a message indicating that the port is disabled, the indication message is discarded.
  • the first port 61 is specifically configured to:
  • the device further includes:
  • the subcard 64 is configured to receive the indication message transmitted by the first port, and transmit the indication message to the NP 62.
  • the routing device After receiving the indication packet, the routing device does not block the indication packet at the sub-card level, but continues to transmit the indication packet to the NP, and the NP reports the indication.
  • the text is parsed to determine whether it is a message indicating that the port is closed. If not, it is blocked and not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to realizing the first port. Close up. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state.
  • the port status can be remotely controlled for IPRAN commissioning.
  • FIG. 7 is a schematic structural diagram of a routing device 70 according to another embodiment of the present disclosure, including:
  • the central processing unit CPU 71 is configured to: after receiving the instruction to release the closed state of the first port of the first device, transmit the generated indication message to the second port 72; wherein the first port is in the closed state The packet can only be received, and the packet cannot be sent to the second device; the indication packet is a packet indicating that the port is disabled.
  • the second port 72 is configured to send the indication message to the first port of the first device.
  • the CPU 71 is specifically configured to:
  • the generated indication message is transmitted to the second port 72.
  • the routing device can control the port state of the first device by sending the indication packet, and the worker does not need to enter the equipment room where the first device is located to perform the port shutdown state release operation, thereby simplifying the operation and saving manpower and time.
  • FIG. 8 is a schematic structural diagram of a network processor NP 80 in a routing device (corresponding to the first device) according to an embodiment of the present disclosure, including:
  • the receiving module 81 is configured to receive an indication message that is transmitted by the first port of the routing device.
  • the processing module 82 is configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to a central processing unit CPU in the routing device, where indicated by the CPU The first port is released from the closed state, otherwise, the indication message is discarded.
  • the above NP adds a function of analyzing and determining the received message.
  • the routing device After receiving the indication packet on the first port in the closed state, the routing device does not block the packet at the sub-card level, but continues to transmit it to the NP.
  • the NP analyzes the indication packet and determines Whether it is a message indicating that the port is closed, if not, it is blocked and is not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to the closing of the first port. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. In this way, the port status can be remotely controlled to facilitate IPRAN commissioning.
  • embodiments of the present application can be provided as a method, system, or computer program Order product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

The present application relates to the technical field of wireless communication, and more specifically relates to a method and a router for controlling a status of a port. The invention addresses an issue of complexity for removing a closed status of a detached device. The application provides a method for controlling a status of a port. The method comprises: a first port under a closed status of a first device receiving an instruction packet sent by a second port of a second device, the first port sending the instruction packet to a network processor (NP) of the first device; the NP determining whether the instruction packet is a packet instructing a removal of a closed status of a port; if so, then sending the instruction packet to a CPU of the first device; and the CPU receiving the instruction packet sent from the NP and then instructing a removal of the closed status of the first port. The method controls a status of a port by sending an instruction packet, and can remotely perform an operation to remove a closed status of a device port without requiring an operator to access a machine room housing the device to perform the operation, simplifying the operation and saving labor and time.

Description

一种控制端口状态的方法、路由设备及网络处理器Method for controlling port state, routing device and network processor
本申请要求于2016年2月26日提交中国专利局、申请号为201610109801.0、发明名称为“一种控制端口状态的方法、路由设备及网络处理器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on February 26, 2016, the Chinese Patent Office, the application number is 201610109801.0, and the invention is entitled "A method for controlling the state of the port, routing device and network processor". This is incorporated herein by reference.
技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种控制端口状态的方法、路由设备及网络处理器本申请涉及通信领域,尤其涉及一种报文传输方法及装置。The present invention relates to the field of wireless communication technologies, and in particular, to a method for controlling a port state, a routing device, and a network processor. The present application relates to the field of communications, and in particular, to a packet transmission method and apparatus.
背景技术Background technique
在互联网协议无线承载网络(IP Radio Access Network,IPRAN)的海量交付开局的场景下,需要对网络中的大量设备进行调测。对于采用了带内网管的链式组网,如果在调测过程中对某些设备的端口执行关闭(shutdown)操作,这些设备有可能会失去与网络管理设备之间的连接,导致脱管。In the scenario of massive delivery of the Internet Protocol Radio Bearer Network (IPRAN), a large number of devices in the network need to be commissioned. For a chained network that uses an inband network management system, if the shutdown operation is performed on the ports of some devices during the commissioning process, the devices may lose connectivity with the network management device and cause disconnection.
如图1所示,在IPRAN中,从无线基站到无线控制器(Radio Network Controller,RNC)会经过多层链路,分别包括从无线基站到达盒式路由器的一段链路(Last Mile)、从连接无线基站的盒式路由器到达框式路由器的链路(Access)、将大量框式路由器汇聚到少量框式路由器的链路(Aggregation),将少量框式路由器连接到RNC的链路(Core)。其中,框式路由器本身互连链路较多,即使出现端口shutdown的情况,一般也不会造成脱管,而靠近用户侧的盒式路由器互连链路较少,若出现端口shutdown的情况,很容易导致脱管。比如图1中,若A设备上的端口1被shutdown,由于A设备仍可以通过其它端口与网络管理设备连接,因此不会导致脱管。但如果B设备上的端口2被shutdown,B设备与网络管理设备之间将失去连接,从而导致脱管。在出现脱管现象后,只能进入B设备所在的机房,通过串口线连接B设备执行解除关闭(undo shutdown)操作。As shown in FIG. 1 , in the IPRAN, a radio base station to a radio network controller (RNC) passes through a multi-layer link, and includes a link (Last Mile) and a slave link from the radio base station to the box router. A box router connected to a wireless base station arrives at a link of a frame router, aggregates a large number of frame routers to a link of a small number of frame routers, and connects a small number of frame routers to a link of the RNC (Core) . Among them, the frame router itself has many interconnected links. Even if the port shutdown occurs, it will not cause disconnection, and the box routers near the user side have fewer interconnect links. If the port is shut down, It is easy to cause the pipe to go off. For example, in Figure 1, if port 1 on the A device is shut down, the A device can still connect to the network management device through other ports, so it will not cause disconnection. However, if port 2 on the B device is shut down, the connection between the B device and the network management device will be lost, resulting in disconnection. After the disconnection occurs, you can only enter the equipment room where the B device is located. Connect the B device through the serial cable to perform the undo shutdown operation.
可见,在IPRAN中的设备出现脱管现象后,只能进入脱管设备所在的机房对该设备执行undo shutdown操作,操作复杂,将耗费大量人力和时间。It can be seen that after the device in the IPRAN is out of the pipe, the device can only enter the machine room where the device is located to perform the undo shutdown operation. The operation is complicated and it takes a lot of manpower and time.
发明内容Summary of the invention
本申请实施例提供一种控制端口状态的方法及装置,用以解决在IPRAN中的设备出现脱管现象后,只能进入脱管设备所在的机房对该设备的端口执行解除关闭操作,操作复杂,将耗费大量人力和时间的问题。The embodiment of the present invention provides a method and a device for controlling the state of a port, which are used to solve the problem that the device in the IPRAN is disconnected from the device in the equipment room where the device is located, and the operation is complicated. It will cost a lot of manpower and time.
本申请实施例提供一种控制端口状态的方法,包括:An embodiment of the present application provides a method for controlling a state of a port, including:
第一设备中处于关闭状态的第一端口接收第二设备的第二端口发送的指示报文;其中,处于关闭状态的第一端口只能接收报文,不能向第二设备发送报文;The first port in the closed state of the first device receives the indication packet sent by the second port of the second device, where the first port in the closed state can only receive the packet, and cannot send the packet to the second device.
第一端口将指示报文发送至第一设备中的网络处理器NP;第一设备中的NP判断 所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至第一设备中的中央处理器CPU;The first port sends the indication message to the network processor NP in the first device; the NP judgment in the first device Whether the indication message is a message indicating that the port is closed, and if yes, transmitting the indication message to the central processing unit CPU in the first device;
第一设备中的CPU在接收到NP传输的指示报文后,指示第一端口解除关闭状态。After receiving the indication message of the NP transmission, the CPU in the first device instructs the first port to release the shutdown state.
上述方法通过发送指示报文来实现端口状态控制,无需工作人员进入设备所在的机房进行操作即可远程解除设备端口的关闭状态,简化了操作,节省了人力和时间。该方法应用在IPRAN调测阶段,可以提升IPRAN调测阶段的容错能力,缩短海量交付场景下的交付周期。The foregoing method implements port state control by sending an indication message, and can remotely release the shutdown state of the device port without requiring the worker to enter the equipment room where the device is located, thereby simplifying the operation and saving manpower and time. The method is applied in the IPRAN commissioning phase, which can improve the fault tolerance of the IPRAN commissioning phase and shorten the delivery cycle in the mass delivery scenario.
在上述方法中,第一设备中的NP判断所述指示报文是否为指示解除端口关闭状态的报文,若确定所述指示报文不是指示解除端口关闭状态的报文,则可以丢弃所述指示报文。In the above method, the NP in the first device determines whether the indication packet is a packet indicating that the port is disabled, and if the indication packet is not a packet indicating that the port is disabled, the device may discard the packet. Indicate the message.
在上述方法中,第一端口将指示报文发送至第一设备中的NP的具体过程可以为:In the foregoing method, the specific process that the first port sends the indication packet to the NP in the first device may be:
第一端口将所述指示报文传输给第一设备中的子卡;第一设备中的子卡将所述指示报文传输至NP。The first port transmits the indication message to the child card in the first device; the child card in the first device transmits the indication message to the NP.
在上述方法中,第一设备在通过第一端口接收到指示报文后,并没有在子卡层面对其进行阻断,而是将其继续传输至NP,由NP来对该指示报文进行解析,判断其是否为指示解除端口关闭状态的报文,若不是,则将其阻断,不再传输给CPU,如此,便减轻了CPU的处理负担,相当于实现了对第一端口的关闭。若NP确定该指示报文是指示解除端口关闭状态的报文,再交由CPU进行处理,也即由CPU指示第一端口解除关闭状态。采用这种方式,可以对端口状态进行远程控制,便于进行IPRAN的调测。In the above method, after receiving the indication message through the first port, the first device does not block the indication message at the sub-card level, but continues to transmit it to the NP, and the NP performs the indication message. Parsing, judging whether it is a message indicating that the port is closed, if not, blocking it and not transmitting it to the CPU, thus reducing the processing load of the CPU, which is equivalent to realizing the shutdown of the first port. . If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. In this way, the port status can be remotely controlled to facilitate IPRAN commissioning.
本申请另一实施例提供一种控制端口状态的方法,包括:Another embodiment of the present application provides a method for controlling a state of a port, including:
第二设备中的中央处理器CPU在接收到解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口;其中,处于关闭状态的所述第一端口只能接收报文,不能向第二设备发送报文;所述指示报文为指示解除端口关闭状态的报文;After receiving the instruction to release the closed state of the first port of the first device, the central processing unit CPU in the second device transmits the generated indication message to the second port; wherein the first port is in the closed state A packet can be received only, and the packet cannot be sent to the second device. The indication packet is a packet indicating that the port is disabled.
第二设备的第二端口将指示报文发送给所述第一设备的第一端口。The second port of the second device sends an indication message to the first port of the first device.
上述方法中,第二设备通过发送指示报文来控制第一设备的端口状态,工作人员无需进入第一设备所在的机房进行端口关闭状态的解除操作,从而简化了操作,节省了人力和时间。In the above method, the second device controls the port state of the first device by sending the indication message, and the worker does not need to enter the equipment room where the first device is located to perform the port shutdown state release operation, thereby simplifying the operation and saving manpower and time.
在上述方法中,第二设备中的CPU将生成的指示报文传输至第二端口,具体地,CPU可以在接收到网络管理设备下发的解除所述第一设备的第一端口的关闭状态的指令后,将生成的所述指示报文传输至第二端口。In the above method, the CPU in the second device transmits the generated indication message to the second port. Specifically, the CPU may receive the shutdown status of the first port of the first device that is sent by the network management device. After the instruction, the generated indication message is transmitted to the second port.
本申请实施例提供一种路由设备,包括:The embodiment of the present application provides a routing device, including:
第一端口,用于在关闭状态接收第二设备的第二端口发送的指示报文,将所述指示报文发送至网络处理器NP;其中,所述第一端口在关闭状态不能向其它端口发送报文;其中,所述处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;a first port, configured to receive the indication message sent by the second port of the second device in the off state, and send the indication message to the network processor NP; wherein the first port is in a closed state and cannot be sent to another port Sending a packet; the first port in the closed state can only receive a packet, and cannot send a packet to the second device;
NP,用于判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至中央处理器CPU;; The NP is configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to the central processing unit CPU;
CPU,用于在接收到所述NP传输的所述指示报文后,指示所述第一端口解除关闭状态。The CPU is configured to: after receiving the indication message of the NP transmission, instructing the first port to be in an off state.
上述路由设备可以通过接收指示报文来实现端口状态控制,无需工作人员进入设备所在的机房进行操作,简化了操作,节省了人力和时间。应用在IPRAN调测阶段,可以提升IPRAN调测阶段的容错能力,缩短海量交付场景下的交付周期。The routing device can implement the port state control by receiving the indication packet, and does not require the staff to enter the equipment room where the device is located, thereby simplifying the operation and saving manpower and time. The application in the IPRAN commissioning phase can improve the fault tolerance of the IPRAN commissioning phase and shorten the delivery cycle in the mass delivery scenario.
在上述路由设备中,判断所述指示报文是否为指示解除端口关闭状态的报文,若确定所述指示报文不是指示解除端口关闭状态的报文,则丢弃所述指示报文。The routing device determines whether the indication packet is a packet indicating that the port is disabled. If the indication packet is not a packet indicating that the port is disabled, the indication packet is discarded.
上述路由设备还可以包括子卡,第一端口通过子卡将指示报文发送至NP,具体地,第一端口将所述指示报文传输给子卡,子卡接收第一端口传输的指示报文,将所述指示报文传输至NP。The routing device may further include a sub-card, and the first port sends the indication message to the NP by using the sub-card. Specifically, the first port transmits the indication message to the sub-card, and the sub-card receives the indication report transmitted by the first port. And transmitting the indication message to the NP.
在上述路由设备中,第一端口在接收到指示报文后,路由设备并没有在子卡层面对该指示报文进行阻断,而是将其继续传输至NP,由NP来对该指示报文进行解析,判断其是否为指示解除端口关闭状态的报文,若不是,则将其阻断,不再传输给CPU,如此,便减轻了CPU的处理负担,相当于实现了对第一端口的关闭。若NP确定该指示报文是指示解除端口关闭状态的报文,再交由CPU进行处理,也即由CPU指示第一端口解除关闭状态。采用这种设计,可以对端口状态进行远程控制,便于进行IPRAN的调测。In the routing device, after receiving the indication packet, the routing device does not block the indication packet at the sub-card level, but continues to transmit the indication packet to the NP, and the NP reports the indication. The text is parsed to determine whether it is a message indicating that the port is closed. If not, it is blocked and not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to realizing the first port. Close up. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. With this design, the port status can be remotely controlled for IPRAN commissioning.
本申请实施例提供一种路由设备,包括:The embodiment of the present application provides a routing device, including:
中央处理器CPU,用于在接收到解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口;其中,处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;所述指示报文为指示解除端口关闭状态的报文;The central processing unit CPU is configured to: after receiving the instruction to release the closed state of the first port of the first device, transmit the generated indication message to the second port; wherein the first port in the closed state can only Receiving the packet, the packet cannot be sent to the second device; the indication packet is a packet indicating that the port is disabled.
第二端口,用于将所述指示报文发送给所述第一设备的第一端口。And a second port, configured to send the indication message to the first port of the first device.
上述路由设备通过发送指示报文来控制第一设备的端口状态,工作人员无需进入第一设备所在的机房进行端口关闭状态的解除操作,从而简化了操作,节省了人力和时间。The routing device can control the port state of the first device by sending the indication packet, and the worker does not need to enter the equipment room where the first device is located to perform the port shutdown state release operation, thereby simplifying the operation and saving manpower and time.
在上述路由设备中,CPU接收的解除第一设备的第一端口的关闭状态的指令可以是由网络管理设备下发的,也即CPU在接收到网络管理设备下发的解除所述第一设备的第一端口的关闭状态的指令后,将生成的所述指示报文传输至第二端口。In the above routing device, the instruction of the CPU to release the shutdown state of the first port of the first device may be delivered by the network management device, that is, the CPU releases the first device after receiving the network management device. After the instruction of the first port is closed, the generated indication message is transmitted to the second port.
本申请实施例还提供一种网络处理器NP,包括:The embodiment of the present application further provides a network processor NP, including:
接收模块,用于接收路由设备的第一端口传输的指示报文;a receiving module, configured to receive an indication message transmitted by the first port of the routing device;
处理模块,用于判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至所述路由设备中的中央处理器CPU,由所述CPU指示所述第一端口解除关闭状态,否则,丢弃所述指示报文。a processing module, configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to a central processing unit CPU in the routing device, where the CPU indicates The first port is released from the closed state, otherwise, the indication message is discarded.
上述NP中增加了对接收的报文进行解析判断的功能。路由设备在通过关闭状态的第一端口接收到指示报文后,并没有在子卡层面对其进行阻断,而是将其继续传输至NP,由NP来对该指示报文进行解析,判断其是否为指示解除端口关闭状态的报文,若不是,则将其阻断,不再传输给CPU,如此,便减轻了CPU的处理负担,相当于实现了对第一端口的关闭。若NP确定该指示报文是指示解除端口关闭状态的报文,再交由CPU进行处理,也即由CPU指示第一端口解除关闭状态。采用这种方式,可 以对端口状态进行远程控制,便于进行IPRAN的调测。The above NP adds a function of analyzing and determining the received message. After receiving the indication packet on the first port in the closed state, the routing device does not block the packet at the sub-card level, but continues to transmit it to the NP. The NP analyzes the indication packet and determines Whether it is a message indicating that the port is closed, if not, it is blocked and is not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to the closing of the first port. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. In this way, Remote control of the port status facilitates IPRAN commissioning.
附图说明DRAWINGS
图1为IPRAN网络结构示意图;1 is a schematic structural diagram of an IPRAN network;
图2为本申请实施例端口状态远程控制系统20示意图;2 is a schematic diagram of a port state remote control system 20 according to an embodiment of the present application;
图3为本申请实施例提供的控制端口状态的方法流程图;FIG. 3 is a flowchart of a method for controlling a state of a port according to an embodiment of the present disclosure;
图4为由R1的Port A向R2的Port B发送报文的示意图;4 is a schematic diagram of sending a message from Port A of R1 to Port B of R2;
图5为本申请实施例中报文发送及处理示意图;FIG. 5 is a schematic diagram of sending and processing a message according to an embodiment of the present application;
图6为本申请实施例提供的一种路由设备50结构示意图;FIG. 6 is a schematic structural diagram of a routing device 50 according to an embodiment of the present disclosure;
图7为本申请另一实施例提供的一种路由设备60结构示意图;FIG. 7 is a schematic structural diagram of a routing device 60 according to another embodiment of the present disclosure;
图8为本申请实施例提供的一种NP 70结构示意图。FIG. 8 is a schematic structural diagram of an NP 70 according to an embodiment of the present application.
具体实施方式detailed description
如图2所示,为本申请实施例端口状态远程控制系统20示意图。第一设备21包括第一端口210、子卡211、NP 212和CPU 213等组件,第二设备22包括第二端口220、子卡221、NP 222和CPU 223等组件。第二设备22中的CPU 223在接收到解除第一设备21的第一端口210的关闭状态的指令后,将生成的指示报文传输至第二端口220;第二端口220将指示报文发送给第一设备21的第一端口210;第一端口210接收第二端口220发送的指示报文,将指示报文发送至NP 212;NP 212判断该指示报文是否为指示解除端口关闭状态的报文,若是,则将该指示报文传输至CPU 213,CPU 213指示第一端口解除关闭状态,若不是,则可以将该指示报文丢弃。As shown in FIG. 2, it is a schematic diagram of a port state remote control system 20 according to an embodiment of the present application. The first device 21 includes components such as a first port 210, a daughter card 211, an NP 212, and a CPU 213, and the second device 22 includes components such as a second port 220, a daughter card 221, an NP 222, and a CPU 223. After receiving the instruction to release the closed state of the first port 210 of the first device 21, the CPU 223 in the second device 22 transmits the generated indication message to the second port 220; the second port 220 transmits the indication message. The first port 210 is sent to the first port 210 of the first device 21; the first port 210 receives the indication message sent by the second port 220, and sends the indication message to the NP 212; the NP 212 determines whether the indication message is to indicate that the port is disabled. The message, if yes, transmits the indication message to the CPU 213, and the CPU 213 instructs the first port to be in the off state. If not, the instruction message can be discarded.
本申请实施例通过向处于关闭状态的设备端口发送指示解除端口关闭状态的报文,来实现对端口状态的控制。在这种方式下,处于关闭状态的设备端口不能发送报文,但可以接收报文。该设备端口在接收到报文后,不在子卡层面对接收的报文进行阻断,而是将报文传输至网络处理器(Network Processor,NP),由NP来解析报文是否合法。NP在判定接收的报文合法(也即是约定的指示解除端口关闭状态的报文)后,再将其传输至CPU,由CPU进行后续处理(也即指示第一端口解除端口关闭状态)。若NP判定接收的报文不合法,则可以直接将报文丢弃,不再传输给CPU。这样,便实现了当设备端口处于关闭状态时,仍可以接收并响应指示解除端口关闭状态的报文,而对于其它报文,则可以在NP层面进行阻断。The embodiment of the present application implements control of the port state by sending a packet indicating that the port is closed in the closed state. In this mode, the device port in the closed state cannot send packets but can receive packets. After receiving the packet, the device port does not block the received packet at the sub-card layer, but transmits the packet to the network processor (NP). The NP resolves whether the packet is legal. After determining that the received packet is valid (that is, the agreed message indicating that the port is closed), the NP transmits the packet to the CPU for subsequent processing (that is, the first port is released from the port shutdown state). If the NP determines that the received packet is invalid, the packet can be directly discarded and not transmitted to the CPU. In this way, when the device port is in the closed state, it can still receive and respond to the message indicating that the port is disabled. For other packets, the packet can be blocked at the NP level.
下面结合说明书附图对本申请实施例作进一步详细描述。The embodiments of the present application are further described in detail below with reference to the accompanying drawings.
如图3所示,为本申请实施例提供的控制端口状态的方法流程图,包括以下步骤:As shown in FIG. 3, a flowchart of a method for controlling a port state according to an embodiment of the present application includes the following steps:
S301:第二设备中的中央处理器(Central Processing Unit,CPU)在接收到解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口;其中,处于关闭状态的第一端口只能接收报文,不能向第二设备发送报文;所述指示报文为指示解除端口关闭状态的报文。S301: The central processing unit (CPU) in the second device transmits the generated indication message to the second port after receiving the instruction to release the closed state of the first port of the first device; The first port in the closed state can only receive packets and cannot send packets to the second device. The indication packet is a packet indicating that the port is disabled.
在具体实施中,用户可以在第二设备中直接下发解除第一设备的第一端口的关闭状态的命令,比如在第二设备的第二端口视图下执行命令,向第一设备的第一端口下 发解除关闭状态的命令。或者,第二设备可以接收网络管理设备下发的解除第一设备的第一端口的关闭状态的命令。然后,CPU响应用户直接下发的命令或通过网络管理设备下发的命令,基于预定义的指示解除端口关闭状态的报文格式,生成所述指示报文,将该指示报文传输至第二端口。In a specific implementation, the user may directly send a command to cancel the closed state of the first port of the first device in the second device, for example, executing a command in the second port view of the second device, to the first device Under the port Issue a command to release the shutdown state. Alternatively, the second device may receive a command sent by the network management device to release the closed state of the first port of the first device. Then, the CPU responds to the command directly sent by the user or the command sent by the network management device, and removes the packet format of the port off state based on the predefined indication, generates the indication message, and transmits the indication message to the second. port.
这里,指示解除端口关闭状态的报文格式可以由设备厂家设定,或者,由网络管理人员统一设定,并通过网络管理设备下发给网络中的各台设备。Here, the packet format indicating that the port is closed can be set by the device manufacturer, or can be uniformly set by the network administrator and sent to each device in the network through the network management device.
S302:第二设备的第二端口将生成的指示报文发送给第一设备的第一端口。S302: The second port of the second device sends the generated indication message to the first port of the first device.
如图4所示,设备R1的端口(Port)A和设备R2的Port B通过物理链路直连,R2的Port B被关闭(shutdown),这里的关闭是软件实现的关闭。此时,Port B关闭发光,不能再进行报文发送,但仍可以接收报文,并且接收的报文不在子卡层面直接被阻断,而是进一步传输至NP,详见S303的描述,R1的Port A处于发光状态。本申请在Port A向Port B发送指示解除端口关闭状态的报文。这里,R1可以为IPRAN中的核心汇聚层设备,如图1的Aggregation层中的设备,核心汇聚层设备本身互连链路较多,即使出现端口关闭的情况,一般也不会造成脱管。R2则可以为靠近用户侧的盒式设备,如图1中的Access层中的设备,这种设备互连链路较少,若出现端口关闭的情况,容易导致脱管。R1和R2也可以都为靠近用户侧的盒式设备,比如分别为图1中的设备B和设备C。在设备B没有脱管的情况下,可以直接通过设备B向设备C发送指示报文,若设备B也脱管,可以先通过Aggregation层中的设备A向设备B发送指示报文,解除设备B的端口关闭状态,再通过设备B向设备C发送指示报文,解除设备C的端口关闭状态。As shown in FIG. 4, the port A of the device R1 and the port B of the device R2 are directly connected through the physical link, and the port B of the R2 is shut down. The shutdown here is a software-implemented shutdown. At this time, Port B turns off the illumination, and the packet can not be sent again, but the packet can still be received, and the received packet is not directly blocked at the sub-card level, but is further transmitted to the NP. For details, see S303, R1. Port A is illuminated. In this application, Port A sends a message to Port B indicating that the port is disabled. Here, R1 may be a core aggregation layer device in the IPRAN. As shown in the Aggregation layer of FIG. 1, the core aggregation layer device itself has many interconnection links, and even if the port is closed, it generally does not cause disconnection. R2 can be a box device close to the user side, such as the device in the Access layer in Figure 1, which has fewer interconnect links, and if the port is closed, it tends to cause disconnection. R1 and R2 may also be box devices close to the user side, such as device B and device C in FIG. 1, respectively. If the device B is not disconnected, the device B can send the indication packet to the device C directly. If the device B is also out of the device, the device A can send the indication packet to the device B through the device A in the Aggregation layer to release the device B. After the port is closed, device B sends an indication packet to device C to release the port shutdown status of device C.
S303:第一设备中处于关闭状态的第一端口接收第二设备的第二端口发送的指示报文,并将指示报文发送至第一设备中的NP。S303: The first port in the closed state of the first device receives the indication packet sent by the second port of the second device, and sends the indication message to the NP in the first device.
在具体实施中,第一端口在接收到指示报文后,将指示报文传输至子卡,即外围接口控制器(Peripheral Interface Controller,PIC)。本申请不在子卡层面对接收的指示报文直接进行阻断,而是在NP上设置转发引擎,通过转发引擎判断报文的合法性,对不合法的报文进行阻断。在本申请实施例中,合法的报文即为指示解除端口关闭状态的报文,将其它报文视为不合法的报文。In a specific implementation, after receiving the indication message, the first port transmits the indication message to the sub-card, that is, a Peripheral Interface Controller (PIC). The present invention does not directly block the received indication message at the sub-card layer, but sets the forwarding engine on the NP. The forwarding engine determines the validity of the packet and blocks the invalid packet. In the embodiment of the present application, the legal packet is a packet indicating that the port is disabled, and the other packet is regarded as an invalid packet.
在具体实施中,为了减少安全隐患,尽量防止恶意报文的攻击,用户可以选择只在网络调测阶段(比如IPRAN的调测阶段)执行上述不在子卡层面对报文进行阻断,而是将其传输至NP进行解析的步骤,在调测结束进入稳定运行阶段时,不再执行上述步骤,此时若设备端口处于关闭状态,则直接在子卡层面对接收的报文进行阻断。In the specific implementation, in order to reduce security risks and prevent malicious packets from being attacked, the user may choose to perform the above-mentioned non-sub-card layer blocking of packets only during the network commissioning phase (such as the IPRAN commissioning phase). The process of transmitting the packet to the NP for parsing does not perform the above steps when the commissioning ends and enters the stable operation phase. If the device port is in the closed state, the received packet is directly blocked at the sub-card layer.
S304:第一设备中的NP判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则进入S305,否则,进入S306。S304: The NP in the first device determines whether the indication message is a message indicating that the port is disabled. If yes, the process proceeds to S305. Otherwise, the process proceeds to S306.
S305:NP将指示报文传输至第一设备中的CPU,进入S307。S305: The NP transmits the indication message to the CPU in the first device, and proceeds to S307.
S306:NP丢弃该报文。S306: The NP discards the packet.
在具体实施中,NP在确定指示报文合法(也即接收的报文是指示解除端口关闭状态的报文)后,上送至软件层面进行处理(也即交由CPU处理)。若第一设备中的NP确定接收的指示报文不是指示解除端口关闭状态的报文,则可以直接丢弃该报文。 In a specific implementation, after determining that the indication message is valid (that is, the received message is a message indicating that the port is disabled), the NP sends the packet to the software layer for processing (that is, it is processed by the CPU). If the NP in the first device determines that the received indication packet is not a packet indicating that the port is disabled, the packet may be directly discarded.
本申请实施例中,NP可以对上送CPU的报文进行严格控制,以避免CPU因为受到恶意攻击而导致利用率过高,影响其它进程。In the embodiment of the present application, the NP can strictly control the packets sent to the CPU to prevent the CPU from being over-utilized due to malicious attacks and affect other processes.
S307:第一设备中的CPU在接收到NP传输的指示报文后,指示第一端口解除端口关闭状态。S307: After receiving the indication message of the NP transmission, the CPU in the first device instructs the first port to release the port shutdown state.
这里,CPU在软件层面向第一端口下发指令,指示第一端口执行解除端口关闭状态(undo shutdown)的操作。Here, the CPU sends an instruction to the first port at the software layer, instructing the first port to perform an operation of releasing the undo shutdown state.
如图5所示,R2的Port B被shutdown,R1的CPU接收到解除Port B的关闭状态的命令,R1的CPU将指示解除端口关闭状态的报文传输至Port A,由R1的Port A发送给R2的Port B。Port B接收到该报文后,将其通过R2的PIC传输至R2的NP,R2的NP判断该报文是否是预设的指示解除端口关闭状态的报文,若是,则将其传输至R2的CPU,该CPU解析该报文,在确认该报文为预设的指示解除端口关闭状态的报文后,向Port B下发解除端口关闭状态的指令,Port B解除端口关闭状态。As shown in Figure 5, Port B of R2 is shut down, the CPU of R1 receives the command to release the closed state of Port B, and the CPU of R1 transmits the message indicating that the port is closed to Port A, which is sent by Port A of R1. Give Port B to R2. After receiving the packet, Port B transmits it to the NP of R2 through the PIC of R2. The NP of R2 determines whether the packet is a preset message indicating that the port is disabled. If yes, it transmits it to R2. The CPU parses the packet, and after confirming that the packet is a preset message indicating that the port is disabled, the port B sends an instruction to release the port closed state, and the port B releases the port closed state.
在IPRAN这种存在链式组网、并采用带内网管的网络场景下,当设备中的端口由于人为误操作变为关闭状态,又无法通过其它端口与网络管理设备建立连接时,可以采用本申请实施例提供的发送报文的方式,使设备端口恢复开启状态。具体地,第一设备在通过第一端口接收到指示报文后,并不在子卡层面对其进行阻断,而是将其继续传输至NP,由NP来对该指示报文进行解析,判断其是否为指示解除端口关闭状态的报文,若不是,则将其阻断,不再传输给CPU,如此,便减轻了CPU的处理负担,也相当于实现了第一端口的关闭。若NP确定该指示报文是指示解除端口关闭状态的报文,再交由CPU进行处理,也即由CPU指示第一端口解除关闭状态。采用本申请实施例,无需工作人员进入设备所在的机房进行操作即可远程解除设备端口的关闭状态,简化了操作,节省了人力和时间,可以提升IPRAN调测阶段的容错能力,缩短海量交付场景下的交付周期。In the network scenario where the IPRAN is in the network of the network and the in-band network management is used, the port in the device can be used when the port is disabled due to human error and cannot be connected to the network management device through other ports. Applying the method of sending a packet in the embodiment to restore the device port to the enabled state. Specifically, after receiving the indication message through the first port, the first device does not block the indication message at the sub-card level, but continues to transmit it to the NP, and the NP analyzes the indication message to determine Whether it is a message indicating that the port is closed, if not, it is blocked and is not transmitted to the CPU. Thus, the processing load of the CPU is reduced, and the first port is closed. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. With the embodiment of the present application, the shutdown state of the device port can be remotely removed without the need for the worker to enter the equipment room where the device is located, which simplifies the operation, saves manpower and time, improves the fault tolerance of the IPRAN commissioning phase, and shortens the mass delivery scenario. The delivery cycle.
基于同一发明构思,本申请实施例还提供了与上述控制端口状态的方法对应的路由设备及网络处理器NP,由于本申请实施例提供的路由设备及NP解决问题的原理与上述控制端口状态的方法相似,因此路由设备及NP的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present application further provides a routing device and a network processor NP corresponding to the foregoing method for controlling a port state. The routing device and the principle of the NP solution and the state of the foregoing control port are provided by the embodiment of the present application. The method is similar, so the implementation of the routing device and the NP can be referred to the implementation of the method, and the details are not repeated here.
如图6所示,为本申请实施例提供的一种路由设备60结构示意图,包括:FIG. 6 is a schematic structural diagram of a routing device 60 according to an embodiment of the present disclosure, including:
第一端口61,用于在关闭状态接收第二设备的第二端口发送的指示报文,将所述指示报文发送至网络处理器NP;其中,所述第一端口在关闭状态不能向其它端口发送报文;其中,所述处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;The first port 61 is configured to receive the indication message sent by the second port of the second device in the off state, and send the indication message to the network processor NP; wherein the first port is in a closed state and cannot be sent to the other port The port sends a packet, where the first port in the closed state can only receive the packet, and cannot send the packet to the second device.
NP 62,用于接收所述第一端口传输的指示报文,判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至中央处理器CPU;The NP 62 is configured to receive the indication message that is transmitted by the first port, and determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to the central processing unit CPU;
CPU 63,用于在接收到所述NP传输的所述指示报文后,指示所述第一端口解除端口关闭状态。The CPU 63 is configured to instruct the first port to release the port closed state after receiving the indication message of the NP transmission.
上述路由设备可以通过接收指示报文来实现端口状态控制,无需工作人员进入设备所在的机房进行操作,简化了操作,节省了人力和时间。应用在IPRAN调测阶段,可以提升IPRAN调测阶段的容错能力,缩短海量交付场景下的交付周期。 The routing device can implement the port state control by receiving the indication packet, and does not require the staff to enter the equipment room where the device is located, thereby simplifying the operation and saving manpower and time. The application in the IPRAN commissioning phase can improve the fault tolerance of the IPRAN commissioning phase and shorten the delivery cycle in the mass delivery scenario.
可选地,所述NP 62还用于:Optionally, the NP 62 is further used to:
若确定所述指示报文不是指示解除端口关闭状态的报文,则丢弃所述指示报文。If it is determined that the indication message is not a message indicating that the port is disabled, the indication message is discarded.
可选地,所述第一端口61具体用于:Optionally, the first port 61 is specifically configured to:
将所述指示报文传输给子卡,以通过该子卡将该指示报文传输至NP 62;Transmitting the indication message to the subcard, to transmit the indication message to the NP 62 by using the subcard;
所述设备还包括:The device further includes:
子卡64,用于接收所述第一端口传输的指示报文,将所述指示报文传输至NP 62。The subcard 64 is configured to receive the indication message transmitted by the first port, and transmit the indication message to the NP 62.
在上述路由设备中,第一端口在接收到指示报文后,路由设备并没有在子卡层面对该指示报文进行阻断,而是将其继续传输至NP,由NP来对该指示报文进行解析,判断其是否为指示解除端口关闭状态的报文,若不是,则将其阻断,不再传输给CPU,如此,便减轻了CPU的处理负担,相当于实现了对第一端口的关闭。若NP确定该指示报文是指示解除端口关闭状态的报文,再交由CPU进行处理,也即由CPU指示第一端口解除关闭状态。采用这种设计,可以对端口状态进行远程控制,便于进行IPRAN的调测。In the routing device, after receiving the indication packet, the routing device does not block the indication packet at the sub-card level, but continues to transmit the indication packet to the NP, and the NP reports the indication. The text is parsed to determine whether it is a message indicating that the port is closed. If not, it is blocked and not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to realizing the first port. Close up. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. With this design, the port status can be remotely controlled for IPRAN commissioning.
如图7所示,为本申请另一实施例提供的一种路由设备70结构示意图,包括:FIG. 7 is a schematic structural diagram of a routing device 70 according to another embodiment of the present disclosure, including:
中央处理器CPU 71,用于在接收到解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口72;其中,处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;所述指示报文为指示解除端口关闭状态的报文;The central processing unit CPU 71 is configured to: after receiving the instruction to release the closed state of the first port of the first device, transmit the generated indication message to the second port 72; wherein the first port is in the closed state The packet can only be received, and the packet cannot be sent to the second device; the indication packet is a packet indicating that the port is disabled.
第二端口72,用于将所述指示报文发送给所述第一设备的第一端口。The second port 72 is configured to send the indication message to the first port of the first device.
可选地,所述CPU 71具体用于:Optionally, the CPU 71 is specifically configured to:
在接收到网络管理设备下发的解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口72。After receiving the instruction of the network management device to release the closed state of the first port of the first device, the generated indication message is transmitted to the second port 72.
上述路由设备通过发送指示报文来控制第一设备的端口状态,工作人员无需进入第一设备所在的机房进行端口关闭状态的解除操作,从而简化了操作,节省了人力和时间。The routing device can control the port state of the first device by sending the indication packet, and the worker does not need to enter the equipment room where the first device is located to perform the port shutdown state release operation, thereby simplifying the operation and saving manpower and time.
如图8所示,为本申请实施例提供的一种路由设备(对应所述第一设备)中的网络处理器NP 80结构示意图,包括:FIG. 8 is a schematic structural diagram of a network processor NP 80 in a routing device (corresponding to the first device) according to an embodiment of the present disclosure, including:
接收模块81,用于接收路由设备的第一端口传输的指示报文;The receiving module 81 is configured to receive an indication message that is transmitted by the first port of the routing device.
处理模块82,用于判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至所述路由设备中的中央处理器CPU,由所述CPU指示所述第一端口解除关闭状态,否则,丢弃所述指示报文。The processing module 82 is configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to a central processing unit CPU in the routing device, where indicated by the CPU The first port is released from the closed state, otherwise, the indication message is discarded.
上述NP中增加了对接收的报文进行解析判断的功能。路由设备在通过关闭状态的第一端口接收到指示报文后,并没有在子卡层面对其进行阻断,而是将其继续传输至NP,由NP来对该指示报文进行解析,判断其是否为指示解除端口关闭状态的报文,若不是,则将其阻断,不再传输给CPU,如此,便减轻了CPU的处理负担,相当于实现了对第一端口的关闭。若NP确定该指示报文是指示解除端口关闭状态的报文,再交由CPU进行处理,也即由CPU指示第一端口解除关闭状态。采用这种方式,可以对端口状态进行远程控制,便于进行IPRAN的调测。The above NP adds a function of analyzing and determining the received message. After receiving the indication packet on the first port in the closed state, the routing device does not block the packet at the sub-card level, but continues to transmit it to the NP. The NP analyzes the indication packet and determines Whether it is a message indicating that the port is closed, if not, it is blocked and is not transmitted to the CPU. Thus, the processing load of the CPU is reduced, which is equivalent to the closing of the first port. If the NP determines that the indication message is a message indicating that the port is disabled, and then submits the message to the CPU for processing, that is, the CPU instructs the first port to be in the off state. In this way, the port status can be remotely controlled to facilitate IPRAN commissioning.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程 序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program Order product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、装置(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (11)

  1. 一种控制端口状态的方法,其特征在于,所述方法包括:A method for controlling a state of a port, the method comprising:
    第一设备中处于关闭状态的第一端口接收第二设备的第二端口发送的指示报文;其中,所述处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;The first port in the closed state of the first device receives the indication packet sent by the second port of the second device, where the first port in the closed state can only receive the packet, and cannot send the packet to the second port. The device sends a message;
    所述第一端口将所述指示报文发送至所述第一设备中的网络处理器NP;所述第一设备中的NP判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至所述第一设备中的中央处理器CPU;The first port sends the indication message to the network processor NP in the first device, and the NP in the first device determines whether the indication message is a message indicating that the port is disabled. If yes, transmitting the indication message to a central processing unit CPU in the first device;
    所述第一设备中的CPU在接收到所述NP传输的所述指示报文后,指示所述第一端口解除关闭状态。After receiving the indication message of the NP transmission, the CPU in the first device instructs the first port to release the shutdown state.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    若所述第一设备中的NP确定所述指示报文不是指示解除端口关闭状态的报文,则丢弃所述指示报文。If the NP in the first device determines that the indication message is not a message indicating that the port is disabled, the instruction packet is discarded.
  3. 如权利要求1或2所述的方法,其特征在于,所述第一端口将所述指示报文发送至所述第一设备中的NP,包括:The method according to claim 1 or 2, wherein the sending, by the first port, the indication message to the NP in the first device comprises:
    所述第一端口将所述指示报文传输给第一设备中的子卡;Transmitting, by the first port, the indication message to a child card in the first device;
    所述第一设备中的子卡将所述指示报文传输至NP。The daughter card in the first device transmits the indication message to the NP.
  4. 一种控制端口状态的方法,其特征在于,所述方法包括:A method for controlling a state of a port, the method comprising:
    第二设备中的中央处理器CPU在接收到解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口;其中,处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;所述指示报文为指示解除端口关闭状态的报文;After receiving the instruction to release the closed state of the first port of the first device, the central processing unit CPU in the second device transmits the generated indication message to the second port; wherein the first port is in the closed state The packet can only be received, and the packet cannot be sent to the second device; the indication packet is a packet indicating that the port is disabled.
    所述第二设备的第二端口将所述指示报文发送给所述第一设备的第一端口。The second port of the second device sends the indication message to the first port of the first device.
  5. 如权利要求4所述的方法,其特征在于,所述第二设备中的CPU将生成的指示报文传输至第二端口,包括:The method of claim 4, wherein the CPU in the second device transmits the generated indication message to the second port, including:
    所述CPU在接收到网络管理设备下发的解除所述第一设备的第一端口的关闭状态的指令后,将生成的所述指示报文传输至第二端口。After receiving the instruction of the network management device to release the closed state of the first port of the first device, the CPU transmits the generated indication message to the second port.
  6. 一种路由设备,其特征在于,所述设备包括:A routing device, the device comprising:
    第一端口,用于在关闭状态接收第二设备的第二端口发送的指示报文,将所述指示报文发送至网络处理器NP;其中,所述第一端口在关闭状态不能向其它端口发送报文;其中,所述处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;a first port, configured to receive the indication message sent by the second port of the second device in the off state, and send the indication message to the network processor NP; wherein the first port is in a closed state and cannot be sent to another port Sending a packet; the first port in the closed state can only receive a packet, and cannot send a packet to the second device;
    NP,用于接收所述第一端口传输的所述指示报文,判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至中央处理器CPU;The NP is configured to receive the indication packet that is sent by the first port, determine whether the indication packet is a packet indicating that the port is disabled, and if yes, transmit the indication packet to a central processing unit CPU ;
    CPU,用于在接收到所述NP传输的所述指示报文后,指示所述第一端口解除关闭状态。The CPU is configured to: after receiving the indication message of the NP transmission, instructing the first port to be in an off state.
  7. 如权利要求6所述的设备,其特征在于,所述NP还用于: The device of claim 6 wherein said NP is further for:
    若确定所述指示报文不是指示解除端口关闭状态的报文,则丢弃所述指示报文。If it is determined that the indication message is not a message indicating that the port is disabled, the indication message is discarded.
  8. 如权利要求6所述的设备,其特征在于,所述第一端口具体用于:The device according to claim 6, wherein the first port is specifically configured to:
    将所述指示报文传输给子卡;Transmitting the indication message to the child card;
    所述设备还包括:The device further includes:
    子卡,用于接收所述第一端口传输的所述指示报文,将所述指示报文传输至NP。And the sub-card is configured to receive the indication message transmitted by the first port, and transmit the indication message to the NP.
  9. 一种路由设备,其特征在于,该设备包括:A routing device, the device comprising:
    中央处理器CPU,用于在接收到解除第一设备的第一端口的关闭状态的指令后,将生成的指示报文传输至第二端口;其中,处于关闭状态的所述第一端口只能接收报文,不能向所述第二设备发送报文;所述指示报文为指示解除端口关闭状态的报文;The central processing unit CPU is configured to: after receiving the instruction to release the closed state of the first port of the first device, transmit the generated indication message to the second port; wherein the first port in the closed state can only Receiving the packet, the packet cannot be sent to the second device; the indication packet is a packet indicating that the port is disabled.
    第二端口,用于将所述指示报文发送给所述第一设备的第一端口。And a second port, configured to send the indication message to the first port of the first device.
  10. 如权利要求9所述的设备,其特征在于,所述CPU具体用于:The device according to claim 9, wherein the CPU is specifically configured to:
    在接收到网络管理设备下发的解除所述第一设备的第一端口的关闭状态的指令后,将生成的所述指示报文传输至所述第二端口。After receiving the instruction sent by the network management device to release the closed state of the first port of the first device, the generated indication message is transmitted to the second port.
  11. 一种网络处理器NP,其特征在于,该NP包括:A network processor NP, characterized in that the NP comprises:
    接收模块,用于接收路由设备的第一端口传输的指示报文;a receiving module, configured to receive an indication message transmitted by the first port of the routing device;
    处理模块,用于判断所述指示报文是否为指示解除端口关闭状态的报文,若是,则将所述指示报文传输至所述路由设备中的中央处理器CPU,由所述CPU指示所述第一端口解除关闭状态,否则,丢弃所述指示报文。 a processing module, configured to determine whether the indication message is a message indicating that the port is disabled, and if yes, transmitting the indication message to a central processing unit CPU in the routing device, where the CPU indicates The first port is released from the closed state, otherwise, the indication message is discarded.
PCT/CN2017/074281 2016-02-26 2017-02-21 Method, router, and network processor for controlling port status WO2017143969A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610109801.0 2016-02-26
CN201610109801.0A CN105610740B (en) 2016-02-26 2016-02-26 A kind of method, routing device and the network processing unit of control port state

Publications (1)

Publication Number Publication Date
WO2017143969A1 true WO2017143969A1 (en) 2017-08-31

Family

ID=55990282

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074281 WO2017143969A1 (en) 2016-02-26 2017-02-21 Method, router, and network processor for controlling port status

Country Status (2)

Country Link
CN (1) CN105610740B (en)
WO (1) WO2017143969A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610740B (en) * 2016-02-26 2019-02-12 华为技术有限公司 A kind of method, routing device and the network processing unit of control port state

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819548A (en) * 2004-11-01 2006-08-16 阿尔卡特公司 Port re-enabling by monitoring link status
CN101056341A (en) * 2007-06-07 2007-10-17 杭州华三通信技术有限公司 Automatic closing method and automatic recovery method of unidirectional link and its device
CN101436938A (en) * 2007-11-13 2009-05-20 华为技术有限公司 Method, system and switching equipment for halting/recovering port transmitting and receiving service
CN101814994A (en) * 2009-02-24 2010-08-25 阿尔卡特朗讯公司 A method of centralized Ethernet network shutdown
CN101977078A (en) * 2010-10-22 2011-02-16 中兴通讯股份有限公司 Method and system for processing remote failure device in optical transfer network
US20150312132A1 (en) * 2013-01-25 2015-10-29 Argela Yazilim Ve Bilisim Teknolojileri San.Ve Tic. A.S. METHOD TO CHECK HEALTH OF AUTOMATICALLY DISCOVERED CONTROLLERS IN SOFTWARE DEFINED NETWORKS (SDNs)
CN105610740A (en) * 2016-02-26 2016-05-25 华为技术有限公司 Method for controlling port state, routing equipment and network processor

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807001B1 (en) * 2001-04-17 2004-10-19 Sycamore Networks, Inc. Auto shutdown for distributed raman amplifiers on optical communication systems
CN101155081A (en) * 2006-09-29 2008-04-02 中兴通讯股份有限公司 IP DSLAM business fault diagnosing method based on network processor
CN101192760B (en) * 2006-11-22 2011-01-05 鸿富锦精密工业(深圳)有限公司 Remote digital switch control system and method
CN101447976B (en) * 2007-11-26 2013-01-09 华为技术有限公司 Method for accessing dynamic IP session, system and device thereof
CN101494768A (en) * 2009-01-23 2009-07-29 华为技术有限公司 Method and apparatus for sending and downloading multimedia data, and multimedia order programme system
TWI511496B (en) * 2013-02-20 2015-12-01 Arcadyan Technology Corp System of wireless communication, and method of management
CN103200123B (en) * 2013-03-06 2016-01-20 深圳市新格林耐特通信技术有限公司 A kind of switch ports themselves method of controlling security
CN105025589A (en) * 2014-04-15 2015-11-04 中国移动通信集团公司 Terminal equipment data transmission management method, apparatus, system and associated equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819548A (en) * 2004-11-01 2006-08-16 阿尔卡特公司 Port re-enabling by monitoring link status
CN101056341A (en) * 2007-06-07 2007-10-17 杭州华三通信技术有限公司 Automatic closing method and automatic recovery method of unidirectional link and its device
CN101436938A (en) * 2007-11-13 2009-05-20 华为技术有限公司 Method, system and switching equipment for halting/recovering port transmitting and receiving service
CN101814994A (en) * 2009-02-24 2010-08-25 阿尔卡特朗讯公司 A method of centralized Ethernet network shutdown
CN101977078A (en) * 2010-10-22 2011-02-16 中兴通讯股份有限公司 Method and system for processing remote failure device in optical transfer network
US20150312132A1 (en) * 2013-01-25 2015-10-29 Argela Yazilim Ve Bilisim Teknolojileri San.Ve Tic. A.S. METHOD TO CHECK HEALTH OF AUTOMATICALLY DISCOVERED CONTROLLERS IN SOFTWARE DEFINED NETWORKS (SDNs)
CN105610740A (en) * 2016-02-26 2016-05-25 华为技术有限公司 Method for controlling port state, routing equipment and network processor

Also Published As

Publication number Publication date
CN105610740A (en) 2016-05-25
CN105610740B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN104735001B (en) Link discovery method, apparatus and system in software defined network
CN103684716B (en) For carrying out the method and communication equipment of message transmission in industrial communication network
CN105871743B (en) The machinery of consultation of aggregation port state and device
WO2007016833A1 (en) An method for the triggering failure detection of bidirectional forwarding detection
JP2010200300A (en) Tcp communication scheme
WO2014114232A1 (en) Isolation protection system and method thereof for performing bidirectional data packet filtration inspection
CN104202322A (en) OpenFlow exchanger message security monitor and control method based on OpenFlow protocol
WO2017101762A1 (en) Negotiation mode processing method and intelligent network device
CN104092684A (en) Method and device for supporting VPN based on OpenFlow protocol
CN110233851B (en) Data transmission method and device
WO2017143969A1 (en) Method, router, and network processor for controlling port status
CN102014024B (en) Method, system and device for detecting network intercept of direct-connecting link and network equipment
CN103534995A (en) Router cluster inter-board communication method, router, and router cluster
CN105580323A (en) Filtering a data packet by means of a network filtering device
CN105610577B (en) A kind of system and method preventing IPSec VPN device Multiple tunnel ike negotiations failure
KR101610031B1 (en) Method for controlling openflow switch embedded controller in software defined network and apparatus thereof
CN102523235A (en) Method for self-adaptive support of more pieces of monitoring equipment
JP5655848B2 (en) TCP communication system
RU2660627C2 (en) Method of dynamic control of conformity of the settings of switching devices of the program-defined network to the requirements of routing policies
CN104580434B (en) The method and system that a kind of firmware is downloaded
US7613127B2 (en) Verifying packets received over a physical link
KR101453980B1 (en) Packet relay and transmission apparatus for semiconductor manufacturing equipment
KR101587332B1 (en) Method for checking connectivity between controllers and network apparatuses
CN208459797U (en) A kind of industry control security terminal
JP2010081009A (en) Communications network testing method and network device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17755798

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17755798

Country of ref document: EP

Kind code of ref document: A1