Supercharge Your Innovation With Domain-Expert AI Agents!

Patch method and apparatus of network processor

A network processor and patch technology, applied in the network field, can solve the problems of changes in the physical code structure, the inability to compare versions before and after in the same way, and the inability to continue to apply new patches, etc.

Inactive Publication Date: 2009-03-18
HUAWEI TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: different patch making tools are required for different network processing; after the file is patched, the patch file is stored separately and a jump instruction is inserted, so Its physical code structure will change, and when there is a newer version of the program that needs to be upgraded, the difference between the previous version and the previous version cannot be compared in the same way, so it is not possible to continue to apply new patches after patching

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
  • Patch method and apparatus of network processor
  • Patch method and apparatus of network processor
  • Patch method and apparatus of network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to solve the problems that the prior art cannot be commonly applied to all network processors and cannot be patched continuously, the present invention provides a network processor patching method and device. The present invention will be described in detail below in conjunction with the accompanying drawings.

[0031] Such as figure 2 As shown, the patch method of the network processor provided by the embodiment of the present invention includes:

[0032] 201. Quickly interrupt receiving data traffic;

[0033] The patching method of this embodiment needs to perform the patching operation when the network processor has no data traffic processing, so the receiving data traffic is quickly interrupted first.

[0034] In this embodiment, the method for quickly interrupting the received data flow includes:

[0035] Stop receiving data from upstream devices by controlling the network processor;

[0036] If the capacity of the network processor to process data ex...

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 patching method and a device for network processors, which relates to the network field, and aims at solving problems of the prior art that different network processors need different patch makers, the existing patch makers can not be applied to all the network processors universally, and the prior art can not perform continuously patching to network processors. The invention provides the technical scheme including a patching method for network processors, wherein the method comprises steps of stopping threading, downloading codes of a new procedure to replace the original codes, and restarting threading.

Description

technical field [0001] The invention relates to the network field, in particular to a patching method and equipment for a network processor. Background technique [0002] Patching is a mechanism to upgrade software to solve known software problems without restarting the device or affecting the normal operation of the business. For communication-level products, the requirements for service interruption time are very strict when upgrading software, and the interruption time should be controlled within the range of 20 milliseconds. Therefore, in order not to affect the normal processing of online users and business data, patching is usually used. Carry out product upgrades. [0003] The prior art mainly adopts the following methods for patching network processors, such as figure 1 Shown: [0004] Step 101, obtaining the program code of the original version and the program code of the new version; [0005] Step 102, find out the difference code between the program code of th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445H04L12/24
Inventor 牛琨
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More