CN100542103C - Method and device for hot upgrading network processor - Google Patents

Method and device for hot upgrading network processor Download PDF

Info

Publication number
CN100542103C
CN100542103C CNB2006101504167A CN200610150416A CN100542103C CN 100542103 C CN100542103 C CN 100542103C CN B2006101504167 A CNB2006101504167 A CN B2006101504167A CN 200610150416 A CN200610150416 A CN 200610150416A CN 100542103 C CN100542103 C CN 100542103C
Authority
CN
China
Prior art keywords
network processor
engine
state
upgraded
setting
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.)
Active
Application number
CNB2006101504167A
Other languages
Chinese (zh)
Other versions
CN1968153A (en
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.)
Hengqin International Intellectual Property Exchange 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
Priority to CNB2006101504167A priority Critical patent/CN100542103C/en
Publication of CN1968153A publication Critical patent/CN1968153A/en
Priority to PCT/CN2007/070925 priority patent/WO2008052463A1/en
Application granted granted Critical
Publication of CN100542103C publication Critical patent/CN100542103C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

本发明涉及一种热升级网络处理器的方法及装置。本发明中将网络处理器中需要升级的引擎设置为无报文处理状态,并且在完成设置后,使用升级后的业务模块指令更新所述引擎中旧的业务模块指令,从而使网络处理器在不中断业务的情况下实现热升级。而且,本发明的实现过程稳定、可靠,适用范围广泛。本发明的实现还能够满足大量业务模块代码的修改,提高了路由器的可靠性和稳定性,保证电信级业务的正常运行。

Figure 200610150416

The invention relates to a method and device for thermally upgrading a network processor. In the present invention, the engine that needs to be upgraded in the network processor is set to the state of no message processing, and after the setting is completed, the old service module instruction in the engine is updated with the upgraded service module instruction, so that the network processor is in the Realize hot upgrade without interrupting business. Moreover, the realization process of the present invention is stable and reliable, and has a wide range of applications. The realization of the present invention can also meet the modification of a large number of business module codes, improve the reliability and stability of the router, and ensure the normal operation of the carrier-class business.

Figure 200610150416

Description

一种热升级网络处理器的方法及装置 Method and device for hot upgrading network processor

技术领域 technical field

本发明涉及通信技术领域,尤其涉及一种热升级网络处理器的方法及装置。The invention relates to the technical field of communications, in particular to a method and device for hot upgrading a network processor.

背景技术 Background technique

随着交互式网络分析(Internet)从科研向商业应用的转变,网络用户迅猛增加,各种类型的应用共存在一个物理网络上,网络节点的处理能力、服务质量(QoS)的保障和网络带宽逐渐成为Internet继续发展的主要障碍。但是,随着光传输技术的发展,传输带宽不再成为网络的瓶颈,而网络交换节点的处理能力显得尤为重要。With the transformation of interactive network analysis (Internet) from scientific research to commercial applications, network users are increasing rapidly, and various types of applications coexist on a physical network. The processing capacity of network nodes, guarantee of quality of service (QoS) and network bandwidth Gradually become the main obstacle to the continued development of the Internet. However, with the development of optical transmission technology, transmission bandwidth is no longer the bottleneck of the network, and the processing capability of network switching nodes is particularly important.

为了满足网络日新月异的变化,千兆比特路由器(GSR)和百万兆比特路由器(TSR)应运而生,这些高端路由器采用大容量交换结构和硬件高速转发技术,大大提高了报文转发速度。作为这些设备交换核心的网络处理器(NP:Network Processor)也得到了迅猛的发展和应用。In order to meet the ever-changing changes in the network, gigabit routers (GSR) and terabit routers (TSR) emerged as the times require. These high-end routers use large-capacity switching structures and hardware high-speed forwarding technology to greatly increase the packet forwarding speed. The network processor (NP: Network Processor), which is the switching core of these devices, has also been rapidly developed and applied.

