Router and software upgrading method thereof

A router and memory technology, applied in software engineering design, instruments, electrical components, etc., can solve the problems that soft forwarding routers cannot implement ISSU and service is not interrupted, so as to ensure non-interruption and improve availability

Active Publication Date: 2014-02-12
NEW H3C TECH CO LTD
View PDF7 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the present invention provides a router and its software upgrade method to at least solve the problem that the sof

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Router and software upgrading method thereof
  • Router and software upgrading method thereof
  • Router and software upgrading method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] An embodiment of the present invention provides a router that forwards data packets through a CPU, called a soft forwarding router. The architecture of the router is as follows: figure 1 shown. The CPU in the router is a multi-core CPU (that is, it contains multiple CPU cores). Today, when multi-core CPUs are becoming more and more popular, most soft-forwarding routers are designed based on multi-core CPUs. In addition, the memory in the router includes two mutually independent storage areas: the first memory area and the second memory area.

[0019] In this embodiment, the multi-core CPU in the router includes two parts:

[0020] The control plane (Control Plane) CPU is responsible for processing protocol messages, generating and delivering forwarding entries, and other functions on the router, such as management, are also completed on the control plane CPU; protocol messages include various A routing protocol message may also include a network management protocol me...

Embodiment 2

[0039] Such as figure 1 The software upgrade process of the router shown may include the following steps:

[0040] The first step is to upgrade the software of the control plane CPU;

[0041] In this step, only the control plane CPU is reset, and only Section 1 is cleared. At this time, the data plane CPU continues to run, and Section 2 and Section 3 are not cleared. After the control plane CPU is restarted, a new version of the control plane program is loaded into the first memory area, and the new version of the control plane program in the first memory area is run.

[0042] After the new version of the control plane program runs on the control plane CPU, enter the second step.

[0043] The second step is to update and upgrade data plane entries;

[0044] This step applies to changes in the data plane entry format (that is, the forwarding entry corresponding to the new version of the control plane program (called the new version of the data plane entry) and the forwardin...

Embodiment 3

[0062] It can be known from the first and second embodiments above that, in order to implement the software upgrade methods in the first and second embodiments, when the router performs software upgrades, the control plane CPU is used to reset and only clear the first memory area. After reset and startup, load the new version of the control plane program into the first memory area, and run the new version of the control plane program in the first memory area.

[0063] Such as Figure 5 As shown, the control plane CPU of the router of this embodiment may include the following functional modules: a judging module 10, a conversion module 20, a writing module 30 and a deleting module 40, wherein:

[0064] After the control plane CPU runs the new version of the control plane program, the judging module 10 judges whether the formats of the data plane entries of the old version and the new version are the same.

[0065] The conversion module 20 converts the forwarding entries in the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a router and a software upgrading method of the router. The router comprises a multi-core CPU, a first memory area and a second memory area, wherein the first memory area and the second memory area are mutually independent. The multi-core CPU comprises a control plane CPU and a data plane CPU. The first memory area is used for storing control plane programs, and the second memory area is used for storing data plane programs. The data plane CPU is used for processing data messages by using the data plane programs in the second memory area, and the control plane CPU is used for processing protocol messages by using the control plane programs in the first memory area. When the router undergoes software upgrading, reset is performed and zero clearing is only performed on the first memory area. After reset is started, control plane programs of a new version are loaded into the first memory area, and the control plane programs of the new version in the first memory area are operated. The router and the software upgrading method of the router can improve the usability of a soft forwarding router.

Description

technical field [0001] The invention relates to the technical field of software upgrading, in particular to a router and a software upgrading method thereof. Background technique [0002] Initial software upgrades, especially for embedded systems, mainly rely on software restarts. However, this process lasts for a long time, and during the software upgrade process, the business will be interrupted. However, for some core equipment and equipment for some special applications, such a cost is unacceptable. Therefore, how to ensure that services will not be interrupted during the software upgrade process has become an urgent problem to be solved. [0003] In order to solve the above problems, ISSU (In-Service Software Upgrade, non-interrupted service upgrade) is proposed. ISSU is an upgrade method that can ensure that the service is not interrupted or the interruption time is short during the software upgrade process, and it provides a high-availability software upgrade metho...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/701G06F9/445H04L45/60
CPCG06F8/67G06F9/445H04L12/00H04L45/60G06F8/656H04L45/563
Inventor 魏巍
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products