WO2016116013A1 - Software upgrade method and system - Google Patents

Software upgrade method and system Download PDF

Info

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
Application number
PCT/CN2016/071033
Other languages
French (fr)
Chinese (zh)
Inventor
李盛
叶斐
赵金霞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016116013A1 publication Critical patent/WO2016116013A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

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

Abstract

A software upgrade method, comprising: acquiring information about a network management server, if the network management server is detected, the network management server serving as a controller to control a software upgrade; and if the network management server is not detected, a service board, which has been upgraded successfully, serving as a controller to control the software upgrade; if the network management server serves as a controller to control the software upgrade, the network management server upgrading a service board to be upgraded in a subgroup according to the order of priority of a response returned by the service board to be upgraded; and if the service board, which has been upgraded successfully, serves as a controller to control the software upgrade, the service board, which has been upgraded successfully, upgrading a service board to be upgraded in a network element according to the order of priority of a response returned by the service board to be upgraded. The method saves system resources, does not occupy a CPU and storage space of a server, and improves the upgrade speed of a plurality of service boards in a network element, thereby realizing the automatic upgrade function of the service boards.

Description

软件升级方法和系统Software upgrade method and system 技术领域Technical field
本申请涉及但不限于软件升级领域,尤其涉及软件升级方法和系统。This application relates to, but is not limited to, the field of software upgrades, and more particularly to software upgrade methods and systems.
背景技术Background technique
随着光通信技术的蓬勃发展,光通信系统变得更先进和高效。随之而来的是设备的种类和数量成倍增长,这使得光通信系统用于设备管理和维护的网元控制系统的要求也变得越来越高。With the rapid development of optical communication technology, 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.
图1为现有技术中设备监控系统的结构示意图。如图1所示,设备监控系统通常包括作为监控设备的网管服务器、作为网管服务器代理的主控板以及作为被监控设备的业务板(如业务板1~16)。单个网元可以容纳上百个业务板,这就使得对整个系统上业务板软件版本的维护和升级工作变得复杂和低效。当网元上的业务板数量较多时,业务板软件升级的工作量也较为繁重,对整个网元升级的速度会变得很慢,并且可能会出现遗漏或升级不完全的情况,这给整个网元系统带来了隐患。另外,升级所用的软件可能有很多,存储和管理这些软件,对网管服务器和主控板的内存空间也提出了挑战。FIG. 1 is a schematic structural diagram of a device monitoring system in the prior art. As shown in Figure 1, 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. When the number of service boards on the NE is large, 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. In addition, there may be a lot of software for upgrading, storing and managing these softwares, and also challenging the memory space of the network management server and the main control board.
现有技术有以下几个缺点:The prior art has the following disadvantages:
一、软件升级过程要求网管服务器和主控板传递待升级的软件版本给某个或多个业务板,通常待升级的是一批业务板,数量都很大,升级的速度会很慢,对网管服务器和主控板以及数据传输带宽的资源占用过大,占用时间过长;1. 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.
二、软件升级过程需要的软件都要保存和维护在网管服务器和主控板中,对存储空间的要求也会很大;Second, the software required for the software upgrade process must be saved and maintained in the network management server and the main control board, and the storage space requirements will be large;
三、如果由人工操作为业务板升级,很难保证没有遗漏,造成个别业务板软件没有升级。3. If the business board is upgraded by manual operation, it is difficult to ensure that there is no omission, resulting in no upgrade of individual business board software.
发明内容 Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种软件升级方法和系统,旨在解决软件升级过程中占用资源大、占用时间长、存储空间大和手动升级时引起的遗漏升级问题。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.
为实现上述目的,本发明实施例提供一种软件升级方法,所述软件升级方法包括:To achieve the above objective, an embodiment of the present invention provides a software upgrade method, where the software upgrade method includes:
获取网管服务器信息,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级;若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级;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.
若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级;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.
若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级。If 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.
可选地,所述由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级的步骤包括:Optionally, 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.
可选地,所述由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级的步骤包括:Optionally, 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.
可选地,所述由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级的步骤包括:Optionally, 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;
若所述分组内的待升级业务板需要升级,则网管服务器控制所述分组内的待升级业务板按照待升级业务板返回的响应的优先顺序进行迭代升级。If 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.
可选地,所述由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级包括:Optionally, 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.
根据所述网元内的待升级业务板返回的响应,确定待升级业务板是否需要升级;Determining 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;
若待升级业务板需要升级,则按照待升级业务板返回的响应的优先顺序对待升级业务板进行迭代升级。If the service board to be upgraded needs to be upgraded, the upgrade service board is iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
为了解决上述的技术问题,本发明实施例还提供一种软件升级系统,所述软件升级系统包括网管服务器和业务板,其中,In order to solve the above technical problem, 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.
可选地,所述网管升级模块是设置为:由网管服务器作为控制器,控制软件升级时,根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。Optionally, 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.
可选地,所述业务板升级模块是设置为:由已成功升级的业务板作为控制器,控制软件升级时,根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。Optionally, 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.
可选地,所述网管升级模块包括:Optionally, 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.
可选地,所述业务板升级模块包括:Optionally, 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;
若检测到网管服务器,所述业务板在所述网管服务器的控制下进行软件升级;If the network management server is detected, the service board performs software upgrade under the control of the network management server;
若未检测到网管服务器,且所述业务板为已成功升级的业务板时,所述业务板根据网元内待升级业务板返回的响应的优先顺序对网元内的待升级业务板进行升级;If the network management server is not 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. ;
若未检测到网管服务器,且所述业务板为待升级业务板时,所述业务板在网元内已成功升级的业务板的控制下进行软件升级。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.
本发明实施例提供的软件升级方法中,获取网管服务器信息,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级;若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级;若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级;若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级。本发明实施例提供的软件升级方法,节省系统资源,不占用网管服务器的中央处理器(CPU,Central Processing Unit)和存储空间,优化管理版本信息,提高网元内多业务板的升级速度,简化软件升级的人工操作,规避人为因素造成的遗漏和错误,实现了业务板的自动化升级功能。In the software upgrade method provided by the embodiment of the present invention, 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.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为现有技术中设备监控系统的结构示意图;1 is a schematic structural diagram of a device monitoring system in the prior art;
图2为本发明实施例提供的软件升级方法的流程示意图;2 is a schematic flowchart of a software upgrade method according to an embodiment of the present invention;
图3为图2中所述若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级的步骤(即步骤S200)的第一实施例的流程示意图;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. Schematic diagram of the first embodiment of step S200);
图4为图2中所述若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级的步骤(即步骤S300)的第一实施例的流程示意图;As shown in Figure 2, if 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 is upgraded according to the priority of the response returned by the service board to be upgraded. Schematic diagram of the first embodiment of the step of upgrading the service board (ie, step S300);
图5为图2中所述若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级的步骤(即步骤S200)的第二实施例的流程示意图;5 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);
图6为图2中所述若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级的步骤(即步骤S300)的第二实施例流程示意图;As shown in Figure 2, if 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 is upgraded according to the priority of the response returned by the service board to be upgraded. Schematic diagram of the second embodiment of the step of upgrading the service board (ie, step S300);
图7为本发明实施例提供的软件升级系统的功能模块示意图;FIG. 7 is a schematic diagram of functional modules of a software upgrade system according to an embodiment of the present disclosure;
图8为图7中所述网管升级模块20的功能模块示意图;8 is a schematic diagram of functional modules of the network management upgrade module 20 of FIG. 7;
图9为图7中所述业务板升级模块30的功能模块示意图。FIG. 9 is a schematic diagram of functional modules of the service board upgrade module 30 of FIG. 7.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本发明实施例提供一种软件升级方法和系统,所述软件升级系统包括网管服务器和业务板。 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. In this case, 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. . After the service board of the upgraded group is supported, 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. Guide other service boards of the same type in the group to request upgraded software from the service board that has completed the upgrade. At the same time, considering the problem of load and efficiency, not all service boards request the same upgraded service board. 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. At the same time, 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. When 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. There are two ways for the service board to obtain the version information of the service board to be upgraded. The first one is to send the group message to other service boards in the same network element after the service board is successfully upgraded. The second type is the service board. When powering on, you will be asked about the version information of other service boards in the same network element. The upgrade execution module is configured to perform a software upgrade operation, and Upgrade the rollback operation of the service board software.
参照图2,图2为本发明实施例提供的软件升级方法的流程示意图,在本实施例中,所述软件升级方法包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a software upgrade method according to an embodiment of the present invention. In this embodiment, the software upgrade method includes:
步骤S100:获取网管服务器信息,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级;若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级。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. 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.
步骤S200:若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级。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.
若由网管服务器作为控制器,控制软件升级,则由网管服务器将已升级成功的业务板的软件版本信息发送给分组内的待升级业务板;若网管服务器接收到待升级业务板返回的请求升级的消息,则判定待升级业务板与已升级成功的业务板是同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,则网管服务器根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If the network management server is used as the controller and the control software is 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.
步骤S300:若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级。 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.
若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板将自身的软件版本信息发送给网元内的待升级业务板;若已升级成功的业务板接收到待升级业务板返回的请求升级的消息,则判定待升级业务板与已升级成功的业务板是同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,已升级成功的业务板根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If the service board of the upgraded service board is used as the controller and the control software is 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.
本实施例提供的软件升级方法,节省系统资源,不占用服务器的CPU和存储空间,优化管理软件版本信息,提高网元内多业务板的升级速度,简化软件升级的人工操作,规避人为因素造成的遗漏和错误,实现了业务板的自动化升级功能。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.
如图3所示,图3为图2中所述步骤S200的第一实施例的流程示意图,在第一实施例中,所述步骤S200包括:As shown in FIG. 3, FIG. 3 is a schematic flowchart of the first embodiment of step S200 in FIG. 2. In the first embodiment, the step S200 includes:
步骤S200A:若检测到网管服务器,则由网管服务器作为控制器,控制软件升级,由网管服务器根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。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.
本实施例提供的软件升级方法,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级,由网管服务器根据分组内接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级,从而增强了升级的可靠性,提高业务板的升级速度。 In the software upgrade method provided in this embodiment, 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.
如图4所示,图4为图2中所述步骤S300的第一实施例的流程示意图,在第一实施例中,所述步骤S300包括:As shown in FIG. 4, FIG. 4 is a schematic flowchart of the first embodiment of step S300 in FIG. 2. In the first embodiment, the step S300 includes:
步骤S300A:若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。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.
若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板将已升级成功的业务板的软件版本信息发送给网元内的待升级业务板;待升级业务板根据已升级成功的业务板发送的软件版本信息,判断自身和已升级成功的业务板是否为同类型的业务板,并且比较自身的软件版本是否比已升级成功的业务板的软件版本新;若为同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,则返回消息给已升级成功的业务板,请求升级;若否(即,不为同类型的业务板,或者,待升级业务板的软件版本比已升级成功的业务板的软件版本新),则丢弃已升级成功的业务板发送过来的消息,不做任何回应。已升级成功的业务板根据待升级业务板返回的请求升级的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If the service board of the upgraded service board is used as the controller and the software 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.
本实施例提供的软件升级方法,若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级,由已升级成功的业务板根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级,从而增强了升级的可靠性,提高网元内多业务板的升级速度。In the software upgrade method provided by the embodiment, if the network management server is not detected, 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.
如图5所示,图5为图2中所述步骤S200的第二实施例的流程示意图,在第一实施例的基础上,本实施例提供的软件升级方法,所述步骤S200包括:As shown in FIG. 5, 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:
步骤S210:网管服务器建立软件版本信息库和待升级业务板的业务分组,将已升级成功的业务板作为源业务板。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.
步骤S220:网管服务器获取所述源业务板的软件版本信息,并将所述源业务板的软件版本信息保存在软件版本信息库中。 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.
步骤S230:网管服务器将所述源业务板的软件版本信息发送给所述分组内的待升级业务板。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.
步骤S240:根据所述分组内的待升级业务板返回的响应,确定所述分组内的待升级业务板是否需要升级。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.
步骤S250:若所述分组内的待升级业务板需要升级,则控制所述分组内的待升级业务板按照待升级业务板返回的响应的优先顺序进行迭代升级。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.
网管服务器根据所述分组内的待升级业务板返回的响应,确定要升级的单板,对所述分组内的要升级的单板进行升级,升级的方式按待升级业务板返回的响应优先顺序有序地进行迭代升级。网管服务器对所述分组内的待升级业务板的升级方式可以为迭代升级的方式,例如首先将源业务板中的升级软件发送给其他待升级业务板中的一块业务板(即第二业务板)进行升级,如果第二业务板升级成功了,此时该分组内就有了两个已升级成功的业务板(即源业务板和第二业务板),可通过源业务板和第二业务板同时将升级软件发送给分组内的其他待升级业务板;开始第二轮升级,同时升级另外两块业务板(即第三业务板和第四业务板),如果升级成功了,分组内有四个业务板可作为升级软件的发送端;开始第三轮升级,可以同时升级四块业务板(即第五业务板、第六业务板、第七业务板和第八业务板);后续的升级过程依此类推。通过迭代升级分组内的业务板,实际上经历大约6到8轮升级, 就可以完成整个分组中同类业务板的升级工作。通过迭代升级的方式,提高了分组内多业务板的升级速度。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.
如图6所示,图6为图2中所述步骤S300第二实施例的细化流程示意图,在第一实施例的基础上,本实施例提供的软件升级方法,所述步骤S300包括:As shown in FIG. 6 , FIG. 6 is a schematic diagram of a refinement process of the second embodiment of the step S300 in FIG. 2 . On the basis of the first embodiment, the software upgrade method provided in this embodiment includes:
步骤S310:将已升级成功的业务板作为源业务板,由所述源业务板将升级的软件版本信息发送给网元内的待升级业务板。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.
步骤S320:根据所述网元内的待升级业务板返回的响应,确定待升级业务板是否需要升级。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.
步骤S330:若待升级业务板需要升级,则按照待升级业务板返回的响应的优先顺序对待升级业务板进行迭代升级。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.
根据待升级业务板返回的响应,确定要升级的单板,对要升级的单板进行升级,升级的方式按待升级业务板返回的响应的优先顺序有序地进行迭代升级。对待升级业务板的升级方式可以为迭代升级的方式,例如首先源业务板将升级软件发送给其他待升级业务板中的一块业务板(即第二业务版)进行升级,如果第二业务板升级成功了,此时该网元内就有了两个已升级成功的业务板(即源业务板和第二业务板),可通过源业务板和第二业务板同时将升级软件发送给网元内的其他待升级业务板;开始第二轮升级,同时升级另外两块业务板(即第三业务板和第四业务板),如果升级成功了,网元内有四个业务板可作为升级软件的发送端;开始第三轮升级,可以同时升级四块业务板(即第五业务板、第六业务板、第七业务板和第八业务板);后续 的升级过程依此类推。通过迭代升级网元内的业务板,实际上经历大约6到8轮升级,就可以完成整个网元内同类业务板的升级工作。通过迭代升级的方式,提高了网元内多业务板的升级速度。On the board to be upgraded, determine the board to be upgraded and upgrade the 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. For example, 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). If 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. By iteratively upgrading the service boards in the NEs, 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 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.
如图7所示,图7为本发明实施例提供的软件升级系统的功能模块示意图,在本实施例中,所述软件升级系统包括网管服务器和业务板,其中,As shown in FIG. 7, FIG. 7 is a schematic diagram of a function module of a software upgrade system according to an embodiment of the present invention. In this embodiment, the software upgrade system includes a network management server and a service board, where
所述业务板包括:The service board includes:
获取模块10,设置为获取网管服务器信息,其中,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级;若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级;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;
业务板升级模块30,设置为:由已成功升级的业务板作为控制器,控制软件升级时,根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级;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:
网管升级模块20,设置为:由网管服务器作为控制器,控制软件升级时,根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级。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.
业务板的获取模块10获取网管服务器信息,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级;若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级。其中,网管服务器建立待升级业务板的软件版本信息库和业务分组,软件版本信息库中只需要记录某个业务板现有的软件版本信息,并不需要储存实际的软件升级程序。所述软件版本信息中设置有软件版本检测的标识,根据所述标识,可以识别软件的新旧版本,并可以通过比较,确定哪个软件版本比较新,哪个软件版本比较旧。网元中的某个业务板每次升级之后,网管服务器都会更新软件版本信息库和该业务板的软件版本信息。网管服务器支持对多个业务板建立分组,每个分组中可包含同类型的若干业务板,如果是分组中同类型的业务板,一般是希 望统一升级为新版本,或者,希望强制回退到某个特定版本。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. 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.
若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板的业务板升级模块30将自身的软件版本信息发送给网元内的待升级业务板;若接收到待升级业务板返回的请求升级的消息,则判定待升级业务板与已升级成功的业务板是同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,并根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If the service board is upgraded by the service board that has been successfully upgraded, 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.
若由网管服务器作为控制器,控制软件升级,则由网管服务器的网管升级模块20将已升级成功的业务板的软件版本信息发送给分组内的待升级业务板;若接收到待升级业务板返回的请求升级的消息,则判定待升级业务板与已升级成功的业务板是同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,并根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If the network management server is used as the controller and the control software 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.
本实施例提供的软件升级系统,节省系统资源,不占用服务器的CPU和存储空间,优化管理版本信息,提高网元内多业务板的升级速度,简化软件升级的人工操作,规避人为因素造成的遗漏和错误,实现了业务板的自动化升级功能。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.
图8为图7所述网管升级模块20的功能模块示意图。如图8所示,所述网管升级模块20是设置为:由网管服务器作为控制器,控制软件升级时,根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。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 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.
网管服务器的网管升级模块20将已升级成功的业务板的软件版本信息发送给分组内的待升级业务板;待升级业务板根据网管服务器发送的软件版本信息,判断自身和已升级成功的业务板是否为同类型的业务板,并且比较自身的软件版本是否比已升级成功的业务板的软件版本新,若为同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,则返回消息给网管服务器,请求升级;若否(即,不为同类型的业务板,或者,待升级业务板的软件版本比已升级成功的业务板的软件版本新),则丢弃网管服务器发送过来的消息,不做任何回应。网管服务器的网管升级模块20根 据待升级业务板返回的请求升级的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。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. If the service version is not the same as the service board of the service board, 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.
本实施例提供的软件升级系统,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级,由网管服务器根据分组内接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级,从而增强了升级的可靠性,提高网元内多业务板的升级速度。In the software upgrade system provided in this embodiment, 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.
图9为图7中所述业务板升级模块30的功能模块示意图。如图9所示,已升级成功的业务板的业务板升级模块30是设置为:由已成功升级的业务板作为控制器,控制软件升级时,根据待升级业务板返回的响应的优先顺序,建立迭代升级次序,控制网元内待升级业务板进行升级。FIG. 9 is a schematic diagram of functional modules of the service board upgrade module 30 of FIG. 7. As shown in Figure 9, 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.
业务板升级模块30将已升级成功的业务板的软件版本信息发送给网元内的待升级业务板;待升级业务板根据已升级成功的业务板发送的软件版本信息,判断自身和已升级成功的业务板是否为同类型的业务板,并且比较自身的软件版本是否比已升级成功的业务板的软件版本新,若为同类型的业务板且已升级成功的业务板的软件版本比待升级业务板的软件版本新,则返回消息给已升级成功的业务板,请求升级;若否(即,不为同类型的业务板,或者,待升级业务板的软件版本比已升级成功的业务板的软件版本新),则丢弃已升级成功的业务板发送过来的消息,不做任何回应。已升级成功的业务板的业务板升级模块30根据待升级业务板返回的请求升级的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。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.
本实施例提供的软件升级系统,若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级,由已升级成功的业务板根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级,从而增强了升级的可靠性,提高网元内多业务板的升级速度。In the software upgrade system provided in this embodiment, if the network management server is not detected, 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.
图8为图7中所述网管升级模块20的功能模块示意图。如图8所示,所述网管升级模块20包括: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:
建立单元21,设置为建立软件版本信息库和待升级业务板的业务分组,将已升级成功的业务板作为源业务板; 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;
获取单元22,设置为获取所述源业务板的软件版本信息,并将所述源业务板的软件版本信息保存在软件版本信息库中;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;
第一发送单元23,设置为将所述源业务板将升级的软件版本信息发送给所述分组内的待升级业务板;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;
第一确定单元24,设置为根据所述分组内的待升级业务板返回的响应,确定所述分组内的待升级业务板是否需要升级;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;
网管升级单元25,设置为若所述分组内的待升级业务板需要升级,控制所述分组内的待升级业务板按照待升级业务板返回的响应的优先顺序进行迭代升级。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.
网管服务器的建立单元21根据所有待升级业务板,建立软件版本信息库和待升级业务板的业务分组,并将其中的一块已升级成功的业务板作为源业务板。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.
网管服务器的获取单元22获取所述源业务板的软件版本信息,并将所述源业务板的软件版本信息保存在软件版本信息库中,对软件版本信息库的软件版本信息进行实时更新,从而使软件版本信息库中的软件版本信息保持最新。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.
网管服务器的第一发送单元23通过群发信息的方式将所述源业务板的软件版本信息发送给分组内的待升级的业务板。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.
网管服务器的第一确定单元24可以根据所述分组内的待升级业务板返回的响应信息,确定所述分组内的待升级业务板是否需要升级,比如说如果接收到其他待升级业务板返回的响应信息,则表示其他待升级业务板需要升级;如果未接收到其他待升级业务板返回的响应,则表示其他待升级业务板不需要升级。或是,通过所述分组内的待升级业务板返回的响应信息中对特定版本的软件需求,查询软件版本信息库,寻找到对应的软件版本信息。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.
网管服务器的网管升级单元25根据所述分组内的待升级业务板返回的响应,确定要升级的单板,对所述分组内的要升级的单板进行升级,升级的方式按待升级业务板返回的响应优先顺序有序地进行迭代升级。网管服务器对所述分组内的待升级业务板的升级方式可以为迭代升级的方式,例如首先 将源业务板中的升级软件发送给其他待升级业务板中的一块业务板(即第二业务版)进行升级,如果第二业务板升级成功了,此时该分组内就有了两个已升级成功的业务板(即源业务板和第二业务板),可通过源业务板和第二业务板同时将升级软件发送给分组内的其他待升级业务板;开始第二轮升级,同时升级另外两块业务板(即第三业务板和第四业务板),如果升级成功了,分组内有四个业务板可作为升级软件的发送端;开始第三轮升级,可以同时升级四块业务板(即第五业务板、第六业务板、第七业务板和第八业务板);后续的升级过程依此类推。通过迭代升级分组内的业务板,实际上经历大约6到8轮升级,就可以完成整个分组中同类业务板的升级工作。通过迭代升级的方式,提高了分组内多业务板的升级速度。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. By iteratively upgrading the service boards in the group, in fact, after about 6 to 8 rounds of upgrades, the upgrade of the same type of service boards in the entire group can be completed. Through the iterative upgrade, the upgrade speed of multi-service boards in the group is improved.
本实施例提供的软件升级系统,通过按待升级业务板返回的响应优先顺序有序地进行升级,提高了分组内多业务板的升级速度。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.
图9为图7所述业务板升级模块30的功能模块示意图。如图9所示,所述业务板升级模块30包括: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:
第二发送单元31,设置为:由已升级成功的业务板作为控制器,控制软件升级时,将升级的软件版本信息发送给网元内的待升级业务板;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;
第二确定单元32,设置为:根据所述网元内的待升级业务板返回的响应,确定待升级业务板是否需要升级;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;
业务板升级单元33,设置为:若待升级业务板需要升级,则根据所述网元内的待升级业务板返回的响应的优先顺序对待升级业务板进行迭代升级。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.
当已升级成功的业务板作为控制器,控制软件升级时,已升级成功的业务板的第二发送单元31通过群组信息的方式将升级的软件版本信息发送给网元内的待升级业务板。When the upgraded service board is used as the controller and the control software is upgraded, 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. .
已升级成功的业务板的第二确定单元32根据所述网元内的待升级业务板返回的响应信息,确定所述网元内的待升级业务板是否需要升级,比如说如果接收到其他待升级业务板返回的响应信息,则表示其他待升级业务板需要升级;如果未接收到其他待升级业务板返回的响应,则表示其他待升级业务板不需要升级。 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.
业务板升级单元33根据待升级业务板返回的响应,确定要升级的单板,对要升级的单板进行升级,升级的方式按待升级业务板返回的响应的优先顺序有序地进行迭代升级。对待升级业务板的升级方式可以为迭代升级的方式,例如首先将源业务板中的升级软件发送给其他待升级业务板中的一块业务板(即第二业务版)进行升级,如果第二业务板升级成功了,此时该网元内就有了两个已经升级成功的业务板(即源业务板和第二业务板),可通过源业务板和第二业务板同时将升级软件发送给网元内的其他待升级业务板;开始第二轮升级,同时升级另外两块业务板(即第三业务板和第四业务板),如果升级成功了,网元内有四个业务板可作为升级软件的发送端;开始第三轮升级,可以同时升级四块业务板(即第五业务板、第六业务板、第七业务板和第八业务板);后续的升级过程依此类推。通过迭代升级网元内的业务板,实际上经历大约6到8轮升级,就可以完成整个网元内同类业务板的升级工作。通过迭代升级的方式,提高了网元内多业务板的升级速度。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. For example, 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. After the board upgrade is successful, 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. As 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. . By iteratively upgrading the service boards in the NEs, 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.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, 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 above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例提供一种软件升级方法及系统,节省系统资源,不占用服务器的CPU和存储空间,优化管理版本信息,提高网元内多业务板的升级速度,简化软件升级的人工操作,规避人为因素造成的遗漏和错误,实现了业务板的自动化升级功能。 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.