所述网络处理器是一种可编程器件,是路由器设备的大脑,它应用于通信领域的各种任务,比如数据包处理、协议分析、路由查找、声音/数据的汇聚、防火墙、QoS。The network processor is a programmable device, which is the brain of the router device, and it is applied to various tasks in the communication field, such as data packet processing, protocol analysis, route lookup, voice/data aggregation, firewall, and QoS.

随着新技术的不断推出,以及用户对NP功能上不断提出的新要求,NP需要不断的升级,即用新的运行指令更新旧的指令,来满足用户的要求以及实现新的技术。那么,在骨干网上正在运行业务的路由器中的NP,如何在不中断业务的情况下,实现路由器中NP的热升级成为目前研究的重点。With the continuous introduction of new technologies and the new requirements of users for NP functions, NP needs to be continuously upgraded, that is, update old instructions with new operating instructions to meet user requirements and implement new technologies. Then, how to realize the hot upgrade of the NP in the router without interrupting the service of the NP in the router running the business on the backbone network has become the focus of current research.

在现有的技术中,使用修改指令跳转技术来对骨干网上正在运行业务的路由器中的NP进行热升级,这种技术的基本原理是把新增加的指令放到微码指令空间的空闲区的尾部,并把要修改的指令替换成跳转到新增微码的指令地址。In the existing technology, the NP in the router that is running the business on the backbone network is hot-upgraded by using the modified instruction jump technology. The basic principle of this technology is to put the newly added instruction into the free area of the microcode instruction space , and replace the instruction to be modified with the instruction address that jumps to the newly added microcode.

当采用现有技术中的方法进行升级时,需要对微码非常熟悉,也需要对整个NP的相关寄存器等资源很熟悉,并且需要防止升级时对NP内部资源的覆盖,而且,这种方法只适合修改小量的指令代码。如果采用这种方法修改一个软件漏洞(bug)时,需要在原来的代码不连续的地方同时都需要跳转,这就有可能导致更新不同步,造成微码处理有问题,同时,这种方法还会造成指令空间的浪费。When using the method in the prior art to upgrade, you need to be very familiar with the microcode, and also need to be very familiar with the resources such as the relevant registers of the entire NP, and need to prevent the coverage of the internal resources of the NP during the upgrade, and this method only Suitable for modifying a small amount of instruction code. If you use this method to modify a software vulnerability (bug), you need to jump at the same time where the original code is discontinuous, which may cause the update to be out of sync, causing problems in microcode processing. At the same time, this method It also causes a waste of instruction space.

发明内容 Contents of the invention

本发明的目的是提供一种热升级网络处理器的方法及装置,从而使网络处理器在不中断业务的情况下进行热升级。The purpose of the present invention is to provide a method and device for hot upgrading network processors, so that the network processors can perform hot upgrading without interrupting services.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

本发明提供了一种热升级网络处理器的方法,包括:The invention provides a method for thermally upgrading a network processor, comprising:

将网络处理器中需要升级的引擎设置为不接收报文状态,并在所述设置结束后,延迟一段时间,使所述引擎处于无报文处理状态;The engine that needs to be upgraded in the network processor is set to the state of not receiving the message, and after the setting is completed, delay for a period of time, so that the engine is in the state of no message processing;

使用升级后的业务模块指令更新所述引擎中旧的业务模块指令;Using the upgraded business module instructions to update the old business module instructions in the engine;

解除所述网络处理器中所述引擎的无报文处理状态,恢复所述网络处理器正常操作。Release the no-message processing state of the engine in the network processor, and restore the normal operation of the network processor.

所述将网络处理器中需要升级的引擎设置为不接收报文状态的方法包括:由网络处理器中通用中央处理器对网络处理器的上行线路进行链路级反压。The method for setting the engine that needs to be upgraded in the network processor to the state of not receiving messages includes: performing link-level back pressure on the uplink of the network processor by the general-purpose central processing unit in the network processor.

