[go: up one dir, main page]

WO2018121067A1 - Network device update method and network device - Google Patents

Network device update method and network device Download PDF

Info

Publication number
WO2018121067A1
WO2018121067A1 PCT/CN2017/109371 CN2017109371W WO2018121067A1 WO 2018121067 A1 WO2018121067 A1 WO 2018121067A1 CN 2017109371 W CN2017109371 W CN 2017109371W WO 2018121067 A1 WO2018121067 A1 WO 2018121067A1
Authority
WO
WIPO (PCT)
Prior art keywords
lpu
mpu
network device
software
lpus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/109371
Other languages
French (fr)
Chinese (zh)
Inventor
鞠文彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2018121067A1 publication Critical patent/WO2018121067A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions

Definitions

  • the present invention relates to the field of communication networks, and in particular, to a method and a network device for updating a network device.
  • Network devices in a communication network typically run software that provides different business processing functions.
  • Software in a network device can be updated when it is desired to provide more functionality to the network device or to optimize existing functionality on the network device.
  • the network device refers to a device that is deployed in the network and has a data forwarding function.
  • the devices A to F are included, wherein the network device A and the network device B are respectively connected to the devices C to F, and both the network device A and the network device B can forward the device C to Data between any two devices in F.
  • the devices C to F may be network devices or hosts.
  • the device connected to the network device A can first upload a new version of the software to the network device A, and then restart the network device A.
  • the network device A is restarted, the connection between the network device A and the devices C, D, E, and F is disconnected.
  • the data can be forwarded through the connection with the network device B.
  • the new version software is run, and then the network device A forwards the data to notify the devices C, D, E, and F of the network device A, and re-establishes the connection with the devices C, D, E, and F respectively.
  • the network device A and the network device B jointly forward the data to forward the data for the devices C to F.
  • the embodiment of the present invention provides a method for updating the network device and a network device.
  • the technical solution is as follows:
  • a method for updating a network device is provided, which is applied to a network device, where the network device may include: a first main processing unit (English: main process unit; MPU for short), and a second MPU and at least two line processing units (English: line process unit; referred to as: LPU).
  • the line processing unit is also called a line card (English: line card).
  • the first MPU in the network device acquires the new version software of the whole machine
  • the new version software of the whole machine may include the first new version software of the second MPU and the first version of each LPU of the at least two LPUs in the network device. Two new versions of the software.
  • the first MPU may notify the second MPU to install the new version of the second MPU.
  • the first MPU and the second MPU may then update the software of each of the at least two LPUs according to the second new version software of each of the at least two LPUs, and update the first of the at least two LPUs
  • the first MPU controls the LPUs of the network device except the first LPU to forward data, so that when the first LPU is updated, other LPUs in the network device can also forward data.
  • the first LPU may include at least one LPU of at least two LPUs.
  • the data may be forwarded by each of the updated LPUs by the second MPU.
  • the method for updating the network device may be used by the network device to forward data by other LPUs other than the LPU when the LPU is updated, so that the network device can forward data by the partial LPU during the update, and the update is improved.
  • the first MPU and the second MPU update the software of each of the at least two LPUs, including:
  • the first MPU may cancel the data forwarding function of the first LPU. This is because the first LPU is reset before the first LPU is run by the second new version of the first LPU, and the connection between the other LPUs and the device is disconnected after the first LPU is reset, and other devices and LPUs are perceived. Before the disconnection of the connection, data may also be sent to the first LPU, and the data sent at this time will be lost, resulting in packet loss. Therefore, when updating each LPU, the data forwarding function of the LPU may be cancelled first.
  • the first MPU may then reset the first LPU and run the first LPU with the second new version of the first LPU, and then the first MPU and the second MPU may restore the data forwarding function of the first LPU. After restoring the data forwarding function of the first LPU, the first LPU can start forwarding data.
  • the method for updating the network device provided by the embodiment of the present invention cancels the data forwarding function of each LPU before running each LPU with the second new version software, and after each LPU runs with the second new version of the software.
  • the data forwarding function of each LPU is restored, so that when each LPU is updated, the network device does not generate packet loss, which improves the stability of the network device.
  • the first MPU cancels the data forwarding function of the first LPU, including:
  • the first MPU may send the first priority to each device connected to the first LPU (each device connected to the first LPU may refer to a device that has a link with the first LPU) Level notification, the first priority notification indicates that the route priority of the first LPU is lower than the default value. After the route priority of the first LPU is lower than the default value, each device connected by the first LPU selects other available devices. Forward data. This step is used to cancel the data forwarding function of the first LPU in each device connected by the first LPU.
  • the other LPU update forwarding table may also be controlled, so that the connection between the other LPUs in the network device and the first LPU is disconnected. This step is used to cancel the data forwarding function of the first LPU in the network device (the network device where the first LPU is located).
  • the method for updating the network device provided by the embodiment of the present invention cancels the data forwarding function of the first LPU in each device connected to the first LPU, and the data forwarding function of the first LPU in the network device, thereby avoiding other A packet loss generated by a device or other LPU to send data to the first LPU.
  • the first MPU cancels the data forwarding function of the first LPU, including:
  • the first MPU may notify each device connected to the first LPU, disconnect the connection with the first LPU, such that each device connected by the first LPU It also does not send data to the first LPU.
  • the first MPU may also control other LPU update forwarding tables to disconnect the other LPUs from the first LPU.
  • the method for updating the network device provided by the embodiment of the present invention cancels the data forwarding function of the first LPU in each device connected to the first LPU, and the data forwarding function of the first LPU in the network device, thereby avoiding other Equipment or Packet loss generated by other LPUs sending data to the first LPU.
  • the first MPU and the second MPU restore the data forwarding function of the first LPU, including:
  • the second MPU may send a routing table to the first LPU, so that the first LPU can forward data to each device connected to the first LPU.
  • the first MPU may control other LPU update forwarding tables in the network device except the first LPU. Then, any one of the other LPUs may establish a connection between the LPU and the first LPU according to the forwarding table of the any LPU, where the step is used to restore data forwarding of the first LPU in other LPUs of the network device.
  • the method for updating the network device provided by the embodiment of the present invention restores the data forwarding function of the first LPU in the network device, so that the network device can recover the first LPU after running the second new version of the software of the first LPU.
  • the data forwarding function in the communication network improves the data forwarding capability of the network device.
  • the method before the second MPU sends the routing table to the first LPU, the method further includes:
  • the second MPU may send a second priority notification to each device connected to the first LPU, the second priority notification indicating that the routing priority of the first LPU is lower than a default value.
  • the route priority of the first LPU is lower than the default value, other LPUs in the network device preferentially forward the data by the LPU except the first LPU.
  • the method for updating a network device uses the first LPU as a standby LPU.
  • the LPU can be used to reduce long-term packet loss and data interruption.
  • the method further includes:
  • the second MPU in the network device sends a third priority notification to each device connected to the first LPU, where the third priority notification indicates that the routing priority of the first LPU is a default value.
  • each device connected to the first LPU updates its own forwarding table, re-establishes the connection with the first LPU, and the first LPU and other LPUs can jointly send to other devices. Forward data to the network device.
  • the method for updating the network device sets the route priority of the first LPU in each device connected to the first LPU to a default value, so that the first LPU can be sent to the network device together with other LPUs.
  • the data is forwarded, which improves the data forwarding capability of the network device.
  • the first MPU controls other LPU update forwarding tables, including:
  • the second MPU may send the routing information of the first LPU to the first MPU, and then the first MPU may control other LPU update forwarding tables according to the routing information of the first LPU.
  • the routing information of the first LPU is learned by the first LPU under the control of the second MPU.
  • the second MPU sends the routing information of the first LPU to the first MPU, so that the first MPU can be added to the first LPU when controlling other LPU update forwarding tables. Connection.
  • the new version of the software includes a third new version of the first MPU.
  • the method further includes:
  • the first MPU can be run by the third new version of the first MPU, and then the first MPU can obtain the service configuration and status of the second MPU. After acquiring the service configuration and status of the second MPU, the first MPU can serve as the standby MPU of the second MPU, and replace the second MPU when the second MPU has a problem.
  • a network device includes a first MPU, a second MPU, and at least two LPUs, where the first MPU, the second MPU, and the at least two LPUs are used to implement The method for updating a network device provided by any one of the foregoing first aspect or the first aspect.
  • each LPU is separately updated.
  • data is forwarded by other LPUs other than the LPU in the network device, so that the network device can forward data by a part of the LPU when updating, and the related technology is solved.
  • the network device is updated, the data forwarding capability of the communication network is low. Improves the data forwarding capability of the communication network when updating network devices.
  • FIG. 1 is a schematic diagram of an implementation environment of a method for updating a network device according to various embodiments of the present invention
  • 2-1 is a schematic structural diagram of a network device to which a method for updating a network device according to an embodiment of the present invention is applied;
  • FIG. 2-2 is a schematic structural diagram of any MPU in the network device shown in FIG. 2-1;
  • Figure 2-3 is a schematic structural diagram of any LPU in the network device shown in Figure 2-1;
  • 3-1 is a flowchart of a method for updating a network device according to an embodiment of the present invention
  • Figure 3-2 is a flow chart of the LPU update forwarding table in the embodiment shown in Figure 3-1.
  • the implementation environment of the method for updating the network device may be a communication network as shown in FIG. 1 , where the communication network includes network devices A and B and devices C, D, E, and F, where device C, An equal-cost multiple-path (ECMP) technique can be applied between D, E, and F and network devices A and B. That is, multiple different links can reach the same destination address.
  • the communication network can be a columnar (English: chimney) network or a large layer 2 network (English: large layer 2 network).
  • the network device 20 may include: a first MPU 21, a second MPU 22, and at least two LPUs (FIG. 2-1 shows The number of LPUs is 4), the power supply (English: power) 23, the backplane (or the switching network board) 24, the first MPU 21 is responsible for the management and control of the entire network device, and the second MPU 22 is the first MPU. Backup, when the first MPU fails, the second MPU 22 takes over the management and control of the entire network device.
  • LPU1, LPU2, LPU3, and LPU4 provide various types of interfaces and are responsible for forwarding traffic of user equipment.
  • the user equipment may be devices C, D, E, F in FIG. Devices C, D, E, and F can be network devices or hosts.
  • the backboard 24 is used to connect a plurality of MPUs and a plurality of LPUs.
  • the power source 23 is responsible for supplying power to the entire network device.
  • LPU1 is connected to devices C and D
  • LPU2 is connected to devices C and D
  • LPU3 is connected to devices E and F
  • LPU4 is connected to devices E and F.
  • the LPU and other devices in the network device 20 may also be other connection manners, which are not limited in the embodiment of the present invention.
  • devices C, D, E, and F are used to describe the connection relationship between the network device and other devices, and may not be included in the network device 20.
  • the network device may be a frame device, and the frame device may be applied to an aggregation layer, a core layer, and a wide area network (WAN).
  • WAN wide area network
  • the first MPU 21 in the network device is configured to perform steps 301, 302, 303, 305, 306, 310, 315, and 316 in the following embodiments.
  • the second MPU 22 in the network device is configured to perform steps 307, 309, 312, and 314 in the following embodiments.
  • At least two LPUs in the network device are used to perform step 311 in the following embodiments.
  • the MPU includes a processor 211, a memory 212, a flash memory 213, a switch chip 214, and a first interface 215.
  • the processor 211 is connected to the memory 212, the flash memory 213, the switch chip 214, the second interface 216, and the serial port 217, and the switch chip 214 is connected to the first interface 215.
  • the first interface 215 and the second interface 216 can be Ethernet interfaces.
  • the memory 212 can be a random access memory (English: random access memory; abbreviation: RAM).
  • the processor 22 executes various functional applications and data processing by running a program.
  • the flash memory 213 is used to store the program running by the processor 211 and the parameters of the static configuration.
  • the memory 212 is used to store the code running in real time by the processor 211 (the code is a segment of the program saved in the flash memory 213) and data, and the first interface 215
  • the switch chip 214 is configured to send information to the respective LPUs through the first interface 215.
  • the serial port 217 is a local interface.
  • the device directly connected to the serial port 217 can be configured with a command line through the serial port 217, and the second interface 216 is a network interface, which can be used for program file downloading, connecting to the network management, device management, or configuring a command line through the network.
  • the LPU includes: a processor 261, a first memory 262, a flash memory 263, a switch chip 264, a first interface 265, and The second interface 266.
  • the processor 261 is connected to the memory 262, the flash memory 263, the switch chip 264, and the first interface 265, and the switch chip 264 is connected to the second interface 266.
  • the switch chip 264 can also be connected with a second memory 267 for storing the content of the forwarded message.
  • the first memory 262 and the second memory 267 may be located in the same physical memory, or may be located in different physical memories, and the physical memory may be a RAM.
  • the processor 261 executes various functions and data processing by running a program
  • the flash memory 263 is used to store programs running by the processor 261 and statically configured parameters
  • the first memory 262 is used to store code that the processor 261 runs in real time (the The code is a segment of the program stored in the flash memory 263 and the data
  • the first interface 265 is used to connect with the MPU in the network device
  • the second interface 266 is used to connect with other external devices
  • the switch chip 264 is used to pass the second The interface 266 performs data transmission with other external devices.
  • the second memory 267 is used to buffer data received or to be transmitted by the switch chip.
  • FIG. 3-1 is a flowchart of a method for updating a network device according to an embodiment of the present invention.
  • the method for updating the network device is applied to the network device shown in FIG. 2-1 for example.
  • the method for updating the network device may include the following steps:
  • Step 301 The first MPU in the network device acquires a new version of the software.
  • the first MPU in the network device may first acquire the first new version software including the second MPU and the second new version software of each of the at least two LPUs.
  • the new version of the software can be the system software of the whole machine.
  • the new version of the software may also include a third new version of the first MPU to facilitate subsequent updates to the software of the first MPU, the third new version of the first MPU and the first new version of the second MPU may Similarly, in the at least two LPUs, the second new version of the software of any two LPUs may be the same or different.
  • the first LPU may include at least one LPU in the network device, that is, the method provided by the embodiment of the present invention may update multiple LPUs in the network device each time.
  • the first MPU in the network device When the first MPU in the network device obtains the new version software of the whole machine, it can pass the first part in the MPU as shown in Figure 2-2.
  • the second interface 216 is connected to the file transfer protocol (English: File Transfer Protocol; for short: FTP) server to obtain, or can be obtained by connecting to the FTP server through the second interface 266 in the LPU as shown in FIG. 2-3, and then The LPU is transmitted to the first MPU.
  • the file transfer protocol English: File Transfer Protocol; for short: FTP
  • the logic in the hardware of the network device can also be updated by uploading a new version of the software to the first MPU, such as editing a Field-Programmable Gate Array (FPGA).
  • FPGA Field-Programmable Gate Array
  • Step 302 The first MPU in the network device notifies the second MPU to install the first new version of the software of the second MPU.
  • the first MPU that currently controls each LPU may notify the second MPU to install the first new version of the software of the second MPU. After receiving the notification, the second MPU will run with the first new version of the second MPU. The second MPU can reset and restart the first new version of the software of the second MPU.
  • the second MPU can back up the service configuration and status of the first MPU for subsequent use in controlling the LPU.
  • the service configuration of the first MPU is statically delivered by the manual or network management software. After the second MPU is restarted, the service configuration can continue to take effect in the second MPU.
  • the configuration of the service may include whether the port is closed, the virtual local area network (English: network), and the virtual private network (English: virtual private network; VPN).
  • the state of the first MPU is dynamic and updated in real time, and the state may include the state of the port, routing information received from neighboring neighbors, and the like.
  • Step 303 The first MPU in the network device sends a first priority notification to each device connected to the first LPU.
  • the first MPU of the network device sends a first priority notification to each device connected to the first LPU by using a route protocol (English: routing protocol), and the first priority notification may indicate a route priority of the first LPU.
  • a route protocol English: routing protocol
  • the first priority notification may indicate a route priority of the first LPU.
  • each device connected by the first LPU sets the priority of the forwarding path with the first LPU to be lower than the default value according to the indication. This step is used to guide each device connected by the first LPU to forward data to other paths when the first LPU updates the software.
  • the first LPU is LPU1
  • the first MPU may send the first priority notification to the network devices C and D to which the LPU1 is connected.
  • the step may be: the first MPU in the network device notifies each device connected to the first LPU to disconnect from the first LPU. This also prevents each device connected by the first LPU from transmitting data to the first LPU when the first LPU updates the software.
  • Step 304 Each device connected by the first LPU updates the forwarding path.
  • Each device connected by the first LPU updates the forwarding path according to the first priority notification sent by the first LPU, that is, updates the forwarding table. After each device connected to the first LPU updates the forwarding path, it selects a path connecting other LPUs to forward data. This is because in the communication network, when there are multiple paths to the same destination address, the network device selects a forwarding path with a large routing priority according to the routing priority, and the routing priority of the first LPU is low. After the default value, each device connected to the first LPU will select another LPU with a higher routing priority to forward the data. Exemplarily, in the network device shown in FIG. 2-1, if the first LPU is LPU1, the devices C and D connected to the LPU1 update the forwarding path, and the data is received by the LPU2 (the routing priority of the LPU2 is the default value). To forward.
  • each device of the first LPU connection may also update the forwarding path and remove the forwarding path including the first LPU. .
  • Step 305 The first MPU in the network device controls another LPU update forwarding table to disconnect the connection between the other LPU and the first LPU.
  • the first MPU can Control other LPU update forwarding tables to disconnect the other LPUs from the first LPU. This can prevent other LPUs from sending data to the first LPU when the LPU is updated, causing packet loss.
  • the first MPU may send a forwarding table to other LPUs other than the first LPU (which may be used to indicate that other LPUs disconnect the first LPU) to update the forwarding table of the other LPU. For example, in the network device shown in FIG.
  • the first LPU is LPU1
  • the first MPU may send a forwarding table to LPU2, LPU3, and LPU4 (the forwarding table is used to indicate that LPU2, LPU3, and LPU4 are broken. Open the connection with LPU1) to update the forwarding table of LPU2, LPU3 and LPU4, so that LPU2, LPU3 and LPU4 will disconnect from LPU1.
  • Step 306 The first MPU in the network device resets the first LPU, and runs the first LPU in the second new version software of the first LPU.
  • the first MPU in the network device may reset the first LPU, and send the second new version of the first LPU to the first LPU, and then The second new version of the software of an LPU runs the first LPU. After running the first LPU with the second new version of the first LPU, the first MPU notifies the second MPU to control the first LPU and hands the first LPU to the second MPU.
  • the first LPU is LPU1
  • the LPU1 is an LPU as shown in Figure 2-3
  • the first MPU is an MPU as shown in Figure 2-2.
  • the first MPU may reset the LPU1
  • the second new version software of the first LPU is transmitted by the first interface 215 to the first interface 265 of the LPU1
  • the LPU1 is run with the second new version software of the LPU1, after which the first MPU notifies the second
  • the MPU controls the LPU1.
  • Step 307 The second MPU in the network device sends a second priority notification to each device connected by the first LPU.
  • the second MPU in the network device may send a second priority notification to each device connected to the first LPU in a manner that the routing protocol advertises the route, where the second priority notification indicates that the routing priority of the first LPU is lower than a default value.
  • the first LPU disconnects the device connected to it after resetting, and when the first LPU is re-run with the second new version of the first LPU, the second MPU can be reset to the first LPU.
  • Each of the previously connected devices sends a second priority notification to inform the first LPU to reset each device connected before the first LPU, and the first LPU can serve as a standby LPU when no other LPU can forward the data, so as to prevent the network device from generating a long Loss or interruption of time.
  • the first LPU is LPU1
  • the second MPU 22 may send a second priority notification to devices C and D.
  • Step 308 Each device connected by the first LPU sends a route notification to the first LPU.
  • the external port of the first LPU is reconnected (English: link up), and each device connected before the first LPU reset finds the network setting.
  • the first LPU is LPU1
  • the devices C and D advertise a route to the LPU1 to indicate the devices C and D.
  • a connection is established with LPU1.
  • the step 308 may be performed before the step 307, or may be performed simultaneously with the step 307, which is not limited in the embodiment of the present invention.
  • Step 309 The second MPU in the network device sends a routing table to the first LPU.
  • the second MPU can perform route calculation, compare the cost to the same destination, and then generate a routing table, and then send the routing table to the first LPU, so that the routing table can be sent to the first LPU.
  • the first LPU is capable of forwarding data to each device connected before the first LPU is reset. For example, in the network device shown in FIG. 2-1, the first LPU is LPU1, and after completing the route calculation, the second MPU 22 may send a routing table to the LPU1, so that the LPU1 receives the devices C and D. After the data, you can forward to devices C and D.
  • Step 310 The first MPU in the network device controls other LPU update forwarding tables.
  • this step can include the following two substeps:
  • Sub-step 3101 the second MPU in the network device sends the routing information of the first LPU to the first MPU.
  • the second MPU may first send the routing information of the first LPU to the first MPU by using a backplane (or a switching network board) in the network device, where the routing information may include routing information learned by the first LPU from the network devices C and D. .
  • Sub-step 3102 The first MPU in the network device controls other LPU update forwarding tables according to the routing information of the first LPU.
  • the first MPU may send a forwarding table to other LPUs in the network device to update the other LPU forwarding table according to the routing information of the first LPU sent by the second MPU, and the forwarding table of the other LPUs includes the forwarding of the first LPU. path.
  • Step 311 Any one of the other LPUs in the network device establishes a connection between the LPU and the first LPU according to the forwarding table of the any LPU.
  • any LPU other than the first LPU may establish a connection between the LPU and the first LPU according to the updated forwarding table.
  • step 311 other LPUs in the network device can send data to the first LPU for forwarding by the first LPU.
  • Step 312 The second MPU in the network device sends a third priority notification to each device connected by the first LPU.
  • the first LPU has the capability of data forwarding.
  • the second MPU can send a third priority notification to each device connected to the first LPU by using a routing protocol to advertise the route.
  • the notification indicates that the route priority of the first LPU is the default value.
  • Step 313 Each device connected to the first LPU updates the forwarding table.
  • each device connected to the first LPU may recalculate the route and update its own forwarding table. After updating the forwarding table, the first LPU may re-participate to each of the first LPU connections.
  • Data forwarding in devices Exemplarily, in the network device shown in FIG. 2-1, the first LPU is LPU1, and the devices C and D connected to the LPU1 are updated before the forwarding table, and the devices C and D have data to be sent to the device E and the device F. It can only be forwarded by LPU2, and after devices C and D update the forwarding table, LPU1 and LPU2 can form an ECMP path, so that LPU1 and LPU2 can jointly forward the data of devices C and D.
  • Step 314 After the software update of each LPU, the second MPU controls each updated LPU to forward data.
  • the second MPU running the first new version of the software can control the updated LPU to forward the data.
  • the first MPU and the second MPU in the network device may complete the software update of each LPU in the network device through steps 303 to 313.
  • LPU1 may be first used as the first LPU, and the update of LPU1 is completed through steps 303 to 313, and the second MPU controls LPU1 to forward data, and then LPU2 is used.
  • the update of the LPU2 is completed through steps 303 to 313, and the second MPU controls the LPU2 and the LPU1 to forward the data together, thereby completing the software update to the LPU1-LPU4.
  • Step 315 The first MPU in the network device runs in the third new version software of the first MPU.
  • the LPUs in the network device are all controlled by the second MPU, and the first MPU in the network device can be reset and restarted to run with the third new version software of the first MPU.
  • Step 316 The first MPU in the network device acquires a service configuration and a status of the second MPU.
  • the service configuration and status can be referred to the description in step 302.
  • the first MPU obtains the service configuration and shape of the second MPU. After the state, it can be used as the standby MPU of the second MPU. When the second MPU is faulty, the second MPU is taken over to control each LPU.
  • the method for updating a network device provided by the embodiment of the present invention separately updates each LPU.
  • the LPUs of the network device except the LPU forward data, so that the network device can be updated.
  • the problem that the data forwarding capability of the communication network is low when the network device is updated in the related art is solved. Improves the data forwarding capability of the communication network when updating network devices.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application discloses a network device update method and a network device, and pertains to the field of communication networks. The method comprises: a first MPU acquiring a new version of software for an entire device; the first MPU notifying a second MPU of installation of a new version of software for the second MPU; the first MPU and the second MPU updating software of each of at least two LPUs, LPUs other than a first LPU forwarding data when software of the first LPU is updated; and the second MPU controlling each updated LPU to forward data. In the present invention, when the first LPU is updated, the first MPU controls the other LPUs in a network device to forward data, so that the network device can forward data by using some of the LPUs during the update, thereby resolving the problem in which the data forwarding capability of a communication network is low during update of a network device in the related art, and improving the data forwarding capability of the communication network during update of the network device.

Description

网络设备的更新方法和网络设备Network device update method and network device

本申请要求于2016年12月29日提交中国专利局、申请号为201611248089.9、发明名称为“网络设备的更新方法和网络设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201611248089.9, the disclosure of which is incorporated herein by reference in its entirety in its entirety in its entirety in in.

技术领域Technical field

本发明涉及通信网络领域,特别涉及一种网络设备的更新方法和网络设备。The present invention relates to the field of communication networks, and in particular, to a method and a network device for updating a network device.

背景技术Background technique

通信网络中的网络设备通常运行有能够提供不同业务处理功能的软件。当需要使网络设备提供更多功能或者对网络设备上的现有功能进行优化的时候,可以对网络设备中的软件进行更新。Network devices in a communication network typically run software that provides different business processing functions. Software in a network device can be updated when it is desired to provide more functionality to the network device or to optimize existing functionality on the network device.

目前,在更新通信网络中的网络设备的软件时,可以向该网络设备上传新版本软件(新版本软件用于替换该网络设备中当前运行的软件),然后复位重启该网络设备,此时该网络设备与其他设备建立的连接会断开,其他设备感知到连接的断开后,会通过其他的连接来发送数据。其中,网络设备是指部署在网络中且具有数据转发功能的设备。示例性的,如图1所示的通信网络中,包括设备A至F,其中网络设备A和网络设备B分别与设备C至F连接,且网络设备A和网络设备B均能够转发设备C至F中任意两个设备之间的数据。其中,设备C至F可以是网络设备或者主机。在更新网络设备A时,首先可以通过与网络设备A连接的设备向网络设备A上传新版本软件,然后重启网络设备A。当重启网络设备A时,网络设备A与设备C、D、E、F之间的连接会断开。设备C、D、E、F感知到与网络设备A之间的连接断开后,可以通过与网络设备B之间的连接来转发数据。网络设备A重启完成后会运行新版本软件,然后网络设备A转发数据通知设备C、D、E、F网络设备A的路由,并重新分别建立与设备C、D、E、F之间的连接,之后由网络设备A和网络设备B共同转发数据为设备C至F转发数据。Currently, when updating the software of the network device in the communication network, a new version of the software may be uploaded to the network device (the new version software is used to replace the software currently running in the network device), and then the network device is reset and restarted. The connection between the network device and other devices will be disconnected. After other devices sense that the connection is disconnected, data will be sent through other connections. The network device refers to a device that is deployed in the network and has a data forwarding function. Exemplarily, in the communication network shown in FIG. 1, the devices A to F are included, wherein the network device A and the network device B are respectively connected to the devices C to F, and both the network device A and the network device B can forward the device C to Data between any two devices in F. The devices C to F may be network devices or hosts. When updating the network device A, the device connected to the network device A can first upload a new version of the software to the network device A, and then restart the network device A. When the network device A is restarted, the connection between the network device A and the devices C, D, E, and F is disconnected. After the devices C, D, E, and F sense that the connection with the network device A is disconnected, the data can be forwarded through the connection with the network device B. After the network device A restarts, the new version software is run, and then the network device A forwards the data to notify the devices C, D, E, and F of the network device A, and re-establishes the connection with the devices C, D, E, and F respectively. Then, the network device A and the network device B jointly forward the data to forward the data for the devices C to F.

在网络设备从断开与其他设备的连接至重新建立与其他设备的连接的期间,该通信网络中其他设备无法通过该网络设备转发数据,通信网络的数据转发能力较低。During the disconnection of the network device from the connection with other devices to the re-establishment of the connection with other devices, other devices in the communication network cannot forward data through the network device, and the data forwarding capability of the communication network is low.

发明内容Summary of the invention

为了解决现有技术中更新网络设备的软件时,通信网络的数据转发能力较低的问题,本发明实施例提供了一种网络设备的更新方法和网络设备。所述技术方案如下:In order to solve the problem that the data forwarding capability of the communication network is low when the software of the network device is updated in the prior art, the embodiment of the present invention provides a method for updating the network device and a network device. The technical solution is as follows:

根据本发明实施例的第一方面,提供了一种网络设备的更新方法,应用于网络设备,该网络设备可以包括:第一主处理单元(英文:main process unit;简称:MPU)、第二MPU和至少两个线路处理单元(英文:line process unit;简称:LPU)。其中线路处理单元又称为线卡(英文:line card)。According to a first aspect of the present invention, a method for updating a network device is provided, which is applied to a network device, where the network device may include: a first main processing unit (English: main process unit; MPU for short), and a second MPU and at least two line processing units (English: line process unit; referred to as: LPU). The line processing unit is also called a line card (English: line card).

该方法中,网络设备中第一MPU获取整机新版本软件,而整机新版本软件可以包括第二MPU的第一新版本软件和该网络设备中的至少两个LPU中每个LPU的第二新版本软件。In the method, the first MPU in the network device acquires the new version software of the whole machine, and the new version software of the whole machine may include the first new version software of the second MPU and the first version of each LPU of the at least two LPUs in the network device. Two new versions of the software.

获取整机新版本软件后,第一MPU可以通知第二MPU安装所述第二MPU的新版本软件。 之后第一MPU和第二MPU可以根据至少两个LPU中每个LPU的第二新版本软件对至少两个LPU中的每个LPU的软件进行更新,并且在更新至少两个LPU中的第一LPU的软件时,第一MPU控制网络设备中除第一LPU外的其他LPU转发数据,这样在第一LPU更新时,网络设备中的其他的LPU还可以转发数据。其中,第一LPU可以包括至少两个LPU中的至少一个LPU。After obtaining the new version of the software, the first MPU may notify the second MPU to install the new version of the second MPU. The first MPU and the second MPU may then update the software of each of the at least two LPUs according to the second new version software of each of the at least two LPUs, and update the first of the at least two LPUs In the software of the LPU, the first MPU controls the LPUs of the network device except the first LPU to forward data, so that when the first LPU is updated, other LPUs in the network device can also forward data. The first LPU may include at least one LPU of at least two LPUs.

在每个LPU的软件更新后,可以由第二MPU控制更新后的每个LPU转发数据。After the software update of each LPU, the data may be forwarded by each of the updated LPUs by the second MPU.

本发明实施例提供的网络设备的更新方法,可以在某个LPU更新时,由网络设备中除该LPU外的其它LPU转发数据,使得网络设备可以在更新时由部分LPU转发数据,提高了更新网络设备时,通信网络的数据转发能力。The method for updating the network device provided by the embodiment of the present invention may be used by the network device to forward data by other LPUs other than the LPU when the LPU is updated, so that the network device can forward data by the partial LPU during the update, and the update is improved. The data forwarding capability of the communication network when the network device is used.

可选的,第一MPU和第二MPU对至少两个LPU中的每个LPU的软件进行更新,包括:Optionally, the first MPU and the second MPU update the software of each of the at least two LPUs, including:

在以第一LPU的第二新版本软件运行第一LPU时,第一MPU可以取消第一LPU的数据转发功能。这是由于以第一LPU的第二新版本软件运行第一LPU前会对第一LPU进行复位,而第一LPU复位后会断开与其他LPU和设备之间的连接,其他设备和LPU感知到连接的断开前,可能还会向第一LPU发送数据,此时发送的数据就会丢失,产生丢包,因此在更新每个LPU时,首先可以取消该LPU的数据转发功能。之后第一MPU可以复位第一LPU,并以第一LPU的第二新版本软件运行第一LPU,然后第一MPU和第二MPU可以恢复第一LPU的数据转发功能。恢复第一LPU的数据转发功能后,第一LPU就能够开始转发数据。When the first LPU is run with the second new version of the first LPU, the first MPU may cancel the data forwarding function of the first LPU. This is because the first LPU is reset before the first LPU is run by the second new version of the first LPU, and the connection between the other LPUs and the device is disconnected after the first LPU is reset, and other devices and LPUs are perceived. Before the disconnection of the connection, data may also be sent to the first LPU, and the data sent at this time will be lost, resulting in packet loss. Therefore, when updating each LPU, the data forwarding function of the LPU may be cancelled first. The first MPU may then reset the first LPU and run the first LPU with the second new version of the first LPU, and then the first MPU and the second MPU may restore the data forwarding function of the first LPU. After restoring the data forwarding function of the first LPU, the first LPU can start forwarding data.

本发明实施例提供的网络设备的更新方法,在以第二新版本软件运行每个LPU之前,取消每个LPU的数据转发功能,并在每个LPU以各自的第二新版本软件运行后,再恢复每个LPU的数据转发功能,使得每个LPU在进行更新时,网络设备不会产生丢包的情况,提高了网络设备的稳定性。The method for updating the network device provided by the embodiment of the present invention cancels the data forwarding function of each LPU before running each LPU with the second new version software, and after each LPU runs with the second new version of the software. The data forwarding function of each LPU is restored, so that when each LPU is updated, the network device does not generate packet loss, which improves the stability of the network device.

可选地,第一MPU取消第一LPU的数据转发功能,包括:Optionally, the first MPU cancels the data forwarding function of the first LPU, including:

第一MPU在取消第一LPU的数据转发功能时,可以向第一LPU连接的每个设备(第一LPU连接的每个设备可以是指与第一LPU存在链路的设备)发送第一优先级通知,该第一优先级通知指示第一LPU的路由优先级低于默认值,在第一LPU的路由优先级低于默认值后,第一LPU连接的每个设备会选择其他可用的设备转发数据。本步骤用于取消第一LPU在第一LPU连接的每个设备中的数据转发功能。When canceling the data forwarding function of the first LPU, the first MPU may send the first priority to each device connected to the first LPU (each device connected to the first LPU may refer to a device that has a link with the first LPU) Level notification, the first priority notification indicates that the route priority of the first LPU is lower than the default value. After the route priority of the first LPU is lower than the default value, each device connected by the first LPU selects other available devices. Forward data. This step is used to cancel the data forwarding function of the first LPU in each device connected by the first LPU.

第一MPU取消第一LPU的数据转发功能时,还可以控制其他LPU更新转发表,这样就断开了网络设备中的其他LPU与第一LPU之间的连接。本步骤用于取消第一LPU在本网络设备(第一LPU所在的网络设备)中的数据转发功能。When the first MPU cancels the data forwarding function of the first LPU, the other LPU update forwarding table may also be controlled, so that the connection between the other LPUs in the network device and the first LPU is disconnected. This step is used to cancel the data forwarding function of the first LPU in the network device (the network device where the first LPU is located).

本发明实施例提供的网络设备的更新方法,分别取消了第一LPU在第一LPU连接的每个设备中的数据转发功能,以及第一LPU在本网络设备中的数据转发功能,避免了其他设备或其他LPU将数据发向第一LPU而产生的丢包。The method for updating the network device provided by the embodiment of the present invention cancels the data forwarding function of the first LPU in each device connected to the first LPU, and the data forwarding function of the first LPU in the network device, thereby avoiding other A packet loss generated by a device or other LPU to send data to the first LPU.

可选的,第一MPU取消第一LPU的数据转发功能,包括:Optionally, the first MPU cancels the data forwarding function of the first LPU, including:

在另一种取消第一LPU的数据转发功能的方式中,第一MPU可以通知第一LPU连接的每个设备,断开与第一LPU之间的连接,这样第一LPU连接的每个设备也同样不会向第一LPU发送数据。In another manner of canceling the data forwarding function of the first LPU, the first MPU may notify each device connected to the first LPU, disconnect the connection with the first LPU, such that each device connected by the first LPU It also does not send data to the first LPU.

第一MPU还可以控制其他LPU更新转发表,以断开其他LPU与第一LPU之间的连接。The first MPU may also control other LPU update forwarding tables to disconnect the other LPUs from the first LPU.

本发明实施例提供的网络设备的更新方法,分别取消了第一LPU在第一LPU连接的每个设备中的数据转发功能,以及第一LPU在本网络设备中的数据转发功能,避免了其他设备或 其他LPU将数据发向第一LPU而产生的丢包。The method for updating the network device provided by the embodiment of the present invention cancels the data forwarding function of the first LPU in each device connected to the first LPU, and the data forwarding function of the first LPU in the network device, thereby avoiding other Equipment or Packet loss generated by other LPUs sending data to the first LPU.

可选的,第一MPU和第二MPU恢复第一LPU的数据转发功能,包括:Optionally, the first MPU and the second MPU restore the data forwarding function of the first LPU, including:

在恢复第一LPU的数据转发功能时,第二MPU可以向第一LPU下发路由表,使第一LPU能够向第一LPU连接的每个设备转发数据。When the data forwarding function of the first LPU is restored, the second MPU may send a routing table to the first LPU, so that the first LPU can forward data to each device connected to the first LPU.

第一MPU可以控制网络设备中除第一LPU外的其他LPU更新转发表。之后该其他LPU中的任一LPU可以根据该任一LPU的转发表建立该任一LPU与第一LPU之间的连接,该步骤用于恢复第一LPU在网络设备的其他LPU中的数据转发功能。The first MPU may control other LPU update forwarding tables in the network device except the first LPU. Then, any one of the other LPUs may establish a connection between the LPU and the first LPU according to the forwarding table of the any LPU, where the step is used to restore data forwarding of the first LPU in other LPUs of the network device. Features.

本发明实施例提供的网络设备的更新方法,恢复了第一LPU在本网络设备中的数据转发功能,使得第一LPU在以第一LPU的第二新版本软件运行后,网络设备能够恢复其在通信网络中的数据转发功能,提高了网络设备的数据转发能力。The method for updating the network device provided by the embodiment of the present invention restores the data forwarding function of the first LPU in the network device, so that the network device can recover the first LPU after running the second new version of the software of the first LPU. The data forwarding function in the communication network improves the data forwarding capability of the network device.

可选的,第二MPU向第一LPU下发路由表之前,该方法还包括:Optionally, before the second MPU sends the routing table to the first LPU, the method further includes:

第二MPU可以向第一LPU连接的每个设备发送第二优先级通知,该第二优先级通知指示第一LPU的路由优先级低于默认值。在第一LPU的路由优先级低于默认值时,网络设备中的其他LPU会优先将数据由除第一LPU外的LPU进行转发。The second MPU may send a second priority notification to each device connected to the first LPU, the second priority notification indicating that the routing priority of the first LPU is lower than a default value. When the route priority of the first LPU is lower than the default value, other LPUs in the network device preferentially forward the data by the LPU except the first LPU.

本发明实施例提供的网络设备的更新方法,将第一LPU作为备用的LPU,在本网络设备没有其他可用的LPU时,可以使用LPU以减少长时间的丢包和数据中断。The method for updating a network device according to the embodiment of the present invention uses the first LPU as a standby LPU. When the network device has no other available LPU, the LPU can be used to reduce long-term packet loss and data interruption.

可选的,第二MPU控制第一LPU向第一LPU连接的每个设备下发路由表之后,该方法还包括:Optionally, after the second MPU controls the first LPU to send the routing table to each device connected to the first LPU, the method further includes:

网络设备中的第二MPU向第一LPU连接的每个设备发送第三优先级通知,该第三优先级通知指示第一LPU的路由优先级为默认值。第一LPU的路由优先级为默认值后,第一LPU连接的每个设备就会更新各自的转发表,重新建立与第一LPU的连接,第一LPU和其他LPU就可以共同对其他设备发向本网络设备的数据进行转发。The second MPU in the network device sends a third priority notification to each device connected to the first LPU, where the third priority notification indicates that the routing priority of the first LPU is a default value. After the routing priority of the first LPU is the default value, each device connected to the first LPU updates its own forwarding table, re-establishes the connection with the first LPU, and the first LPU and other LPUs can jointly send to other devices. Forward data to the network device.

本发明实施例提供的网络设备的更新方法,将第一LPU在第一LPU连接的每个设备中的路由优先级设置为默认值,使第一LPU能够和其他LPU一同对发给本网络设备的数据进行转发,提高了本网络设备的数据转发能力。The method for updating the network device according to the embodiment of the present invention sets the route priority of the first LPU in each device connected to the first LPU to a default value, so that the first LPU can be sent to the network device together with other LPUs. The data is forwarded, which improves the data forwarding capability of the network device.

可选的,第一MPU控制其他LPU更新转发表,包括:Optionally, the first MPU controls other LPU update forwarding tables, including:

第二MPU可以将第一LPU的路由信息发送给第一MPU,之后第一MPU可以根据第一LPU的路由信息控制其他LPU更新转发表。其中第一LPU的路由信息为第一LPU在第二MPU的控制下学习得到的。The second MPU may send the routing information of the first LPU to the first MPU, and then the first MPU may control other LPU update forwarding tables according to the routing information of the first LPU. The routing information of the first LPU is learned by the first LPU under the control of the second MPU.

本发明实施例提供的网络设备的更新方法中,第二MPU将第一LPU的路由信息发送给第一MPU,使得第一MPU在控制其他LPU更新转发表时,能够添加与第一LPU之间的连接。In the method for updating a network device according to the embodiment of the present invention, the second MPU sends the routing information of the first LPU to the first MPU, so that the first MPU can be added to the first LPU when controlling other LPU update forwarding tables. Connection.

可选的,整机新版本软件还包括第一MPU的第三新版本软件。Optionally, the new version of the software includes a third new version of the first MPU.

第二MPU控制更新后的每个LPU转发数据之后,该方法还包括:After the second MPU controls the updated LPU to forward the data, the method further includes:

网路设备中的每个LPU完成软件更新后,第一MPU可以以第一MPU的第三新版本软件运行,之后第一MPU可以获取第二MPU的业务配置和状态。第一MPU在获取了第二MPU的业务配置和状态后,可以作为第二MPU的备用MPU,在第二MPU出现问题时顶替第二MPU。After the software update is completed by each LPU in the network device, the first MPU can be run by the third new version of the first MPU, and then the first MPU can obtain the service configuration and status of the second MPU. After acquiring the service configuration and status of the second MPU, the first MPU can serve as the standby MPU of the second MPU, and replace the second MPU when the second MPU has a problem.

根据本发明实施例的第二方面,提供了一种网络设备,该网络设备包括第一MPU、第二MPU和至少两个LPU,该第一MPU、第二MPU和至少两个LPU用于实现上述第一方面或第一方面中任意一种可能的实现方式所提供的网络设备的更新方法。 According to a second aspect of the embodiments of the present invention, a network device is provided, where the network device includes a first MPU, a second MPU, and at least two LPUs, where the first MPU, the second MPU, and the at least two LPUs are used to implement The method for updating a network device provided by any one of the foregoing first aspect or the first aspect.

本发明实施例中,单独更新每个LPU,在某个LPU更新时,由网络设备中除该LPU外的其它LPU转发数据,使得网络设备可以在更新时由部分LPU转发数据,解决了相关技术中更新网络设备时,通信网络的数据转发能力较低的问题。提高了更新网络设备时,通信网络的数据转发能力。In the embodiment of the present invention, each LPU is separately updated. When an LPU is updated, data is forwarded by other LPUs other than the LPU in the network device, so that the network device can forward data by a part of the LPU when updating, and the related technology is solved. When the network device is updated, the data forwarding capability of the communication network is low. Improves the data forwarding capability of the communication network when updating network devices.

附图说明DRAWINGS

图1是本发明各个实施例提供的网络设备的更新方法的实施环境的示意图;1 is a schematic diagram of an implementation environment of a method for updating a network device according to various embodiments of the present invention;

图2-1是本发明实施例提供的网络设备的更新方法应用的网络设备的结构示意图;2-1 is a schematic structural diagram of a network device to which a method for updating a network device according to an embodiment of the present invention is applied;

图2-2是图2-1所示的网络设备中的任一MPU的结构示意图;2-2 is a schematic structural diagram of any MPU in the network device shown in FIG. 2-1;

图2-3是图2-1所示网络设备中任一LPU的结构示意图;Figure 2-3 is a schematic structural diagram of any LPU in the network device shown in Figure 2-1;

图3-1是本发明实施例示出的一种网络设备的更新方法的流程图;3-1 is a flowchart of a method for updating a network device according to an embodiment of the present invention;

图3-2是图3-1所示实施例中LPU更新转发表的流程图。Figure 3-2 is a flow chart of the LPU update forwarding table in the embodiment shown in Figure 3-1.

具体实施方式detailed description

为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部份实施例,而不是全部的实施例。The present application will be further described in detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, but not all embodiments. .

本发明各个实施例提供的网络设备的更新方法的实施环境可以为如图1所示的通信网络,该通信网络包括网络设备A、B以及设备C、D、E、F,其中,设备C、D、E、F与网络设备A、B之间可以应用有等价多路(英文:equal-cost multiple-path;简称:ECMP)技术,即可以存在多条不同链路到达同一目的地址。该通信网络可以是一个柱状(英文:chimney)网络或大二层网络(英文:large layer 2 network)。The implementation environment of the method for updating the network device provided by the embodiments of the present invention may be a communication network as shown in FIG. 1 , where the communication network includes network devices A and B and devices C, D, E, and F, where device C, An equal-cost multiple-path (ECMP) technique can be applied between D, E, and F and network devices A and B. That is, multiple different links can reach the same destination address. The communication network can be a columnar (English: chimney) network or a large layer 2 network (English: large layer 2 network).

图2-1是本发明实施例提供的网络设备的更新方法应用的网络设备的结构示意图,该网络设备20可以包括:第一MPU21、第二MPU22、至少两个LPU(图2-1示出的是LPU的个数为4的情况)、电源(英文:power)23、背板(或是交换网板)24,第一MPU21负责整个网络设备的管理和控制,第二MPU22是第一MPU的备份,当第一MPU失效时第二MPU22接管整个网络设备的管理和控制。LPU1、LPU2、LPU3和LPU4提供各类接口,负责转发用户设备的流量。该用户设备可以是图1中的设备C、D、E、F。设备C、D、E、F可以是网络设备或者主机。背板24用于连接多个MPU和多个LPU。电源23负责向整个网络设备供电。图2-1中,LPU1与设备C、D连接,LPU2与设备C、D连接,LPU3与设备E、F连接,LPU4与设备E、F连接。网络设备20中的LPU和其它设备还可以是其他连接方式,本发明实施例不作出限制。此外,设备C、D、E和F用于说明网络设备与其他设备的连接关系,可以不包括在网络设备20中。2-1 is a schematic structural diagram of a network device to which a method for updating a network device according to an embodiment of the present invention is applied. The network device 20 may include: a first MPU 21, a second MPU 22, and at least two LPUs (FIG. 2-1 shows The number of LPUs is 4), the power supply (English: power) 23, the backplane (or the switching network board) 24, the first MPU 21 is responsible for the management and control of the entire network device, and the second MPU 22 is the first MPU. Backup, when the first MPU fails, the second MPU 22 takes over the management and control of the entire network device. LPU1, LPU2, LPU3, and LPU4 provide various types of interfaces and are responsible for forwarding traffic of user equipment. The user equipment may be devices C, D, E, F in FIG. Devices C, D, E, and F can be network devices or hosts. The backboard 24 is used to connect a plurality of MPUs and a plurality of LPUs. The power source 23 is responsible for supplying power to the entire network device. In FIG. 2-1, LPU1 is connected to devices C and D, LPU2 is connected to devices C and D, LPU3 is connected to devices E and F, and LPU4 is connected to devices E and F. The LPU and other devices in the network device 20 may also be other connection manners, which are not limited in the embodiment of the present invention. In addition, devices C, D, E, and F are used to describe the connection relationship between the network device and other devices, and may not be included in the network device 20.

该网络设备可以是框式设备,该框式设备可以应用在汇聚层(英文:aggregation layer)、核心层(英文:core layer)和广域网(英文:wide area network;简称:WAN)出口层。The network device may be a frame device, and the frame device may be applied to an aggregation layer, a core layer, and a wide area network (WAN).

该网络设备中的第一MPU21,用于执行下述实施例中的步骤301、302、303、305、306、310、315和316。The first MPU 21 in the network device is configured to perform steps 301, 302, 303, 305, 306, 310, 315, and 316 in the following embodiments.

该网络设备中的第二MPU22,用于执行下述实施例中的步骤307、309、312和314。 The second MPU 22 in the network device is configured to perform steps 307, 309, 312, and 314 in the following embodiments.

该网络设备中至少两个LPU用于执行下述实施例中的步骤311。At least two LPUs in the network device are used to perform step 311 in the following embodiments.

如图2-2所示,其为图2-1所示的网络设备中的任一MPU的结构示意图,该MPU包括:处理器211、内存212、闪存213、交换芯片214、第一接口215、第二接口216和串口217。处理器211与内存212、闪存213、交换芯片214、第二接口216和串口217均建立有连接,交换芯片214与第一接口215建立有连接。第一接口215和第二接口216可以为以太网接口。其中,内存212可以为随机存取存储器(英文:random access memory;简称:RAM)。As shown in Figure 2-2, it is a schematic structural diagram of any MPU in the network device shown in Figure 2-1. The MPU includes a processor 211, a memory 212, a flash memory 213, a switch chip 214, and a first interface 215. The second interface 216 and the serial port 217. The processor 211 is connected to the memory 212, the flash memory 213, the switch chip 214, the second interface 216, and the serial port 217, and the switch chip 214 is connected to the first interface 215. The first interface 215 and the second interface 216 can be Ethernet interfaces. The memory 212 can be a random access memory (English: random access memory; abbreviation: RAM).

处理器22通过运行程序,从而执行各种功能应用以及数据处理。闪存213用于保存处理器211运行的程序和静态配置的参数,内存212用于保存处理器211实时运行的代码(该代码为闪存213中保存的程序的一个片段)和数据,第一接口215用于与网络设备中的LPU(可以是与LPU中的处理器)连接,交换芯片214用于将信息通过第一接口215发往各个LPU。串口217为本地接口,与串口217直连的设备可以通过串口217配置命令行,第二接口216为网络接口,可以用于程序文件下载、连接网管、设备管理或通过网络配置命令行。The processor 22 executes various functional applications and data processing by running a program. The flash memory 213 is used to store the program running by the processor 211 and the parameters of the static configuration. The memory 212 is used to store the code running in real time by the processor 211 (the code is a segment of the program saved in the flash memory 213) and data, and the first interface 215 For connecting to an LPU (which may be a processor in the LPU) in the network device, the switch chip 214 is configured to send information to the respective LPUs through the first interface 215. The serial port 217 is a local interface. The device directly connected to the serial port 217 can be configured with a command line through the serial port 217, and the second interface 216 is a network interface, which can be used for program file downloading, connecting to the network management, device management, or configuring a command line through the network.

如图2-3所示,为图2-1所示网络设备中任一LPU的结构示意图,该LPU包括:处理器261、第一内存262、闪存263、交换芯片264、第一接口265和第二接口266。处理器261与内存262、闪存263、交换芯片264和第一接口265均建立有连接,交换芯片264与第二接口266连接。另外,交换芯片264还可以连接有用于存放转发的报文内容的第二内存267。第一内存262和第二内存267可以位于同一个物理存储器,也可以为位于不同的物理存储器,该物理存储器可以为RAM。As shown in Figure 2-3, it is a schematic structural diagram of any LPU in the network device shown in Figure 2-1. The LPU includes: a processor 261, a first memory 262, a flash memory 263, a switch chip 264, a first interface 265, and The second interface 266. The processor 261 is connected to the memory 262, the flash memory 263, the switch chip 264, and the first interface 265, and the switch chip 264 is connected to the second interface 266. In addition, the switch chip 264 can also be connected with a second memory 267 for storing the content of the forwarded message. The first memory 262 and the second memory 267 may be located in the same physical memory, or may be located in different physical memories, and the physical memory may be a RAM.

处理器261通过运行程序,从而执行各种功能应用以及数据处理,闪存263用于保存处理器261运行的程序和静态配置的参数,第一内存262用于保存处理器261实时运行的代码(该代码为闪存263中保存的程序的一个片段)和数据,第一接口265用于与网络设备中的MPU连接,第二接口266用于与外部的其它设备连接,交换芯片264用于通过第二接口266与外部的其它设备进行数据的传输。第二内存267用于缓存交换芯片接收或要发送的数据。The processor 261 executes various functions and data processing by running a program, the flash memory 263 is used to store programs running by the processor 261 and statically configured parameters, and the first memory 262 is used to store code that the processor 261 runs in real time (the The code is a segment of the program stored in the flash memory 263 and the data, the first interface 265 is used to connect with the MPU in the network device, the second interface 266 is used to connect with other external devices, and the switch chip 264 is used to pass the second The interface 266 performs data transmission with other external devices. The second memory 267 is used to buffer data received or to be transmitted by the switch chip.

图3-1是本发明实施例示出的一种网络设备的更新方法的流程图,本实施例以该网络设备的更新方法应用于图2-1所示的网络设备中来举例说明。该网络设备的更新方法可以包括如下几个步骤:FIG. 3-1 is a flowchart of a method for updating a network device according to an embodiment of the present invention. The method for updating the network device is applied to the network device shown in FIG. 2-1 for example. The method for updating the network device may include the following steps:

步骤301、网络设备中的第一MPU获取整机新版本软件。Step 301: The first MPU in the network device acquires a new version of the software.

在本发明实施例提供的网络设备的更新方法中,网络设备中的第一MPU首先可以获取包括第二MPU的第一新版本软件和至少两个LPU中每个LPU的第二新版本软件的整机新版本软件,该整机新版本软件可以为整机的系统软件。整机新版本软件还可以包括第一MPU的第三新版本软件,以便于后续对第一MPU的软件进行更新,第一MPU的第三新版本软件和第二MPU的第一新版本软件可以相同,至少两个LPU中,任意两个LPU的第二新版本软件可以相同,也可以不相同。In the updating method of the network device provided by the embodiment of the present invention, the first MPU in the network device may first acquire the first new version software including the second MPU and the second new version software of each of the at least two LPUs. The new version of the software, the new version of the software can be the system software of the whole machine. The new version of the software may also include a third new version of the first MPU to facilitate subsequent updates to the software of the first MPU, the third new version of the first MPU and the first new version of the second MPU may Similarly, in the at least two LPUs, the second new version of the software of any two LPUs may be the same or different.

此外,第一LPU可以包括网络设备中的至少一个LPU,即本发明实施例提供的方法每次可以对网络设备中的多个LPU进行更新。In addition, the first LPU may include at least one LPU in the network device, that is, the method provided by the embodiment of the present invention may update multiple LPUs in the network device each time.

网络设备中的第一MPU获取整机的新版本软件时,可以通过如图2-2所示的MPU中的第 二接口216连接到文件传输协议(英文:File Transfer Protocol;简称:FTP)服务器来获取,也可以通过如图2-3所示的LPU中第二接口266连接到FTP服务器来获取,之后再由该LPU传输给第一MPU。When the first MPU in the network device obtains the new version software of the whole machine, it can pass the first part in the MPU as shown in Figure 2-2. The second interface 216 is connected to the file transfer protocol (English: File Transfer Protocol; for short: FTP) server to obtain, or can be obtained by connecting to the FTP server through the second interface 266 in the LPU as shown in FIG. 2-3, and then The LPU is transmitted to the first MPU.

此外,也可以通过上传到第一MPU中的整机新版本软件来更新网络设备的硬件中的逻辑,如编辑现场可编程门阵列(英文:Field-Programmable Gate Array;简称:FPGA)。In addition, the logic in the hardware of the network device can also be updated by uploading a new version of the software to the first MPU, such as editing a Field-Programmable Gate Array (FPGA).

步骤302、网络设备中的第一MPU通知第二MPU安装第二MPU的第一新版本软件。Step 302: The first MPU in the network device notifies the second MPU to install the first new version of the software of the second MPU.

网络设备在更新LPU前,当前控制各个LPU的第一MPU可以通知第二MPU安装第二MPU的第一新版本软件。第二MPU收到通知后,会以第二MPU的第一新版本软件来运行。第二MPU可以复位并重启后运行第二MPU的第一新版本软件。Before the network device updates the LPU, the first MPU that currently controls each LPU may notify the second MPU to install the first new version of the software of the second MPU. After receiving the notification, the second MPU will run with the first new version of the second MPU. The second MPU can reset and restart the first new version of the software of the second MPU.

第二MPU在运行第一新版本软件后,可以对第一MPU的业务配置和状态进行备份,以便后续控制LPU时使用。其中,第一MPU的业务配置是人工或网管软件静态下发的信息,第二MPU下次重启后,该业务配置在第二MPU中还可以继续生效。该业务配置可以包括端口是否关闭、虚拟局域网(英文:virtual local area network;简称:VLAN)的划分、虚拟专用网络(英文:virtual private network;简称:VPN)的配置等。而第一MPU的状态是动态的、实时更新的,且该状态可以包括端口的状态、从周边邻居设备接收的路由信息等。After running the first new version of the software, the second MPU can back up the service configuration and status of the first MPU for subsequent use in controlling the LPU. The service configuration of the first MPU is statically delivered by the manual or network management software. After the second MPU is restarted, the service configuration can continue to take effect in the second MPU. The configuration of the service may include whether the port is closed, the virtual local area network (English: network), and the virtual private network (English: virtual private network; VPN). The state of the first MPU is dynamic and updated in real time, and the state may include the state of the port, routing information received from neighboring neighbors, and the like.

步骤303、网络设备中的第一MPU向第一LPU连接的每个设备发送第一优先级通知。Step 303: The first MPU in the network device sends a first priority notification to each device connected to the first LPU.

网络设备的第一MPU以路由协议(英文:routing protocol)发布路由的方式向第一LPU连接的每个设备发送第一优先级通知,该第一优先级通知可以指示第一LPU的路由优先级低于默认值,第一LPU连接的每个设备会根据该指示将与第一LPU之间的转发路径的优先级设置为低于默认值。本步骤用于引导第一LPU连接的每个设备在第一LPU更新软件时向其他路径转发数据。The first MPU of the network device sends a first priority notification to each device connected to the first LPU by using a route protocol (English: routing protocol), and the first priority notification may indicate a route priority of the first LPU. Below the default value, each device connected by the first LPU sets the priority of the forwarding path with the first LPU to be lower than the default value according to the indication. This step is used to guide each device connected by the first LPU to forward data to other paths when the first LPU updates the software.

示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,则第一MPU可以向LPU1连接的网络设备C和D发送第一优先级通知。Exemplarily, in the network device shown in FIG. 2-1, the first LPU is LPU1, and the first MPU may send the first priority notification to the network devices C and D to which the LPU1 is connected.

可选的,本步骤还可以为:网络设备中的第一MPU通知第一LPU连接的每个设备断开与第一LPU之间的连接。这样也能够避免第一LPU连接的每个设备在第一LPU更新软件时向第一LPU发送数据。Optionally, the step may be: the first MPU in the network device notifies each device connected to the first LPU to disconnect from the first LPU. This also prevents each device connected by the first LPU from transmitting data to the first LPU when the first LPU updates the software.

步骤304、第一LPU连接的每个设备更新转发路径。Step 304: Each device connected by the first LPU updates the forwarding path.

第一LPU连接的每个设备会根据第一LPU发来的第一优先级通知更新转发路径,即更新转发表。第一LPU连接的每个设备更新转发路径后,会选择连接其他LPU的路径来转发数据。这是由于通信网络中,当有到达同一个目的地址的多条路径时,网络设备会根据路由优先级的大小,选择其中路由优先级大的转发路径,而使第一LPU的路由优先级低于默认值后,第一LPU连接的每个设备就会选择路由优先级更高的其他LPU来转发数据。示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,则LPU1连接的设备C和D会更新转发路径,并将数据由LPU2(LPU2的路由优先级为默认值)来转发。Each device connected by the first LPU updates the forwarding path according to the first priority notification sent by the first LPU, that is, updates the forwarding table. After each device connected to the first LPU updates the forwarding path, it selects a path connecting other LPUs to forward data. This is because in the communication network, when there are multiple paths to the same destination address, the network device selects a forwarding path with a large routing priority according to the routing priority, and the routing priority of the first LPU is low. After the default value, each device connected to the first LPU will select another LPU with a higher routing priority to forward the data. Exemplarily, in the network device shown in FIG. 2-1, if the first LPU is LPU1, the devices C and D connected to the LPU1 update the forwarding path, and the data is received by the LPU2 (the routing priority of the LPU2 is the default value). To forward.

此外,在第一MPU通知第一LPU连接的每个设备断开与第一LPU之间的连接时,第一LPU连接的每个设备也可以更新转发路径,并去除包括第一LPU的转发路径。In addition, when the first MPU notifies each device of the first LPU connection to disconnect the connection with the first LPU, each device of the first LPU connection may also update the forwarding path and remove the forwarding path including the first LPU. .

步骤305、网络设备中的第一MPU控制其他LPU更新转发表,以断开其他LPU与第一LPU之间的连接。Step 305: The first MPU in the network device controls another LPU update forwarding table to disconnect the connection between the other LPU and the first LPU.

此时的网络设备中,除了第一LPU的其它LPU是由第一MPU控制的,因而第一MPU可以 控制其他LPU更新转发表,以断开其他LPU与第一LPU之间的连接。这样能够避免其他LPU在LPU更新时向第一LPU发送数据而造成丢包。第一MPU可以向除了第一LPU的其它LPU下发转发表(该转发表中可以用于指示其它LPU断开与第一LPU的连接)来更新该其它LPU的转发表。示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,第一MPU可以向LPU2、LPU3和LPU4下发转发表(该转发表中用于指示LPU2、LPU3和LPU4断开与LPU1的连接)以更新LPU2、LPU3和LPU4的转发表,这样LPU2、LPU3和LPU4就会断开与LPU1之间的连接。In the network device at this time, except for the other LPUs of the first LPU, which are controlled by the first MPU, the first MPU can Control other LPU update forwarding tables to disconnect the other LPUs from the first LPU. This can prevent other LPUs from sending data to the first LPU when the LPU is updated, causing packet loss. The first MPU may send a forwarding table to other LPUs other than the first LPU (which may be used to indicate that other LPUs disconnect the first LPU) to update the forwarding table of the other LPU. For example, in the network device shown in FIG. 2-1, the first LPU is LPU1, and the first MPU may send a forwarding table to LPU2, LPU3, and LPU4 (the forwarding table is used to indicate that LPU2, LPU3, and LPU4 are broken. Open the connection with LPU1) to update the forwarding table of LPU2, LPU3 and LPU4, so that LPU2, LPU3 and LPU4 will disconnect from LPU1.

步骤306、网络设备中的第一MPU复位第一LPU,并以第一LPU的第二新版本软件运行第一LPU。Step 306: The first MPU in the network device resets the first LPU, and runs the first LPU in the second new version software of the first LPU.

在步骤303和步骤304取消了第一LPU的数据转发功能后,网络设备中的第一MPU可以复位第一LPU,并将第一LPU的第二新版本软件发送给第一LPU,再以第一LPU的第二新版本软件运行第一LPU。第一MPU在以第一LPU的第二新版本软件运行第一LPU后,会通知第二MPU控制第一LPU,并将第一LPU交由第二MPU控制。After the data forwarding function of the first LPU is cancelled in the step 303 and the step 304, the first MPU in the network device may reset the first LPU, and send the second new version of the first LPU to the first LPU, and then The second new version of the software of an LPU runs the first LPU. After running the first LPU with the second new version of the first LPU, the first MPU notifies the second MPU to control the first LPU and hands the first LPU to the second MPU.

示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,且该LPU1为如图2-3所示的LPU,第一MPU为如图2-2所示的MPU,第一MPU可以复位LPU1,由第一接口215将第一LPU的第二新版本软件传输给LPU1的第一接口265,并以LPU1的第二新版本软件运行LPU1,之后第一MPU通知第二MPU控制LPU1。Exemplarily, in the network device shown in Figure 2-1, the first LPU is LPU1, and the LPU1 is an LPU as shown in Figure 2-3, and the first MPU is an MPU as shown in Figure 2-2. The first MPU may reset the LPU1, the second new version software of the first LPU is transmitted by the first interface 215 to the first interface 265 of the LPU1, and the LPU1 is run with the second new version software of the LPU1, after which the first MPU notifies the second The MPU controls the LPU1.

步骤307、网络设备中的第二MPU向第一LPU连接的每个设备发送第二优先级通知。Step 307: The second MPU in the network device sends a second priority notification to each device connected by the first LPU.

网络设备中的第二MPU可以以路由协议发布路由的方式向第一LPU连接的每个设备发送第二优先级通知,该第二优先级通知指示第一LPU的路由优先级低于默认值。这是由于第一LPU在复位后就会断开与其连接的设备之间的连接,而在第一LPU以第一LPU的第二新版本软件重新运行时,第二MPU可以向第一LPU复位之前连接的每个设备发送第二优先级通知,以告知第一LPU复位之前连接的每个设备,第一LPU可以在没有其他LPU能够转发数据时作为备用的LPU,这样能避免网络设备产生长时间的丢包或中断。示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,第二MPU22可以向设备C和D发送第二优先级通知。The second MPU in the network device may send a second priority notification to each device connected to the first LPU in a manner that the routing protocol advertises the route, where the second priority notification indicates that the routing priority of the first LPU is lower than a default value. This is because the first LPU disconnects the device connected to it after resetting, and when the first LPU is re-run with the second new version of the first LPU, the second MPU can be reset to the first LPU. Each of the previously connected devices sends a second priority notification to inform the first LPU to reset each device connected before the first LPU, and the first LPU can serve as a standby LPU when no other LPU can forward the data, so as to prevent the network device from generating a long Loss or interruption of time. Exemplarily, in the network device shown in FIG. 2-1, the first LPU is LPU1, and the second MPU 22 may send a second priority notification to devices C and D.

步骤308、第一LPU连接的每个设备向第一LPU发送路由通知。Step 308: Each device connected by the first LPU sends a route notification to the first LPU.

第一LPU在以第二LPU的第二新版本软件运行后,第一LPU的对外的端口会重新接通(英文:link up),第一LPU复位之前连接的每个设备就会发现网络设置中该新出现的端口,并向该新出现的端口发送路由通知,该路由通知用于指示第一LPU,其已经与第一LPU建立的连接。示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,设备C和D在感知到LPU1对外的端口重新接通后,会向LPU1发布路由,以表明设备C和D与LPU1建立了连接。After the first LPU runs in the second new version of the second LPU, the external port of the first LPU is reconnected (English: link up), and each device connected before the first LPU reset finds the network setting. The newly emerging port, and sending a routing notification to the newly emerging port, the routing notification indicating the first LPU that has established a connection with the first LPU. Exemplarily, in the network device shown in FIG. 2-1, the first LPU is LPU1, and after detecting that the external port of the LPU1 is reconnected, the devices C and D advertise a route to the LPU1 to indicate the devices C and D. A connection is established with LPU1.

步骤308还可以在步骤307之前执行,也可以与步骤307同时执行,本发明实施例不作出限制。The step 308 may be performed before the step 307, or may be performed simultaneously with the step 307, which is not limited in the embodiment of the present invention.

步骤309、网络设备中的第二MPU向第一LPU下发路由表。Step 309: The second MPU in the network device sends a routing table to the first LPU.

第一LPU在以其第二新版本软件运行后,第二MPU可以进行路由计算,比较去往相同目的地的开销,然后生成路由表,之后可以将该路由表下发给第一LPU,使第一LPU能够向第一LPU复位之前连接的每个设备转发数据。示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,第二MPU22在完成路由计算后,可以向LPU1下发路由表,这样LPU1如果接收到发往设备C和D的数据后,可以向设备C和D进行转发。After the first LPU is running with the second new version of the software, the second MPU can perform route calculation, compare the cost to the same destination, and then generate a routing table, and then send the routing table to the first LPU, so that the routing table can be sent to the first LPU. The first LPU is capable of forwarding data to each device connected before the first LPU is reset. For example, in the network device shown in FIG. 2-1, the first LPU is LPU1, and after completing the route calculation, the second MPU 22 may send a routing table to the LPU1, so that the LPU1 receives the devices C and D. After the data, you can forward to devices C and D.

步骤310、网络设备中的第一MPU控制其他LPU更新转发表。 Step 310: The first MPU in the network device controls other LPU update forwarding tables.

此时网络设备中的其它LPU仍是由第一MPU控制的,网络设备中的第一MPU可以控制其他LPU更新转发表。At this time, other LPUs in the network device are still controlled by the first MPU, and the first MPU in the network device can control other LPU update forwarding tables.

如图3-2所示,本步骤可以包括下面两个子步骤:As shown in Figure 3-2, this step can include the following two substeps:

子步骤3101、网络设备中的第二MPU将第一LPU的路由信息发送给第一MPU。Sub-step 3101, the second MPU in the network device sends the routing information of the first LPU to the first MPU.

第二MPU首先可以将第一LPU的路由信息由网络设备中的背板(或交换网板)发送给第一MPU,该路由信息可以包括第一LPU从网络设备C和D处学习的路由信息。The second MPU may first send the routing information of the first LPU to the first MPU by using a backplane (or a switching network board) in the network device, where the routing information may include routing information learned by the first LPU from the network devices C and D. .

子步骤3102、网络设备中的第一MPU根据第一LPU的路由信息控制其他LPU更新转发表。Sub-step 3102: The first MPU in the network device controls other LPU update forwarding tables according to the routing information of the first LPU.

第一MPU可以根据二MPU发送的第一LPU的路由信息控制向网络设备中的其它LPU下发转发表以更新该其它LPU转发表,这些其他LPU更新后的转发表中包括第一LPU的转发路径。The first MPU may send a forwarding table to other LPUs in the network device to update the other LPU forwarding table according to the routing information of the first LPU sent by the second MPU, and the forwarding table of the other LPUs includes the forwarding of the first LPU. path.

步骤311、网络设备中其他LPU中的任一LPU根据该任一LPU的转发表建立该任一LPU与第一LPU之间的连接。Step 311: Any one of the other LPUs in the network device establishes a connection between the LPU and the first LPU according to the forwarding table of the any LPU.

网络设备中,除第一LPU外的任一LPU可以根据更新后的转发表来建立该任一LPU与第一LPU之间的连接。In the network device, any LPU other than the first LPU may establish a connection between the LPU and the first LPU according to the updated forwarding table.

步骤311结束时,网络设备中的其它LPU就可以将数据发向第一LPU,由第一LPU进行转发。At the end of step 311, other LPUs in the network device can send data to the first LPU for forwarding by the first LPU.

步骤312、网络设备中的第二MPU向第一LPU连接的每个设备发送第三优先级通知。Step 312: The second MPU in the network device sends a third priority notification to each device connected by the first LPU.

步骤311结束后,第一LPU已经具备了数据转发的能力,此时第二MPU可以以路由协议发布路由的方式向第一LPU连接的每个设备发送第三优先级通知,该第三优先级通知指示第一LPU的路由优先级为默认值。After the step 311 is complete, the first LPU has the capability of data forwarding. The second MPU can send a third priority notification to each device connected to the first LPU by using a routing protocol to advertise the route. The notification indicates that the route priority of the first LPU is the default value.

步骤313、第一LPU连接的每个设备更新转发表。Step 313: Each device connected to the first LPU updates the forwarding table.

第一LPU连接的每个设备在收到第三优先级通知后,可以重新计算路由,并更新自身的转发表,在更新转发表之后,第一LPU又可以重新参与到第一LPU连接的每个设备的数据转发中。示例性的,在图2-1所示的网络设备中,第一LPU为LPU1,LPU1连接的设备C和D在更新转发表之前,设备C和D有数据要发向设备E和设备F时,只能由LPU2进行转发,而在设备C和D更新转发表之后,LPU1和LPU2可以形成ECMP路径,这样LPU1和LPU2就可以共同转发设备C和D的数据。After receiving the third priority notification, each device connected to the first LPU may recalculate the route and update its own forwarding table. After updating the forwarding table, the first LPU may re-participate to each of the first LPU connections. Data forwarding in devices. Exemplarily, in the network device shown in FIG. 2-1, the first LPU is LPU1, and the devices C and D connected to the LPU1 are updated before the forwarding table, and the devices C and D have data to be sent to the device E and the device F. It can only be forwarded by LPU2, and after devices C and D update the forwarding table, LPU1 and LPU2 can form an ECMP path, so that LPU1 and LPU2 can jointly forward the data of devices C and D.

步骤314、在每个LPU的软件更新后,第二MPU控制更新后的每个LPU转发数据。Step 314: After the software update of each LPU, the second MPU controls each updated LPU to forward data.

在完成第一LPU的软件更新后,运行有第一新版本软件的第二MPU可以控制更新后的每个LPU转发数据。After completing the software update of the first LPU, the second MPU running the first new version of the software can control the updated LPU to forward the data.

网络设备中的第一MPU和第二MPU可以通过步骤303至步骤313完成网络设备中的每个LPU的软件更新。示例性的,在图2-1所示的网络设备中,首先可以以LPU1为第一LPU,通过步骤303至步骤313完成对LPU1的更新,并由第二MPU控制LPU1转发数据,然后将LPU2作为第一LPU,通过步骤303至步骤313完成对LPU2的更新,再由第二MPU控制LPU2和LPU1一起转发数据,以此方式完成对LPU1-LPU4的软件更新。The first MPU and the second MPU in the network device may complete the software update of each LPU in the network device through steps 303 to 313. Exemplarily, in the network device shown in FIG. 2-1, LPU1 may be first used as the first LPU, and the update of LPU1 is completed through steps 303 to 313, and the second MPU controls LPU1 to forward data, and then LPU2 is used. As the first LPU, the update of the LPU2 is completed through steps 303 to 313, and the second MPU controls the LPU2 and the LPU1 to forward the data together, thereby completing the software update to the LPU1-LPU4.

步骤315、网络设备中的第一MPU以第一MPU的第三新版本软件运行。Step 315: The first MPU in the network device runs in the third new version software of the first MPU.

此时网络设备中的LPU均由第二MPU控制,网络设备中的第一MPU可以复位并重启后以第一MPU的第三新版本软件运行。At this time, the LPUs in the network device are all controlled by the second MPU, and the first MPU in the network device can be reset and restarted to run with the third new version software of the first MPU.

步骤316、网络设备中的第一MPU获取第二MPU的业务配置和状态。Step 316: The first MPU in the network device acquires a service configuration and a status of the second MPU.

该业务配置和状态可以参考步骤302中的叙述。第一MPU获取第二MPU的业务配置和状 态后,可以作为第二MPU的备用MPU,在第二MPU故障时,以接替第二MPU对各个LPU进行控制。The service configuration and status can be referred to the description in step 302. The first MPU obtains the service configuration and shape of the second MPU. After the state, it can be used as the standby MPU of the second MPU. When the second MPU is faulty, the second MPU is taken over to control each LPU.

综上所述,本发明实施例提供的网络设备的更新方法,单独更新每个LPU,在某个LPU更新时,由网络设备中除该LPU外的其它LPU转发数据,使得网络设备可以在更新时由部分LPU转发数据,解决了相关技术中更新网络设备时,通信网络的数据转发能力较低的问题。提高了更新网络设备时,通信网络的数据转发能力。In summary, the method for updating a network device provided by the embodiment of the present invention separately updates each LPU. When an LPU is updated, the LPUs of the network device except the LPU forward data, so that the network device can be updated. When the data is forwarded by part of the LPU, the problem that the data forwarding capability of the communication network is low when the network device is updated in the related art is solved. Improves the data forwarding capability of the communication network when updating network devices.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

以上所述仅为本发明实施例的可选实施例,并不用以限制本发明实施例,凡在本发明实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above is only an alternative embodiment of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention. Any modifications, equivalent replacements, improvements, etc., should be made within the spirit and principles of the embodiments of the present invention. It is included in the scope of protection of this application.

Claims (18)

一种网络设备的更新方法,其特征在于,应用于网络设备,所述网络设备包括:第一主处理单元MPU、第二主处理单元MPU和至少两个线路处理单元LPU,所述方法包括:A method for updating a network device, which is characterized in that it is applied to a network device, the network device comprising: a first main processing unit MPU, a second main processing unit MPU and at least two line processing units LPU, the method comprising: 所述第一MPU获取整机新版本软件,所述整机新版本软件包括所述第二MPU的第一新版本软件和所述至少两个LPU中每个LPU的第二新版本软件;The first MPU obtains a new version of the software, and the new version software includes a first new version software of the second MPU and a second new version software of each of the at least two LPUs; 所述第一MPU通知所述第二MPU以所述第一新版本软件运行;The first MPU notifies the second MPU to run in the first new version software; 所述第一MPU和所述第二MPU根据所述至少两个LPU中每个LPU的第二新版本软件对所述至少两个LPU中的每个LPU的软件进行更新,在更新所述至少两个LPU中的第一LPU的软件时,第一MPU控制所述至少两个LPU中除所述第一LPU外的其他LPU转发数据,所述第一LPU包括所述至少两个LPU中的至少一个LPU;The first MPU and the second MPU update software of each of the at least two LPUs according to a second new version software of each of the at least two LPUs, and update the at least When the software of the first LPU of the two LPUs, the first MPU controls other LPUs in the at least two LPUs except the first LPU, where the first LPU includes the at least two LPUs At least one LPU; 在所述每个LPU的软件更新后,所述第二MPU控制更新后的所述每个LPU转发数据。After the software update of each LPU, the second MPU controls the updated each LPU to forward data. 根据权利要求1所述的方法,其特征在于,所述第一MPU和所述第二MPU根据所述至少两个LPU中每个LPU的第二新版本软件对所述至少两个LPU中的每个LPU的软件进行更新,包括:The method according to claim 1, wherein the first MPU and the second MPU are paired with the second new version software of each of the at least two LPUs in the at least two LPUs Each LPU's software is updated to include: 所述第一MPU取消所述第一LPU的数据转发功能;The first MPU cancels the data forwarding function of the first LPU; 所述第一MPU复位所述第一LPU,并以所述第一LPU的第二新版本软件运行所述第一LPU;The first MPU resets the first LPU, and runs the first LPU with a second new version of the first LPU; 所述第一MPU和所述第二MPU恢复所述第一LPU的数据转发功能。The first MPU and the second MPU restore a data forwarding function of the first LPU. 根据权利要求2所述的方法,其特征在于,所述第一MPU取消所述第一LPU的数据转发功能,包括:The method according to claim 2, wherein the first MPU cancels the data forwarding function of the first LPU, including: 所述第一MPU向所述第一LPU连接的每个设备发送第一优先级通知,所述第一优先级通知指示所述第一LPU的路由优先级低于默认值;Transmitting, by the first MPU, a first priority notification to each device connected to the first LPU, where the first priority notification indicates that a routing priority of the first LPU is lower than a default value; 所述第一MPU控制所述其他LPU更新转发表,以断开所述其他LPU与所述第一LPU之间的连接。The first MPU controls the other LPU update forwarding table to disconnect the connection between the other LPU and the first LPU. 根据权利要求2所述的方法,其特征在于,所述第一MPU取消所述第一LPU的数据转发功能,包括:The method according to claim 2, wherein the first MPU cancels the data forwarding function of the first LPU, including: 所述第一MPU通知所述第一LPU连接的每个设备,断开与所述第一LPU之间的连接;Notifying, by the first MPU, each device connected to the first LPU, disconnecting from the first LPU; 所述第一MPU控制所述其他LPU更新转发表,以断开所述其他LPU与所述第一LPU之间的连接。The first MPU controls the other LPU update forwarding table to disconnect the connection between the other LPU and the first LPU. 根据权利要求2至4任一所述的方法,其特征在于,所述第一MPU和所述第二MPU恢复所述第一LPU的数据转发功能,包括:The method according to any one of claims 2 to 4, wherein the first MPU and the second MPU restore the data forwarding function of the first LPU, including: 所述第二MPU向所述第一LPU下发路由表,使所述第一LPU能够向所述第一LPU连接的每个设备转发数据; The second MPU sends a routing table to the first LPU, so that the first LPU can forward data to each device connected to the first LPU; 所述第一MPU控制所述其他LPU更新转发表;The first MPU controls the other LPU update forwarding table; 所述其他LPU中的任一LPU根据所述任一LPU的转发表建立所述任一LPU与所述第一LPU之间的连接。Any one of the other LPUs establishes a connection between the any LPU and the first LPU according to a forwarding table of any one of the LPUs. 根据权利要求5所述的方法,其特征在于,所述第二MPU向所述第一LPU下发路由表,使所述第一LPU能够向所述第一LPU连接的每个设备转发数据之前,所述方法还包括:The method according to claim 5, wherein the second MPU sends a routing table to the first LPU, so that the first LPU can forward data to each device connected to the first LPU. The method further includes: 所述第二MPU向所述第一LPU连接的每个设备发送第二优先级通知,所述第二优先级通知指示所述第一LPU的路由优先级低于默认值。The second MPU sends a second priority notification to each device connected to the first LPU, where the second priority notification indicates that the routing priority of the first LPU is lower than a default value. 根据权利要求6所述的方法,其特征在于,所述第二MPU向所述第一LPU下发路由表,使所述第一LPU能够向所述第一LPU连接的每个设备转发数据之后,所述方法还包括:The method according to claim 6, wherein the second MPU sends a routing table to the first LPU, so that the first LPU can forward data to each device connected to the first LPU. The method further includes: 所述第二MPU向所述第一LPU连接的每个设备发送第三优先级通知,所述第三优先级通知指示所述第一LPU的路由优先级为所述默认值。The second MPU sends a third priority notification to each device connected to the first LPU, where the third priority notification indicates that the routing priority of the first LPU is the default value. 根据权利要求5所述的方法,其特征在于,所述第一MPU控制所述其他LPU更新转发表,包括:The method according to claim 5, wherein the controlling, by the first MPU, the other LPU update forwarding table comprises: 所述第二MPU将所述第一LPU的路由信息发送给所述第一MPU;The second MPU sends the routing information of the first LPU to the first MPU; 所述第一MPU根据所述第一LPU的路由信息控制所述其他LPU更新转发表。The first MPU controls the other LPU update forwarding table according to the routing information of the first LPU. 根据权利要求1至4任一所述的方法,其特征在于,所述整机新版本软件还包括所述第一MPU的第三新版本软件,The method according to any one of claims 1 to 4, wherein the new version of the software further comprises a third new version of the software of the first MPU, 所述第二MPU控制更新后的所述每个LPU转发数据之后,所述方法还包括:After the second MPU controls the updated data forwarding by each of the LPUs, the method further includes: 所述第一MPU以所述第一MPU的第三新版本软件运行;The first MPU runs with a third new version of the software of the first MPU; 所述第一MPU获取所述第二MPU的业务配置和状态。The first MPU acquires a service configuration and a status of the second MPU. 一种网络设备,其特征在于,所述网络设备包括:第一主处理单元MPU、第二主处理单元MPU和至少两个线路处理单元LPU,A network device, comprising: a first main processing unit MPU, a second main processing unit MPU, and at least two line processing units LPU, 所述第一MPU,用于获取整机新版本软件,所述整机新版本软件包括所述第二MPU的第一新版本软件和所述至少两个LPU中每个LPU的第二新版本软件;The first MPU is configured to acquire a new version of the software, where the new version of the software includes a first new version of the second MPU and a second new version of each of the at least two LPUs. software; 所述第一MPU,还用于通知所述第二MPU以所述第一新版本软件运行;The first MPU is further configured to notify the second MPU to run in the first new version software; 所述第一MPU和所述第二MPU,用于根据所述至少两个LPU中每个LPU的第二新版本软件对所述至少两个LPU中的每个LPU的软件进行更新,在更新所述至少两个LPU中的第一LPU的软件时,第一MPU控制所述至少两个LPU中除所述第一LPU外的其他LPU转发数据,所述第一LPU包括所述至少两个LPU中的至少一个LPU;The first MPU and the second MPU are configured to update software of each of the at least two LPUs according to a second new version software of each of the at least two LPUs, in an update When the software of the first LPU of the at least two LPUs, the first MPU controls other LPUs of the at least two LPUs except the first LPU to forward data, where the first LPU includes the at least two At least one LPU in the LPU; 所述第二MPU,用于在所述每个LPU的软件更新后,控制更新后的所述每个LPU转发数据。 The second MPU is configured to control, after the software update of each LPU, the updated data of each LPU to be forwarded. 根据权利要求10所述的网络设备,其特征在于,A network device according to claim 10, wherein 所述第一MPU,还用于取消所述第一LPU的数据转发功能;The first MPU is further configured to cancel the data forwarding function of the first LPU; 所述第一MPU,还用于复位所述第一LPU,并以所述第一LPU的第二新版本软件运行所述第一LPU;The first MPU is further configured to reset the first LPU, and run the first LPU by using a second new version of the first LPU; 所述第一MPU和所述第二MPU,还用于恢复所述第一LPU的数据转发功能。The first MPU and the second MPU are further configured to restore a data forwarding function of the first LPU. 根据权利要求11所述的网络设备,其特征在于,The network device according to claim 11, wherein 所述第一MPU,还用于向所述第一LPU连接的每个设备发送第一优先级通知,所述第一优先级通知指示所述第一LPU的路由优先级低于默认值;The first MPU is further configured to send, to each device connected to the first LPU, a first priority notification, where the first priority notification indicates that a routing priority of the first LPU is lower than a default value; 所述第一MPU,还用于控制所述其他LPU更新转发表,以断开所述其他LPU与所述第一LPU之间的连接。The first MPU is further configured to control the other LPU update forwarding table to disconnect the connection between the other LPU and the first LPU. 根据权利要求11所述的网络设备,其特征在于,The network device according to claim 11, wherein 所述第一MPU,还用于通知所述第一LPU连接的每个设备,断开与所述第一LPU之间的连接;The first MPU is further configured to notify each device that is connected by the first LPU, and disconnect the connection with the first LPU; 所述第一MPU,还用于控制所述其他LPU更新转发表,以断开所述其他LPU与所述第一LPU之间的连接。The first MPU is further configured to control the other LPU update forwarding table to disconnect the connection between the other LPU and the first LPU. 根据权利要求11至13任一所述的网络设备,其特征在于,A network device according to any one of claims 11 to 13, wherein 所述第二MPU,还用于向所述第一LPU下发路由表,使所述第一LPU能够向所述第一LPU连接的每个设备转发数据;The second MPU is further configured to send a routing table to the first LPU, so that the first LPU can forward data to each device connected to the first LPU; 所述第一MPU,还用于控制所述其他LPU更新转发表;The first MPU is further configured to control the other LPU update forwarding table; 所述其他LPU中的任一LPU,用于根据所述任一LPU的转发表建立所述任一LPU与所述第一LPU之间的连接。Any one of the other LPUs, configured to establish a connection between the any LPU and the first LPU according to the forwarding table of any one of the LPUs. 根据权利要求14所述的网络设备,其特征在于,A network device according to claim 14, wherein 所述第二MPU,还用于向所述第一LPU连接的每个设备发送第二优先级通知,所述第二优先级通知指示所述第一LPU的路由优先级低于默认值。The second MPU is further configured to send a second priority notification to each device connected to the first LPU, where the second priority notification indicates that a routing priority of the first LPU is lower than a default value. 根据权利要求15所述的网络设备,其特征在于,The network device according to claim 15, wherein 所述第二MPU,还用于向所述第一LPU连接的每个设备发送第三优先级通知,所述第三优先级通知指示所述第一LPU的路由优先级为所述默认值。The second MPU is further configured to send a third priority notification to each device that is connected by the first LPU, where the third priority notification indicates that a routing priority of the first LPU is the default value. 根据权利要求14所述的网络设备,其特征在于,A network device according to claim 14, wherein 所述第二MPU,还用于将所述第一LPU的路由信息发送给所述第一MPU;The second MPU is further configured to send routing information of the first LPU to the first MPU; 所述第一MPU,还用于根据所述第一LPU的路由信息控制所述其他LPU更新转发表。The first MPU is further configured to control, according to the routing information of the first LPU, the other LPU update forwarding table. 根据权利要求10至13任一所述的网络设备,其特征在于,所述整机新版本软件还包括所述第一MPU的第三新版本软件,The network device according to any one of claims 10 to 13, wherein the new version of the software further comprises a third new version of the software of the first MPU, 所述第一MPU,还用于以所述第一MPU的第三新版本软件运行;The first MPU is further configured to run with a third new version of the software of the first MPU; 所述第一MPU,还用于获取所述第二MPU的业务配置和状态。 The first MPU is further configured to acquire a service configuration and a state of the second MPU.
PCT/CN2017/109371 2016-12-29 2017-11-03 Network device update method and network device Ceased WO2018121067A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611248089.9A CN108259203A (en) 2016-12-29 2016-12-29 The update method and the network equipment of the network equipment
CN201611248089.9 2016-12-29

Publications (1)

Publication Number Publication Date
WO2018121067A1 true WO2018121067A1 (en) 2018-07-05

Family

ID=62707794

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109371 Ceased WO2018121067A1 (en) 2016-12-29 2017-11-03 Network device update method and network device

Country Status (2)

Country Link
CN (1) CN108259203A (en)
WO (1) WO2018121067A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036080A (en) * 2021-11-09 2022-02-11 许昌许继软件技术有限公司 Method and device for upgrading program by using communication serial port of display terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110780903B (en) * 2019-10-25 2023-04-07 广东博智林机器人有限公司 Software upgrading method, device, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054764A1 (en) * 2002-09-12 2004-03-18 Harry Aderton System and method for enhanced software updating and revision
CN102164363A (en) * 2011-04-14 2011-08-24 新邮通信设备有限公司 Base station version updating realization method and base station
CN102968357A (en) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 Software upgrading method and system for distributed communication device
CN103414590A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Software upgrading method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054764A1 (en) * 2002-09-12 2004-03-18 Harry Aderton System and method for enhanced software updating and revision
CN102164363A (en) * 2011-04-14 2011-08-24 新邮通信设备有限公司 Base station version updating realization method and base station
CN102968357A (en) * 2012-11-01 2013-03-13 中兴通讯股份有限公司 Software upgrading method and system for distributed communication device
CN103414590A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Software upgrading method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036080A (en) * 2021-11-09 2022-02-11 许昌许继软件技术有限公司 Method and device for upgrading program by using communication serial port of display terminal
CN114036080B (en) * 2021-11-09 2024-09-06 许昌许继软件技术有限公司 A method and device for upgrading a program using a communication serial port of a display terminal

Also Published As

Publication number Publication date
CN108259203A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
US20190253381A1 (en) Packet Sending Method and Network Device
US8825844B2 (en) Notifying network operator when virtual addresses do not match on network elements configured for interchassis redundancy
KR101691759B1 (en) Virtual chassis system control protocols
WO2017050254A1 (en) Hot backup method, device and system
CN100407646C (en) A method for realizing data service backup
WO2016173403A1 (en) Routing device, load balancing device, and message distribution method and system
WO2018161794A1 (en) Apparatus upgrade method and access apparatus
WO2021185169A1 (en) Switching method and apparatus, and device and storage medium
WO2021057438A1 (en) Main/standby switching method and apparatus, bras device, and storage medium
CN106330786A (en) MAC address synchronization method, device and system
CN105340226A (en) Primary and secondary system handover method for dynamic route device, and apparatus thereof
US20160205033A1 (en) Pool element status information synchronization method, pool register, and pool element
JP5775473B2 (en) Edge device redundancy system, switching control device, and edge device redundancy method
WO2018121067A1 (en) Network device update method and network device
CN103888353B (en) Protection group pretection switch switchback processing method and customer edge devices
CN104125079B (en) A kind of method and device for determining two-node cluster hot backup configuration information
CN110535792A (en) Multinode device and its redundant communication means
CN108282346B (en) Software upgrading method and device
CN110603798B (en) System and method for providing elastic consistency platform with high availability
CN104618233A (en) VPLS cross-domain redundancy protection method and system
US10536875B2 (en) System and method for seamless TCP connection handoff
JP6601198B2 (en) Relay device, setting method, setting program, and information processing system
CN105515968B (en) Message forwarding method and device, SDN (software defined network) and system
WO2017041469A1 (en) Method and apparatus for communicating with irregular domain of dcn in ptn device
CN106411544A (en) Business processing method and device

Legal Events

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

Ref document number: 17889312

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17889312

Country of ref document: EP

Kind code of ref document: A1