[go: up one dir, main page]

WO2015158120A1 - Procédé et appareil pour mettre à niveau une version logicielle - Google Patents

Procédé et appareil pour mettre à niveau une version logicielle Download PDF

Info

Publication number
WO2015158120A1
WO2015158120A1 PCT/CN2014/088627 CN2014088627W WO2015158120A1 WO 2015158120 A1 WO2015158120 A1 WO 2015158120A1 CN 2014088627 W CN2014088627 W CN 2014088627W WO 2015158120 A1 WO2015158120 A1 WO 2015158120A1
Authority
WO
WIPO (PCT)
Prior art keywords
board
upgrade
software
subrack
agent
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.)
Ceased
Application number
PCT/CN2014/088627
Other languages
English (en)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2015158120A1 publication Critical patent/WO2015158120A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a software version upgrade method and apparatus.
  • the software upgrade method of the board is used by the NMS to download all the software files to be upgraded to a main control board through FTP (File Transfer Protocol). Then, the software that needs to be upgraded is distributed through the main control board. Go to the corresponding board and activate the board to complete the software version upgrade. All boards in a network element must control the scheduling and execution of software upgrade tasks through this main control board. As the number of subracks connected to a network element is increasing, the number of boards of the same type may be more and more. The increase in the number of boards of the same type that are upgraded in parallel will inevitably lead to a decrease in the success rate of the upgrade.
  • FTP File Transfer Protocol
  • the embodiments of the present invention provide a method and a device for upgrading a software version of a communication device, so as to solve the related problem that the upgrade success rate of the board is upgraded in a large-scale environment and the other device management functions are affected.
  • the problem of normal operation is a problem of normal operation.
  • the embodiment of the present invention provides a method for upgrading a software version, which is used for a main control board on a primary subrack, where the main control board corresponds to at least one intermediate board on the subrack, the middle The board is a board selected from the board of the slave sub-rack, and the intermediate board corresponds to at least one other board of the sub-rack.
  • the software version upgrade method includes:
  • the first transmission step is: transmitting the first software to the intermediate board, so that the intermediate board is upgraded to an upgrade agent board;
  • the second transmission step is: transmitting the second software to the upgrade agent board, so that the upgrade agent board provides the second software to the corresponding board, and implements software upgrade of the board from the sub-rack.
  • the intermediate board is a single board with an external storage medium, and the method further includes:
  • the querying step is to send a query request to the board on the slave subrack, and obtain the set of boards that are composed of the board with the external storage medium on the subrack;
  • the first step is to select a board with the smallest slot number as the intermediate board from the board in the active state.
  • the first transmitting step includes:
  • Identification step adding an upgrade agent backup field as an identifier in the configuration file of the intermediate board;
  • a first transmission sub-step transmitting the first software to the intermediate board having the identifier
  • the first activation step is: transmitting an intermediate board activation command to the intermediate board having the identifier, so that the intermediate board is upgraded to an upgrade agent board.
  • the number of the intermediate boards is multiple, and the main control board obtains a first upgrade configuration file, where the first upgrade configuration file stores an upgrade priority of the sub-rack from which the intermediate board is located.
  • the first activation step includes: transmitting an intermediate board upgrade command to the intermediate board having the identifier according to the first upgrade configuration file, so that the intermediate board is upgraded to the upgrade agent according to the upgrade priority. board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a first upgrade configuration file, where the first upgrade configuration file saves an upgrade priority of the slave subrack from which the upgrade agent board is located.
  • Level, the second transmission step includes:
  • a second transmission sub-step transmitting the second software to the corresponding upgrade agent board on the slave subrack;
  • a first loading step sending a board software load command to the upgrade agent board, so that the upgrade agent board transmits the second software to its corresponding board;
  • a second activation step sending a board software activation command to the upgrade agent board in sequence according to the first upgrade configuration file, so that the upgrade agent board sends the board software activation command to the corresponding board to implement The software upgrade from the board on the subrack.
  • the method for upgrading the software version further includes:
  • a third transmission step transmitting third software to all the boards on the primary subrack to implement software upgrade of the board on the primary subrack;
  • the fourth transmission step is: transmitting fourth software to all the boards on the slave sub-rack without upgrading the proxy board, and implementing software upgrade of the board on the slave sub-rack.
  • the method for upgrading the software version further includes:
  • Receiving step receiving an upgrade progress and a software loading progress of the corresponding board on the slave subrack transmitted by the upgrade agent board.
  • the embodiment of the present invention further provides a software version upgrade method, which is used for an intermediate board on a sub-rack, wherein the intermediate board corresponds to a main control board on the main sub-rack, and the intermediate board For the board selected from the board from the subrack, the intermediate board corresponds to at least one other board on the subrack, and the method for upgrading the software version includes:
  • a first receiving step receiving the first software transmitted by the main control board, and upgrading to the upgrade proxy board by using the first software;
  • the second receiving step is: receiving the second software transmitted by the main control board, and providing the second software to the corresponding board on the subrack to implement software upgrade of the slave board on the subrack.
  • the intermediate board is a board with an external storage medium
  • the method further includes: receiving a query request sent by the main control board, and returning a message having an external storage medium to the master control board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a second upgrade configuration file, where the upgrade configuration file saves the upgrade priority of the board from the subrack of the upgrade agent board.
  • the second receiving step includes:
  • a second receiving sub-step receiving the second upgrade software transmitted by the main control board;
  • a second loading step receiving a board software loading command sent by the main control board, and transmitting the second software to the corresponding board;
  • a third activation step receiving a board software activation command transmitted by the main control board, and sequentially sending the board software activation command to the corresponding board according to the second configuration file, to implement the slave subrack Software upgrade for the board.
  • the method for upgrading the software version further includes:
  • the transmitting step receiving an upgrade progress and a software loading progress of the corresponding board from the subrack, and transmitting the upgrade progress and the software loading progress to the main control board.
  • the embodiment of the present invention further provides a device for upgrading a software version, which is used for a main control board on a primary subrack, where the main control board corresponds to at least one intermediate board on the subrack, and the intermediate board is a slave
  • the board selected from the boards in the subrack, the intermediate board corresponding to the at least one other board on the subrack, the software version upgrade device includes:
  • a first transmission module configured to: transfer the first software to the intermediate board, so that the intermediate board is upgraded to an upgrade agent board;
  • a second transmission module configured to: transmit the second software to the upgrade agent board, so that the upgrade agent board provides the second software to the corresponding board, and implements software of the board on the slave subrack upgrade.
  • the intermediate board is a single board having an external storage medium
  • the device further includes:
  • a query unit configured to: send a query request to the board on the slave subrack, and respectively obtain the set of boards that are composed of the board having the external storage medium on the subrack;
  • the first execution unit is configured to select, from the board in the active state, the board with the smallest slot number as the intermediate board.
  • the first transmission module includes:
  • An identification unit which is configured to: add an upgrade agent backup field as an identifier in a configuration file of the intermediate board;
  • a first transmission unit configured to: transmit the first software to the intermediate board having the identifier
  • a first activation unit configured to: transmit an intermediate board to the intermediate board having the identifier
  • the live command is used to upgrade the intermediate board to the upgrade agent board.
  • the number of the intermediate boards is multiple, and the main control board obtains a first upgrade configuration file, where the first upgrade configuration file stores an upgrade priority of the sub-rack from which the intermediate board is located.
  • the first activation unit is configured to: according to the first upgrade configuration file, sequentially send an intermediate board upgrade command to the intermediate board having the identifier, so that the intermediate board is upgraded to the upgrade priority according to the upgrade priority. Upgrade the agent board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a first upgrade configuration file, where the upgrade priority of the sub-rack from which the upgrade agent board is located is saved in the first upgrade configuration file.
  • the second transmission module includes:
  • a second transmission unit configured to: transmit the second software to the corresponding upgrade agent board on the slave subrack;
  • a first loading unit configured to: send a board software load command to the upgrade agent board, so that the upgrade agent board transmits the second software to its corresponding board;
  • a second activation unit configured to: send a board software activation command to the upgrade agent board in sequence according to the first upgrade configuration file, so that the upgrade agent board sends the board software to its corresponding board Activate the command to implement software upgrade of the board from the subrack.
  • the device for upgrading the software version further includes:
  • a third transmission module configured to: transmit third software to all the boards on the primary subrack, and implement software upgrade of the board on the primary subrack;
  • a fourth transmission module configured to: transmit the fourth software to all the boards on the slave subrack that does not upgrade the proxy board, and implement software upgrade of the board on the slave subrack.
  • the embodiment of the present invention further provides a software version upgrade device, which is used for an intermediate board on a subrack, where the intermediate board corresponds to a main control board on the main subrack, and the intermediate board is from the The board selected from the boards in the subrack, the intermediate board corresponding to the at least one board on the subrack, the software version upgrade device includes:
  • a first receiving module configured to: receive the first software transmitted by the main control board, and upgrade to an upgrade proxy board by using the first software
  • a second receiving module configured to: receive the second software transmitted by the main control board, and provide the second software to the corresponding board on the sub-rack to implement the board on the sub-rack Software rise level.
  • the intermediate board is a board with an external storage medium
  • the selecting the intermediate board includes: receiving a query request sent by the main control board, and returning a message having an external storage medium to the Main control board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a second upgrade configuration file, where the upgrade configuration file saves the upgrade priority of the board from the subrack of the upgrade agent board.
  • the second receiving module includes:
  • a second receiving unit configured to: receive the second upgrade software transmitted by the main control board;
  • a second loading unit configured to: receive a board software loading command sent by the main control board, and transmit the second software to a corresponding board on the slave subrack;
  • a third activation unit configured to: receive the board software activation command transmitted by the main control board, and send the board software activation command to the corresponding board from the subrack according to the second configuration file The software upgrade of the single board from the subrack is implemented.
  • the embodiment of the invention further provides a computer program, including program instructions, when the program instruction is executed by the main control board on the main subrack, so that the main control board can execute the above method.
  • the embodiment of the present invention further provides a computer program, including a program instruction, when the program instruction is executed from an intermediate board on the subrack, so that the intermediate board can execute the foregoing method.
  • Embodiments of the present invention also provide a carrier carrying the above computer program.
  • the board from the sub-rack no longer relies on the main sub-board main control board to directly issue and activate the board software, but uses multiple upgrade agent boards to share the upgrade task of the main control board.
  • the main pressure of the main control board is relieved, and the main control board can ensure that the non-upgraded device management functions are not affected when the large-scale device software is upgraded.
  • the embodiment of the present invention can also greatly reduce the main The total number of concurrently upgraded boards and the probability of failures caused by the timeout of the board upgrade can greatly improve the upgrade success rate.
  • FIG. 1 is a schematic flowchart of a method for upgrading a software version according to an embodiment of the present invention
  • FIG. 2 is another schematic flowchart of a method for upgrading a software version according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of an apparatus for upgrading a software version according to an embodiment of the present invention.
  • FIG. 4 is another schematic structural diagram of an apparatus for upgrading a software version according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a process of upgrading an intermediate board to an upgrade agent board according to an embodiment of the present invention
  • FIG. 6 is a structural diagram of a software upgrade device according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of an upgrade process of a board on each slave subrack according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for upgrading a software version according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for upgrading a software version, which is used for a main control board on a primary subrack, where the main control board corresponds to at least one intermediate board on the subrack, and the middle The board is a board selected from the board of the subrack, and the middle board corresponds to at least one board of the slave subrack.
  • the method for upgrading the software version includes:
  • the first transmission step 101 is: transmitting the first software to the intermediate board, so that the intermediate board is upgraded to an upgrade agent board;
  • a second transmission step 102 transmitting the second software to the upgrade agent board, so that the upgrade agent board provides the second software to the corresponding board, and implements the board on the slave subrack. software upgrade.
  • the upgrade task of the main control board is shared by upgrading the board from the slave subrack to the upgrade agent version, so that the working load of the main control board is reduced.
  • the upgrade success rate of the entire system is improved.
  • the intermediate board is a single board having an external storage medium, and the selected intermediate board includes:
  • the querying step is to send a query request to the board on the slave subrack, and obtain the set of boards that are composed of the board with the external storage medium on the subrack;
  • the first step is to select a slot number from the board in the active state in the board set.
  • the smallest board is used as the intermediate board.
  • the foregoing embodiment is a preferred embodiment of the present invention.
  • the definition of the slot number can be understood as a specific implementation manner, that is, it is also feasible to select any single board from the board in the active state.
  • the determined intermediate board that can be upgraded to the upgrade agent board can be selected from a plurality of boards having external storage media.
  • the first transmission step is a process of upgrading the intermediate board to an upgrade agent board, including:
  • Identification step adding an upgrade agent backup field as an identifier in the configuration file of the intermediate board;
  • a first transmission sub-step transmitting the first software to the intermediate board having the identifier
  • the first activation step is: transmitting an intermediate board activation command to the intermediate board having the identifier, so that the intermediate board is upgraded to an upgrade agent board.
  • the first software may be a component with an upgrade function. Activating a software installation process that can be understood as a general meaning.
  • the master subrack corresponds to a plurality of slave subracks, and each of the slave subracks may have its own upgrade proxy board.
  • the main control board obtains the first upgrade configuration file.
  • the first upgrade configuration file saves the upgrade priority of the sub-rack from which the intermediate board is located, and the first activation step includes: sequentially, according to the first upgrade configuration file, an intermediate ticket having the identifier
  • the intermediate board upgrade command is used to upgrade the intermediate board to the upgrade agent board according to the upgrade priority.
  • the first upgrade configuration file includes a subrack number, a subrack priority, and an upgrade proxy board address. Upgrading the intermediate boards in sequence according to the upgrade priority of the sub-racks enables the upgrade to be upgraded and the upgrade pressure of the main control board is reduced, so that the main control board has the capability to handle other upgrade tasks and non-upgrades. Management tasks.
  • the second transmission step is a step of upgrading a board by using the upgrade agent version.
  • the upgrade agent board obtains a first upgrade configuration file, where the first upgrade configuration file is The upgrade priority of the sub-rack from which the upgrade agent board is located is saved, and the second transmission step includes:
  • a second transmission sub-step transmitting the second software to the corresponding upgrade agent board on the slave subrack;
  • a first loading step sending a board software load command to the upgrade agent board, so that the upgrade agent board transmits the second software to the corresponding board;
  • a second activation step sending a board software activation command to the upgrade agent board in sequence according to the first upgrade configuration file, so that the upgrade agent board sends the board software activation command to the corresponding board.
  • the board software activation command is sent in the same manner according to the upgrade priority of the subrack, and the board software activation command is sent to the upgrade agent board in sequence, thereby reducing the upgrade pressure of the main control board.
  • the main control board performs the software upgrade of the board through the upgrade agent board, and also processes other non-upgraded management tasks and other upgrade tasks.
  • the software version upgrade method further includes:
  • a third transmission step transmitting third software to all the boards on the primary subrack to implement software upgrade of the board on the primary subrack;
  • the fourth transmission step is: transmitting fourth software to all the boards on the slave sub-rack without upgrading the proxy board, and implementing software upgrade of the board on the slave sub-rack.
  • the upgrade task includes the upgrade task of the board of the primary subrack and the upgrade task of the board from the subrack without the upgrade agent board. It can be seen that the upgrade agent board shares a considerable part of the upgrade task.
  • the method for upgrading the software version further includes: receiving, receiving, according to the corresponding sub-frame transmitted by the upgrade agent board, the software version of the sub-rack is loaded and activated Board upgrade progress and software activation progress.
  • the main control board reports the upgrade progress and the software activation progress of the received board to the network management server, so that the network management server can understand the upgrade progress at any time.
  • FIG. 2 is another schematic flowchart of a method for upgrading a software version according to an embodiment of the present invention.
  • the present invention further provides a method for upgrading a software version, which is used for an intermediate board on a subrack, where the intermediate board corresponds to a main control board on the main subrack, and the intermediate board For the board selected from the board from the subrack, the intermediate board corresponds to at least one board on the subrack, and the software version upgrade method includes:
  • the first receiving step 201 is: receiving the first software transmitted by the main control board, and upgrading to the upgrade proxy board by using the first software.
  • the second receiving step 202 is to receive the second software that is transmitted by the main control board, and provide the second software to the corresponding board to implement software upgrade of the board on the slave subrack.
  • the embodiment is an upgrade process of the intermediate board itself and an upgrade process of the board from the subrack that the upgrade agent board is responsible for.
  • the upgrade agent board shares part of the upgrade task of the main control board, so that the work load of the main control board is reduced, and the upgrade success rate of the entire system is improved.
  • the intermediate board is a board with an external storage medium
  • the selecting the intermediate board includes: receiving a query request sent by the main control board, and returning a message having an external storage medium to the Main control board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a second upgrade configuration file, where the upgrade configuration file saves the upgrade priority of the board from the subrack of the upgrade agent board.
  • the second receiving step includes:
  • a second receiving sub-step receiving the second upgrade software transmitted by the main control board;
  • a second loading step receiving a board software loading command sent by the main control board, and transmitting the second software to the corresponding board;
  • a third activation step receiving a board software activation command transmitted by the main control board, and sequentially sending the board software activation command to the corresponding board according to the second configuration file, to implement the slave Software upgrade of the board on the rack.
  • the method for upgrading the software version further includes:
  • the transmitting step receiving an upgrade progress and a software loading progress of the corresponding board on the subrack, and transmitting the upgrade progress and the software loading progress to the main control board.
  • FIG. 3 is a schematic structural diagram of an apparatus for upgrading a software version according to an embodiment of the present invention.
  • the present invention further provides a device for upgrading a software version, which is used for a main control board on a primary subrack, where the main control board corresponds to at least one intermediate veneer on a subrack, the intermediate order The board is a board selected from the board from the subrack, and the middle board corresponds to at least one board on the subrack.
  • the software version upgrade apparatus includes:
  • a first transmission module transmitting the first software to the intermediate board, so that the intermediate board is upgraded to an upgrade agent board;
  • a second transmission module the second software is transmitted to the upgrade agent board, so that the upgrade agent board provides the second software to the corresponding board, and the software of the board on the slave sub-rack is implemented. upgrade.
  • the intermediate board is a single board having an external storage medium
  • the device further includes:
  • the query unit sends a query request to the board on the slave subrack, and obtains a set of boards that are composed of the board with the external storage medium on the subrack;
  • the first execution unit is configured to select a board with the smallest slot number as the intermediate board from the board in the active state.
  • the first transmission module includes:
  • the identification unit adds an upgrade agent backup field to the configuration file of the intermediate board for identification.
  • a first transmission unit transmitting the first software to the intermediate board having the identifier
  • the first activation unit transmits an intermediate board activation command to the intermediate board having the identifier, so that the intermediate board is upgraded to an upgrade agent board.
  • the number of the intermediate boards is multiple, and the main control board obtains a first upgrade configuration file, where the first upgrade configuration file stores an upgrade priority of the sub-rack from which the intermediate board is located.
  • the first activation unit is configured to: according to the first upgrade configuration file, sequentially send an intermediate board upgrade command to the intermediate board having the identifier, so that the intermediate board is upgraded to the upgrade priority according to the upgrade priority. Upgrade the agent board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a first upgrade configuration file, where the upgrade priority of the sub-rack from which the upgrade agent board is located is saved in the first upgrade configuration file.
  • the second transmission module includes:
  • a second transmission unit transmitting the second software to the corresponding upgrade agent board on the slave subrack;
  • a first loading unit sending a board software load command to the upgrade agent board, so that the upgrade agent board transmits the second software to the corresponding board;
  • a second activation unit sending, according to the first upgrade configuration file, a board software activation command to the upgrade agent board, so that the upgrade agent board sends the board software activation command to the corresponding board.
  • the device for upgrading the software version further includes:
  • a third transmission module transmitting third software to all the boards on the primary subrack, and implementing software upgrade of the board on the primary subrack;
  • the fourth transmission module the fourth software is transmitted to all the boards on the slave sub-rack that does not upgrade the proxy board, and the software upgrade of the board on the slave sub-rack is implemented.
  • the device for upgrading the software version further includes:
  • the receiving module receiving an upgrade progress and a software loading progress of the corresponding board on the slave subrack transmitted by the upgrade agent board.
  • FIG. 4 is another schematic structural diagram of an apparatus for upgrading a software version according to an embodiment of the present invention.
  • the present invention further provides a device for upgrading a software version, which is used for an intermediate board on a subrack, where the intermediate board corresponds to a main control board on the main subrack, and the intermediate board For the board selected from the board from the subrack, the intermediate board corresponds to at least one board on the subrack, and the software version upgrade apparatus includes:
  • a first receiving module receiving the first software transmitted by the main control board, and upgrading to an upgrade proxy board by using the first software
  • the second receiving module is configured to receive the second software that is transmitted by the main control board, and provide the second software to the corresponding board to implement software upgrade of the board on the slave subrack.
  • the intermediate board is a board with an external storage medium
  • the selecting the intermediate board includes: receiving a query request sent by the main control board, and returning a message having an external storage medium to the Main control board.
  • the upgrade agent board is multiple, and the upgrade agent board obtains a second upgrade configuration file, where the upgrade configuration file saves the upgrade priority of the board from the subrack of the upgrade agent board.
  • the second receiving module includes:
  • a second receiving unit receiving the second upgrade software transmitted by the main control board
  • a second loading unit receiving a board software loading command sent by the main control board, and transmitting the second software to the corresponding board;
  • a third activation unit receiving a board software activation command transmitted by the main control board, and sending the board software activation command to the corresponding board according to the second configuration file to implement the slave Software upgrade of the board on the rack.
  • the device for upgrading the software version further includes:
  • the transmission module receives an upgrade progress and a software loading progress of the corresponding board on the subrack, and transmits the upgrade progress and the software loading progress to the main control board.
  • FIG. 5 is a schematic flowchart of a process of upgrading an intermediate board to an upgrade agent board according to an embodiment of the present invention.
  • the method for upgrading an intermediate board in the embodiment of the present invention to the agent board is used for the main control board on the primary subrack, and the main control board corresponds to at least one intermediate board on the subrack.
  • the intermediate board is a board with an external storage medium, and the step of upgrading the intermediate board to the upgrade agent board includes:
  • Step 301 Send a query request to the board on the slave subrack, and obtain a set of boards that are composed of the board with the external storage medium on the subrack. On the same subrack, there may be multiple boards that meet the query conditions. In this case, you need to select one board from the set of boards with all external storage media on the subrack as the middle of the upgrade. veneer.
  • the board with the smallest slot number is selected as the intermediate board from the board in the active state.
  • Step 303 Add an upgrade agent backup field to the configuration file of the intermediate board for identification. And sending the path information of the intermediate board to the network management server for storage.
  • the upgrade agent backup field is used to identify that the board of this type has the ability to become an upgrade agent board.
  • Step 304 The first software is transmitted to the intermediate board with the identifier according to the received intermediate board upgrade command, so that the intermediate board is upgraded to the upgrade agent board.
  • the first software is a component with an upgrade function.
  • the intermediate board upgrade command includes an intermediate board loading command and an intermediate board activation command.
  • the first software is sequentially activated according to the priority of the sub-racks in which the intermediate boards are located, and the first software is activated at the same time.
  • FIG. 6 is a structural diagram of a software upgrade device according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart of a process for upgrading a board from a subrack according to an embodiment of the present invention. As shown in Figure 6 and Figure 7, after upgrading the intermediate board to the upgrade agent board, you can upgrade the board from the subrack.
  • the main control board obtains the upgrade configuration file.
  • the upgrade process of the board includes the following steps:
  • Step 401 The main control board receives the first upgrade package and the first upgrade command delivered by the network management server.
  • the network management server queries the main control board that is currently Does not include the same upgrade software as the first upgrade package. If it does not exist, it will not be delivered. If it does not exist, it will be delivered to a newly created upgrade directory on the main control board.
  • the upgrade software that exists in the main control board links these upgrade software to the newly created upgrade directory in a hard link manner.
  • the third upgrade configuration file includes multiple types of board types, software names included under each type of board, and paths that are stored by default in the newly created upgrade directory.
  • Step 402 The main control board splits the first upgrade software package, and transmits the second upgrade software package obtained by the split to the corresponding upgrade agent board.
  • the main control board obtains the second upgrade software package according to the splitting of the first software package, and transmits the second software package to the corresponding Upgrade the agent board.
  • the main control board queries the type of the board that is included in the subrack.
  • the third upgrade configuration file obtains one or more types of software that need to be upgraded on the board and the default path of the software in the newly created upgrade directory. Search from the newly created upgrade directory and send the found software to the upgrade agent board corresponding to the slave subrack.
  • Step 403 The main control board sends a board software upgrade command to the upgrade agent board on the slave subrack.
  • the upgrade command includes a board software load command and a board software activation command.
  • Step 404 After the upgrade agent board receives the board software upgrade command, split the second upgrade software package, and perform software upgrade on the board on the slave subrack.
  • the second upgrade configuration file includes a type number of a plurality of types of boards, an upgrade priority of multiple types of boards, and multiple types of software upgrade priorities under multiple types of boards, and multiple types of boards. Multiple types of software names and paths where the software is stored by default.
  • the main control board upgrades the subracks according to the corresponding subrack number, subrack priority, and upgrade proxy address in the first upgrade configuration file.
  • the agent board issues the activation command from the subrack.
  • the upgrade agent board is configured according to the type of the board in the second upgrade configuration file, the upgrade priority of each type of board, and the software under each type of board. Upgrade the priority and activate the sequence of each type. If the priorities are the same, activate them at the same time. If the components have the same priority and are activated at the same time, the components with different priorities are activated in sequence. .
  • Step 405 The upgrade agent board receives the software upgrade progress of the board, and sends the progress of the overall board software upgrade from the sub-rack to the main control board.
  • the upgrade progress includes a loading progress and an activation progress.
  • the upgrade agent board receives the software activation progress of the board, and sends the progress of the overall board software activation from the sub-rack to the main control board.
  • Step 406 The main control board sends the received overall board software upgrade progress to the network management server.
  • the loading progress information of the single board from the subrack is not reported. Finally, only the loading progress of the subnet from the subrack is reported. After the subrack is loaded, the NMS reports the detailed board software from the subrack. Load status.
  • the main control board sends the received overall board software activation progress to the network management server.
  • the progress of the board software is the same as that of the board software. Only the overall board software activation progress from the subrack is reported to the network management system. After the activation is complete, a detailed software activation status of the board software from the subrack is reported to the network management server.
  • the main control board is also responsible for the upgrade task of the board on the main subrack and the upgrade task of the board from the subrack without upgrading the agent board. .
  • the board responsible for the main control board is loaded and activated simultaneously with other boards that are responsible for the upgrade agent board.
  • the board from the subrack no longer relies on the main control board of the main subrack to directly load and activate the board software. Instead, it uses multiple upgrade agent boards to share the upgrade task of the main control board. Distributed board upgrades within the yuan.
  • the distributed board upgrade mode greatly relieves the upgrade pressure of the main control board, which enables the main control board to ensure that it does not affect other non-upgraded device management functions when upgrading large-scale device software. .
  • the distributed upgrade mode can greatly reduce the total number of concurrently upgraded boards on the main control board and the probability of failure due to timeout of the board upgrade. Therefore, the upgrade success rate can be greatly improved.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the board from the subrack no longer relies on the main subrack main control board to directly issue and activate the board software, but uses multiple upgrade agent boards to share the upgrade of the main control board.
  • the task greatly relieves the upgrade pressure of the main control board, and enables the main control board to ensure that it does not affect other non-upgraded device management functions when upgrading large-scale device software.
  • the present invention can also greatly reduce The main control board processes the total number of concurrently upgraded boards and the probability that the board upgrade will time out and cause failures, thus greatly improving the upgrade success rate.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