所述的方法中还包括:若通用中央处理器在将网络处理器中需要升级的引擎设置为无报文处理状态之前有报文发送给网络服务器,则通用中央处理器停止向网络处理器发送所述报文。The method also includes: if the general-purpose central processing unit has a message to send to the network server before the engine that needs to be upgraded in the network processor is set to the state of no message processing, the general-purpose central processing unit stops sending messages to the network processor. said message.

本发明还提供了一种热升级网络处理器的装置,包括:The present invention also provides a device for thermally upgrading network processors, including:

设置单元,用于将网络处理器中需要升级的引擎设置为不接收报文状态,并在所述设置结束后,延迟一段时间,使所述引擎处于无报文处理状态;The setting unit is used to set the engine that needs to be upgraded in the network processor to a state of not receiving messages, and after the setting is completed, delay for a period of time, so that the engine is in a state of no message processing;

更新单元,用于所述设置单元完成设置后,使用升级后的业务模块指令更新所述引擎中旧的业务模块指令,完成网络处理器的升级;The update unit is used for updating the old service module instructions in the engine with the upgraded service module instructions after the setting unit completes the setting, so as to complete the upgrade of the network processor;

恢复单元,用于在所述更新单元完成更新后,解除所述网络处理器中所述引擎的无报文处理状态,恢复所述网络处理器正常操作。The recovery unit is configured to release the no-message processing state of the engine in the network processor and restore the normal operation of the network processor after the update unit completes the update.

所述的设置单元具体包括:The setting unit specifically includes:

状态设定模块,用于将网络处理器中需要升级的引擎设置为不接收报文状态;The state setting module is used to set the engine that needs to be upgraded in the network processor to the state of not receiving messages;

时间延迟模块,用于在所述状态设定模块完成设置后,延迟一段时间,确保网络处理器中需要升级的引擎为无报文处理状态。The time delay module is used to delay for a period of time after the state setting module completes the setting, so as to ensure that the engine to be upgraded in the network processor is in the state of no message processing.

由上述本发明提供的技术方案可以看出,本发明提供了一种可靠、简单、实用的网络处理器热升级的方法及装置,从而使网络处理器在不中断业务的情况下实现热升级。而且,本发明的实现过程稳定、可靠,适用范围广泛。本发明的实现还能够满足大量业务模块代码的修改,提高了路由器的可靠性和稳定性,保证电信级业务的正常运行。It can be seen from the above-mentioned technical solution provided by the present invention that the present invention provides a reliable, simple and practical method and device for network processor hot upgrade, so that the network processor can realize hot upgrade without interrupting services. Moreover, the realization process of the present invention is stable and reliable, and has a wide range of applications. The realization of the present invention can also meet the modification of a large number of business module codes, improve the reliability and stability of the router, and ensure the normal operation of the carrier-class business.

附图说明 Description of drawings

图1为本发明实施例的热升级网络处理器的方法流程图;FIG. 1 is a flowchart of a method for thermally upgrading a network processor according to an embodiment of the present invention;

图2为本发明实施例的热升级网络处理器的装置示意图;FIG. 2 is a schematic diagram of a device for hot upgrading a network processor according to an embodiment of the present invention;

图3为本发明实施例的设置单元的具体结构示意图。Fig. 3 is a schematic structural diagram of a setting unit according to an embodiment of the present invention.

具体实施方式 Detailed ways

本发明的实施例通过对网络处理器(NP)中需要升级的引擎进行设置,从而提出了以一种热升级网络处理器的方法,使NP在不中断业务的情况下,实现热升级。The embodiment of the present invention proposes a method of thermally upgrading the network processor by setting the engine that needs to be upgraded in the network processor (NP), so that the NP can realize hot upgrading without interrupting the service.

本发明的实施例通过将NP中需要升级的引擎设置为无报文处理状态;并且在所述引擎处于无报文处理状态下,使用升级后的业务模块指令更新所述引擎中旧的业务模块指令,并在完成升级后,恢复NP正常操作。In the embodiment of the present invention, the engine that needs to be upgraded in the NP is set to the no-message processing state; and when the engine is in the no-message processing state, the old business module in the engine is updated by using the upgraded business module instruction command, and after the upgrade is complete, resume NP normal operation.

