A Method and System for Incremental Upgrade of Frame-Type Device Board Software

By dividing the software catalog on the main control board and downloading the new board software package, the problem of frame-type multi-board devices requiring restart of the entire box when upgrading a new hardware board is solved, and no restart is achieved, improving network stability.

CN113986324BActive Publication Date: 2025-06-24FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111242727.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2025-06-24
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

When upgrading a new hardware board, existing frame-type multi-board communication network equipment needs to restart the entire box, resulting in the interruption of the running board service and affecting network stability.

Method used

By dividing the entire package software directory and the expansion package software directory on the main control board, using the FTP command to download the new board software package to the incremental upgrade directory, the software upgrade of the new hardware board is achieved without restarting the entire box.

Benefits of technology

It supports newly developed board upgrades without restarting the entire box, avoiding interruptions in running board services and improving network stability and availability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986324B_ABST
    Figure CN113986324B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for incremental software upgrade of a frame device board card, which relates to the field of communication device software package management. The method includes: S1, packaging the upgrade software package of the new line card and the line card incremental description information into a line card incremental software package; S2, uploading the line card incremental software package to a specified position on the device main control board and activating it; S3, when the new line card is inserted into the frame device, an upgrade program is started inside the new line card, and the upgrade program reports the line card ID to the main control board to request software upgrade; S4, after receiving the software upgrade request, the main control board reads the line card incremental description information to identify the number of the new line card, and replies to the new line card to download the software package; S5, the new line card downloads the required software package according to the reply from the main control board and starts. The method and system for incremental software upgrade of the frame device board card of the present invention can enable the frame device to complete the upgrade management of newly developed hardware board cards without restarting the whole machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication device software package management, and particularly relates to a method and system for incremental software upgrade of a frame device board card. Background Art

[0002] There is a need for upgrade and expansion in the frame multi-board communication network devices in the operator network networking, and it is necessary to upgrade for new functions and hardware after the device runs.

[0003] In terms of hardware, when the relevant devices are put into the network, spare slots are left to insert board cards, which is convenient for the device manufacturer to develop new hardware board cards to meet the new service and port capacity requirements of the operator in the later stage.

[0004] In terms of software, in order to enable the frame multi-board communication network device to support the normal operation of the new hardware board card, it is necessary to update the whole machine software package of the frame communication device. The existing frame communication device adopts the whole machine software package upgrade management. To support the board card software upgrade, it is necessary to pre-set the software package of the board card in the whole machine software package in advance, so as to support the software upgrade of the newly developed board card, and the method of replacing the whole machine software package is used to replace it with the whole machine software package that supports the new board card.

[0005] During the process of replacing the whole machine software package, it is necessary to restart the whole frame to take effect, and the restart process will cause the interruption of the board card services that are already running in the device, which has a very serious impact on the network. A method is needed to achieve the upgrade of the newly developed board card without affecting the already running board cards. Summary of the Invention

[0006] Aiming at the defects existing in the prior art, the purpose of the present invention is to provide a method and system for incremental software upgrade of a frame device board card, which can enable the frame device to complete the upgrade management of the newly developed hardware board card without restarting the whole machine.

[0007] To achieve the above purpose, the technical solution adopted by the present invention is:

[0008] A method for incremental software upgrade of a frame device board card includes:

[0009] S1. Pack the upgrade software package of the new line card and the line card incremental description information into a line card incremental software package;

[0010] S2. Upload the line card incremental software package to a specified position on the device main control board and activate it;

[0011] S3. When the new line card is inserted into the frame device, the upgrade program is started inside the new line card, and the upgrade program reports the line card ID to the main control board to request software upgrade;

[0012] S4. After the main control board receives a software upgrade request, it obtains the line card ID and searches for the line card delta description information for matching. When a result is found, it replies to the new line card for software package download;

[0013] S5. The new line card starts according to the software package downloaded according to the reply from the main control board.

[0014] Based on the above technical solution, before the step S1, it further includes:

[0015] Divide the storage directory of the main control board card into a whole machine package software directory and an extended package software directory; set to read the upgrade file from the extended package software directory.

[0016] Based on the above technical solution, in the step S4, identify whether it is a new line card according to the line card ID in the line card delta description information, and perform incremental upgrade on the identified new line card.

[0017] Based on the above technical solution, the step S4 specifically includes:

