CN113986324A - Method and system for upgrading increment of board card software of frame type equipment - Google Patents

Method and system for upgrading increment of board card software of frame type equipment Download PDF

Info

Publication number
CN113986324A
CN113986324A CN202111242727.7A CN202111242727A CN113986324A CN 113986324 A CN113986324 A CN 113986324A CN 202111242727 A CN202111242727 A CN 202111242727A CN 113986324 A CN113986324 A CN 113986324A
Authority
CN
China
Prior art keywords
software
line card
software package
board
main control
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.)
Pending
Application number
CN202111242727.7A
Other languages
Chinese (zh)
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.)
Nanjing Third Generation Communication Technology Co ltd
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Nanjing Third Generation Communication Technology Co ltd
Fiberhome Telecommunication 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 Nanjing Third Generation Communication Technology Co ltd, Fiberhome Telecommunication Technologies Co Ltd filed Critical Nanjing Third Generation Communication Technology Co ltd
Priority to CN202111242727.7A priority Critical patent/CN113986324A/en
Publication of CN113986324A publication Critical patent/CN113986324A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system for upgrading increment of board card software of frame equipment, which relate to the field of software package management of communication equipment, and the method comprises the following steps: s1, packaging the upgrade software package and the line card increment description information of the new line card into a line card increment software package; s2, uploading the line card increment software package to the designated position of the equipment main control board and activating; s3, when a new line card is inserted into the frame type equipment, an upgrading program is started in the new line card, and the upgrading program reports the line card ID to the main control board to request software upgrading; s4, after the main control board receives the software upgrading request, reading the line card increment description information to identify the number of the new line card, replying the new line card to download the software package; and S5, the new line card replies and downloads the required software package to start according to the main control board. The method and the system for upgrading the board card software increment of the frame type equipment can ensure that the frame type equipment completes the upgrading management of a newly developed hardware board card on the premise of not restarting the whole machine.

Description

