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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com