[0018] After the software package management module of the main control board receives a software upgrade request, it controls the software management module of the line card to obtain the line card ID and send it to the device management module of the main control board; the main control board searches for this line card ID in the stored line card delta description information. When a result is found, it manages according to the original settings; when no result is found, it replies to the board card management module with incremental registration information; after receiving the incremental registration information, the board card management module notifies the software package proxy module of this board to perform software package download.

[0019] Based on the above technical solution, the step S3 specifically includes:

[0020] Verify the consistency between the local software package and the main control board server software package. When the verification result shows that the local software package is consistent with the software package of this board stored in the main control board, start directly from the local; if there is no software package locally, download from the software package management service module of the main control board and then start the software.

[0021] Based on the above technical solution, before the step S1, it includes: when the device is powered on and running, the board card management module obtains basic status data including the slot number, hardware type, and ID identification of this line card from the driver.

[0022] In a second aspect, the present invention also provides a frame device board card software incremental upgrade system, including:

[0023] A main control board, which includes a device management module and a software package management service module. The device management module is used to summarize and manage all board card information in the frame and register newly registered board cards; the software package management service module is used to manage the registration of the whole machine software package and provide software package download for the line card through network services;

[0024] The line card software management module includes a board management module and a software package agent module. The board management module is used to obtain the basic status data of this board card from the driver, establish a communication and management relationship with the device management module of the main control board, and send the basic status data to the device management module of the main control board for summary management. The software package agent module is used to start upgrading the software of this board card, and receive instructions and identify the local software start upgrade type.

[0025] On the basis of the above technical solution, the device management module is further used to divide the storage directory of the main control board into a whole machine package software directory and an expansion package software directory, and control the directory for reading upgrade files. The board management module is further used to receive the control instructions of the device management module of the main control board.

[0026] On the basis of the above technical solution, the software package agent module is further used to verify the consistency between the local software package and the software package on the main control board server. When the verification result shows that the local software package is consistent with the software package of this board stored on the main control board, it starts directly from the local. When there is no software package locally, it downloads from the software package management service module of the main control board and then starts the software.

[0027] On the basis of the above technical solution, the device management module is further used to add the board form data in the expansion package software directory to the board management node. The software package management service module is further used to register the expansion package software to the software package management list.

[0028] Compared with the prior art, the advantages of the present invention are as follows:

[0029] (1) In the method for incremental upgrade of the frame device board card software of the present invention, a new board card software package is downloaded to the incremental upgrade directory through the FTP command on the main control board. This method can automatically support newly added hardware board cards that were not originally in the device during operation, and there is no need to replace the whole machine software package.

[0030] (2) The method for incremental upgrade of the frame device board card software of the present invention includes an activation process of the board card incremental software package on the device main control board, so that when the hardware board card leaves the factory, only the upgrade software needs to be burned. After the software is inserted into the frame, it is automatically recognized by the main control board upgrade management and guides the board card to complete the software package upgrade. During the process of completing the software package upgrade after the new board card is inserted into the frame, the whole frame does not need to be restarted, and the existing services can be saved without interruption.

[0031] (3) In the frame device board card software incremental upgrade system of the present invention, the main control board upgrade management has two directories, namely the whole machine package software directory and the expansion package software directory. During the entire process of board card software upgrade, only the software package for single-disk upgrade needs to be downloaded to the expansion upgrade directory of the main control board, and there is no need to upgrade the main control board, which simplifies the upgrade control process in the scenario of adding new board cards. Description of the Drawings

[0032] Figure 1 It is a schematic diagram of the board structure in the scenario of inserting a new board into a frame device in an embodiment of the present invention;

[0033] Figure 2 It is a schematic diagram of the structure of the whole machine software package and the incremental software package used in the board software incremental upgrade system of the frame device in an embodiment of the present invention;

[0034] Figure 3 It is a flowchart of the board software incremental upgrade method of the frame device in an embodiment of the present invention. Detailed Embodiment

[0035] The present invention will be further described in detail below with reference to the drawings and embodiments.