L'invention concerne un procédé et un appareil pour mettre à niveau une version logicielle, qui sont appliqués à un tableau de commande principal sur un sous-rail maître. Le tableau de commande principal correspond à au moins un tableau unique intermédiaire sur chaque sous-rail esclave, le tableau unique intermédiaire est un tableau unique choisi parmi les tableaux uniques sur le sous-rail esclave, et le tableau unique intermédiaire correspond à au moins un tableau unique sur le sous-rail esclave. Le procédé pour mettre à niveau une version logicielle comprend : une première étape de transfert consistant à transférer un premier logiciel au tableau unique intermédiaire pour mettre à niveau le tableau unique intermédiaire jusqu'à un tableau de mandataire mis à niveau ; et une seconde étape de transfert consistant à transférer un second logiciel au tableau de mandataire mis à niveau pour permettre au tableau de mandataire mis à niveau de fournir le second logiciel au tableau unique correspondant, de façon à réaliser une mise à niveau de logiciel du tableau unique sur le sous-rail esclave.
PCT/CN2014/088627 2014-04-18 2014-10-15 Procédé et appareil pour mettre à niveau une version logicielle Ceased WO2015158120A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410158885.8A CN105024839B (zh) 2014-04-18 2014-04-18 一种软件版本升级的方法及装置
CN201410158885.8 2014-04-18

