WO2011157175A2 - 通信设备升级控制方法、芯片及通信设备 - Google Patents

通信设备升级控制方法、芯片及通信设备 Download PDF

Info

Publication number
WO2011157175A2
WO2011157175A2 PCT/CN2011/075303 CN2011075303W WO2011157175A2 WO 2011157175 A2 WO2011157175 A2 WO 2011157175A2 CN 2011075303 W CN2011075303 W CN 2011075303W WO 2011157175 A2 WO2011157175 A2 WO 2011157175A2
Authority
WO
WIPO (PCT)
Prior art keywords
chip
upgrade
configuration information
communication device
memory area
Prior art date
Application number
PCT/CN2011/075303
Other languages
English (en)
French (fr)
Other versions
WO2011157175A3 (zh
Inventor
刘飞
徐志平
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/075303 priority Critical patent/WO2011157175A2/zh
Priority to CN2011800008879A priority patent/CN102265256A/zh
Publication of WO2011157175A2 publication Critical patent/WO2011157175A2/zh
Publication of WO2011157175A3 publication Critical patent/WO2011157175A3/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a communication device upgrade control method, a chip, and a communication device.
  • the forwarding board usually consists of a large number of chips, ASIC (Application Specific Intergrated Circuits), and FPGA (Field-Programmable Gate Array) logic (hereinafter referred to as chips, ASICs, and chips). FPGA logic).
  • ASIC Application Specific Intergrated Circuits
  • FPGA Field-Programmable Gate Array
  • the existing solution is as follows: The central processor initializes first, after the initialization is completed, the central processor initializes the basic software, and then resets and starts one by one. After the initialization of each chip is completed, the chips are configured. After the configuration is completed, the related services are restored and delivered.
  • the embodiment of the present invention provides a communication device upgrade control method, a chip, and a communication device, so as to reduce service interruption time caused by the upgrade of the communication device, and the technical solution: 3 ⁇ 4 port:
  • a communication device upgrade control method wherein the communication device includes at least one chip and a dedicated memory area, and the dedicated memory area stores configuration information corresponding to the at least one chip respectively, and the method includes:
  • the configuration information corresponding to the chip is not read from the proprietary memory area, and is initialized by using the configuration information to complete the upgrade of the chip;
  • the communication device implements an upgrade of the communication device when the at least one chip completes the upgrade and the software located within the communication device completes the upgrade under the control of the central processor.
  • the embodiment of the present invention further provides a chip, which is disposed in a communication device, where the communication device is provided with a dedicated memory area, and the proprietary memory area stores configuration information corresponding to the chip, and the chip includes: Upgrade the control system, the upgrade control system is used to:
  • the present invention further provides a communication device including at least one chip and a dedicated memory area, wherein the proprietary memory area stores configuration information corresponding to each of the at least one chip; each of the at least one An upgrade control system is provided in the chip, and the upgrade control system is used to:
  • a dedicated memory area for storing corresponding configuration information of each chip is set in the communication device, and when each chip receives the command of the upgrade initialization initiated by the central processing, the chip automatically reads itself from the proprietary memory area. Configuration information, and self-initialization using the read configuration information to complete its own upgrade; at the same time, the central processor controls the software in the communication device to be upgraded; when all the chips and software upgrades are completed, the communication device is implemented. upgrade. Compared with the existing solution, the chip completes the service interruption time when the device upgrades itself.
  • FIG. 1 is an initialization process when a communication board is upgraded in the prior art
  • 2 is a schematic diagram of a communication device upgrade control method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a communication device upgrade control method according to an embodiment of the present invention
  • FIG. 5 is a second flowchart of a communication device upgrade control method according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an upgrade in a chip according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a second structure of an upgrade control system in a chip according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram showing a third structure of an upgrade control system in a chip according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that a chip, an ASIC, an FPGA logic or the like is referred to hereinafter by a chip.
  • a communication device upgrade control method provided by an embodiment of the present invention is first described below.
  • a communication device upgrade control method the communication device includes at least one chip and a dedicated memory area, and the dedicated memory area stores configuration information corresponding to the at least one chip respectively, and the method includes:
  • the at least one chip After receiving the trigger command of the upgrade initialization sent by the central processing unit, the at least one chip reads the configuration information corresponding to the chip from the dedicated memory area, and initializes the configuration information to complete the chip upgrade. ;
  • the communication device implements an upgrade of the communication device when the at least one chip completes the upgrade and the software located within the communication device completes the upgrade under the control of the central processor.
  • a dedicated memory area for storing corresponding configuration information of each chip is set in the communication device, and each chip automatically receives the exclusive memory when receiving the command of the upgrade initialization initiated by the central processing.
  • the area reads its own configuration information, and initializes itself by using the read configuration information to complete its own upgrade; meanwhile, the central processor controls the software in the communication device to be upgraded; when all chips and software upgrades are completed When the communication device is upgraded.
  • the chip completes the upgrade initialization by itself, and the chips are initialized in parallel and upgraded in parallel with the software, which can effectively reduce the service interruption time when the communication device is upgraded.
  • the chip upgrade in the communication board not only includes initialization of the chip, but also update of the chip data entry.
  • a communication device upgrade method provided by an embodiment of the present invention effectively solves this problem.
  • a dedicated memory area is disposed in the communication board, and a chip configuration area corresponding to each chip is disposed in the dedicated memory area, wherein the chip A corresponds to the chip A configuration area, and the chip B corresponds to the chip B.
  • the configuration area, chip C corresponds to the chip C configuration area.
  • the configuration information required for initialization of the upgrade of the chip is stored in advance in the configuration area of each chip.
  • a communication device upgrade control method provided by an embodiment of the present invention includes:
  • Each chip receives an upgrade initialization command sent by a central processing unit
  • the central processor controls the related software to initialize to complete the software upgrade. At the same time, the central processor will go to the chip in the communication board that needs to be upgraded. A. Chip B and chip C respectively send upgrade initialization commands to trigger each chip to perform its own initialization.
  • the central processor may trigger a chip that needs to be upgraded by sending a trigger command corresponding to itself to each chip to be upgraded, or by triggering a trigger command to all the chips to be upgraded. This is all reasonable.
  • Each chip reads configuration information corresponding to the chip from the proprietary memory area.
  • the proprietary memory area reads the new version of the configuration information corresponding to the chip itself: the chip A reads the configuration information required for the initialization of the chip A from the chip A configuration area of the proprietary memory area; the chip B reads the chip from the chip B configuration area. B initializes the required configuration information; chip C reads the configuration information required for chip C initialization from the chip C configuration area.
  • Each chip is initialized by using the configuration information.
  • Each chip performs its own initialization based on the read configuration information. In the process of initializing the chip, if the chip is required to perform self-test in the configuration information, the chip performs self-test according to the self-test requirement, and then continues the subsequent initialization work.
  • the initialization time required for each chip is different, and the time required for the software upgrade is not the same, so the upgrade of the communication board means: the chip A, the chip B, and the chip C are all initialized, and The related software is upgraded under the control of the central processing.
  • a dedicated memory area for storing corresponding configuration information of each chip is set in the communication device, and when each chip receives the command of the upgrade initialization initiated by the central processing, the chip automatically reads itself from the proprietary memory area. Configuration information, and self-initialization using the read configuration information to complete its own upgrade; at the same time, the central processor controls the software in the communication device to be upgraded; when all the chips and software upgrades are completed, the communication device is implemented. upgrade.
  • the chip completes the upgrade initialization by itself, and the chips are initialized in parallel and upgraded in parallel with the software, which can effectively reduce the service interruption time when the communication device is upgraded.
  • the chip of the communication board is upgraded and initialized, and the chip is upgraded. If the data entry placed in the chip changes after the initialization is completed, the data entry of the chip itself needs to be updated.
  • the upgrade of the chip in the communication board includes not only the initialization of the chip, but also the update of the chip data entry.
  • medium The central processor sends the generated data table items to each chip one by one, and updates the data table items for each chip. Under the control of the central processing unit, the serialization update mode of each chip makes the update time of the data entry longer, resulting in a longer service interruption time during the upgrade.
  • the communication device upgrade control method provided by another embodiment of the present invention can effectively solve the problem that the service interruption time is long during the upgrade when the chip data entry changes during the upgrade process.
  • the communication board is still used as an example.
  • the upgrade of the communication board requires upgrading the chip A, the chip B, and the chip C, and upgrading related software.
  • the upgrade of the chip since the chip data entry changes, the upgrade of the chip includes: initialization of the chip and update of the data entry. As shown in FIG.
  • the proprietary memory area of the communication device not only stores the configuration information corresponding to each chip, but also stores a new version of the data entry corresponding to each chip: Chip A data table entry area memory chip A when updating the data entry The required data table entry; the chip B data table entry area stores the data table items required for the chip B to update the data table entry; the chip C data table entry area stores the data table items required by the chip C to update the data entry.
  • the communication device upgrade control method includes:
  • each chip receives an upgrade initialization command sent by a central processing unit
  • Each chip reads configuration information corresponding to the chip from the proprietary memory area.
  • Each chip is initialized by using the configuration information.
  • steps S201-S203 are the same as the foregoing embodiment S101-S103, and are not described herein again.
  • each chip respectively reads a corresponding data entry preset in the dedicated memory area; when the chip is initialized, in the case that the data entry of the chip changes, the chip needs to be updated during the upgrade process. Data entry. When a data item update is required, the chip reads the data entry corresponding to itself in the dedicated memory area.
  • Each chip uses the obtained data entry to update the data entry in the chip.
  • Each chip uses its own new data entry information to update its own data table entries.
  • the central processor controls the upgrade of related software in the communication board. After all the chips have been upgraded and the related software is upgraded, the communication board is upgraded.
  • the data items generated by the new control layer are stored in the table of the forwarding level in the data entry area corresponding to each chip.
  • the communication board chip upgrade includes: chip initialization, and chip data table item update.
  • the central processor controls the software upgrade; at the same time, sends an upgrade to each chip.
  • the initialization command is initialized by each chip itself, and the data table item is updated by itself when the data item of the chip changes.
  • This upgrade control method makes the software and hardware upgrades parallel, and the upgrade of each hardware is also parallelized, which can effectively reduce the service interruption time in the communication device upgrade process.
  • the foregoing storage medium includes: a medium that can store program codes, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read only memory
  • RAM random access memory
  • the embodiment of the present invention further provides a chip, which is disposed in a communication device, where the communication device is provided with a dedicated memory area, and the dedicated memory area stores configuration information corresponding to the chip, and the chip
  • the method includes: an upgrade control system, wherein the upgrade control system is used to:
  • the upgrade control system may specifically include:
  • the command receiving unit 110 is configured to receive a trigger command for the upgrade initialization sent by the central processing unit, where the configuration information reading unit 120 is configured to: when the command receiving unit receives the trigger command, read the dedicated memory area and the Upgrade the configuration information corresponding to the chip where the control system is located;
  • the initialization unit 130 is configured to perform initialization by using the configuration information.
  • the upgrade control system in the above chip is applied to the case where the data entry does not change, and the upgrade is implemented after the chip is initialized.
  • a chip having the upgrade control system is disposed in the communication device, and a dedicated memory area storing corresponding configuration information of each chip is set.
  • each chip in the communication device completes the initialization of the chip by itself after receiving the trigger command of the upgrade initialization sent by the central processing unit. This parallelized processing method can effectively reduce the service interruption time when the communication device is upgraded.
  • the upgrade control system disposed in the chip may further include:
  • the self-test unit 140 is configured to start the self-test according to the self-test requirement set in the configuration information during the operation of the initialization unit.
  • the dedicated memory area further stores a data entry corresponding to the chip.
  • the upgrade control system may further include:
  • the entry unit 150 is configured to read, after the initialization of the chip, the data entry corresponding to the chip where the upgrade control system is located in the proprietary memory area when the data entry in the chip where the control system is located changes. ;
  • the entry update unit 160 is configured to update the data entry in the chip of the upgrade control control system by using the data entry.
  • the embodiment of the present invention further provides a communication device, where the communication device includes at least one chip and a dedicated memory area, where the configuration information corresponding to each of the at least one chip is stored in the dedicated memory area; An upgrade control system is disposed in the at least one chip, and the upgrade control system is configured to:
  • the upgrade control system may specifically include:
  • a command receiving unit configured to receive a trigger command for upgrading initialization sent by the central processing unit
  • a configuration information reading unit configured to read the dedicated memory area and the Upgrade the configuration information corresponding to the chip where the control system is located
  • An initialization unit configured to perform initialization using the configuration information.
  • a chip having an upgrade control system and a dedicated memory area storing corresponding configuration information of each chip are disposed. Under the action of the upgrade control system, each chip is receiving After the trigger command of the upgrade of the central processor is initialized, the configuration information corresponding to the chip in the proprietary memory area can be read by itself, and initialized by itself to complete the upgrade of the chip. At the same time, the central processor controls the related software upgrades. This parallelized processing method can effectively reduce the service interruption time when the communication device is upgraded.
  • the upgrade control system further includes:
  • the self-test unit is used to initiate a self-test according to the self-test requirement set in the configuration information during the operation of the initialization unit.
  • the dedicated memory area further stores a data entry corresponding to the chip
  • the upgrade control system further includes:
  • the data entry in the chip where the upgrade control system is located changes, the data entry corresponding to the chip where the upgrade control system is located is read in the proprietary memory area.
  • the entry update unit is configured to update the data entry in the chip where the upgrade control system is located by using the data entry.
  • the chip When the data table item changes during the initialization of the chip upgrade of the communication device, the chip can be initialized and the data table item is updated by the upgrade control system set in the chip. By parallelizing the chip, the service interruption time during the upgrade of the communication device can be effectively reduced.
  • the disclosed system, apparatus, and method may be implemented in other manners without departing from the spirit and scope of the present application.
  • the present embodiments are merely exemplary, and should not be taken as limiting, and the specific content given should not limit the purpose of the application.
  • the division of the unit or subunit is only a logical function division, and the actual implementation may have another division manner, for example, a plurality of units or a plurality of subunits are combined.
  • multiple units may or may be combined or integrated into another system, or some features may be To ignore, or not execute.
  • the described systems, apparatus, and methods, and the schematic diagrams of various embodiments may be combined or integrated with other systems, modules, techniques or methods without departing from the scope of the present application.
  • 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 electrical, mechanical or otherwise.