[0036] Refer to Figure 1 As shown, an embodiment of the present invention provides a board software incremental upgrade method for a frame device, including: S1. Pack the upgrade software package of the new board and the board incremental description information into a board incremental software package; S2. Upload the board incremental software package to a specified position on the device main control board and activate it; S3. When the new board is inserted into the frame device, the upgrade program is started and run inside the board, and the upgrade program reports the board number to the main control board to request software upgrade; S4. After receiving the software upgrade request, the main control board reads the board incremental description information to identify the board number, and replies to the board to download the software package; S5. The board downloads the required software package according to the reply of the main control board and starts.

[0037] In a preferred embodiment, before the step S1, it further includes:

[0038] Divide the storage directory of the main control board into a whole machine package software directory and an extended package software directory; set to read the upgrade file from the extended package software directory. And when the device is powered on and running, the board management module can be controlled to obtain the basic status data including the slot number, hardware type and ID identification of the board from the driver.

[0039] In an embodiment, in the step S4, it is possible to identify whether it is a new board according to the board ID in the board incremental description information, and perform incremental upgrade on the identified new board. Preferably, the step S4 specifically includes: when the software upgrade request received by the main control board software package management module, control the line card software management module to obtain the board ID and send it to the device management module of the main control board for storage; the main control board searches for the board ID in the stored board incremental description information, and when the result is found, manage it according to the original settings; when the result is not found, reply the incremental registration information to the board management module; after receiving the incremental registration information, the board management module notifies the software package proxy module of the board to download the software package.

[0040] In one embodiment, step S3 specifically includes: verifying the consistency between the local software package and the main control board server software package. When the verification result indicates that the local software package is consistent with the board software package stored in the main control board, start directly from the local. If there is no software package locally, download it from the software package management service module of the main control board and then start the software.

[0041] The following specifically describes the differences between the solution of the present invention and the prior art solution:

[0042] 1) Figure 1 Shown is a common existing frame device, where the main control board, line card A, and line card B are three known types of board cards, occupying slots 1 - 8, and slots 9 - 11 are empty slots. When R & D personnel newly develop line card C and are ready to use it, it is planned to insert line card C into slots 9 - 11. At this time, the device is already in network operation and slots 1 - 8 are all carrying services. If traditional whole - package upgrade management is used to support line card C, a restart is required, resulting in the interruption of services in slots 1 - 8. The problem to be solved by this patent is how to insert line card C into slots 9 - 11 to complete the software upgrade of line card C without affecting the existing services in slots 1 - 8.

[0043] 2) Figure 2 Shown is the structure of the whole - machine software package and the board - card incremental software package. It can be seen that the whole - machine software package contains the software resources of all the board cards supported by the whole machine. In the figure, they are all the software resources of the main control board, line card A, and line card B, and do not contain any information about line card C; the incremental software package contains the software package of board card C itself and the incremental software package description information.

[0044] On the other hand, the present invention also provides a frame - type device board - card software incremental upgrade system, which includes:

[0045] The main control board, which includes a device management module and a software package management service module. The device management module is used to summarize and manage all the board - card information in the frame, and register newly registered board cards; the software package management service module is used to manage the registration of the whole - machine software package and provide software package downloads for line cards through network services;

[0046] The line - card software management module, which includes a board - card management module and a software - package proxy module. The board - card management module is used to obtain the basic status data of the local board card from the driver, establish a communication and management relationship with the main - control - board device management module, and send the basic status data to the device management module of the main control board for summary management; the software - package proxy module is used to start the upgrade of the local board - card software, and receive instructions and identify the local software start - upgrade type.

[0047] In one embodiment, the device management module is further configured to divide the main control board storage directory into a whole machine package software directory and an expansion package software directory, as well as control the directory for reading upgrade files; the board management module is further configured to receive control instructions from the device management module of the main control board.

[0048] In a preferred embodiment, the software package proxy module is further configured to verify the consistency between the local software package and the main control board server software package. When the verification result indicates that the local software package is consistent with the local board software package stored on the main control board, it directly starts from the local; when there is no software package locally, it downloads from the software package management service module of the main control board and then starts the software. In this embodiment, the device management module can also be controlled to add the board form data in the expansion package software directory to the board management node; the software package management service module is further configured to register the expansion package software in the software package management list.

[0049] The following process occurs in one embodiment of the above frame device board card software incremental upgrade system:

[0050] Process 1: The line card is inserted into the frame. After power-on, the board management module of the line card software module obtains the ID of the local board card, establishes a connection with the device management module of the main control, and sends the local board ID to the device management module of the main control.

[0051] Process 2: The device management module of the main control obtains a newly online line card ID. After querying and comparing the local management data, it finds that the board card is an incrementally registered board, and replies with incrementally registered information to the board management module of the line card software module.

[0052] Process 3: The board management module obtains the incrementally registered information, and after determining that it is an incremental upgrade, notifies the software package proxy module of the local board card to perform the software package download operation.

[0053] Process 4: The software package proxy module of the line card software module establishes a network connection with the software package management service module of the main control to download the software package of the local board.

[0054] The present invention is not limited to the above embodiments. For those of ordinary skill in the art in this technical field, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as within the protection scope of the present invention. The content not described in detail in this specification belongs to the prior art well-known to those skilled in the art.

Claims

1. A method for incremental software upgrade of a frame-type device board, characterized in that, Including: S1. Package the upgrade software package of the new line card and the line card increment description information into a line card increment software package; S2. Upload the line card increment software package to a specified location on the device main control board and activate it; S3. When the new line card is inserted into the frame device, the upgrade program is started inside the new line card, and the upgrade program reports the line card ID to the main control board to request software upgrade; S4. After receiving the software upgrade request, the main control board obtains the line card ID and searches for the line card increment description information for matching. When a result is found, it replies to the new line card to download the software package; S5. The new line card downloads the required software package according to the reply from the main control board and starts; Before the step S1, it further includes: Divide the storage directory of the main control board card into a whole machine package software directory and an expansion package software directory; Set to read the upgrade file from the expansion package software directory; In the step S4, identify whether it is a new line card according to the line card ID in the line card increment description information, and perform incremental upgrade on the identified new line card; The step S4 specifically includes: After the software package management module of the main control board receives the software upgrade request, it controls the software management module of the line card to obtain the line card ID and send it to the device management module of the main control board; The main control board searches for the line card ID in the stored line card increment description information. When a result is found, it manages according to the original settings; when no result is found, it replies with incremental registration information to the board management module; After receiving the incremental registration information, the board management module notifies the software package proxy module of the board to download the software package.

2. The method for incrementally upgrading the software of the frame device board as claimed in claim 1, wherein, The step S5 specifically includes: Verify the consistency between the local software package and the software package on the main control board server. When the verification result shows that the local software package is consistent with the software package of the board stored on the main control board, start directly from the local; if there is no software package locally, download it from the software package management service module of the main control board and then start the software.

3. The method for incrementally upgrading the software of the frame device board as described in claim 1, wherein Before the step S1, it includes: When the device is powered on and running, the board management module obtains basic status data including the slot number, hardware type, and ID identification of the line card from the driver.

4. A frame device board software incremental upgrade system based on the frame device board software incremental upgrade method as described in claim 1, characterized in that, Including: The main control board, which includes a device management module and a software package management service module. The device management module is used to summarize and manage all board card information in the frame and register newly registered board cards; The software package management service module is used to manage the registration of the whole machine software package and provide software package download for the line card through network services; The line card software management module, which includes a board management module and a software package proxy module. The board management module is used to obtain the basic status data of the board from the driver, establish a communication and management relationship with the device management module of the main control board, and send the basic status data to the device management module of the main control board for summary management; the software package proxy module is used to start upgrading the software of the board and receive instructions and identify the local software start upgrade type.

5. The frame device board software incremental upgrade system according to claim 4, characterized in that: The device management module is further used to divide the storage directory of the main control board into a whole machine package software directory and an expansion package software directory, and control the directory for reading the upgrade file; the board management module is further used to receive the control instructions from the device management module of the main control board.

6. The frame device board software incremental upgrade system according to claim 5, characterized in that: The software package proxy module is also used to verify the consistency between the local software package and the software package on the main control board server. When the verification result shows that the local software package is consistent with the software package of the local board stored on the main control board, it is directly started locally; when there is no software package locally, it is downloaded from the software package management service module of the main control board and then the software is started.

7. The frame device board software incremental upgrade system according to claim 5, wherein: The device management module is also used to add the board form data in the extended package software directory to the board management node; the software package management service module is also used to register the extended package software to the software package management list.

Citation Information

Patent Citations

  • Software version update method and device in communication equipment

    CN101008899A

  • A system and a method for multi-board auto-configuration and task auto-distribution

    CN109165181A