Publications (1)

Publication Number Publication Date
WO2015158120A1 true WO2015158120A1 (fr) 2015-10-22

Family

ID=54323452

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088627 Ceased WO2015158120A1 (fr) 2014-04-18 2014-10-15 Procédé et appareil pour mettre à niveau une version logicielle

Country Status (2)

Country Link
CN (1) CN105024839B (fr)
WO (1) WO2015158120A1 (fr)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032635A (zh) * 2018-07-16 2018-12-18 新华三技术有限公司 软件升级方法、装置和网络设备
CN110633094A (zh) * 2019-10-22 2019-12-31 宁波三星医疗电气股份有限公司 一种电力终端远程升级方法、主站以及电力系统
CN114448799A (zh) * 2022-01-30 2022-05-06 合肥美的电冰箱有限公司 远程升级方法、装置、主控板、家电设备及存储介质
CN115348172A (zh) * 2022-07-28 2022-11-15 鹿马智能科技(上海)有限公司 边缘网络设备不同部位版本升级的方法、设备及介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105915363A (zh) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 一种过渡升级的方法及装置
CN105915362A (zh) * 2015-11-09 2016-08-31 乐视致新电子科技(天津)有限公司 一种根据版本信息控制系统升级的方法及装置
CN109189449B (zh) * 2018-10-24 2022-02-15 天津津航计算技术研究所 一种基于can总线的多fpga远程升级方法
CN110704081A (zh) * 2019-09-23 2020-01-17 超讯通信股份有限公司 基于5g分布式小基站远程软件升级系统及方法
CN112769589B (zh) * 2019-11-06 2022-03-11 大唐移动通信设备有限公司 一种基站升级方法及装置
CN113835715B (zh) * 2020-06-24 2025-08-22 中兴通讯股份有限公司 机箱板卡、集群系统、软件部署方法及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267344A (zh) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 一种网元单板软件的升级方法及装置
CN101753352A (zh) * 2008-12-12 2010-06-23 华为技术有限公司 加载业务单板的方法、系统和主控单板
WO2010142092A1 (fr) * 2009-06-10 2010-12-16 中兴通讯股份有限公司 Procédé et système d'actualisation d'un logiciel monocarte pour équipement de système de communication
CN102831000A (zh) * 2012-09-11 2012-12-19 华为技术有限公司 系统升级的方法及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277223A (zh) * 2008-05-07 2008-10-01 中兴通讯股份有限公司 一种获取单板软件的方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267344A (zh) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 一种网元单板软件的升级方法及装置
CN101753352A (zh) * 2008-12-12 2010-06-23 华为技术有限公司 加载业务单板的方法、系统和主控单板
WO2010142092A1 (fr) * 2009-06-10 2010-12-16 中兴通讯股份有限公司 Procédé et système d'actualisation d'un logiciel monocarte pour équipement de système de communication
CN102831000A (zh) * 2012-09-11 2012-12-19 华为技术有限公司 系统升级的方法及系统

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032635A (zh) * 2018-07-16 2018-12-18 新华三技术有限公司 软件升级方法、装置和网络设备
CN110633094A (zh) * 2019-10-22 2019-12-31 宁波三星医疗电气股份有限公司 一种电力终端远程升级方法、主站以及电力系统
CN110633094B (zh) * 2019-10-22 2023-06-27 宁波三星医疗电气股份有限公司 一种电力终端远程升级方法、主站以及电力系统
CN114448799A (zh) * 2022-01-30 2022-05-06 合肥美的电冰箱有限公司 远程升级方法、装置、主控板、家电设备及存储介质
CN114448799B (zh) * 2022-01-30 2023-06-30 合肥美的电冰箱有限公司 远程升级方法、装置、主控板、家电设备及存储介质
CN115348172A (zh) * 2022-07-28 2022-11-15 鹿马智能科技(上海)有限公司 边缘网络设备不同部位版本升级的方法、设备及介质
CN115348172B (zh) * 2022-07-28 2024-05-14 鹿马智能科技(上海)有限公司 边缘网络设备不同部位版本升级的方法、设备及介质