Method and system for upgrading increment of board card software of frame type equipment
Technical Field
The invention relates to the technical field of communication equipment software package management, in particular to a method and a system for updating the increment of board card software of frame equipment.
Background
Frame multi-board communication network equipment has the demand of upgrading dilatation in operator's network networking, needs to carry out the upgrading to new function and hardware after equipment operation.
In the aspect of hardware, when related equipment accesses the network, a spare slot position is reserved for inserting the board card, so that a new hardware board card which is developed for meeting the requirements of new services and port capacity of an operator in the later period of an equipment manufacturer can be conveniently set.
In terms of software, in order to enable the frame type multi-board communication network device to support normal operation of a new hardware board, a whole software package of the frame type communication device needs to be updated. The existing frame type communication equipment adopts whole machine software package upgrading management, a newly developed board card software upgrading can be supported only by presetting a board card software package in the whole machine software package in advance to support board card software upgrading, and the whole machine software package supporting a new board card is replaced by replacing the whole machine software package.
In the process of replacing the whole software package, the whole frame needs to be restarted to be effective, and the restarting process can cause the interruption of the service of the board card which is already running in the equipment, which has a very serious influence on the network.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for upgrading the board card software increment of the frame type equipment, which can ensure that the frame type equipment can complete the upgrading management of newly developed hardware board cards on the premise of not restarting the whole machine.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
a method for upgrading increment of board card software of frame equipment comprises the following steps:
s1, packaging the upgrade software package and the line card increment description information of the new line card into a line card increment software package;
s2, uploading the line card increment software package to the designated position of the equipment main control board and activating;
s3, when a new line card is inserted into the frame type equipment, an upgrading program is started in the new line card, and the upgrading program reports the line card ID to the main control board to request software upgrading;
s4, after receiving the software upgrading request, the main control board acquires the line card ID and searches the line card increment description information for matching, and replies a new line card to download the software package when finding the result;
and S5, the new line card replies and downloads the required software package to start according to the main control board.
On the basis of the above technical solution, before the step S1, the method further includes:
dividing a main control board card storage directory into a whole package software directory and an extension package software directory; and reading the upgrade file from the extension package software directory.
Based on the above technical solution, in the step S4, whether the line card is a new line card is identified according to the line card ID in the line card increment description information, and the identified new line card is upgraded incrementally.
On the basis of the above technical solution, the step S4 specifically includes:
after receiving the software upgrading request, the software package management module of the main control board controls the software management module of the line card to acquire the line card ID and send the line card ID to the equipment management module of the main control board; the main control board searches the line card ID in the stored line card increment description information, and manages the line card ID according to the original setting when finding the result; when the result is not found, replying incremental registration information to the board card management module; and after receiving the increment registration information, the board card management module informs a software package agent module of the board to download the software package.
On the basis of the above technical solution, the step S3 specifically includes:
the consistency of the local software package and the server side software package of the main control board is checked, and when the check result shows that the local software package is consistent with the local software package stored in the main control board, the local software package is directly started from the local; if no software package exists locally, the software package management service module of the main control board downloads the software package and then starts the software.
On the basis of the above technical solution, before the step S1, the method includes: when the equipment is powered on and operated, the board card management module acquires basic state data comprising the slot number, the hardware type and the ID identification of the line card from a drive.
In a second aspect, the present invention further provides a system for incrementally upgrading software of a board card of a frame device, including:
the main control board comprises an equipment management module and a software package management service module, wherein the equipment management module is used for collecting and managing information of all board cards in the frame and registering newly registered board cards; the software package management service module is used for managing the registration of the whole software package and providing software package downloading for the line card through network service;
the line card software management module comprises a line card management module and a software package agent module, wherein the line card management module is used for acquiring basic state data of the line card from a driver, establishing communication and management relation with a main control board equipment management module and sending the basic state data to the equipment management module of the main control board for collection and management; the software package agent module is used for starting and upgrading the local board card software, receiving the instruction and identifying the local software starting and upgrading type.
On the basis of the technical scheme, the equipment management module is also used for dividing the main control board storage directory into a whole package software directory and an extension package software directory and controlling and reading the directory of the upgrade file; the board management module is also used for receiving a control instruction of the equipment management module of the main control board.
On the basis of the technical scheme, the software package agent module is also used for verifying the consistency of the local software package and the server side software package of the main control board, and when the verification result shows that the local software package is consistent with the local board software package stored by the main control board, the local software package agent module is directly started from the local; and when no software package exists locally, the software package is downloaded from the software package management service module of the main control board and then the software is started.
On the basis of the technical scheme, the equipment management module is further used for adding the board card form data in the extension package software directory to the board card management node; the software package management service module is also used for registering the extension package software to the software package management list.
Compared with the prior art, the invention has the advantages that:
(1) in the method for upgrading the increment of the board card software of the frame type equipment, the software package of the new board card is downloaded to the increment upgrading directory through the FTP command on the main control board, and the method can automatically support the newly added hardware board card which is not in the equipment in the running process, and does not need to replace the software package of the whole equipment.
(2) The method for upgrading the increment of the board card software of the frame type equipment comprises the steps of carrying out an activation process of a board card increment software package on an equipment main control board, so that the hardware board card only needs to be burnt and upgraded when leaving a factory, and the software is automatically identified by the main control board upgrading management after being inserted into a frame and is guided to complete the upgrading of the software package; the whole frame does not need to be restarted when the software package upgrading process is completed after the new board card is inserted into the frame, and the existing service can be stored without interruption.
(3) In the incremental upgrading system for board card software of frame equipment, the main control board is upgraded and managed with two catalogs of the whole package software catalog and the expansion package software catalog, and in the whole upgrading process of the board card software, only a software package for single disk upgrading is required to be downloaded to the expansion upgrading catalog of the main control board, the main control board is not required to be upgraded, and the upgrading control flow under the scene of newly added board cards is simplified.
Drawings
Fig. 1 is a schematic diagram of a board card structure in a scene where a new board card is inserted into a frame device in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a complete machine software package and an incremental software package used by the frame device board card software incremental upgrading system in the embodiment of the present invention;
fig. 3 is a flowchart of a method for incrementally upgrading the board card software of the frame device in the embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Referring to fig. 1, an embodiment of the present invention provides a method for upgrading a software increment of a board card of a frame device, where the method includes: s1, packaging the upgrade software package and the board increment description information of the new board into a board increment software package; s2, uploading the board incremental software package to the designated position of the equipment main control board and activating; s3, when a new board card is inserted into the frame type equipment, the board card internally starts an upgrading program, and the upgrading program reports the board card number to the main control board to request software upgrading; s4, after the main control board receives the software upgrading request, reading the board incremental description information to identify the board number, and replying the board to download the software package; and S5, the board card replies and downloads the required software package to start according to the main control board.
In a preferred embodiment, before the step S1, the method further includes:
dividing a main control board storage directory into a whole package software directory and an extension package software directory; and reading the upgrade file from the extension package software directory. And when the equipment is powered on and operated, the board card management module can be controlled to acquire basic state data comprising the slot number, the hardware type and the ID identification of the board card from the drive.
In one embodiment, in the step S4, the new board may be updated incrementally according to whether the board ID in the board increment description information identifies the new board. Preferably, the step S4 specifically includes: when the software package management module of the main control board receives a software upgrading request, the control line card software management module acquires a board card ID and sends the board card ID to the equipment management module of the main control board for storage; the main control board searches the board ID in the stored board increment description information, and when finding the result, the main control board manages according to the original setting; when the result is not found, replying incremental registration information to the board card management module; and after receiving the increment registration information, the board card management module informs a software package agent module of the board to download the software package.
In an embodiment, the step S3 specifically includes: the consistency of the local software package and the server side software package of the main control board is checked, and when the check result shows that the local software package is consistent with the local software package stored in the main control board, the local software package is directly started from the local; if no software package exists locally, the software package management service module of the main control board downloads the software package and then starts the software.
The following is a detailed description of the differences between the present invention and the prior art:
1) fig. 1 shows a conventional frame-type device, in which a main control board, a line card a and a line card B are three known types of board cards, and occupy slots 1 to 8, and slots 9 to 11 are empty slots. When a developer newly develops the line card C and prepares for use, the line card C is prepared to be inserted into the slot 9-11. At this time, the equipment already carries the service in the slots 1-8 of the network operation. If conventional full package upgrade management is used to support line card C, a restart is required resulting in service interruption for slots 1-8. The problem to be solved by the patent is how to insert the line card C into the 9-11 slot positions to complete the software upgrade of the line card C without affecting the existing services of the 1-8 slot positions.
2) Fig. 2 shows a structure of a whole software package and a board incremental software package, and it can be seen that the whole software package includes software resources of all boards already supported by the whole machine, in the illustration, all software resources of a main control board, a line card a and a line card B, and does not include any information of a line card C; the incremental software package contains the software package of the board C itself and the incremental software package description information.
In another aspect, the present invention further provides a system for incrementally upgrading the board card software of the frame device, where the system includes:
the main control board comprises an equipment management module and a software package management service module, wherein the equipment management module is used for collecting and managing information of all board cards in the frame and registering newly registered board cards; the software package management service module is used for managing the registration of the whole software package and providing software package downloading for the line card through network service;
the line card software management module comprises a line card management module and a software package agent module, wherein the line card management module is used for acquiring basic state data of the line card from a driver, establishing communication and management relation with a main control board equipment management module and sending the basic state data to the equipment management module of the main control board for collection and management; the software package agent module is used for starting and upgrading the local board card software, receiving the instruction and identifying the local software starting and upgrading type.
In one embodiment, the device management module is further configured to divide the main control board storage directory into a complete package software directory and an extension package software directory, and control reading of a directory of the upgrade file; the board management module is also used for receiving a control instruction of the equipment management module of the main control board.
In a preferred embodiment, the software package agent module is further configured to check consistency between the local software package and the server-side software package of the main control board, and directly start from the local when a check result indicates that the local software package is consistent with the board software package stored in the main control board; and when no software package exists locally, the software package is downloaded from the software package management service module of the main control board and then the software is started. In this embodiment, the device management module may be further controlled to add the board configuration data in the extension package software directory to the board management node; the software package management service module is also used for registering the extension package software to the software package management list.
The above incremental upgrading system for the board card software of the frame device, in one embodiment, performs the following processes:
process 1: the line card is inserted into the frame, and after the line card is powered on, the board card management module of the line card software module acquires the ID of the board card, establishes contact with the master control equipment management module and sends the ID of the board card to the master control equipment management module;
and (2) a process: the main control equipment management module obtains a new on-line card ID, inquires and compares local management data, finds that the line card is an increment registration board, and replies increment registration information to a line card management module of a line card software module;
and 3, process: the board management module obtains the increment registration information, and definitely informs the software package agent module of the board to download the software package after the increment is upgraded;
and 4, process: and the software package agent module of the line card software module establishes network connection with the main control software package management service module to download the software package of the board.
The present invention is not limited to the above-described embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and such modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.