具体一点讲,本发明实施例可以通过技术手段,使NP中需要升级的引擎不会再接收到报文,并且为了保证所述引擎中的业务处理模块发送完所有剩余报文,在通过技术手段使NP中需要升级的引擎不接收报文后,再延迟一段时间,以便NP中需要升级的引擎完全处于无报文处理状态,然后,使用升级的业务模块指令更新所述引擎中业务模块的指令空间,并在完成更新升级后,解除网络处理器中引擎的无报文处理状态,恢复网络处理器正常操作。Specifically, the embodiment of the present invention can use technical means to prevent the engine that needs to be upgraded in the NP from receiving messages, and in order to ensure that the business processing module in the engine sends all remaining messages, the technical means After the engine that needs to be upgraded in the NP does not receive the message, delay for a period of time, so that the engine that needs to be upgraded in the NP is completely in the state of no message processing, and then use the upgraded business module command to update the command of the business module in the engine Space, and after the update and upgrade is completed, the engine in the network processor is released from the no-message processing state, and the normal operation of the network processor is resumed.

为了便于对本发明实施例的理解,下面将本发明所述方法分成三个阶段,并结合本发明实施例的热升级网络处理器的方法流程图(如图1所示),对本发明实施例的具体实现过程进行详细的说明,具体包括:In order to facilitate the understanding of the embodiment of the present invention, the method of the present invention is divided into three stages below, and combined with the flow chart of the method for thermally upgrading the network processor of the embodiment of the present invention (as shown in FIG. 1 ), the method of the embodiment of the present invention is analyzed. The specific implementation process is described in detail, including:

1、设置阶段1. Setup stage

目前,对于NP升级的思想是:尽可能的少使用NP资源,即让NP处于最简单的状态下;尽可能确定升级的时候要执行的是哪些指令;升级的时候,还必须要考虑业务流程的不同性及广泛性,以扩大其适用范围。At present, the idea of NP upgrade is: use NP resources as little as possible, that is, let NP be in the simplest state; determine which instructions to execute when upgrading as much as possible; when upgrading, business processes must also be considered The diversity and breadth of the system to expand its scope of application.

而NP处于最简单的状态就是引擎在没有任何报文需要处理的时候,因为这个时候引擎会处于对报文的轮询状态或者等待被激活状态,在这种状态下使用NP资源最少,相关NP的状态也是最明确。The simplest state of NP is when the engine does not have any messages to process, because at this time the engine will be in the polling state for messages or waiting to be activated. In this state, the use of NP resources is the least, and the related NP The status of is also the clearest.

所以只要设法让NP中需要升级的引擎处于没有任何报文需要处理的状态下,然后让通用中央处理器(CPU)直接使用升级后的业务模块指令,把业务指令空间刷新就可以了。So as long as the engine to be upgraded in the NP is managed to be in a state where there is no message to be processed, then the general-purpose central processing unit (CPU) can directly use the upgraded service module instructions to refresh the service instruction space.

基于所述NP升级思想,本发明采用技术手段,使NP中需要升级的引擎不再接收报文,所述技术手段可以采用对NP上行进行链路级反压,但并不限于这一种方法,还可以使用其它技术手段,比如通过重新设置端口,使所述端口不再接收报文,也能达到同样的效果。这样就可以保证所述引擎不会再收到报文。Based on the NP upgrade idea, the present invention adopts technical means to prevent the engines in the NP that need to be upgraded from receiving messages. The technical means can use link-level backpressure on the NP uplink, but it is not limited to this method , and other technical means can also be used, for example, by resetting the port so that the port no longer receives messages, the same effect can also be achieved. In this way, it can be guaranteed that the engine will not receive any more messages.

所述对NP上行进行链路级反压的操作,可以由路由器内通用CPU控制。The operation of performing link-level back pressure on the uplink of the NP may be controlled by a general-purpose CPU in the router.

虽然通过技术手段,使所述引擎不会再收到报文,但所述引擎中的业务处理模块内可能还存有在所述引擎处于不接收报文状态之前收到的报文没有发送出去,为了将所述引擎中业务处理模块内可能还存有的剩余报文完全发送出去,所以,在通过技术手段使NP中需要升级的引擎不接收报文后,可以再延迟一段时间,以便于所述引擎将所述剩余的报文完全发送出去,使NP中需要升级的引擎完全处于无报文处理状态。所述的延迟时间可视不同升级情况进行不同设置,比如1ms。Although the engine will no longer receive messages through technical means, there may still be messages received before the engine is in the state of not receiving messages that have not been sent out in the business processing module of the engine. , in order to completely send out the remaining messages that may still exist in the business processing module in the engine, so after the engine that needs to be upgraded in the NP does not receive messages through technical means, it can be delayed for a period of time, so that The engine completely sends the remaining messages, so that the engines in the NP that need to be upgraded are completely in a state of no message processing. The delay time can be set differently according to different upgrade situations, for example, 1ms.

此阶段中还包括,若在NP中需要升级的引擎处于无报文处理状态之前,路由器内通用CPU正在将报文发送给NP,则通用CPU停止发送所述报文给NP。This stage also includes, if the general-purpose CPU in the router is sending the message to the NP before the engine to be upgraded in the NP is in the state of no message processing, then the general-purpose CPU stops sending the message to the NP.

2、更新阶段2. Update stage

在NP中需要升级的引擎处于无报文处理状态后,使用升级的业务模块指令更新所述引擎中业务模块的指令空间。After the engine to be upgraded in the NP is in the state of no message processing, use the upgraded service module instruction to update the instruction space of the service module in the engine.

3、恢复阶段3. Recovery stage

在所述更新阶段完成后,撤销设置阶段对所述引擎的影响,解除NP中升级后的引擎的无报文处理状态,恢复网络处理器正常操作。After the updating phase is completed, cancel the influence of the setting phase on the engine, release the no-message processing state of the upgraded engine in the NP, and restore the normal operation of the network processor.

此阶段还包括,若在设置阶段暂停通用CPU向NP发送报文,则在此阶段恢复通用CPU向NP发送报文。This stage also includes, if the general-purpose CPU is suspended to send messages to the NP during the setting stage, then the general-purpose CPU is resumed to send messages to the NP at this stage.

本发明所述方法的实施例的实现,具有下列优点:The implementation of the embodiments of the method of the present invention has the following advantages:

1、该方法与具体NP无关,适用多种NP;1. This method has nothing to do with specific NPs and is applicable to multiple NPs;

2、与具体业务流程无关,使用NP的数据通讯产品可以采用此方法升级,使用NP的无线产品也可以采用此方法升级;2. Regardless of the specific business process, data communication products using NP can be upgraded by this method, and wireless products using NP can also be upgraded by this method;

3、不需要对微码机器码了解,也不需要对整个NP的相关寄存器等资源很熟悉;3. It is not necessary to understand the microcode machine code, nor to be familiar with the relevant registers and other resources of the entire NP;

4、不需要防止新增业务对NP内部有用资源的覆盖;4. There is no need to prevent new services from covering useful resources within the NP;

5、能满足大量业务模块代码的修改;5. It can meet the modification of a large number of business module codes;

6、可靠性,可服务性高;6. Reliability and high serviceability;

7、不会浪费一条指令,因为没有补丁区概念,也没有因为打补丁需要额外增加的跳转;7. No instruction will be wasted, because there is no patch area concept, and there is no additional jump required for patching;

8、能实现新增微码新特性升级。8. It can realize the upgrade of new microcode and new features.

本发明还提供了一种热升级网络处理器的装置,所述装置示意图如图2所示。所述装置具体包括:The present invention also provides a device for thermally upgrading a network processor, and the schematic diagram of the device is shown in FIG. 2 . Described device specifically comprises:

(1)设置单元,用于将网络处理器中需要升级的引擎设置为无报文处理状态。(1) A setting unit, configured to set the engine to be upgraded in the network processor to a state of no message processing.

(2)更新单元,用于在所述设置单元完成设置后,使用升级后的业务模块指令更新所述引擎中旧的业务模块指令,完成网络处理器的升级。(2) An update unit, configured to use the upgraded service module instructions to update the old service module instructions in the engine after the setting unit completes the setting, so as to complete the upgrade of the network processor.

(3)恢复单元,用于在所述更新单元完成更新后,解除网络处理器中引擎的无报文处理状态,恢复网络处理器正常操作。(3) A recovery unit, configured to release the no-message processing state of the engine in the network processor and restore the normal operation of the network processor after the update unit completes the update.

其中,所述设置单元的具体结构示意图如图3所示,所述设置单元具体可以包括:Wherein, the specific structural diagram of the setting unit is shown in Figure 3, and the setting unit may specifically include:

状态设定模块,用于将网络处理器中需要升级的引擎设置为不接收报文状态;The state setting module is used to set the engine that needs to be upgraded in the network processor to the state of not receiving messages;

时间延迟模块,用于在所述状态设定模块完成设置后,延迟一段时间,确保网络处理器中需要升级的引擎为无报文处理状态。The time delay module is used to delay for a period of time after the state setting module completes the setting, so as to ensure that the engine to be upgraded in the network processor is in the state of no message processing.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (5)

1、一种热升级网络处理器的方法,其特征在于,包括:1. A method for thermally upgrading a network processor, comprising: 将网络处理器中需要升级的引擎设置为不接收报文状态,并在所述设置结束后,延迟一段时间,使所述引擎处于无报文处理状态;The engine that needs to be upgraded in the network processor is set to the state of not receiving the message, and after the setting is completed, delay for a period of time, so that the engine is in the state of no message processing; 使用升级后的业务模块指令更新所述引擎中旧的业务模块指令;Using the upgraded business module instructions to update the old business module instructions in the engine; 解除所述网络处理器中所述引擎的无报文处理状态,恢复所述网络处理器正常操作。Release the no-message processing state of the engine in the network processor, and restore the normal operation of the network processor. 2、根据权利要求1所述的方法,其特征在于,所述将网络处理器中需要升级的引擎设置为不接收报文状态的方法包括:由网络处理器中通用中央处理器对网络处理器的上行线路进行链路级反压。2. The method according to claim 1, wherein the method for setting the engine that needs to be upgraded in the network processor to the state of not receiving messages comprises: by the general-purpose central processing unit in the network processor to the network processor link-level backpressure on the uplink. 3、根据权利要求1所述的方法,其特征在于,所述的方法中还包括:若通用中央处理器在将网络处理器中需要升级的引擎设置为无报文处理状态之前有报文发送给网络服务器,则通用中央处理器停止向网络处理器发送所述报文。3. The method according to claim 1, further comprising: if there is a message to be sent by the general-purpose central processing unit before the engine to be upgraded in the network processor is set to the state of no message processing to the network server, the general central processing unit stops sending the message to the network processor. 4、一种热升级网络处理器的装置,其特征在于,包括:4. A device for thermally upgrading a network processor, comprising: 设置单元,用于将网络处理器中需要升级的引擎设置为不接收报文状态,并在所述设置结束后,延迟一段时间,使所述引擎处于无报文处理状态;The setting unit is used to set the engine that needs to be upgraded in the network processor to a state of not receiving messages, and after the setting is completed, delay for a period of time, so that the engine is in a state of no message processing; 更新单元,用于所述设置单元完成设置后,使用升级后的业务模块指令更新所述引擎中旧的业务模块指令,完成网络处理器的升级;The update unit is used for updating the old service module instructions in the engine with the upgraded service module instructions after the setting unit completes the setting, so as to complete the upgrade of the network processor; 恢复单元,用于在所述更新单元完成更新后,解除所述网络处理器中所述引擎的无报文处理状态,恢复所述网络处理器正常操作。The recovery unit is configured to release the no-message processing state of the engine in the network processor and restore the normal operation of the network processor after the update unit completes the update. 5、根据权利要求4所述的装置,其特征在于,所述的设置单元具体包括:5. The device according to claim 4, wherein the setting unit specifically includes: 状态设定模块,用于将网络处理器中需要升级的引擎设置为不接收报文状态;The state setting module is used to set the engine that needs to be upgraded in the network processor to the state of not receiving messages; 时间延迟模块,用于在所述状态设定模块完成设置后,延迟一段时间,确保网络处理器中需要升级的引擎为无报文处理状态。The time delay module is used to delay for a period of time after the state setting module completes the setting, so as to ensure that the engine to be upgraded in the network processor is in the state of no message processing.
CNB2006101504167A 2006-10-25 2006-10-25 Method and device for hot upgrading network processor Active CN100542103C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2006101504167A CN100542103C (en) 2006-10-25 2006-10-25 Method and device for hot upgrading network processor
PCT/CN2007/070925 WO2008052463A1 (en) 2006-10-25 2007-10-18 Method and apparatus for hot upgrading network processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101504167A CN100542103C (en) 2006-10-25 2006-10-25 Method and device for hot upgrading network processor