Also Published As

Publication number Publication date
CN105024839B (zh) 2019-12-03
CN105024839A (zh) 2015-11-04

Similar Documents

Publication Publication Date Title
WO2015158120A1 (fr) Procédé et appareil pour mettre à niveau une version logicielle
US9231849B2 (en) Apparatus and method for controlling virtual switches
EP3447965B1 (fr) Procédé de gestion d'instances de fonction de réseau et dispositif pertinent
CN105939365B (zh) 主控板用户态从业务板内核态获取数据的方法及装置
US9503322B2 (en) Automatic stack unit replacement system
CN102185718B (zh) 一种系统升级方法及其装置
EP2915285B1 (fr) Ajout de capacités et de paramètres à l'échelle d'un dispositif à des dispositifs à architecture divisée
US9491043B2 (en) Communication path switching device, communication path switching method and communication path switching program
US20150363340A1 (en) Providing multiple synchronous serial console sessions using data buffering
CN112416969B (zh) 分布式数据库中的并行任务调度系统
WO2011116583A1 (fr) Procédé et appareil permettant de mettre en œuvre une gestion de composants de communication multi-protocole
US9928206B2 (en) Dedicated LAN interface per IPMI instance on a multiple baseboard management controller (BMC) system with single physical network interface
CN102769544A (zh) 通信系统中设备业务适配层架构及业务适配层实现方法
USRE46770E1 (en) Computer managing method
CN114565502A (zh) Gpu资源管理方法、调度方法、装置、电子设备及存储介质
CN111092828B (zh) 网络操作方法、装置、设备和存储介质
EP4030776A1 (fr) Procédé et appareil pour déclencher une fonction vomci à partir d'olt pour envoyer des messages omci
US9223834B2 (en) Distributed multi-system management
Sun et al. Republic: Data multicast meets hybrid rack-level interconnections in data center
US8554980B2 (en) Triggered notification
US20150212834A1 (en) Interoperation method of newtork device performed by computing device including cloud operating system in could environment
CN114679349A (zh) 一种数据通信方法及装置
CN107547277A (zh) 一种虚拟化控制板实现方法及网络通信设备
CN108847959A (zh) 服务器监控方法和服务器
CN103685017A (zh) 堆叠系统中报文转发方法、堆叠设备及堆叠系统

Legal Events

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

Ref document number: 14889762

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14889762

Country of ref document: EP

Kind code of ref document: A1