Claims (10)

1. A method for upgrading increment of board card software of frame equipment is characterized by comprising the following steps:
s1, packaging the upgrade software package and the line card increment description information of the new line card into a line card increment software package;
s2, uploading the line card increment software package to the designated position of the equipment main control board and activating;
s3, when a new line card is inserted into the frame type equipment, an upgrading program is started in the new line card, and the upgrading program reports the line card ID to the main control board to request software upgrading;
s4, after receiving the software upgrading request, the main control board acquires the line card ID and searches the line card increment description information for matching, and replies a new line card to download the software package when finding the result;
and S5, the new line card replies and downloads the required software package to start according to the main control board.
2. A software increment upgrading method for a frame device board card according to claim 1, wherein before the step S1, the method further comprises:
dividing a main control board card storage directory into a whole package software directory and an extension package software directory;
and reading the upgrade file from the extension package software directory.
3. A software increment upgrading method for a frame device board card according to claim 1, characterized in that: in step S4, it is identified whether the line card is a new line card according to the line card ID in the line card increment description information, and the identified new line card is upgraded incrementally.
4. A software increment upgrading method for a frame device board card according to claim 3, wherein the step S4 specifically includes:
after receiving the software upgrading request, the software package management module of the main control board controls the software management module of the line card to acquire the line card ID and send the line card ID to the equipment management module of the main control board;
the main control board searches the line card ID in the stored line card increment description information, and manages the line card ID according to the original setting when finding the result; when the result is not found, replying incremental registration information to the board card management module;
and after receiving the increment registration information, the board card management module informs a software package agent module of the board to download the software package.
5. A method for incrementally upgrading software of a board card for frame device as recited in claim 1, wherein the step S3 specifically includes:
the consistency of the local software package and the server side software package of the main control board is checked, and when the check result shows that the local software package is consistent with the local software package stored in the main control board, the local software package is directly started from the local; if no software package exists locally, the software package management service module of the main control board downloads the software package and then starts the software.
6. A software increment upgrading method for a frame device board card according to claim 1, wherein before the step S1, the method includes: when the equipment is powered on and operated, the board card management module acquires basic state data comprising the slot number, the hardware type and the ID identification of the line card from a drive.
7. The utility model provides a frame equipment integrated circuit board software increment upgrading system which characterized in that includes:
the main control board comprises an equipment management module and a software package management service module, wherein the equipment management module is used for collecting and managing information of all board cards in the frame and registering newly registered board cards; the software package management service module is used for managing the registration of the whole software package and providing software package downloading for the line card through network service;
the line card software management module comprises a line card management module and a software package agent module, wherein the line card management module is used for acquiring basic state data of the line card from a driver, establishing communication and management relation with a main control board equipment management module and sending the basic state data to the equipment management module of the main control board for collection and management; the software package agent module is used for starting and upgrading the local board card software, receiving the instruction and identifying the local software starting and upgrading type.
8. A software incremental upgrade system for a frame device board card as claimed in claim 7, wherein: the equipment management module is also used for dividing the main control board storage directory into a whole package software directory and an extension package software directory and controlling and reading the directory of the upgrade file; the board management module is also used for receiving a control instruction of the equipment management module of the main control board.
9. A frame device board software incremental upgrade system as claimed in claim 8, wherein: the software package agent module is also used for checking the consistency of the local software package and the server software package of the main control board, and when the checking result shows that the local software package is consistent with the local software package stored in the main control board, the local software package agent module is directly started from the local; and when no software package exists locally, the software package is downloaded from the software package management service module of the main control board and then the software is started.
10. A frame device board software incremental upgrade system as claimed in claim 8, wherein: the equipment management module is also used for adding the board card form data in the extension package software directory into the board card management node; the software package management service module is also used for registering the extension package software to the software package management list.
CN202111242727.7A 2021-10-25 2021-10-25 Method and system for upgrading increment of board card software of frame type equipment Pending CN113986324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111242727.7A CN113986324A (en) 2021-10-25 2021-10-25 Method and system for upgrading increment of board card software of frame type equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111242727.7A CN113986324A (en) 2021-10-25 2021-10-25 Method and system for upgrading increment of board card software of frame type equipment