Claims (13)

  1. 一种软件升级方法,包括:A software upgrade method, including:
    获取网管服务器信息,若检测到网管服务器,则由网管服务器作为控制器,控制软件升级;若未检测到网管服务器,则由已成功升级的业务板作为控制器,控制软件升级;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.
    若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级;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.
    若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级。If 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.
  2. 如权利要求1所述的软件升级方法,其中,所述若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级的步骤包括:The software upgrade method according to claim 1, wherein if the network management server is used as a controller to control software upgrade, the network management server upgrades the service to be upgraded in the packet according to the priority of the response returned by the service board to be upgraded. The steps to upgrade the board include:
    若由网管服务器作为控制器,控制软件升级,则由网管服务器根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If the network management server is used as the controller to control the software upgrade, the network management server establishes an iterative upgrade sequence according to the priority of the response to the service board to be upgraded, and controls the service board to be upgraded.
  3. 如权利要求1所述的软件升级方法,其中,所述若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级的步骤包括:The software upgrade method of claim 1, wherein if the service board that has been successfully upgraded is used as a controller and the software is upgraded, the service board that has been upgraded is prioritized according to the response returned by the service board to be upgraded. The steps for upgrading the service board to be upgraded in the NE include:
    若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。If 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 will be upgraded according to the priority of the response to the service board to be upgraded. .
  4. 如权利要求1或2所述的软件升级方法,其中,所述若由网管服务器作为控制器,控制软件升级,则由网管服务器根据待升级业务板返回的响应的优先顺序,对分组内的待升级业务板进行升级的步骤包括:The software upgrade method according to claim 1 or 2, wherein, if the network management server is used as a controller and the software is upgraded, the network management server waits for the response in the packet according to the priority of the response returned by the service board to be upgraded. The steps to upgrade the business board for upgrade include:
    网管服务器建立软件版本信息库和待升级业务板的业务分组,将已升级成功的业务板作为源业务板;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 software version information of the source service board, and softens the source service board. The version information is saved 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;
    若所述分组内的待升级业务板需要升级,则网管服务器控制所述分组内的待升级业务板按照待升级业务板返回的响应的优先顺序进行迭代升级。If 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.
  5. 如权利要求1或3所述的软件升级方法,其中,所述若由已成功升级的业务板作为控制器,控制软件升级,则由已升级成功的业务板根据待升级业务板返回的响应的优先顺序,对网元内待升级业务板进行升级的步骤包括:The software upgrade method according to claim 1 or 3, wherein, if the service board that has been successfully upgraded is used as a controller and the software is upgraded, the service board that has been successfully upgraded is returned according to the response returned by the service board to be upgraded. The steps of upgrading the service boards to be upgraded in the NE include the following:
    将已升级成功的业务板作为源业务板,由所述源业务板将升级的软件版本信息发送给网元内的待升级业务板;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.
    根据所述网元内的待升级业务板返回的响应,确定待升级业务板是否需要升级;Determining 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;
    若待升级业务板需要升级,则按照待升级业务板返回的响应的优先顺序对待升级业务板进行迭代升级。If the service board to be upgraded needs to be upgraded, the upgrade service board is iteratively upgraded according to the priority of the response returned by the service board to be upgraded.
  6. 一种软件升级系统,所述软件升级系统包括网管服务器和业务板,其中,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 group 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 set to: when the network management server is used as the controller, when the software is upgraded, The service boards to be upgraded in the NE are upgraded according to the priority of the response returned by the service board to be upgraded.
  7. 如权利要求6所述的软件升级系统,其中,所述网管升级模块是设置为:由网管服务器作为控制器,控制软件升级时,根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。The software upgrade system of claim 6, wherein 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 iteration is established according to the priority order of the received service board to be updated. Upgrade the order and control the service board to be upgraded for upgrade.
  8. 如权利要求6所述的软件升级系统,其中,所述业务板升级模块是设置为:由已成功升级的业务板作为控制器,控制软件升级时,根据接收到的待升级业务板返回响应的优先顺序,建立迭代升级次序,控制待升级业务板进行升级。The software upgrade system of claim 6, wherein 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 upgrade is controlled, the response is returned according to the received service board to be upgraded. Prioritize, establish an iterative upgrade order, and control the service board to be upgraded for upgrade.
  9. 如权利要求6或7所述的软件升级系统,其中,所述网管升级模块包括:The software upgrade system of claim 6 or 7, wherein the network management upgrade module comprises:
    建立单元,设置为建立软件版本信息库和待升级业务板的业务分组,将已升级成功的业务板作为源业务板;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 returned by the service board to be upgraded, if the service board to be upgraded in the packet needs to be upgraded.
  10. 如权利要求6或8所述的软件升级系统,其中,所述业务板升级模块包括:The software upgrade system of claim 6 or 8, wherein the service board upgrade module comprises:
    第二发送单元,设置为:由已成功升级的业务板作为控制器,控制软件升级时,将升级的软件版本信息发送给网元内的待升级业务板;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 be upgraded according to the network element if the service board to be upgraded needs to be upgraded. The priority of the response returned by the service board to be upgraded is to be iteratively upgraded to the upgraded service board.
  11. 一种软件升级方法,应用于业务板,包括:A software upgrade method applied to a business board, including:
    业务板检测网管服务器信息;The service board detects the 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;
    若未检测到网管服务器,且所述业务板为已成功升级的业务板时,所述业务板根据网元内待升级业务板返回的响应的优先顺序对网元内的待升级业务板进行升级;If the network management server is not 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. ;
    若未检测到网管服务器,且所述业务板为待升级业务板时,所述业务板在网元内已成功升级的业务板的控制下进行软件升级。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.
  12. 一种业务板,包括:A business board that includes:
    通信单元以及处理器,所述通信单元设置为检测网管服务器信息,所述处理器设置为若检测到网管服务器,在所述网管服务器的控制下进行软件升级,若未检测到网管服务器,且所述业务板为已成功升级的业务板时,根据网元内待升级业务板返回的响应的优先顺序对网元内的待升级业务板进行升级,若未检测到网管服务器,且所述业务板为待升级业务板时,在网元内已成功升级的业务板的控制下进行软件升级。a communication unit and a processor, the communication unit is configured to detect network management server information, and the processor is configured to perform software upgrade under the control of the network management server if the network management server is detected, if the network management server is not detected, If the service board is a service board that has been successfully upgraded, the service board to be upgraded in the NE is upgraded according to the priority of the response returned by the service board to be upgraded in the NE. If the service management board is not detected, the service board is not detected. When the service board is to be upgraded, the software upgrade is performed under the control of the service board that has been successfully upgraded in the NE.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求1至5任一项所述的软件升级方法。 A computer readable storage medium storing computer executable instructions that, when executed, implement the software upgrade method of any one of claims 1 to 5.
PCT/CN2016/071033 2015-01-19 2016-01-15 Software upgrade method and system WO2016116013A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510026028.7A CN105871568B (en) 2015-01-19 2015-01-19 Software upgrading method and system
CN201510026028.7 2015-01-19

Publications (1)

Publication Number Publication Date
WO2016116013A1 true WO2016116013A1 (en) 2016-07-28

Family

ID=56416426

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071033 WO2016116013A1 (en) 2015-01-19 2016-01-15 Software upgrade method and system

Country Status (2)

Country Link
CN (1) CN105871568B (en)
WO (1) WO2016116013A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187903A (en) * 2019-04-19 2019-08-30 视联动力信息技术股份有限公司 A kind of upgrade method and device
CN110308914A (en) * 2018-03-27 2019-10-08 广东神马搜索科技有限公司 Upgrade processing method, device, equipment, system and computer readable storage medium
CN110502256A (en) * 2018-05-18 2019-11-26 佛山市顺德区美的电热电器制造有限公司 A kind of method for upgrading software, terminal and storage medium
CN114465894A (en) * 2021-12-28 2022-05-10 湖北华中光电科技有限公司 Software upgrading method for laser alarm equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032644A (en) * 2018-07-27 2018-12-18 蔚来汽车有限公司 The upgrade method and device, controller and medium of charging pile, the pile group that charges

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185754A (en) * 2011-01-30 2011-09-14 广东佳和通信技术有限公司 Method for upgrading board card in switch system
WO2012050590A1 (en) * 2010-10-16 2012-04-19 Hewlett-Packard Development Company, L.P. Device hardware agent
CN103533027A (en) * 2013-09-22 2014-01-22 瑞斯康达科技发展股份有限公司 Distributed equipment and software version compatibility maintenance method and system
CN104077152A (en) * 2013-03-27 2014-10-01 广东威创视讯科技股份有限公司 Batch upgrading method and batch upgrading device for embedded system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100461699C (en) * 2006-06-28 2009-02-11 华为技术有限公司 Method for automatic updating of equipment
CN101267336B (en) * 2007-03-15 2011-05-11 中兴通讯股份有限公司 Software version management method and system
CN101267344B (en) * 2008-04-25 2011-07-13 中兴通讯股份有限公司 An upgrade method and device for network element single-board software
US8316120B2 (en) * 2010-02-02 2012-11-20 Microsoft Corporation Applicability detection using third party target state

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012050590A1 (en) * 2010-10-16 2012-04-19 Hewlett-Packard Development Company, L.P. Device hardware agent
CN102185754A (en) * 2011-01-30 2011-09-14 广东佳和通信技术有限公司 Method for upgrading board card in switch system
CN104077152A (en) * 2013-03-27 2014-10-01 广东威创视讯科技股份有限公司 Batch upgrading method and batch upgrading device for embedded system
CN103533027A (en) * 2013-09-22 2014-01-22 瑞斯康达科技发展股份有限公司 Distributed equipment and software version compatibility maintenance method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308914A (en) * 2018-03-27 2019-10-08 广东神马搜索科技有限公司 Upgrade processing method, device, equipment, system and computer readable storage medium
CN110308914B (en) * 2018-03-27 2023-08-22 阿里巴巴(中国)有限公司 Upgrade processing method, device, equipment, system and computer readable storage medium
CN110502256A (en) * 2018-05-18 2019-11-26 佛山市顺德区美的电热电器制造有限公司 A kind of method for upgrading software, terminal and storage medium
CN110187903A (en) * 2019-04-19 2019-08-30 视联动力信息技术股份有限公司 A kind of upgrade method and device
CN114465894A (en) * 2021-12-28 2022-05-10 湖北华中光电科技有限公司 Software upgrading method for laser alarm equipment
CN114465894B (en) * 2021-12-28 2023-09-12 湖北华中长江光电科技有限公司 Software upgrading method of laser alarm equipment

Also Published As

Publication number Publication date
CN105871568A (en) 2016-08-17
CN105871568B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
WO2016116013A1 (en) Software upgrade method and system
CN109862101B (en) Cross-platform application starting method and device, computer equipment and storage medium
CN110225078B (en) Application service updating method, system and terminal equipment
EP3495981A1 (en) Directory deletion method and device, and storage server
US9542226B2 (en) Operating programs on a computer cluster
US9098607B2 (en) Writing and analyzing logs in a distributed information system
US11449350B2 (en) Systems and methods for automatically updating compute resources
CN108549542A (en) A kind of file dispositions method, device and equipment
CN111258726B (en) Task scheduling method and device
CN109451020B (en) Timeout management method, timeout management device, and computer-readable storage medium
WO2018082079A1 (en) Method and apparatus for dynamically managing data exchange
CN107463390B (en) Software upgrading method and upgrading server
CN113434283A (en) Service scheduling method and device, server and computer readable storage medium
CN111506388B (en) Container performance detection method, container management platform and computer storage medium
CN109995863B (en) Dynamic resource downloading method and device, electronic equipment and storage medium
CN114205354B (en) Event management system, event management method, server, and storage medium
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN112214502B (en) User contract deployment method, device and system of alliance chain and storage medium
CN112783613B (en) Method and device for scheduling units
CN112579247A (en) Method and device for determining task state
CN114675893B (en) Drive management method and device and computer equipment
US20130031071A1 (en) Control apparatus, control method and recording medium of control program
US9727378B2 (en) Persistent unenrollment for devices under management
CN112035174B (en) Method, apparatus and computer storage medium for running web service
CN117376194B (en) Network detection method, system, electronic device and computer readable storage medium

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