Publications (2)

Publication Number Publication Date
CN1968153A CN1968153A (en) 2007-05-23
CN100542103C true CN100542103C (en) 2009-09-16

Family

ID=38076716

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101504167A Active CN100542103C (en) 2006-10-25 2006-10-25 Method and device for hot upgrading network processor

Country Status (2)

Country Link
CN (1) CN100542103C (en)
WO (1) WO2008052463A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100542103C (en) * 2006-10-25 2009-09-16 华为技术有限公司 Method and device for hot upgrading network processor
CN101662390B (en) * 2009-09-24 2012-10-10 中兴通讯股份有限公司 Upgrade protecting method and device thereof
CN102325053B (en) * 2011-09-22 2019-04-23 中兴通讯股份有限公司 Method and device for controlling physical signal when router accesses network
CN102750190B (en) * 2012-06-21 2016-02-24 腾讯科技(深圳)有限公司 A kind of method that terminal leak is processed and device
CN107547222A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 Upgrade method and device of the single-stage router to cluster routers
CN112199100B (en) * 2019-07-08 2025-02-25 中兴通讯股份有限公司 A method and device for upgrading microcode
CN115278396B (en) * 2022-07-29 2025-06-06 明阳产业技术研究院(沈阳)有限公司 A network switching device, a data flow processing control method and related devices

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6304929B1 (en) * 1997-05-13 2001-10-16 Micron Electronics, Inc. Method for hot swapping a programmable adapter by using a programmable processor to selectively disabling and enabling power thereto upon receiving respective control signals
US6473433B1 (en) * 2000-06-30 2002-10-29 Marconi Communications, Inc. Queue resynch: synchronous real-time upgrade of a distributed switching system
CN1283077C (en) * 2002-11-11 2006-11-01 华为技术有限公司 Method for raising retransmission capability of network processor for servicing multiple data parts
CN100358280C (en) * 2003-06-18 2007-12-26 联想(北京)有限公司 A network security appliance and realizing method thereof
CN1242599C (en) * 2003-08-29 2006-02-15 港湾网络有限公司 File-packaged down-load processing method
CN100542103C (en) * 2006-10-25 2009-09-16 华为技术有限公司 Method and device for hot upgrading network processor

Also Published As

Publication number Publication date
WO2008052463A1 (en) 2008-05-08
CN1968153A (en) 2007-05-23

Similar Documents