Publications (1)

Publication Number Publication Date
CN113986324A true CN113986324A (en) 2022-01-28

Family

ID=79741145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111242727.7A Pending CN113986324A (en) 2021-10-25 2021-10-25 Method and system for upgrading increment of board card software of frame type equipment

Country Status (1)

Country Link
CN (1) CN113986324A (en)

Similar Documents

Publication Publication Date Title
US6098098A (en) System for managing the configuration of multiple computer devices
US7007077B1 (en) Remote maintenance method of an information processing apparatus
CN111901142B (en) Firmware silence upgrading method and device for embedded device cluster
KR20040047630A (en) Electronic appliances network system, adapter for electronic appliances network, index server, method of connecting electronic appliances network, method of controlling adapter for electronic appliances network, and method of operating index server
CN101436138A (en) Control device and control method for software upgrade and dynamic rolling back
CN112615747B (en) Method and device for automatically deploying and configuring network equipment
WO2009082906A1 (en) Method, equipment and system for software upgrading
CN103533027A (en) Distributed equipment and software version compatibility maintenance method and system
WO2022241918A1 (en) Remote upgrading method and apparatus for internet of things device
CN113542318B (en) Equipment fault repairing method
CN111736876A (en) Client update control method, device, storage medium and server
CN108874410B (en) Patch management method and device
JPH09292980A (en) File distribution system
CN114138296A (en) Multi-system gateway upgrading method, equipment and storage medium
CN113138788A (en) Air conditioner program upgrading method and air conditioner system
CN113986324A (en) Method and system for upgrading increment of board card software of frame type equipment
CN112199099A (en) Application updating method, device, server and storage medium
CN106708541A (en) Version upgrading processing method and apparatus
CN114168210A (en) Embedded equipment deployment method and system
CN109101278B (en) Method and device for realizing terminal flashing
KR101437837B1 (en) Method and apparatus for downloading of content interlock between dynamic platform  in a mobile communication system
JP4232606B2 (en) File distribution system, client program, client, server program, server, and method
JP2001325107A (en) Method for updating information
CN114513414B (en) Method for managing AP, AC and AP
CN114675893B (en) Drive management method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination