WO2016116013A1 - Procédé et système de mise à niveau d'un logiciel - Google Patents
Procédé et système de mise à niveau d'un logiciel Download PDFInfo
- Publication number
- WO2016116013A1 WO2016116013A1 PCT/CN2016/071033 CN2016071033W WO2016116013A1 WO 2016116013 A1 WO2016116013 A1 WO 2016116013A1 CN 2016071033 W CN2016071033 W CN 2016071033W WO 2016116013 A1 WO2016116013 A1 WO 2016116013A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- upgraded
- service board
- upgrade
- network management
- management server
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Definitions
- This application relates to, but is not limited to, the field of software upgrades, and more particularly to software upgrade methods and systems.
- optical communication systems have become more advanced and efficient. Along with this, the number and types of devices have multiplied, which has made the requirements of the network element control system for optical communication systems used for equipment management and maintenance become higher and higher.
- FIG. 1 is a schematic structural diagram of a device monitoring system in the prior art.
- the device monitoring system usually includes a network management server as a monitoring device, a main control board as a network management server agent, and a service board (such as service boards 1 to 16) as a monitored device.
- a single network element can accommodate hundreds of service boards, which complicates and innovates the maintenance and upgrade of the business board software version on the entire system.
- the workload of the software upgrade of the service board is also heavy.
- the speed of upgrading the entire NE will become very slow, and the omission or incomplete upgrade may occur.
- the network element system brings hidden dangers.
- the software upgrade process requires the network management server and the main control board to transfer the software version to be upgraded to one or more service boards. Usually, a number of service boards are to be upgraded, the number is large, and the upgrade speed will be very slow. The resources of the network management server and the main control board and the data transmission bandwidth are too large and take too long.
- the embodiment of the invention provides a software upgrade method and system, which aims to solve the problem of missing upgrades caused by large resources, long occupation time, large storage space and manual upgrade in the software upgrade process.
- an embodiment of the present invention provides a software upgrade method, where the software upgrade method includes:
- the network management server is used as the controller to control the software upgrade. If the network management server is not detected, the service board that has been successfully upgraded is used as the controller to control the software upgrade.
- the network management server If the network management server is used as the controller and the control software is upgraded, the network management server upgrades the service board to be upgraded in the packet according to the priority of the response returned by the service board to be upgraded.
- the service board that has been successfully upgraded is used as the controller and the software is upgraded, the service board that has been upgraded is upgraded according to the priority of the response returned by the service board to be upgraded.
- the step of upgrading, by the network management server, the service board to be upgraded in the packet according to the priority of the response returned by the service board to be upgraded includes:
- the network management server determines the priority of the response to be sent by the service board to be upgraded, and establishes an iteration upgrade sequence to control the service board to be upgraded.
- the step of upgrading the service board to be upgraded in the network element by using the priority of the service board that is successfully upgraded according to the priority of the service board to be upgraded includes:
- the upgraded service board is used to upgrade the service board to be upgraded based on the priority of the response to the service board to be upgraded.
- the step of upgrading, by the network management server, the service board to be upgraded in the packet according to the priority of the response returned by the service board to be upgraded includes:
- the network management server establishes the software version information base and the service group of the service board to be upgraded, and the service board that has been successfully upgraded is used as the source service board.
- the network management server obtains the software version information of the source service board, and saves the software version information of the source service board in the software version information base;
- the network management server sends the software version information of the source service board to the service board to be upgraded in the packet;
- the network management server determines, according to the response returned by the service board to be upgraded in the packet, whether the service board to be upgraded in the packet needs to be upgraded;
- the network management server controls the service board to be upgraded in the packet to be iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
- the upgrade of the service board to be upgraded by the service board that has been successfully upgraded according to the priority of the response returned by the service board to be upgraded includes:
- the upgraded service board is used as the source service board, and the upgraded software version information is sent by the source service board to the service board to be upgraded in the network element.
- the upgrade service board is iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
- the embodiment of the present invention further provides a software upgrade system, where the software upgrade system includes a network management server and a service board, where
- the service board includes:
- the obtaining module is configured to obtain the information of the network management server. If the network management server is detected, the network management server is used as the controller to control the software upgrade. If the network management server is not detected, the service board that has been successfully upgraded is used as the controller. software upgrade;
- the service board upgrade module is configured to upgrade the service board to be upgraded in the NE according to the priority of the response returned by the service board to be upgraded.
- the network management server includes:
- the network management upgrade module is configured to: the network management server is used as the controller to upgrade the service board to be upgraded in the group according to the priority of the response returned by the service board to be upgraded.
- the network management upgrade module is configured to: when the network management server is used as a controller, and the control software is upgraded, the iterative upgrade sequence is established according to the priority order of the received service board to be upgraded, and the service board to be upgraded is controlled. upgrade.
- the service board upgrade module is configured to: the service board that has been successfully upgraded is used as a controller, and when the software is upgraded, the iterative upgrade order is established according to the priority order of the received response board to be upgraded. Upgrade the service board to be upgraded.
- the network management upgrade module includes:
- the service unit is set up to establish a service version of the software version information base and the service board to be upgraded, and the service board that has been successfully upgraded is used as the source service board.
- An obtaining unit configured to obtain software version information of the source service board, and save the software version information of the source service board in a software version information base;
- the first sending unit is configured to send the upgraded software version information of the source service board to the to-be-upgraded service board in the packet;
- a first determining unit configured to determine, according to the response returned by the service board to be upgraded in the packet, whether the service board to be upgraded in the packet needs to be upgraded
- the network management upgrade unit is configured to perform an iterative upgrade according to the priority order of the response to be updated by the service board to be upgraded if the service board to be upgraded in the packet needs to be upgraded.
- the service board upgrade module includes:
- the second sending unit is configured to: the service board that has been successfully upgraded is used as a controller, and the software version information of the upgraded version is sent to the service board to be upgraded in the network element when the software is upgraded;
- the second determining unit is configured to determine, according to the response returned by the service board to be upgraded in the network element, whether the service board to be upgraded needs to be upgraded;
- the service board upgrade unit is configured to perform an iterative upgrade on the upgrade service board according to the priority of the response returned by the service board to be upgraded in the network element, if the service board to be upgraded needs to be upgraded.
- the embodiment of the invention further provides a software upgrade method, which is applied to a service board, and includes:
- the service board detects the network management server information
- the service board performs software upgrade under the control of the network management server
- the service board upgrades the service board to be upgraded in the NE according to the priority of the response returned by the service board to be upgraded.
- the service board If the network management server is not detected, and the service board is the service board to be upgraded, the service board performs software upgrade under the control of the service board that has been successfully upgraded in the network element.
- the embodiment of the present invention further provides a service board, including: a communication unit and a processor, where the communication unit is configured to detect network management server information, and the processor is configured to: if the network management server is detected, control of the network management server The software upgrade is performed. If the network management server is not detected and the service board is a service board that has been successfully upgraded, the service board to be upgraded in the NE is performed according to the priority of the response returned by the service board to be upgraded. Upgrade, if the network management server is not detected, and the service board is the service board to be upgraded, the software upgrade is performed under the control of the service board that has been successfully upgraded in the NE.
- the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, the software upgrade method being implemented when the computer executable instructions are executed.
- the information about the network management server is obtained. If the network management server is detected, the network management server is used as the controller to control the software upgrade; if the network management server is not detected, the service board that has been successfully upgraded is used as the service board. The controller and the control software are upgraded. If the network management server is used as the controller and the software is upgraded, the network management server upgrades the service board to be upgraded in the group according to the priority of the response returned by the service board to be upgraded. If the upgraded service board is used as the controller and the software is upgraded, the service board that has been upgraded is upgraded according to the priority of the response returned by the service board to be upgraded.
- the software upgrade method provided by the embodiment of the present invention saves system resources, does not occupy the central processing unit (CPU) and storage space of the network management server, optimizes management version information, improves the upgrade speed of the multi-service board in the network element, and simplifies The manual operation of the software upgrade avoids the omissions and errors caused by human factors, and realizes the automatic upgrade function of the business board.
- CPU central processing unit
- FIG. 1 is a schematic structural diagram of a device monitoring system in the prior art
- FIG. 2 is a schematic flowchart of a software upgrade method according to an embodiment of the present invention.
- FIG. 3 is a step of upgrading the service board to be upgraded in the packet according to the priority order of the response returned by the network management server according to the priority of the response returned by the service board to be upgraded.
- step S300 Schematic diagram of the first embodiment of the step of upgrading the service board
- step S200 is a step of upgrading the service board to be upgraded in the packet according to the priority order of the response returned by the network management server according to the priority of the response returned by the service board to be upgraded, as described in FIG. Schematic diagram of the second embodiment of step S200);
- step S300 Schematic diagram of the second embodiment of the step of upgrading the service board
- FIG. 7 is a schematic diagram of functional modules of a software upgrade system according to an embodiment of the present disclosure.
- FIG. 8 is a schematic diagram of functional modules of the network management upgrade module 20 of FIG. 7;
- FIG. 9 is a schematic diagram of functional modules of the service board upgrade module 30 of FIG. 7.
- the embodiment of the invention provides a software upgrade method and system, and the software upgrade system includes a network management server and a service board.
- the network management server includes a software version information base and a network management upgrade module.
- the software version information base is configured to store software version information of all service boards in the network element, and simultaneously manage the service board software version.
- the network management server establishes a software version information base and does not need to store the actual software upgrade program. In the software version information repository, you only need to record the existing software version information of the service board to be upgraded.
- the software version information is identified by a specific identifier, and the software version is determined by the comparison of the specific identifiers. After a service board in the service board to be upgraded in the NE is upgraded, it is updated in the software version information base.
- the network management server also supports grouping multiple service boards, each of which contains several service boards of the same type or different types.
- the service board of the same type in the group is generally required to be upgraded to the new version of the service board, or you want to force a rollback to a specific version of the service board.
- the network management upgrade module is configured to manage message communication with the service board during the upgrade process (for example, receiving the version information of the service board, sending a service board upgrade command, etc.), comparing the current version of the service board software with the version that is desired to be upgraded, and the like. .
- the network management module of the network management server can notify the other service boards to be upgraded that the new software version can be upgraded after comparing the upgraded service boards and software versions of other service boards.
- the network management server and the main control board upgrade the other services in turn by the preferred order of returning response information.
- the board makes the upgrade more efficient until the business boards in the group are upgraded.
- the network management upgrade module also supports all the same types of service boards in the mandatory group to fall back to a specific software version according to the preferred order of returning response information.
- the service board includes a service board upgrade module and an upgrade execution module.
- the service board upgrade module is configured to manage message communication with the network management server or other service boards during the upgrade process, and compare the software versions of the service board and the adjacent service boards.
- the service board upgrade module supports the setting of the automatic update function, and determines whether to receive the update reminder sent by the network management server, or whether it is automatically updated to the software version of other service boards in the group; and when the network management server does not guide the update, the service board is enabled.
- the automatic update function is used, the software version information sent from the adjacent service board in the same network element is automatically updated or prompted to update the user with a new version that can be updated.
- the upgrade execution module is configured to perform a software upgrade operation, and Upgrade the rollback operation of the service board software.
- FIG. 2 is a schematic flowchart of a software upgrade method according to an embodiment of the present invention.
- the software upgrade method includes:
- Step S100 Obtain the information of the network management server. If the network management server is detected, the network management server is used as the controller to control the software upgrade. If the network management server is not detected, the service board that has been successfully upgraded is used as the controller to control the software upgrade.
- the service board obtains the network management server information. If the network management server is detected, the network management server acts as the controller to control the software upgrade. If the network management server is not detected, the service board that has been successfully upgraded serves as the controller to control the software upgrade.
- the network management server establishes a software version information base and a service group of the service board to be upgraded.
- the software version information database only needs to record the existing software version information of a service board, and does not need to store the actual software upgrade program.
- the software version information is provided with an identifier for software version detection. According to the identifier, the new and old versions of the software can be identified, and the software version can be compared to determine which software version is relatively new and which software version is relatively old.
- the network management server After each upgrade of a service board in the NE, the network management server updates the software version information database and the software version information of the service board.
- the network management server supports the grouping of multiple service boards. Each group can contain several service boards of the same type. If it is the same type of service board in the group, it is generally expected to be upgraded to the new version, or you want to force the rollback to A specific version.
- Step S200 If the network management server is used as the controller and the control software is upgraded, the network management server upgrades the service board to be upgraded in the packet according to the priority of the response returned by the service board to be upgraded.
- the network management server sends the software version information of the upgraded service board to the service board to be upgraded in the group; if the network management server receives the request to be upgraded, the service board is upgraded. If the service board of the upgraded service board is the same type of service board as the upgraded service board, and the software version of the upgraded service board is newer than the software version of the service board to be upgraded, the network management server receives the service according to the received service.
- the upgrade service board returns the priority of the response, establishes an iterative upgrade sequence, and controls the service board to be upgraded for upgrade.
- Step S300 If the service board that has been successfully upgraded is used as the controller and the control software is upgraded, the service board that has been upgraded is upgraded according to the priority of the response returned by the service board to be upgraded.
- the service board that has been successfully upgraded will send the software version information to the service board to be upgraded in the NE. If the service board to be upgraded is updated, the software version of the service board that has been successfully upgraded is the same as the software version of the service board to be upgraded. The service board that has been upgraded successfully sets the iteration upgrade order based on the priority of the response to the service board to be upgraded.
- the software upgrade method provided in this embodiment saves system resources, does not occupy the CPU and storage space of the server, optimizes management software version information, improves the upgrade speed of the multi-service board in the network element, simplifies the manual operation of the software upgrade, and avoids human factors.
- the omissions and errors have enabled the automated upgrade of the business board.
- FIG. 3 is a schematic flowchart of the first embodiment of step S200 in FIG. 2.
- the step S200 includes:
- Step S200A If the network management server is detected, the network management server is used as the controller to control the software upgrade, and the network management server establishes an iterative upgrade sequence according to the priority order of the received service board to be upgraded, and controls the service board to be upgraded. .
- the network management server sends the software version information of the successfully upgraded service board to the service board to be upgraded in the group.
- the service board to be upgraded determines whether the service board and the upgraded service board are of the same type according to the software version information sent by the network management server. If the software version of the service board that is successfully upgraded is newer than the software version of the service board to be upgraded, then the software version of the service board is the same as that of the upgraded service board. Return the message to the network management server and request the upgrade; if not (that is, not the same type of service board, or the software version of the service board to be upgraded is newer than the software version of the service board that has been upgraded successfully), the network management server is sent off. The message, do not respond.
- the network management server establishes an iteration upgrade sequence based on the priority of the upgrade request from the service board to be upgraded, and controls the service board to be upgraded.
- the network management server if the network management server is detected, the network management server is used as a controller to control the software upgrade, and the network management server establishes an iterative upgrade sequence according to the priority order of the response of the service board to be upgraded received in the packet. Control the upgrade of the service board to be upgraded, which enhances the reliability of the upgrade and improves the upgrade speed of the service board.
- FIG. 4 is a schematic flowchart of the first embodiment of step S300 in FIG. 2.
- the step S300 includes:
- Step S300A If the service board that has been successfully upgraded is used as the controller and the control software is upgraded, the service board that has been successfully upgraded establishes an iterative upgrade order according to the priority order of the received service board to be upgraded, and controls the service to be upgraded. The board is upgraded.
- the software version of the upgraded service board is sent to the service board to be upgraded. Whether the service board that has been successfully upgraded is the same type of service board, and whether the software version of the service board is newer than the software version of the successfully upgraded service board. If the software version of the service board that has been successfully upgraded is newer than the software version of the service board to be upgraded, the message is returned to the upgraded service board and the upgrade is requested. If not (that is, not the same type) If the software version of the service board to be upgraded is newer than the software version of the service board that has been upgraded successfully, the message sent by the successfully upgraded service board is discarded, and no response is received.
- the service boards that have been upgraded are upgraded based on the priority of the upgrade request from the service board to be upgraded.
- the service board that has been successfully upgraded is used as the controller, and the software is upgraded.
- the service board that has been successfully upgraded returns a response according to the received service board to be upgraded.
- the priority is set, and the iteration upgrade order is set up to control the upgrade of the service board to be upgraded. This improves the reliability of the upgrade and improves the upgrade speed of multiple service boards in the NE.
- FIG. 5 is a schematic flowchart of a second embodiment of the step S200 in FIG. 2.
- the software upgrade method provided in this embodiment is performed on the basis of the first embodiment, and the step S200 includes:
- Step S210 The network management server establishes a software version information base and a service group to be upgraded, and the service board that has been successfully upgraded is used as the source service board.
- the network management server sets up the software version information base and the service group of the service board to be upgraded based on all the service boards to be upgraded, and uses one of the successfully upgraded service boards as the source service board.
- Step S220 The network management server obtains the software version information of the source service board, and saves the software version information of the source service board in the software version information base.
- the network management server obtains the software version information of the source service board, and saves the software version information of the source service board in the software version information base, and updates the software version information of the software version information base in real time, so that the software version information is obtained.
- the software version information in the library is kept up to date.
- Step S230 The network management server sends the software version information of the source service board to the service board to be upgraded in the packet.
- the network management server sends the software version information of the source service board to the service board to be upgraded in the packet.
- Step S240 Determine whether the service board to be upgraded in the packet needs to be upgraded according to the response returned by the service board to be upgraded in the packet.
- the network management server may determine, according to the response information returned by the service board to be upgraded in the packet, whether the service board to be upgraded in the packet needs to be upgraded, for example, if receiving response information returned by another service board to be upgraded, If the service board to be upgraded does not need to be upgraded, the service board to be upgraded does not need to be upgraded. Or, the software version information database is searched for the specific version of the software requirements in the response information returned by the service board to be upgraded in the packet, and the corresponding software version information is found.
- Step S250 If the service board to be upgraded in the packet needs to be upgraded, the service board to be upgraded in the packet is controlled to be iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
- the network management server determines the board to be upgraded according to the response returned by the service board to be upgraded in the packet, and upgrades the board to be upgraded in the packet according to the priority of the response returned by the service board to be upgraded. Iteratively upgrades in an orderly manner.
- the upgrade mode of the service board to be upgraded in the packet may be an iterative upgrade mode. For example, the upgrade software in the source service board is first sent to one service board in the service board to be upgraded (that is, the second service board). The upgrade is performed. If the upgrade of the second service board is successful, the service board (the source service board and the second service board) that have been successfully upgraded are available in the group. The source service board and the second service are available.
- the board also sends the upgrade software to other service boards to be upgraded in the group; the second round of upgrade is started, and the other two service boards (ie, the third service board and the fourth service board) are upgraded. If the upgrade is successful, the group has The four service boards can be used as the sending end of the upgrade software. After the third round of upgrade, you can upgrade the four service boards (the fifth service board, the sixth service board, the seventh service board, and the eighth service board). The upgrade process and so on. By iteratively upgrading the business boards within the group, it actually goes through about 6 to 8 rounds of upgrades. It can complete the upgrade of similar business boards in the entire group. Through the iterative upgrade, the upgrade speed of multi-service boards in the group is improved.
- the software upgrade method provided in this embodiment improves the upgrade speed of the multi-service boards in the group by performing an iterative upgrade in an orderly manner according to the priority of the response returned by the service board to be upgraded.
- FIG. 6 is a schematic diagram of a refinement process of the second embodiment of the step S300 in FIG. 2 .
- the software upgrade method provided in this embodiment includes:
- Step S310 The service board that has been successfully upgraded is used as the source service board, and the upgraded software version information is sent by the source service board to the service board to be upgraded in the network element.
- the software upgrade system sends the upgraded service board as the source service board.
- the source service board sends the upgraded software version information to the service board to be upgraded in the NE.
- Step S320 Determine whether the service board to be upgraded needs to be upgraded according to the response returned by the service board to be upgraded in the network element.
- the software upgrade system determines, according to the response information returned by the service board to be upgraded in the network element, whether the service board to be upgraded in the network element needs to be upgraded, for example, if receiving response information returned by another service board to be upgraded, If the service board to be upgraded does not need to be upgraded, the service board to be upgraded does not need to be upgraded.
- Step S330 If the service board to be upgraded needs to be upgraded, the upgrade service board is to be iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
- the upgrade mode is iteratively upgraded according to the priority of the response returned by the board to be upgraded.
- the upgrade mode of the upgraded service board can be an iterative upgrade.
- the source service board sends the upgrade software to one of the other service boards (that is, the second service version) to be upgraded. If the second service board is upgraded. If the service board is successful, the service board (the source service board and the second service board) that have been upgraded successfully are sent to the NE through the source service board and the second service board.
- Other service boards to be upgraded start the second round of upgrades and upgrade the other two service boards (ie, the third service board and the fourth service board).
- the upgrade is successful, there are four service boards in the network element that can be upgraded.
- the sender of the software; the third round of upgrades can be upgraded, and the four service boards (the fifth service board, the sixth service board, the seventh service board, and the eighth service board) can be upgraded at the same time;
- the upgrade process is the same.
- the iterative upgrade method improves the upgrade speed of multiple service boards in the NE.
- the software upgrade method provided in this embodiment is upgraded in an orderly manner according to the priority of the response returned by the service board to be upgraded, thereby improving the upgrade speed of the multi-service board in the network element.
- FIG. 7 is a schematic diagram of a function module of a software upgrade system according to an embodiment of the present invention.
- the software upgrade system includes a network management server and a service board, where
- the service board includes:
- the acquiring module 10 is configured to obtain the information of the network management server, wherein if the network management server is detected, the network management server is used as a controller to control the software upgrade; if the network management server is not detected, the service board that has been successfully upgraded is used as the controller. Control software upgrades;
- the service board upgrade module 30 is configured to: upgrade the service board to be upgraded in the network element according to the priority of the response returned by the service board to be upgraded;
- the network management server includes:
- the network management system upgrade module 20 is configured to: the network management server is used as a controller, and the software to be upgraded in the group is upgraded according to the priority of the response returned by the service board to be upgraded.
- the acquiring module 10 of the service board obtains the information of the network management server. If the network management server is detected, the network management server acts as the controller to control the software upgrade. If the network management server is not detected, the service board that has been successfully upgraded serves as the controller, and the control software is used. upgrade.
- the network management server establishes a software version information base and a service group of the service board to be upgraded.
- the software version information database only needs to record the existing software version information of a service board, and does not need to store the actual software upgrade program.
- the software version information is provided with an identifier for software version detection. According to the identifier, the new and old versions of the software can be identified, and the software version can be compared to determine which software version is relatively new and which software version is relatively old.
- the network management server After each upgrade of a service board in the NE, the network management server updates the software version information database and the software version information of the service board.
- the network management server supports grouping of multiple service boards. Each group can contain several service boards of the same type. If it is the same type of service board in the group, it is generally I hope to upgrade to a new version, or I want to force a rollback to a specific version.
- the service board upgrade module 30 of the service board that has been upgraded successfully sends the software version information of the service board to the service board to be upgraded in the NE; If the service board to be upgraded is updated, the software version of the service board that has been successfully upgraded is the same as the software version of the service board to be upgraded.
- the iteration upgrade sequence is established according to the priority of the response to the service board to be upgraded, and the service board to be upgraded is upgraded.
- the network management module 20 of the network management server sends the software version information of the successfully upgraded service board to the service board to be upgraded in the packet;
- the service upgrade request message is determined that the service board to be upgraded is the same type of service board as the service board that has been successfully upgraded, and the software version of the successfully upgraded service board is newer than the software version of the service board to be upgraded, and according to the received
- the service board to be upgraded returns the priority of the response, and the iteration upgrade sequence is established to control the service board to be upgraded.
- the software upgrade system provided in this embodiment saves system resources, does not occupy the CPU and storage space of the server, optimizes management version information, improves the upgrade speed of multiple service boards in the network element, simplifies the manual operation of the software upgrade, and avoids human factors. Omissions and errors have enabled the automated upgrade of the business board.
- FIG. 8 is a schematic diagram of functional modules of the network management upgrade module 20 of FIG. 7.
- the network management system upgrade module 20 is configured to: when the network management server is used as a controller, when the software is upgraded, the iterative upgrade sequence is established according to the priority order of the received service board to be upgraded, and the control is to be upgraded.
- the business board is upgraded.
- the network management upgrade module 20 of the network management server sends the software version information of the successfully upgraded service board to the service board to be upgraded in the packet; the service board to be upgraded determines the service board that has been successfully upgraded according to the software version information sent by the network management server. Whether it is the same type of service board, and whether the software version of the service board is the same as the software version of the service board that has been successfully upgraded. If the service board of the same type of service board is upgraded, the software version of the service board that has been upgraded is better than that of the service board to be upgraded. If the software version is new, the message is returned to the network management server and the upgrade is requested.
- the software version of the service board to be upgraded is newer than the software version of the service board that has been upgraded successfully. Discard the message sent by the network management server and do not respond.
- 20 network management upgrade modules of the network management server The iteration upgrade sequence is set up according to the priority of the upgrade request to be upgraded.
- the service board to be upgraded is upgraded.
- the network management server if the network management server is detected, the network management server is used as a controller to control the software upgrade, and the network management server establishes an iterative upgrade sequence according to the priority order of the response of the service board to be upgraded received in the packet. Control the upgrade of the service board to be upgraded, which enhances the reliability of the upgrade and improves the upgrade speed of multiple service boards in the NE.
- FIG. 9 is a schematic diagram of functional modules of the service board upgrade module 30 of FIG. 7.
- the service board upgrade module 30 of the service board that has been successfully upgraded is configured as follows: The service board that has been successfully upgraded is used as the controller. When the software is upgraded, the response is returned according to the priority of the response returned by the service board to be upgraded. The iteration upgrade sequence is set up to control the upgrade of the service board to be upgraded in the NE.
- the service board upgrade module 30 sends the software version information of the successfully upgraded service board to the service board to be upgraded in the network element.
- the service board to be upgraded determines that it has been successfully upgraded according to the software version information sent by the successfully upgraded service board. Whether the service board of the same type of service board is the same as the software version of the service board that has been successfully upgraded. If the software version of the service board of the same type is upgraded, the software version of the service board is upgraded. If the software version of the service board is new, the service board of the service board is upgraded. If the service board is not upgraded, the software version of the service board to be upgraded is higher than that of the service board. If the software version is new, the message sent by the successfully upgraded service board is discarded, and no response is made.
- the service board upgrade module 30 of the service board that has been upgraded successfully establishes an iterative upgrade sequence according to the priority order of the upgrade request returned by the service board to be upgraded, and controls the service board to be upgraded to be upgraded.
- the service board that has been successfully upgraded is used as the controller, and the software is upgraded.
- the service board that has been successfully upgraded returns a response according to the received service board to be upgraded.
- the priority is set, and the iteration upgrade order is set up to control the upgrade of the service board to be upgraded. This improves the reliability of the upgrade and improves the upgrade speed of multiple service boards in the NE.
- FIG. 8 is a schematic diagram of functional modules of the network management upgrade module 20 of FIG. 7. As shown in FIG. 8, the network management upgrade module 20 includes:
- the establishing unit 21 is configured to establish a software version information base and a service group to be upgraded, and use the service board that has been successfully upgraded as the source service board;
- the obtaining unit 22 is configured to obtain the software version information of the source service board, and save the software version information of the source service board in the software version information base;
- the first sending unit 23 is configured to send the upgraded software version information of the source service board to the to-be-upgraded service board in the packet;
- the first determining unit 24 is configured to determine, according to the response returned by the service board to be upgraded in the packet, whether the service board to be upgraded in the packet needs to be upgraded;
- the network management unit 25 is configured to perform an iterative upgrade according to the priority order of the response to be updated by the service board to be upgraded if the service board to be upgraded in the packet needs to be upgraded.
- the network management server establishing unit 21 establishes a software version information base and a service group to be upgraded according to all the service boards to be upgraded, and uses one of the upgraded service boards as the source service board.
- the acquiring unit 22 of the network management server obtains the software version information of the source service board, and saves the software version information of the source service board in the software version information base, and updates the software version information of the software version information base in real time, thereby Keep the software version information in the software version repository up to date.
- the first sending unit 23 of the network management server sends the software version information of the source service board to the service board to be upgraded in the packet by means of the group sending information.
- the first determining unit 24 of the network management server may determine, according to the response information returned by the service board to be upgraded in the packet, whether the service board to be upgraded in the packet needs to be upgraded, for example, if other service boards to be upgraded are received, The response information indicates that the other service boards to be upgraded need to be upgraded. If the other service boards to be upgraded do not receive the response, the other service boards to be upgraded do not need to be upgraded. Or, the software version information database is searched for the specific version of the software requirements in the response information returned by the service board to be upgraded in the packet, and the corresponding software version information is found.
- the network management unit 25 of the network management server determines the board to be upgraded according to the response returned by the service board to be upgraded in the packet, and upgrades the board to be upgraded in the group.
- the returned response priorities are iteratively upgraded in an orderly manner.
- the manner in which the network management server upgrades the service board to be upgraded in the packet may be an iterative upgrade manner, for example, first.
- the upgrade software in the source service board is sent to one of the other service boards (that is, the second service version) in the service board to be upgraded. If the second service board is upgraded successfully, there are two in the group.
- the upgraded service board (the source service board and the second service board) can be used to send the upgrade software to other service boards to be upgraded in the group through the source service board and the second service board.
- the second round of upgrade is started and upgraded.
- the other two service boards (the third service board and the fourth service board), if the upgrade is successful, there are four service boards in the group that can be used as the sender of the upgrade software; when the third round of upgrade is started, four services can be upgraded at the same time.
- the board is the fifth service board, the sixth service board, the seventh service board, and the eighth service board.
- the subsequent upgrade process is similar.
- the software upgrade system provided in this embodiment improves the upgrade speed of the multi-service boards in the group by performing an orderly upgrade according to the priority of the response returned by the service board to be upgraded.
- FIG. 9 is a schematic diagram of functional modules of the service board upgrade module 30 of FIG. 7. As shown in FIG. 9, the service board upgrade module 30 includes:
- the second sending unit 31 is configured to: send the upgraded software version information to the service board to be upgraded in the network element when the software upgrade is performed by using the upgraded service board as the controller;
- the second determining unit 32 is configured to: determine, according to the response returned by the service board to be upgraded in the network element, whether the service board to be upgraded needs to be upgraded;
- the service board upgrade unit 33 is configured to: if the service board to be upgraded needs to be upgraded, perform an iterative upgrade on the upgrade service board according to the priority of the response returned by the service board to be upgraded in the network element.
- the second sending unit 31 of the successfully upgraded service board sends the upgraded software version information to the to-be-upgraded service board in the network element by using the group information.
- the second determining unit 32 of the upgraded service board determines whether the service board to be upgraded in the network element needs to be upgraded according to the response information returned by the service board to be upgraded in the network element, for example, if other services are received. If the response information returned by the service board is upgraded, the other service boards to be upgraded need to be upgraded. If the service board is not received, the other service boards to be upgraded do not need to be upgraded.
- the service board upgrade unit 33 determines the board to be upgraded according to the response of the service board to be upgraded, and upgrades the board to be upgraded.
- the upgrade mode is iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
- the upgrade mode of the upgraded service board can be an iterative upgrade.
- the upgrade software in the source service board is sent to one of the other service boards (that is, the second service version) in the service board to be upgraded.
- the service board (the source service board and the second service board) that have been successfully upgraded are available in the NE.
- the upgrade software can be sent to the source service board and the second service board at the same time. If the upgrade is successful, there are four service boards in the NE.
- the sending end of the upgrade software you can upgrade the four service boards (the fifth service board, the sixth service board, the seventh service board, and the eighth service board) at the same time.
- the subsequent upgrade process and so on. you can actually upgrade the same service boards in the entire NE by experiencing about 6 to 8 rounds of upgrades.
- the iterative upgrade method improves the upgrade speed of multiple service boards in the NE.
- the software upgrade system provided in this embodiment improves the upgrade speed of multiple service boards in the network element by performing an orderly upgrade according to the priority of the response returned by the service board to be upgraded.
- the embodiment of the present invention further provides a software upgrade method, which is applied to a service board, and includes: the service board detects network management server information; if the network management server is detected, the service board performs software upgrade under the control of the network management server; When the network management server is detected, and the service board is a service board that has been successfully upgraded, the service board upgrades the service board to be upgraded in the NE according to the priority of the response returned by the service board to be upgraded in the NE; When the network management server is not detected, and the service board is the service board to be upgraded, the service board performs software upgrade under the control of the service board that has been successfully upgraded in the network element.
- the embodiment of the invention further provides a service board, comprising: a communication unit and a processor, the communication unit is configured to detect network management server information, and the processor is configured to: if the network management server is detected, under the control of the network management server After the software upgrade is performed, if the network management server is not detected and the service board is a successfully upgraded service board, upgrade the service board to be upgraded in the NE according to the priority of the response returned by the service board to be upgraded. If the network management server is not detected, and the service board is the service board to be upgraded, the software upgrade is performed under the control of the service board that has been successfully upgraded in the network element.
- the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, the software upgrade method being implemented when the computer executable instructions are executed.
- each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
- the invention is not limited to any specific form of combination of hardware and software.
- the embodiment of the invention provides a software upgrade method and system, which saves system resources, does not occupy the CPU and storage space of the server, optimizes management version information, improves the upgrade speed of multiple service boards in the network element, simplifies the manual operation of software upgrade, and avoids The omissions and errors caused by human factors have realized the automatic upgrade function of the business board.
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 se rapporte à un procédé de mise à niveau d'un logiciel, selon lequel : des informations concernant un serveur de gestion de réseau sont acquises, si le serveur de gestion de réseau est détecté, il sert de dispositif de commande de la mise à niveau d'un logiciel, tandis que, si le serveur de gestion de réseau n'est pas détecté, une carte de service qui a été correctement mise à niveau sert de dispositif de commande de la mise à niveau du logiciel ; si le serveur de gestion de réseau sert de dispositif de commande de la mise à niveau du logiciel, il met à niveau une carte de service à mettre à niveau dans un sous-groupe selon l'ordre de priorité d'une réponse renvoyée par la carte de service à mettre à niveau ; et, si la carte de service qui a été correctement mise à niveau sert de dispositif de commande de la mise à niveau du logiciel, elle met à niveau une carte de service à mettre à niveau dans un élément de réseau selon l'ordre de priorité d'une réponse renvoyée par la carte de service à mettre à niveau. Le procédé économise les ressources du système, il n'occupe ni CPU ni espace de mémorisation d'un serveur, et il accélère la mise à niveau d'une pluralité de cartes de service dans un élément de réseau, ce qui permet de mettre en œuvre une fonction de mise à niveau automatique des cartes de service.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510026028.7 | 2015-01-19 | ||
| CN201510026028.7A CN105871568B (zh) | 2015-01-19 | 2015-01-19 | 软件升级方法和系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016116013A1 true WO2016116013A1 (fr) | 2016-07-28 |
Family
ID=56416426
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/071033 Ceased WO2016116013A1 (fr) | 2015-01-19 | 2016-01-15 | Procédé et système de mise à niveau d'un logiciel |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105871568B (fr) |
| WO (1) | WO2016116013A1 (fr) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110187903A (zh) * | 2019-04-19 | 2019-08-30 | 视联动力信息技术股份有限公司 | 一种升级方法及装置 |
| CN110308914A (zh) * | 2018-03-27 | 2019-10-08 | 广东神马搜索科技有限公司 | 升级处理方法、装置、设备、系统及计算机可读存储介质 |
| CN110502256A (zh) * | 2018-05-18 | 2019-11-26 | 佛山市顺德区美的电热电器制造有限公司 | 一种软件升级方法、终端及存储介质 |
| CN112527340A (zh) * | 2019-09-17 | 2021-03-19 | 青岛海尔洗衣机有限公司 | 用于家用电器的程序升级控制方法 |
| CN113986324A (zh) * | 2021-10-25 | 2022-01-28 | 烽火通信科技股份有限公司 | 一种框式设备板卡软件增量升级方法及系统 |
| CN114465894A (zh) * | 2021-12-28 | 2022-05-10 | 湖北华中光电科技有限公司 | 一种激光告警设备的软件升级方法 |
| CN115904441A (zh) * | 2022-12-01 | 2023-04-04 | 深圳供电局有限公司 | 一种电能终端软件升级的管理方法及系统 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109032644A (zh) * | 2018-07-27 | 2018-12-18 | 蔚来汽车有限公司 | 充电桩、充电桩群的升级方法和装置、控制器及介质 |
| CN113986299B (zh) * | 2021-11-08 | 2025-09-02 | 阳光电源股份有限公司 | 一种设备升级方法、装置、待升级设备及系统 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102185754A (zh) * | 2011-01-30 | 2011-09-14 | 广东佳和通信技术有限公司 | 交换机系统中板卡的升级方法 |
| WO2012050590A1 (fr) * | 2010-10-16 | 2012-04-19 | Hewlett-Packard Development Company, L.P. | Agent matériel pour dispositif |
| CN103533027A (zh) * | 2013-09-22 | 2014-01-22 | 瑞斯康达科技发展股份有限公司 | 一种分布式设备及软件版本兼容性维护的方法、系统 |
| CN104077152A (zh) * | 2013-03-27 | 2014-10-01 | 广东威创视讯科技股份有限公司 | 一种嵌入式系统批量升级的方法及装置 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100461699C (zh) * | 2006-06-28 | 2009-02-11 | 华为技术有限公司 | 一种设备自动化升级的方法 |
| CN101267336B (zh) * | 2007-03-15 | 2011-05-11 | 中兴通讯股份有限公司 | 软件版本管理方法及系统 |
| CN101267344B (zh) * | 2008-04-25 | 2011-07-13 | 中兴通讯股份有限公司 | 一种网元单板软件的升级方法及装置 |
| US8316120B2 (en) * | 2010-02-02 | 2012-11-20 | Microsoft Corporation | Applicability detection using third party target state |
-
2015
- 2015-01-19 CN CN201510026028.7A patent/CN105871568B/zh active Active
-
2016
- 2016-01-15 WO PCT/CN2016/071033 patent/WO2016116013A1/fr not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012050590A1 (fr) * | 2010-10-16 | 2012-04-19 | Hewlett-Packard Development Company, L.P. | Agent matériel pour dispositif |
| CN102185754A (zh) * | 2011-01-30 | 2011-09-14 | 广东佳和通信技术有限公司 | 交换机系统中板卡的升级方法 |
| CN104077152A (zh) * | 2013-03-27 | 2014-10-01 | 广东威创视讯科技股份有限公司 | 一种嵌入式系统批量升级的方法及装置 |
| CN103533027A (zh) * | 2013-09-22 | 2014-01-22 | 瑞斯康达科技发展股份有限公司 | 一种分布式设备及软件版本兼容性维护的方法、系统 |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110308914A (zh) * | 2018-03-27 | 2019-10-08 | 广东神马搜索科技有限公司 | 升级处理方法、装置、设备、系统及计算机可读存储介质 |
| CN110308914B (zh) * | 2018-03-27 | 2023-08-22 | 阿里巴巴(中国)有限公司 | 升级处理方法、装置、设备、系统及计算机可读存储介质 |
| CN110502256A (zh) * | 2018-05-18 | 2019-11-26 | 佛山市顺德区美的电热电器制造有限公司 | 一种软件升级方法、终端及存储介质 |
| CN110187903A (zh) * | 2019-04-19 | 2019-08-30 | 视联动力信息技术股份有限公司 | 一种升级方法及装置 |
| CN112527340A (zh) * | 2019-09-17 | 2021-03-19 | 青岛海尔洗衣机有限公司 | 用于家用电器的程序升级控制方法 |
| CN113986324A (zh) * | 2021-10-25 | 2022-01-28 | 烽火通信科技股份有限公司 | 一种框式设备板卡软件增量升级方法及系统 |
| CN114465894A (zh) * | 2021-12-28 | 2022-05-10 | 湖北华中光电科技有限公司 | 一种激光告警设备的软件升级方法 |
| CN114465894B (zh) * | 2021-12-28 | 2023-09-12 | 湖北华中长江光电科技有限公司 | 一种激光告警设备的软件升级方法 |
| CN115904441A (zh) * | 2022-12-01 | 2023-04-04 | 深圳供电局有限公司 | 一种电能终端软件升级的管理方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105871568B (zh) | 2020-04-28 |
| CN105871568A (zh) | 2016-08-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016116013A1 (fr) | Procédé et système de mise à niveau d'un logiciel | |
| US11687488B2 (en) | Directory deletion method and apparatus, and storage server | |
| WO2020024405A1 (fr) | Procédé, dispositif, serveur et support de stockage de test basés sur une coordination distribuée | |
| CN109862101B (zh) | 跨平台应用启动方法、装置、计算机设备和存储介质 | |
| US11449350B2 (en) | Systems and methods for automatically updating compute resources | |
| CN110225078B (zh) | 一种应用服务更新方法、系统及终端设备 | |
| CN111506388B (zh) | 容器性能探测方法、容器管理平台及计算机存储介质 | |
| US9098607B2 (en) | Writing and analyzing logs in a distributed information system | |
| CN104360952B (zh) | 一种软件测试系统及方法 | |
| CN113434283B (zh) | 服务调度方法及装置、服务器、计算机可读存储介质 | |
| CN111258726B (zh) | 任务调度方法和装置 | |
| CN108549542A (zh) | 一种文件部署方法、装置及设备 | |
| CN113835844A (zh) | 一种容器集群的管理方法、装置及云计算平台 | |
| CN114546588A (zh) | 任务的部署方法、装置、存储介质及电子装置 | |
| WO2018082079A1 (fr) | Appareil et procédé de gestion dynamique d'échange de données | |
| CN110798358B (zh) | 分布式服务标识方法、装置、计算机可读介质及电子设备 | |
| CN107463390B (zh) | 一种软件升级方法及升级服务器 | |
| CN109995863B (zh) | 一种动态资源下载方法、装置、电子设备及存储介质 | |
| CN114205354B (zh) | 事件管理系统、事件管理方法、服务器及存储介质 | |
| CN112579247A (zh) | 确定任务状态的方法和装置 | |
| CN101834885A (zh) | 一种软件下载方法和装置 | |
| CN110780944B (zh) | 一种应用权限的启动方法、设备及机器可读存储介质 | |
| CN115766439B (zh) | Kvm设备批量升级方法、装置和电子设备 | |
| CN113687915B (zh) | 容器运行方法、装置、设备及存储介质 | |
| CN102571965B (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: 16739760 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: 16739760 Country of ref document: EP Kind code of ref document: A1 |