Publication Publication Date Title
CN110784400B (en) N: 1 method, system and standby service gateway for redundancy of stateful application gateway
US8634415B2 (en) Method and system for routing network traffic for a blade server
US9807154B2 (en) Scalable logging control for distributed network devices
TWI477110B (en) Data communication method and data communication system
US12591463B2 (en) Data transmission method and data transmission server
US20130145359A1 (en) Method and System for Minimizing Disruption During In-Service Software Upgrade
EP3735765B1 (en) Multiple server-architecture cluster for providing a virtual network function
CN114039930B (en) Data packet processing method and system
TWI742131B (en) Method and device for upgrading virtual switch
WO2015027739A1 (en) Method and system for delivering flow table in sdn, of controller, and of switch
JP2003188877A (en) System for managing distributed network infrastructure services
CN103368840A (en) Reduced traffic loss for border gateway protocol session in multi-homed network connection
WO2017162089A1 (en) Service configuration method and device for network service
CN105959228A (en) Flow processing method and transparent cache system
WO2008052463A1 (en) Method and apparatus for hot upgrading network processor
Sonkoly et al. OpenFlow virtualization framework with advanced capabilities
Zulfiqar et al. The slow path needs an accelerator too!
US20120140640A1 (en) Apparatus and method for dynamically processing packets having various characteristics
CN106657279A (en) Network business speeding-up method and device
Hwang et al. StateFit: A security framework for SDN programmable data plane model
WO2014180363A1 (en) Openflow signaling control method and device
CN106169982B (en) Processing method, device and system of expansion port
WO2015006901A1 (en) Data stream processing method, device and system
CN111327481A (en) Simulation method of multifunctional router
CN115915098B (en) BMCA implementation method in 5G and TSN cross-domain PTP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170814

Address after: 519031, Guangdong, Zhuhai province Hengqin financial industry service base building No. 5 2-I

Patentee after: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201215

Address after: 264006 4th floor, building 2, energy saving science and Technology Park, Gaoxiong Road, Yantai Economic and Technological Development Zone, Shandong Province

Patentee after: Yantai HUAFA qixianqin Intellectual Property Operation Co.,Ltd.

Address before: 519031 Building 2-I, No. 5, Hengqin Financial Industry Service Base, Zhuhai City, Guangdong Province

Patentee before: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220321

Address after: 519031 Building No. 12-3, Hengqin Financial Industry Development Base, Zhuhai City, Guangdong Province (Centralized Office District)

Patentee after: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Address before: 264006 4th floor, building 2, energy saving science and Technology Park, Gaoxiong Road, Yantai Economic and Technological Development Zone, Shandong Province

Patentee before: Yantai HUAFA qixianqin Intellectual Property Operation Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: HUIZHOU AGPLUS ENVIRONMENTAL PROTECTION TECHNOLOGY Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2023980036023

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20230530

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: Zhuhai Debiao Photoelectric Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980005522

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20240511

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: Aegis (Guangdong) Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980032122

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241204

Application publication date: 20070523

Assignee: Hubei Fufan Information Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980032136

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241204

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: GUANGXI 51 PIPE INDUSTRY CO.,LTD.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980036254

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241212

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: Dongguan Nanwan Dingcheng Information Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980037472

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241216

Application publication date: 20070523

Assignee: Dongguan Zhiwanhui Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980037443

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241216

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: Zhuhai Qianhong Zhijin Technology Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980043519

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241230

Application publication date: 20070523

Assignee: Hunan Gangqing Engineering Installation Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980043518

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241230

Application publication date: 20070523

Assignee: Dong'an Yimin Agricultural Machinery Scrap and Disassembly Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980043517

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241230

Application publication date: 20070523

Assignee: Dong'an Fuxin Agricultural Machinery Sales Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2024980043516

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20241230

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: Jiangxi future technology development Co.,Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2025980020351

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20250902

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20070523

Assignee: Guangxi Frontiers Advertising Co., Ltd.

Assignor: HENGQIN INTERNATIONAL INTELLECTUAL PROPERTY EXCHANGE CO.,LTD.

Contract record no.: X2025980024277

Denomination of invention: A method and device for hot upgrading network processors

Granted publication date: 20090916

License type: Common License

Record date: 20250923

EE01 Entry into force of recordation of patent licensing contract