Landscapes

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

Abstract

本发明公开了一种通信设备升级控制方法、芯片及通信设备。通信设备包括至少一个芯片和专有内存区,所述专有内存区存储所述至少一个芯片对应的配置信息。所述方法包括以下步骤:所述至少一个芯片在接收中央处理器发送的升级初始化的触发命令后,从所述专有内存区读取与本芯片对应的配置信息,并根据所述配置信息进行初始化,完成本芯片升级;在所述至少一个芯片完成升级并且位于通信设备内的软件在中央处理器控制下完成升级时,所述通信设备实现所述通信设备的升级。与现有技术方案相比,本发明的技术方案能够使芯片自行完成升级初始化,实现芯片间并行升级初始化以及与软件并行升级,从而有效地减少了通信设备升级时的业务中断时间。

Description

通信 i殳备升级控制方法、 芯片及通信设备
技术领域 本发明涉及通信技术领域,特别是涉及一种通信设备升级控制方法、 芯片 及通信设备。
背景技术
在通信技术领域中, 由于设备老化问题或功能扩展需求等,通信设备的软 件、硬件需要进行升级处理。 一般在软硬件升级过程中, 将会导致一定时间的 业务中断。 而对于电信级设备来说, 业务中断时间作为一项可用性指标是有一 定要求的, 也就是说业务中断时间长短影响到设备的可用性。
因带宽要求, 目前高端通信设备采用硬转发的方式。转发单板上一般由较 多的芯片、 ASIC ( Application Specific Intergrated Circuits, 专用集成电路)、 FPGA ( Field-Programmable Gate Array, 现场可编程门阵列 )逻辑构成(下文 中用芯片指代芯片、 ASIC、 FPGA逻辑)。 对于转发单板的升级来说, 如图 1 所示, 现有的一种方案为: 中央处理器先初始化, 初始化完毕后中央处理器对 基础软件进行初始化, 然后逐一对各芯片进行复位和启动初始化,待各芯片初 始化完毕后对各芯片进行配置, 配置完毕后再进行相关业务的恢复和下发。
由以上方案可知, 在进行升级的过程中, 在中央处理器的控制下, 各芯片 初始化是串行化的, 且与软件初始化串行, 使得转发单板的升级时间较长, 这 样导致升级时业务中断时间较长。 发明内容
为解决上述技术问题, 本发明实施例提供了一种通信设备升级控制方法、 芯片及通信设备, 以减少由于通信设备的升级造成的业务中断时间,技术方案 :¾口下:
一种通信设备升级控制方法, 其中, 所述通信设备包括至少一个芯片和专 有内存区, 所述专有内存区存储所述至少一个芯片分别对应的配置信息, 所述 方法包括:
所述至少一个芯片在接收中央处理器发送的升级初始化的触发命令后, 分 别从所述专有内存区读取与本芯片对应的配置信息,并利用所述配置信息进行 初始化, 完成本芯片升级;
所述通信设备在所述至少一个芯片完成升级,且位于通信设备内的软件在 中央处理器控制下完成升级时, 实现所述通信设备的升级。
本发明实施例还提供一种芯片, 置于通信设备中, 所述通信设备中设有专 有内存区,所述专有内存区内存储有所述芯片对应的配置信息,所述芯片包括: 升级控制系统, 所述升级控制系统用于:
在接收中央处理器发送的升级初始化的触发命令后,读取所述专有内存区 与本芯片对应的配置信息,并利用所述配置信息进行初始化,完成本芯片升级。
本发明还提供一种通信设备,所述通信设备包括至少一个芯片和专有内存 区, 所述专有内存区内存储有每个所述至少一个芯片对应的配置信息; 每个所 述至少一个芯片内设置有升级控制系统, 所述升级控制系统用于:
在接收中央处理器发送的升级初始化的触发命令后,读取所述专有内存区 与本芯片对应的配置信息,并利用所述配置信息进行初始化,完成本芯片升级。 本发明实施例中,在通信设备中设置用于存储各芯片对应配置信息的专有 内存区, 当各芯片接收到中央处理的升级初始化的命令时,会自动从专有内存 区中读取自身的配置信息, 并自行利用所读取的配置信息进行初始化, 以完成 自身的升级; 同时, 中央处理器控制所述通信设备中的软件进行升级; 当所有 芯片和软件升级完成时实现通信设备的升级。 与现有方案相比, 芯片自行完成 信设备升级时业务中断时间。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作筒单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有技术中通信单板升级时初始化流程; 图 2为本发明实施例所提供的一种通信设备升级控制方法示意图; 图 3为本发明实施例所提供的一种通信设备升级控制方法流程图; 图 4为本发明实施例所提供的一种通信设备升级控制方法第二种示意图; 图 5为本发明实施例所提供的一种通信设备升级控制方法第二种流程图; 图 6为本发明实施例所提供的一种芯片中的升级控制系统的结构示意图; 图 7 为本发明实施例所提供的一种芯片中的升级控制系统第二种结构示 意图;
图 8 为本发明实施例所提供的一种芯片中的升级控制系统第三种结构示 意图。 具体实施方式 需要说明的是, 下文中用芯片指代芯片、 ASIC、 FPGA逻辑等。
现有技术中,对通信设备进行升级处理时,位于该通信设备内的中央处理 器完成自身的初始化后, 会逐一对通信设备内相关软件和各个芯片进行初始 化, 待各芯片初始完毕后再进行后续的数据配置以及相关业务的恢复和下发。 由于在中央处理器的控制下,各个芯片的初始化是串行化的, 并且与软件的初 始化是串行的, 这样串行化的升级方式使得通信设备升级时间较长,导致升级 时业务中断时间会较长,影响通信设备的正常工作和性能指标。本发明实施例 提供的方案可以有效减小由于通信设备升级所造成的业务中断时间。下面首先 对本发明实施例提供的一种通信设备升级控制方法进行说明。一种通信设备升 级控制方法, 所述通信设备包括至少一个芯片和专有内存区, 所述专有内存 区存储所述至少一个芯片分别对应的配置信息, 所述方法包括:
所述至少一个芯片在接收中央处理器发送的升级初始化的触发命令后, 分 别从所述专有内存区读取与本芯片对应的配置信息,并利用所述配置信息进行 初始化, 完成本芯片升级;
所述通信设备在所述至少一个芯片完成升级,且位于通信设备内的软件在 中央处理器控制下完成升级时, 实现所述通信设备的升级。
本发明实施例中,在通信设备中设置用于存储各芯片对应配置信息的专有 内存区, 当各芯片接收到中央处理的升级初始化的命令时,会自动从专有内存 区中读取自身的配置信息, 并自行利用所读取的配置信息进行初始化, 以完成 自身的升级; 同时, 中央处理器控制所述通信设备中的软件进行升级; 当所有 芯片和软件升级完成时实现通信设备的升级。 与现有方案相比, 芯片自行完成 升级初始化,各芯片间并行初始化且与软件并行升级, 这样可有效减少通信设 备升级时业务中断时间。 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅是本发明一部分实施例, 而不是全 部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性 劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
下面以通信单板为例,对本发明具体实施方式进行介绍。假设所述通信单 板的升级需要对芯片 A、 芯片 B、芯片 C和设置在通信单板内的相关软件进行 升级。 并且, 初始化后各个芯片数据表项没有发生变化, 即: 各芯片初始化完 毕后, 完成通信单板中硬件的升级。
需要说明的是,在通信单板内芯片的数据表项发生变化的情况下, 通信单 板内的该芯片升级不仅包括该芯片的初始化, 还包括该芯片数据表项的更新。
现有技术中, 当通信单板需要升级初始化时,在中央处理器自身升级初始 化完毕后, 控制基础软件进行初始化, 然后对逐一对芯片 A、 芯片 B、 芯片 C 进行初始化, 完毕后对其他软件进行初始化, 从而实现对该通信单板的升级。 由于在升级初始化过程中, 中央处理器控制软件、硬件串行化、 各个硬件之间 也是串行化, 这种串行化的初始化方式, 导致了升级时业务中断时间较长。
本发明实施例所提供的一种通信设备升级方法,有效解决了这一问题。如 图 2所示,通信单板中设置有专有内存区, 所述专有内存区中设置了与各芯片 相对应的芯片配置区, 其中芯片 A对应芯片 A配置区, 芯片 B对应芯片 B配 置区, 芯片 C对应芯片 C配置区。 各芯片的配置区中预先存储本芯片的升级 时初始化所需的配置信息。如图 3所示, 本发明实施例所提供的一种通信设备 升级控制方法, 包括:
S101 , 各芯片接收中央处理器发送的升级初始化命令;
当需要对所述通信单板进行升级时,中央处理器控制相关的软件进行初始 化, 以完成软件的升级。 同时, 中央处理器会向通信单板内的需要升级的芯片 A、 芯片 B、 芯片 C分别发送升级初始化的命令, 以触发各个芯片进行自身的 初始化。
可以理解的是,中央处理器可以通过向每一个待升级芯片发送一条与自身 对应的触发命令的方式,也可以通过向所有待升级芯片发送一条触发命令的方 式来触发需要升级的芯片进行初始化, 这都是合理的。
5102, 各芯片分别从所述专有内存区中读取与本芯片对应的配置信息; 当各芯片接收到中央处理器发送的升级初始化的触发命令后,则会分别从 所在通信单板中的专有内存区读取与本芯片自身对应的新版的配置信息:芯片 A从专有内存区的芯片 A配置区读取芯片 A初始化所需的配置信息; 芯片 B 从芯片 B配置区读取芯片 B初始化所需的配置信息; 芯片 C从芯片 C配置区 读取芯片 C初始化所需的配置信息。
5103, 各芯片分别利用所述配置信息进行初始化。
各个芯片根据所读取的配置信息进行自身的初始化。在芯片进行初始化的 过程中,如果配置信息中要求芯片进行自检,则芯片按照自检要求进行自检后, 继续后续的初始化工作。
可以理解的是,各个芯片所需的初始化时间并不相同,且与软件升级所需 的时间并不相同, 所以通信单板完成升级是指: 芯片 A、 芯片 B和芯片 C都 完成初始化, 并且相关软件在中央处理的控制下完成升级。
本发明实施例中,在通信设备中设置用于存储各芯片对应配置信息的专有 内存区, 当各芯片接收到中央处理的升级初始化的命令时,会自动从专有内存 区中读取自身的配置信息, 并自行利用所读取的配置信息进行初始化, 以完成 自身的升级; 同时, 中央处理器控制所述通信设备中的软件进行升级; 当所有 芯片和软件升级完成时实现通信设备的升级。 与现有方案相比, 芯片自行完成 升级初始化,各芯片间并行初始化且与软件并行升级, 这样可有效减少通信设 备升级时业务中断时间。 上述实施例中,在芯片数据表项不发生变化的情况下,通信单板的芯片完 成升级初始化后, 实现芯片的升级。 如果在完成初始化后, 置于本芯片内的数 据表项发生了变化, 则需要更新芯片自身的数据表项。 此时, 通信单板内芯片 的升级不仅包括芯片的初始化, 还包括芯片数据表项的更新。 现有技术中, 中 央处理器将生成的数据表项逐一下发到各个芯片中,对各个芯片进行数据表项 的更新。 在中央处理器的控制下, 各芯片串行化的更新方式, 使得数据表项的 更新时间较长, 导致升级时业务中断时间较长。
本发明所提供的另一实施例所提供的通信设备升级控制方法,可有效解决 在升级过程中, 芯片数据表项发生变化的情况下,升级时业务中断时间较长的 问题。 本实施例中, 仍以上述通信单板为例, 其中, 所述通信单板的升级需要 对芯片 A、 芯片 B、 芯片 C进行升级和对相关软件进行升级。 本实施例中, 由 于芯片数据表项发生了变化, 所以芯片的升级包括: 芯片的初始化和数据表项 的更新。如图 4所示,通信设备的专有内存区不但存储有与各芯片对应配置信 息, 还存储与各芯片对应的新版的数据表项: 芯片 A数据表项区存储芯片 A 更新数据表项时所需的数据表项; 芯片 B数据表项区存储芯片 B更新数据表 项时所需的数据表项; 芯片 C数据表项区存储芯片 C更新数据表项时所需的 数据表项。 如图 5所示, 该通信设备升级控制方法, 包括:
S201 , 各芯片接收中央处理器发送的升级初始化命令;
S202, 各芯片分别从所述专有内存区中读取与本芯片对应的配置信息;
5203 , 各芯片分别利用所述配置信息进行初始化;
本实施例中, 步骤 S201-S203与上述实施例 S101-S103相同, 在此不再赘 述。
5204, 各芯片分别读取预先设置在所述专有内存区的相应的数据表项; 当芯片初始化完毕后,在本芯片数据表项发生变化的情况下, 需要在升级 过程中, 更新芯片的数据表项。 当需要数据表项更新时, 芯片则会自行读取专 有内存区中与自身对应的数据表项。
5205 , 各芯片分别利用所获得数据表项, 更新本芯片内的数据表项。 各芯片利用读取的新版数据表项信息, 自行对自身的数据表项进行更新。 同时, 中央处理器会控制通信单板内相关软件的升级。在所有芯片完成升 级, 且相关软件完成升级后, 通信单板完成升级。
需要说明的是,在新老版本切换前新的控制层面将生成的数据表项以转发 层面的表项格式存储在各个芯片对应的数据表项区。
本实施例中, 所述通信单板芯片升级包括: 芯片初始化、 芯片数据表项更 新。 在升级过程中, 中央处理器控制软件的升级; 同时, 向各个芯片发送升级 初始化的命令, 由各个芯片自行完成初始化, 并且在本芯片数据表项发生变化 的情况下, 自行完成数据表项的更新。 这种升级控制方法, 使得软硬件的升级 是并行化的,且各个硬件的升级也是并行化的, 可有效地减少通信设备升级过 程中的业务中断时间。 通过以上的方法实施例的描述,所属领域的技术人员可以清楚地了解到本 发明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本 质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计 算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备
(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述 方法的全部或部分步骤。 而前述的存储介质包括: 只读存储器(ROM )、 随机 存取存储器(RAM )、 磁碟或者光盘等各种可以存储程序代码的介质。 相应的, 本发明实施例还提供一种芯片, 置于通信设备中, 所述通信设备 设置有专有内存区, 所述专有内存区内存储有所述芯片对应的配置信息, 所述 芯片包括: 升级控制系统, 所述升级控制系统用于:
在接收中央处理器发送的升级初始化的触发命令后,读取所述专有内存区 与本芯片对应的配置信息,并利用所述配置信息进行初始化,完成本芯片升级。
其中, 如图 6所示, 所述升级控制系统具体可以包括:
命令接收单元 110, 用于接收中央处理器发送的升级初始化的触发命令; 配置信息读取单元 120, 用于在命令接收单元接收到触发命令时, 读取所 述专有内存区内与所述升级控制系统所在芯片相对应的配置信息;
初始化单元 130, 用于利用所述配置信息进行初始化。
上述芯片中的升级控制系统,应用于数据表项没有发生变化, 芯片初始化 完毕后,实现升级的情况。所述通信设备内设置具有所述升级控制系统的芯片, 并且设置存储各芯片对应配置信息的专有内存区。 当通信设备需要进行升级 时, 通信设备内的各芯片在接收到中央处理器发送的升级初始化的触发命令 后, 自行完成本芯片的初始化。 这种并行化的处理方式, 可有效减少通信设备 升级时业务中断时间。 更进一步的, 如图 7所示, 设置于所述芯片中的所述升级控制系统, 还可 以包括:
自检单元 140, 用于在初始化单元工作过程中, 根据设置于配置信息内的 自检要求启动自检。
更进一步的, 所述专有内存区还存储与所述芯片对应的数据表项, 如图 8 所示, 所述升级控制系统还可以包括:
表项读取单元 150, 用于芯片初始化完毕后, 在本控制系统所在芯片内的 数据表项发生变化时,读取所述专有内存区内与本升级控制系统所在芯片对应 的数据表项;
表项更新单元 160, 用于利用所述数据表项, 更新本升级控制控制系统所 在芯片内的数据表项。
需要说明的是,上述升级控制系统对应芯片所在的通信设备的专有内存区 还存储与芯片对应的数据表项。在通信设备的芯片升级初始化时,数据表项发 生变化的情况下, 可以通过设置在芯片内的图 8所示的升级控制系统,使芯片 自行完成初始化和数据表项更新。通过对芯片进行并行化处理, 可有效减少通 信设备升级时业务中断时间。 相应的, 本发明实施例还提供一种通信设备, 所述通信设备包括至少一个 芯片和专有内存区,所述专有内存区内存储有每个所述至少一个芯片对应的配 置信息; 每个所述至少一个芯片内设置有升级控制系统, 所述升级控制系统用 于:
在接收中央处理器发送的升级初始化的触发命令后,读取所述专有内存区 与本芯片对应的配置信息,并利用所述配置信息进行初始化,完成本芯片升级。
其中, 所述升级控制系统具体可以包括:
命令接收单元, 用于接收中央处理器发送的升级初始化的触发命令; 配置信息读取单元, 用于在所述命令接收单元接收到触发命令时,读取所 述专有内存区内与所述升级控制系统所在芯片对应的配置信息;
初始化单元, 用于利用所述配置信息进行初始化。
本实施例所提供的通信设备中设置具有升级控制系统的芯片,以及存储各 芯片对应配置信息的专有内存区。在升级控制系统的作用下,各芯片在接收到 中央处理器的升级初始化的触发命令后,可以自行读取专有内存区内本芯片对 应的配置信息, 自行初始化, 以完成本芯片升级。 同时, 中央处理器控制相关 软件升级。这种并行化的处理方式, 可以有效减少通信设备升级时业务中断时 间。
更进一步的, 所述升级控制系统还包括:
自检单元, 用于在初始化单元工作过程中,根据设置于配置信息内的自检 要求启动自检。
更进一步的, 所述专有内存区还存储与所述芯片对应的数据表项, 所述升 级控制系统还包括:
表项读取单元, 用于芯片初始化完毕后,在本升级控制系统所在芯片内的 数据表项发生变化时,读取所述专有内存区内与本升级控制系统所在芯片对应 的数据表项;
表项更新单元, 用于利用所述数据表项, 更新本升级控制系统所在芯片内 的数据表项。
在通信设备的芯片升级初始化时,数据表项发生变化的情况下, 可以通过 设置在芯片内的升级控制系统,使芯片自行完成初始化和数据表项更新。通过 对芯片进行并行化处理, 可有效减少通信设备升级时业务中断时间。
对于装置或系统实施例而言, 由于其基本相应于方法实施例, 所以相关之 处参见方法实施例的部分说明即可。以上所描述的装置或系统实施例仅仅是示 意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开 的,作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分 或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造 性劳动的情况下, 即可以理解并实施。
在本发明所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方 法, 在没有超过本申请的精神和范围内, 可以通过其他的方式实现。 当前的实 施例只是一种示范性的例子, 不应该作为限制, 所给出的具体内容不应该限制 本申请的目的。 例如, 所述单元或子单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或多个子单元结合一起。 另 外, 多个单元可以或组件可以结合或者可以集成到另一个系统, 或一些特征可 以忽略, 或不执行。
另外, 所描述系统, 装置和方法以及不同实施例的示意图, 在不超出本申 请的范围内, 可以与其它系统, 模块, 技术或方法结合或集成。 另一点, 所显 示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置 或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
以上所述仅是本发明的具体实施方式,应当指出,对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。

Claims

权 利 要 求
1、 一种通信设备升级控制方法, 其特征在于, 所述通信设备包括至少一 个芯片和专有内存区,所述专有内存区存储所述至少一个芯片分别对应的配置 信息, 所述方法包括:
所述至少一个芯片在接收中央处理器发送的升级初始化的触发命令后, 分 别从所述专有内存区读取与本芯片对应的配置信息,并利用所述配置信息进行 初始化, 完成本芯片升级;
所述通信设备在所述至少一个芯片完成升级,且位于通信设备内的软件在 中央处理器控制下完成升级时, 实现所述通信设备的升级。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:
在初始化过程中,所述至少一个芯片分别根据设置于本芯片对应的配置信 息内的自检要求启动自检。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述专有内存区还存 储与所述至少一个芯片分别对应的数据表项, 所述方法还包括:
每个所述至少一个芯片初始化后,在本芯片的数据表项发生变化时,读取 预先设置在所述专有内存区的相应的数据表项, 并利用所获得数据表项, 更新 本芯片内的数据表项。
4、 一种芯片, 其特征在于, 置于通信设备中, 所述通信设备中设有专有 内存区, 所述专有内存区内存储有所述芯片对应的配置信息, 所述芯片包括: 升级控制系统, 所述升级控制系统用于:
在接收中央处理器发送的升级初始化的触发命令后,读取所述专有内存区 与本芯片对应的配置信息,并利用所述配置信息进行初始化,完成本芯片升级。
5、 根据权利要求 4所述的芯片, 其特征在于, 所述升级控制系统包括: 命令接收单元, 用于接收中央处理器发送的升级初始化的触发命令; 配置信息读取单元, 用于在所述命令接收单元接收到触发命令时,读取所 述专有内存区内与所述升级控制系统所在芯片对应的配置信息;
初始化单元, 用于利用所述配置信息进行初始化。
6、 根据权利要求 5所述的芯片, 其特征在于, 所述升级控制系统还包括: 自检单元, 用于在初始化单元工作过程中,根据设置于配置信息内的自检 要求启动自检。
7、 根据权利要求 5或 6所述的芯片, 其特征在于, 所述专有内存区还存 储与所述芯片对应的数据表项, 所述升级控制系统还包括:
表项读取单元, 用于芯片初始化完毕后,在本升级控制系统所在芯片内的 数据表项发生变化时,读取所述专有内存区内与本升级控制系统所在芯片对应 的数据表项;
表项更新单元, 用于利用所述数据表项, 更新本升级控制系统所在芯片内 的数据表项。
8、 一种通信设备, 其特征在于, 所述通信设备包括至少一个芯片和专有 内存区, 所述专有内存区内存储有每个所述至少一个芯片对应的配置信息; 每 个所述至少一个芯片内设置有升级控制系统, 所述升级控制系统用于:
在接收中央处理器发送的升级初始化的触发命令后,读取所述专有内存区 与本芯片对应的配置信息,并利用所述配置信息进行初始化,完成本芯片升级。
9、 根据权利要求 8所述的通信设备, 其特征在于, 所述升级控制系统包 括:
命令接收单元, 用于接收中央处理器发送的升级初始化的触发命令; 配置信息读取单元, 用于在所述命令接收单元接收到触发命令时,读取所 述专有内存区内与所述升级控制系统所在芯片对应的配置信息;
初始化单元, 用于利用所述配置信息进行初始化。
10、 根据权利要求 8或 9所述的通信系统, 其特征在于, 所述专有内存区 还存储与所述芯片对应的数据表项, 所述升级控制系统还包括:
表项读取单元, 用于芯片初始化完毕后,在本升级控制系统所在芯片内的 数据表项发生变化时,读取所述专有内存区内与本升级控制系统所在芯片对应 的数据表项;
表项更新单元, 用于利用所述数据表项, 更新本升级控制系统所在芯片内 的数据表项。
PCT/CN2011/075303 2011-06-03 2011-06-03 通信设备升级控制方法、芯片及通信设备 WO2011157175A2 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/075303 WO2011157175A2 (zh) 2011-06-03 2011-06-03 通信设备升级控制方法、芯片及通信设备
CN2011800008879A CN102265256A (zh) 2011-06-03 2011-06-03 通信设备升级控制方法、芯片及通信设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/075303 WO2011157175A2 (zh) 2011-06-03 2011-06-03 通信设备升级控制方法、芯片及通信设备

Publications (2)

Publication Number Publication Date
WO2011157175A2 true WO2011157175A2 (zh) 2011-12-22
WO2011157175A3 WO2011157175A3 (zh) 2012-05-03

Family

ID=45010604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075303 WO2011157175A2 (zh) 2011-06-03 2011-06-03 通信设备升级控制方法、芯片及通信设备

Country Status (2)

Country Link
CN (1) CN102265256A (zh)
WO (1) WO2011157175A2 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105320531A (zh) * 2014-07-15 2016-02-10 北京自动化控制设备研究所 一种基于MicroBlaze软核的FPGA软件在线升级方法
CN106033363B (zh) * 2015-03-16 2020-02-14 中兴通讯股份有限公司 一种嵌入式系统的应用程序的升级方法及升级装置
CN109712653B (zh) * 2018-02-27 2021-08-31 上海安路信息科技股份有限公司 芯片初始化方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420329A (zh) * 2008-12-04 2009-04-29 华为技术有限公司 通信系统升级的方法及通信系统
CN101436139A (zh) * 2008-10-09 2009-05-20 中兴通讯股份有限公司 Fpga下载方法和装置
CN100545809C (zh) * 2006-03-22 2009-09-30 华为技术有限公司 一种软件升级方法及其系统
CN101924643A (zh) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 一种通信系统设备中单板软件的升级方法及系统
CN102053850A (zh) * 2010-12-17 2011-05-11 天津曙光计算机产业有限公司 一种在线升级fpga逻辑的方法
CN101216772B (zh) * 2008-01-15 2011-05-11 中兴通讯股份有限公司 一种嵌入式设备的启动方法及软件升级方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100570558C (zh) * 2006-03-31 2009-12-16 联想(北京)有限公司 一种芯片固件升级方法
CN101102219B (zh) * 2007-07-30 2010-06-23 华为技术有限公司 软件升级系统以及软件升级方法
CN100524218C (zh) * 2007-12-14 2009-08-05 中国人民解放军国防科学技术大学 一种大规模计算机节点引导程序并行更新方法及系统
CN101431441B (zh) * 2008-12-12 2011-09-07 北京邮电大学 一种内部植入cpu的fpga系统在线升级的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100545809C (zh) * 2006-03-22 2009-09-30 华为技术有限公司 一种软件升级方法及其系统
CN101216772B (zh) * 2008-01-15 2011-05-11 中兴通讯股份有限公司 一种嵌入式设备的启动方法及软件升级方法
CN101436139A (zh) * 2008-10-09 2009-05-20 中兴通讯股份有限公司 Fpga下载方法和装置
CN101420329A (zh) * 2008-12-04 2009-04-29 华为技术有限公司 通信系统升级的方法及通信系统
CN101924643A (zh) * 2009-06-10 2010-12-22 中兴通讯股份有限公司 一种通信系统设备中单板软件的升级方法及系统
CN102053850A (zh) * 2010-12-17 2011-05-11 天津曙光计算机产业有限公司 一种在线升级fpga逻辑的方法

Also Published As

Publication number Publication date
CN102265256A (zh) 2011-11-30
WO2011157175A3 (zh) 2012-05-03

Similar Documents

Publication Publication Date Title
JP5128708B2 (ja) 持続型ポートコンフィギュレーションを備えたsasコントローラ
CN102238093B (zh) 防止业务中断的方法和装置
CN103581008B (zh) 路由器及其软件升级方法
US20140173171A1 (en) System and Method to Create a Non-Volatile Bootable RAM Disk
US10430082B2 (en) Server management method and server for backup of a baseband management controller
EP3407187B1 (en) Optical line terminal, and method for upgrading master device and slave device
US10732961B1 (en) Systems and methods for performing in-service software upgrades on active network devices
CN105677380B (zh) 一种双主控隔离的逐板升级的方法及装置
WO2015100878A1 (zh) 一种芯片启动方法及多核处理器芯片、存储介质
TW201301134A (zh) 韌體更新系統及方法
US11789718B2 (en) System and method for subscription based solution modification implementation
US11588909B1 (en) System and method for subscription based solution data compatibility
EP3076694B1 (en) Multiple connection management for bluetooth low energy devices
WO2020001354A1 (zh) 主备容器系统切换
US11888690B2 (en) System and method for subscription limitation enforcement in distributed system
US20230222471A1 (en) System and method for subscription based solution implementation
WO2008138258A1 (fr) Procédé d'exploitation de dispositif périphérique, dispositif périphérique et hôte
US11016750B2 (en) Firmware update system
US12093102B2 (en) System and method for power state enforced subscription management
WO2014101514A1 (zh) 获取服务器资源信息的方法、资源池管理系统和服务器
US11157263B1 (en) Pipeline rolling update
CN112099823A (zh) 一种固件升级方法、装置、设备及机器可读存储介质
WO2011157175A2 (zh) 通信设备升级控制方法、芯片及通信设备
CN107547277B (zh) 一种虚拟化控制板实现方法及网络通信设备
US8826264B1 (en) Non-disruptive upgrade of applications

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000887.9

Country of ref document: CN

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

Ref document number: 11795141

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11795141

Country of ref document: EP

Kind code of ref document: A2