WO2017024688A1 - 一种可在系统升级过程中不中断业务的控制方法及系统 - Google Patents

一种可在系统升级过程中不中断业务的控制方法及系统 Download PDF

Info

Publication number
WO2017024688A1
WO2017024688A1 PCT/CN2015/095194 CN2015095194W WO2017024688A1 WO 2017024688 A1 WO2017024688 A1 WO 2017024688A1 CN 2015095194 W CN2015095194 W CN 2015095194W WO 2017024688 A1 WO2017024688 A1 WO 2017024688A1
Authority
WO
WIPO (PCT)
Prior art keywords
standby board
upgrade
board
standby
data
Prior art date
Application number
PCT/CN2015/095194
Other languages
English (en)
French (fr)
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 WO2017024688A1 publication Critical patent/WO2017024688A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Definitions

  • the invention belongs to the technical field of communication devices, and relates to a control method and system, and in particular to a control method and system capable of not interrupting services during a system upgrade process.
  • the components of the coordination and conversion mechanism are repeaters, bridges. , routers, access devices and gateways, etc.
  • network equipment such as carrier-grade or core enterprise switches have relatively high requirements on system reliability, especially when the device is required to perform system upgrade in a specific scenario.
  • Most devices on the market today need to restart the system when the system is upgraded, so that the new version will take effect after the upgrade, which will cause the interruption of customer business. Therefore, most devices are accustomed to making system upgrades at specific times (such as late at night) in order to minimize the impact on the business.
  • the present invention aims to provide a control method and system that can not interrupt services during system upgrade, and is used to solve the problem that the network device needs to be restarted when performing system upgrade in the prior art.
  • the device will cause the service to be interrupted, and the long interruption of the service affects the user's use.
  • the present invention provides a control method that can be used to interrupt a service during a system upgrade process, and the control method is applied to a network device in which a first motherboard and a plurality of first standby boards that are juxtaposed are installed.
  • the first main board and the first standby board are all configured with an operating system
  • the control method for not interrupting the service during the system upgrade process includes the following steps: performing the running system configured on the first standby board After the upgrade of the first standby board is completed, the system data on the first main board is synchronized to the first standby board; after the system data is synchronized to the first standby board, The first standby board is upgraded to the second main board, and the first main board is downgraded to the second standby board; the operating system configured on the second standby board is upgraded; The system data on the second motherboard is synchronized to the second standby board.
  • control method that can not interrupt the service during the system upgrade process further includes determining whether the running system on the first standby board needs to be upgraded, and if yes, executing the operation to be configured on the first standby board.
  • the message format of each piece of system data is carried with a message version number.
  • the first standby board and the second standby board receive the system data, parsing the data content of the system data to obtain a message version number of the system data.
  • the upgrade of the second standby board indicates that the second motherboard is in the same state as the version of the configuration running system on the second standby board.
  • the control system is applied to a network device on which a first motherboard and a first standby board are installed, the first motherboard and the first device.
  • the operating system is configured on the board, and the control system that can not interrupt the service during the system upgrade process includes: a first upgrade module located on the first standby board, configured to run on the first standby board
  • the system is upgraded;
  • the data synchronization module is connected to the first upgrade module, and is configured to synchronize the system data on the first motherboard to the first standby board after the upgrade of the first standby board is completed;
  • the standby module is connected to the first upgrade module and the data synchronization module, and is configured to upgrade the first standby board to the second main board and downgrade the first main board after the system data is synchronized to the first standby board.
  • the second upgrade module is located on the second standby board, and is connected to the data synchronization module and the active/standby setting module, respectively, for operating the system configured on the second standby board. Upgrade; In the second standby plate until the upgrade is complete, the system data synchronization module on said second main data synchronized to the second standby board.
  • control system that can not interrupt the service during the system upgrade process further includes a determining module connected to the first upgrade module, where the determining module is configured to determine whether the operating system on the first standby board is An upgrade is required, if yes, a first upgrade module for performing an upgrade of the operating system configured on the first standby board is invoked; if not, a call is invoked for terminating the uninterrupted service during the system upgrade process.
  • the data synchronization module is further configured to: when the first standby board and the second standby board receive the system data, parse data content of the system data to obtain a message version number of the system data. .
  • the second motherboard is in the same state as the version configured on the second standby board.
  • a further aspect of the present invention provides a network device, including: a first main board and a first standby board; wherein the first main Both the board and the first standby board are configured with an operating system; and the control system that is connected to the first main board and the first standby board respectively, and can not interrupt the service during the system upgrade process.
  • the network device adopts a network device of a dual main control board.
  • control method and system of the present invention that can interrupt the service during the system upgrade process have the following beneficial effects:
  • control method and system for uninterrupted service in the system upgrade process of the present invention can be performed in any time period, and the network device does not need to be restarted when the system is upgraded. Therefore, the network device is not interrupted by the present invention. And will not affect the user's use.
  • FIG. 1 is a schematic flowchart showing a control method of the present invention that can interrupt a service during a system upgrade process.
  • FIG. 2 is a schematic diagram showing the principle structure of a control system capable of not interrupting services during a system upgrade process according to the present invention.
  • FIG. 3 shows a schematic structural diagram of a network device according to the present invention.
  • the embodiment provides a control method that can interrupt the service during the system upgrade process, and the control method that can interrupt the service during the system upgrade process is applied to the first motherboard and the plurality of first standby boards that are juxtaposed.
  • the network device is configured with an operating system on the first motherboard and the first standby board.
  • FIG. 1 is a schematic flowchart showing a control method that can interrupt the service during the system upgrade process. As shown in FIG. 1, the control method that can interrupt the service during the system upgrade process includes the following steps:
  • step S1 Determine whether the running system on the first standby board needs to be upgraded. If yes, perform the next step, step S2; if not, end the process.
  • determining whether the operating system on the first standby board needs to be upgraded is based on reading the version information of the running system on the first standby board to determine whether the operating system is upgraded or not. If the version system of the running system is the latest, you do not need to upgrade the running system. If the version information of the running system is not up-to-date, you need to upgrade the running system.
  • the version information of the running system includes a writing time, a version number, or other information.
  • the network device is connected to the network side server.
  • the first standby board sends the information to the network side server in the form of an HTTP request, so that the security check is obtained.
  • S2 Upgrade the running system configured on the first standby board.
  • the standby device is not in the working state based on the network device of the dual-master card. Restarting the standby board does not interrupt the service. Loading a high version of the system file to the standby board does not interrupt the business.
  • the version number of the running system in the first motherboard is Version A
  • the version number of the running system on the first standby board is Version B.
  • the step further includes: when receiving the system data, the first standby board parses the data content of the system data to obtain a message version number of the system data. That is, after the first standby board loads the high version system, the first standby board is restarted to enable the standby board to run the high version system.
  • First master The board synchronizes data to the first standby board after the first standby board is started. Because the first motherboard runs the running system of the Version A version, the first standby board runs the running system of Version B, and the running versions of the first motherboard and the first standby board are inconsistent.
  • the message format of the synchronization data needs to carry the message version number.
  • the first standby board can know the format of the message according to the version number of the message carried by the system data, so that the synchronous data message can be correctly parsed and the data is saved into the system.
  • the level of the message version number of the system data synchronized by the first mainboard to the first standby board is relatively low.
  • the message format of one system data carries the version number of the version 1 message, the system data.
  • the content of the message carried is only the name and gender.
  • the first standby board is upgraded to the second main board, and the first main board is demoted to the second standby board.
  • the first standby board can replace the work of the first board.
  • the active/standby switchover is performed.
  • the first standby board is quickly upgraded to the main board and is in working state. Downgraded to a spare board.
  • the master/slave switchover time can reach milliseconds.
  • the first standby board is promoted to the mainboard in a short time, replacing the work of the first motherboard, so the service is not interrupted.
  • the first mainboard has been downgraded to the standby board, and the running system configured on the second standby board is upgraded.
  • the second standby board that is, the running system on the original motherboard is upgraded to the same operating system as the second motherboard, that is, the original standby board.
  • the system data on the second motherboard is synchronized to the second standby board.
  • the second motherboard synchronizes system data to the second standby board after the second standby board is restarted.
  • the message version number of the system data synchronized by the second main board to the second standby board is higher.
  • the message format of one system data carries the version number of the version 1 ', and the message content carried by the system data
  • the age and place of origin are added, which means that the high version of the system data changes the content of the message carried by the synchronized coefficient data because of the business needs. Therefore, it can be seen from this that the message version number is also changed from a low level to a high level.
  • the second standby board After receiving the system data synchronized thereto, the second standby board can know the content carried by the system data according to the message version number.
  • the second motherboard After the upgrade of the second standby board is completed, the second motherboard is in the same state as the version of the configuration running system on the second standby board.
  • the running system file upgrade is complete.
  • the entire network device is always restarted, so the service will not be interrupted and the user's use of the service will not be affected.
  • control method that can interrupt the service during the system upgrade process in this embodiment can be performed in any period of time, and the network device does not need to be restarted when the system is upgraded. Therefore, the control method that can be used in the system upgrade process without interrupting the service in the embodiment does not cause the network device to interrupt the service, which will affect the user's use.
  • the present embodiment provides a control system 10 that can be used in a system upgrade process without interrupting services.
  • the control system is applied to a network device on which a first motherboard and a first standby board are installed, the first motherboard and the first standby board. Both are configured with a running system.
  • FIG. 2 it is a schematic structural diagram of a control system that can be uninterrupted during a system upgrade process.
  • the control system 10 that can interrupt services during a system upgrade process includes: a determination module 101.
  • the determining module 101 is configured to determine whether the operating system on the first standby board needs to be upgraded, and if so, invoke the first upgrading module 102; if not, invoke the termination to terminate the service during the system upgrade process.
  • the control module allows the termination module 103.
  • the judging module 101 determines the basis for pre-existing the judgment according to the version information of the running system on the first standby board, thereby determining whether the running system is upgraded or not. If the version system of the running system is the latest, you do not need to upgrade the running system. If the version information of the running system is not up-to-date, you need to upgrade the running system.
  • the version information of the running system includes a writing time, a version number, or other information.
  • the network device is connected to the network side server.
  • the first standby board sends the information to the network side server in the form of an HTTP request, so that the security check is obtained.
  • the first upgrading module 102 located on the first standby board is connected to the determining module 101 for upgrading the operating system configured on the first standby board.
  • the standby device is not in the working state based on the network device of the dual-master card. Restarting the standby board does not interrupt the service. Loading a high version of the system file to the standby board does not interrupt the business.
  • the version number of the running system in the first motherboard is Version A
  • the version number of the running system on the first standby board is Version B.
  • the data synchronization module 104 connected to the first upgrade module 102 is configured to synchronize the system data on the first motherboard to the first standby board after the first standby board is upgraded.
  • the message format of each system data carries the message version number.
  • the data synchronization module 104 is further configured to: when the first standby board receives the system data, parse the data content of the system data to obtain a message version number of the system data. That is, after the first standby board loads the high version system, the first standby board is restarted to enable the standby board to run the high version system.
  • the first motherboard synchronizes data to the first standby board after the first standby board is started.
  • the first motherboard runs the running system of the Version A version
  • the first standby board runs the running system of Version B
  • the running versions of the first motherboard and the first standby board are inconsistent. Therefore, when the first motherboard synchronizes data to the first standby board, the message format of the synchronization data needs to carry the message version number.
  • the first standby board can know the format of the message according to the version number of the message carried by the system data, so that the synchronous data message can be correctly parsed and the data is saved into the system.
  • the level of the message version number of the system data that is synchronized by the first main board to the first standby board is relatively low, for example, the message format of one system data is carried.
  • the message version number of version1 the message content carried by the system data is only the name and gender.
  • the active/standby setting module 105 connected to the first upgrade module 101 and the data synchronization module 104 is configured to upgrade the first standby board to the second main board after the system data is synchronized to the first standby board, and the first The motherboard is downgraded to the second standby board.
  • the first standby board can completely replace the work of the first main board.
  • the active/standby switchover is performed, and the first standby board is quickly upgraded to the main board and is in a working state.
  • the motherboard is downgraded to a standby board.
  • the master/slave switchover time can reach milliseconds.
  • the first standby board is promoted to the mainboard in a short time, replacing the work of the first motherboard, so the service is not interrupted.
  • the second upgrade module 106 is located on the second standby board, that is, the second upgrade module 106 is connected to the data synchronization module 104 and the active/standby setup module 105, and the second upgrade module 106 is configured to complete the active/standby switchover step. After the first motherboard has been downgraded to the standby board, the operating system configured on the second standby board is upgraded. The second upgrade module 106 upgrades the second standby board, that is, the running system on the original motherboard, to the same operating system as the second motherboard, that is, the original standby board.
  • the data synchronization module 104 is configured to synchronize the system data on the second motherboard to the second standby board, and the second standby board is received by the second standby board.
  • the data content of the system data is parsed to obtain the message version number of the system data.
  • the second motherboard synchronizes system data to the second standby board after the second standby board is restarted. In this step, the message version number of the system data synchronized by the second main board to the second standby board is higher.
  • the message format of one system data carries the version number of the version 1 ', and the message content carried by the system data The age and place of origin are added, which means that the high version of the system data changes the content of the message carried by the synchronized coefficient data because of the business needs. Therefore, it can be seen from this that the message version number is also changed from a low level to a high level.
  • the second standby board can know the content carried by the system data according to the message version number.
  • the second upgrade module upgrades the operating system on the second standby board
  • the second motherboard is in the same state as the version of the running system on the second standby board.
  • the present embodiment also provides a network device 1.
  • a network device 1 Referring to FIG. 3, it is shown as a schematic structural diagram of a network device.
  • the network device 1 includes a first main board 11 and a first standby board 12; wherein the first main board 11 and the first standby board 12 are all provided with an operating system. And the above-mentioned control system 13 connected to the first main board 11 and the first standby board 12, which can not interrupt the service during the system upgrade process.
  • the network device 1 can adopt a network device of a dual main control board.
  • the first standby board is automatically upgraded to a new motherboard to replace the first motherboard, and the first motherboard automatically Downgraded to a new standby board, the motherboard receiving the information synchronizes system data to it.
  • control method and system according to the present invention that can not interrupt the service during the system upgrade process can be performed in any time period, and the network device does not need to be restarted when the system is upgraded. Therefore, the present invention does not The network device is interrupted without affecting the user's use. Therefore, the present invention effectively overcomes various shortcomings in the prior art. High industrial use value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

本发明提供一种可在系统升级过程中不中断业务的控制方法,应用于安装有第一主板和多个并列存在的第一备板的网络设备,第一主板和第一备板上都配置有运行系统,可在系统升级过程中不中断业务的控制方法包括:将配置在第一备板上的运行系统进行升级;待第一备板升级完毕,将第一主板上的系统数据同步至第一备板上;待系统数据同步至第一备板后,将该第一备板升级为第二主板,将第一主板降级为第二备板;将配置在第二备板上的运行系统进行升级;待第二备板升级完毕,将第二主板上的系统数据同步至第二备板上。本发明可以在任意时间段内进行,在进行系统升级的时候无需重启网络设备,因此,采用本发明不会使网络设备中断业务,且不会影响用户的使用。

Description

一种可在系统升级过程中不中断业务的控制方法及系统 技术领域
本发明属于通信设备技术领域,涉及一种控制方法及系统,特别是涉及一种可在系统升级过程中不中断业务的控制方法及系统。
背景技术
如果说由于微型计算机的普及,导致了若干台微机相互连接,从而产生了局域网的话,那么由于网络的普遍应用,为了在更大范围内实现相互通信和资源共享,网络之间的互联便成为一种信息快速传达的最好方式。
网络互联时,必须解决如下问题:在物理上如何把两种网络连接起来。一种网络如何与另一种网络实现互访与通信,如何解决它们之间协议方面的差别,如何处理速率与带宽的差别,解决这些问题,协调,转换机制的部件就是中继器,网桥,路由器,接入设备和网关等。
目前,电信级或者核心企业交换机等网络设备对系统的可靠性都有着比较高的要求,尤其在特定场景下要求设备进行系统升级时不能中断业务。当前市场上大多数设备在系统升级时都要重新启动系统以使得升级后新版本生效,这就会造成客户业务的中断。因此,多数设备习惯在特定时间(如深夜)在进行系统升级时,目的就是尽量减少对业务的影响。
因此,如何提供一种可在系统升级过程中不中断业务的控制方法及系统,以解决现有技术中网络设备在进行系统升级的时候需要重启设备,那么会造成业务需要中断,且中断业务的时间较长影响用户的使用等种种缺陷,实已成为本领域从业者亟待解决的技术问题。
发明内容
鉴于以上所述现有技术的缺点,本发明的目的在于提供一种可在系统升级过程中不中断业务的控制方法及系统,用于解决现有技术中网络设备在进行系统升级的时候需要重启设备,那么会造成业务需要中断,且中断业务的时间较长影响用户的使用的问题。
为实现上述目的及其他相关目的,本发明提供一种可在系统升级过程中不中断业务的控制方法,该控制方法应用于安装有第一主板和多个并列存在的第一备板的网络设备,所述第一主板和第一备板上都配置有运行系统,所述可在系统升级过程中不中断业务的控制方法包括以下步骤:将配置在所述第一备板上的运行系统进行升级;待所述第一备板升级完毕,将所述第一主板上的系统数据同步至所述第一备板上;待系统数据同步至所述第一备板后,将 该第一备板升级为第二主板,将第一主板降级为第二备板;将配置在所述第二备板上的运行系统进行升级;待所述第二备板升级完毕,将所述第二主板上的系统数据同步至所述第二备板上。
可选地,所述可在系统升级过程中不中断业务的控制方法还包括判断所述第一备板上的运行系统是否需要升级,若是,执行将配置在所述第一备板上的运行系统进行升级的步骤;若否,结束进程。
可选地,每一条系统数据的消息格式为携带有消息版本号。
可选地,在所述第一备板和第二备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。
可选地,待所述第二备板升级完毕表示所述第二主板与所述第二备板上配置运行系统的版本处于相同状态。
本发明另一方面还提供一种可在系统升级过程中不中断业务的控制系统,该控制系统应用于安装有第一主板和第一备板的网络设备,所述第一主板和第一备板上都配置有运行系统,所述可在系统升级过程中不中断业务的控制系统包括:位于第一备板上的第一升级模块,用于将配置在所述第一备板上的运行系统进行升级;数据同步模块,与所述第一升级模块连接,用于待所述第一备板升级完毕,将所述第一主板上的系统数据同步至所述第一备板上;主备设置模块,分别与所述第一升级模块和数据同步模块连接,用于待系统数据同步至所述第一备板后,将该第一备板升级为第二主板,将第一主板降级为第二备板;位于在所述第二备板上的第二升级模块,分别与所述数据同步模块和主备设置模块连接,用于将配置在所述第二备板上的运行系统进行升级;其中,待所述第二备板升级完毕,所述数据同步模块将所述第二主板上的系统数据同步至所述第二备板上。
可选地,所述可在系统升级过程中不中断业务的控制系统还包括与所述第一升级模块连接的判断模块,所述判断模块用于判断所述第一备板上的运行系统是否需要升级,若是,调用用于执行将配置在所述第一备板上的运行系统进行升级的第一升级模块;若否,调用用于终止所述可在系统升级过程中不中断业务的控制系统的运行的终止模块。
可选地,所述数据同步模块还用于在所述第一备板和第二备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。
可选地,待所述第二升级模块将所述第二备板上的运行系统系统进行升级后,所述第二主板与所述第二备板上配置运行系统的版本处于相同状态。
本发明又一方面还提供一种网络设备,包括:第一主板和第一备板;其中,所述第一主 板和第一备板上都配置有运行系统;分别与所述第一主板和第一备板连接的,所述的可在系统升级过程中不中断业务的控制系统。
可选地,所述网络设备采用双主控板卡的网络设备。
如上所述,本发明的可在系统升级过程中不中断业务的控制方法及系统,具有以下有益效果:
本发明所述的可在系统升级过程中不中断业务的控制方法及系统可以在任意时间段内进行,在进行系统升级的时候无需重启网络设备,因此,采用本发明不会使网络设备中断业务,且不会影响用户的使用。
附图说明
图1显示为本发明的可在系统升级过程中不中断业务的控制方法流程示意图。
图2显示为本发明的可在系统升级过程中不中断业务的控制系统的原理结构示意图。
图3显示为本发明的网络设备的原理结构示意图。
元件标号说明
10       可在系统升级过程中不中断业务的控制系统
101      判断模块
102      第一升级模块
103      终止模块
104      数据同步模块
105      主备设置模块
106      第二升级模块
1        网络设备
11       第一主板
12       第一备板
13       可在系统升级过程中不中断业务的控制系统
S1~S6   步骤
具体实施方式
以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露 的内容轻易地了解本发明的其他优点与功效。本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。
需要说明的是,以下实施例中所提供的图示仅以示意方式说明本发明的基本构想,遂图式中仅显示与本发明中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。
实施例一
本实施例提供一种可在系统升级过程中不中断业务的控制方法,该可在系统升级过程中不中断业务的控制方法应用于安装有第一主板和多个并列存在的第一备板的网络设备,所述第一主板和第一备板上都配置有运行系统。请参阅图1,显示为可在系统升级过程中不中断业务的控制方法流程示意图。如图1所示,所述可在系统升级过程中不中断业务的控制方法包括以下步骤:
S1,判断所述第一备板上的运行系统是否需要升级,若是,执行下一步骤,即步骤S2;若否,结束进程。在本实施例中,判断所述第一备板上的运行系统是否需要升级的判断依据是通过读取所述第一备板上的运行系统的版本信息以此来判断该运行系统升级与否,若运行系统的版本系统为最新,则不需要对运行系统进行升级,若运行系统的版本信息非最新,则需要对运行系统进行升级。所述运行系统的版本信息包括写入时间、版本号或者他信息。在本实施例中,所述网络设备与网络侧服务器连接,当运行系统的版本系统非最新时,第一备板会通过HTTP请求的形式发送到所述网络侧服务器,从而获取到经过安全检测中心的审核认证,绿色无毒,安全的高级版本的运行系统。
S2,将配置在所述第一备板上的运行系统进行升级。在本实施例中,基于双主控板卡的网络设备,备板没有处于工作状态,重启备板不会中断业务。将高版本系统文件加载到备板不会中断业务。例如,在本实施例中,第一主板中的运行系统的版本号为Version A,而第一备板上的运行系统的版本号为Version B。
S3,待所述第一备板升级完毕,将所述第一主板上的系统数据同步至所述第一备板上。其中,每一条系统数据的消息格式为携带有消息版本号。本步骤还包括,所述第一备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。也就是说,在第一备板加载完高版本系统后,重启第一备板以使得备板运行高版本系统。第一主 板在第一备板启动完成后向第一备板同步数据。因为此时第一主板运行Version A版本的运行系统,第一备板运行的是Version B的运行系统,第一主板和第一备板两边运行系统版本不一致。因此,第一主板在向第一备板同步数据时,同步数据的消息格式需要携带消息版本号。第一备板在接收到同步至其上的系统数据时,根据系统数据携带的消息版本号可以知道消息的格式,从而可以正确解析同步数据的消息,将数据保存到系统中。在本步骤中,所述第一主板同步至所述第一备板上的系统数据的消息版本号的级别比较低,例如,其中一条系统数据的消息格式携带version1的消息版本号,该系统数据携带的消息内容只有姓名和性别。
S4,待系统数据同步至所述第一备板后,将该第一备板升级为第二主板,将第一主板降级为第二备板。在本步骤中,当数据同步完成后,表明第一备板完全可以接替第一主板的工作,此时将主备倒换,第一备板快速升级为主板并令其处于工作状态,第一主板降级为备板。在本步骤中,主备倒换的时间可以达到毫秒级,第一备板在短时间内升为主板,接替第一主板的工作,因此不会中断业务。
S5,待主备倒换步骤完成后,第一主板已降级成备板后,将配置在所述第二备板上的运行系统进行升级。在本步骤中,将第二备板,也就是原主板上的运行系统升级为与所述第二主板,也就是原备板一样的运行系统。
S6,待所述第二备板升级完毕,将所述第二主板上的系统数据同步至所述第二备板上。第二主板在第二备板重启完成后向第二备板同步系统数据。在该步骤中,第二主板向第二备板同步的系统数据的消息版本号的级别较高,例如,其中一条系统数据的消息格式携带version1’的消息版本号,该系统数据携带的消息内容中增加了年龄和籍贯,也就说高版本的系统数据因为业务需要对同步的系数数据携带的消息内容作了改变。所以,从此可以看出,消息版本号也从低级别变成了高级别,第二备板接收到同步至其上的系统数据后根据消息版本号,可以知悉系统数据携带的内容。在本实施例中,待所述第二备板升级完毕表示所述第二主板与所述第二备板上配置运行系统的版本处于相同状态。
至此运行系统文件升级完成。在整个运行系统升级的过程中,始终咩有重启整个网络设备,因此也不会中断业务,不会影响用户对业务的使用。
本实施例所述的可在系统升级过程中不中断业务的控制方法可以在任意时间段内进行,在进行系统升级的时候无需重启网络设备。因此,采用本实施例所述的可在系统升级过程中不中断业务的控制方法不会使网络设备中断业务,切会影响用户的使用。
实施例二
本实施例提供一种可在系统升级过程中不中断业务的控制系统10,该控制系统应用于安装有第一主板和第一备板的网络设备,所述第一主板和第一备板上都配置有运行系统。请参阅图2,显示为可在系统升级过程中不中断业务的控制系统的原理结构示意图,如图2所示,所述可在系统升级过程中不中断业务的控制系统10包括:判断模块101、第一升级模块102、终止模块103、数据同步模块104、主备设置模块105、及第二升级模块106。
判断模块101用于判断所述第一备板上的运行系统是否需要升级,若是,调用所述第一升级模块102;若否,调用用于终止所述可在系统升级过程中不中断业务的控制系统允许的终止模块103。在本实施例中,所述判断模块了101的中预存判断依据,该判断依据是通过读取所述第一备板上的运行系统的版本信息以此来判断该运行系统升级与否,若运行系统的版本系统为最新,则不需要对运行系统进行升级,若运行系统的版本信息非最新,则需要对运行系统进行升级。所述运行系统的版本信息包括写入时间、版本号或者他信息。在本实施例中,所述网络设备与网络侧服务器连接,当运行系统的版本系统非最新时,第一备板会通过HTTP请求的形式发送到所述网络侧服务器,从而获取到经过安全检测中心的审核认证,绿色无毒,安全的高级版本的运行系统。
与所述判断模块101连接位于在所述第一备板上的第一升级模块102用于将配置在所述第一备板上的运行系统进行升级。在本实施例中,基于双主控板卡的网络设备,备板没有处于工作状态,重启备板不会中断业务。将高版本系统文件加载到备板不会中断业务。例如,在本实施例中,第一主板中的运行系统的版本号为Version A,而第一备板上的运行系统的版本号为Version B。
与所述第一升级模块102连接的数据同步模块104用于待所述第一备板升级完毕,将所述第一主板上的系统数据同步至所述第一备板上。其中,每一条系统数据的消息格式为携带有消息版本号。所述数据同步模块104还用于所述第一备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。也就是说,在第一备板加载完高版本系统后,重启第一备板以使得备板运行高版本系统。第一主板在第一备板启动完成后向第一备板同步数据。因为此时第一主板运行Version A版本的运行系统,第一备板运行的是Version B的运行系统,第一主板和第一备板两边运行系统版本不一致。因此,第一主板在向第一备板同步数据时,同步数据的消息格式需要携带消息版本号。第一备板在接收到同步至其上的系统数据时,根据系统数据携带的消息版本号可以知道消息的格式,从而可以正确解析同步数据的消息,将数据保存到系统中。在本实施例中,所述第一主板同步至所述第一备板上的系统数据的消息版本号的级别比较低,例如,其中一条系统数据的消息格式携带 version1的消息版本号,该系统数据携带的消息内容只有姓名和性别。
与所述第一升级模块101和数据同步模块104连接的主备设置模块105用于待系统数据同步至所述第一备板后,将该第一备板升级为第二主板,将第一主板降级为第二备板。在本实施例中,当数据同步完成后,表明第一备板完全可以接替第一主板的工作,此时将主备倒换,第一备板快速升级为主板并令其处于工作状态,第一主板降级为备板。主备倒换的时间可以达到毫秒级,第一备板在短时间内升为主板,接替第一主板的工作,因此不会中断业务。
位于所述第二备板上,即原主板上的第二升级模块106分别与所述数据同步模块104和主备设置模块105连接,所述第二升级模块106用于待主备倒换步骤完成后,第一主板已降级成备板后,将配置在所述第二备板上的运行系统进行升级。所述第二升级模块106将第二备板,也就是原主板上的运行系统升级为与所述第二主板,也就是原备板一样的运行系统。
所述数据同步模块104待所述第二备板升级完毕,还用于将所述第二主板上的系统数据同步至所述第二备板上,且所述第二备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。第二主板在第二备板重启完成后向第二备板同步系统数据。在该步骤中,第二主板向第二备板同步的系统数据的消息版本号的级别较高,例如,其中一条系统数据的消息格式携带version1’的消息版本号,该系统数据携带的消息内容中增加了年龄和籍贯,也就说高版本的系统数据因为业务需要对同步的系数数据携带的消息内容作了改变。所以,从此可以看出,消息版本号也从低级别变成了高级别,第二备板接收到同步至其上的系统数据后根据消息版本号,可以知悉系统数据携带的内容。待所述第二升级模块将所述第二备板上的运行系统系统进行升级后,所述第二主板与所述第二备板上配置运行系统的版本处于相同状态。
本实施还提供一种网络设备1,请参阅图3,显示为网络设备的原理结构示意图。如图3所示,所述网络设备1包括第一主板11和第一备板12;其中,所述第一主板11和第一备板12上都配置有运行系统。及分别与所述第一主板11和第一备板12连接的,上述的可在系统升级过程中不中断业务的控制系统13。在本实施例中,所述网络设备1可采用双主控板卡的网络设备。在所述网络设备1运行所述可在系统升级过程中不中断业务的控制系统13时,所述第一备板自动升级为新的主板接替所述第一主板工作,所述第一主板自动降级为新的备板,接收信息的主板向其同步系统数据。
综上所述,本发明所述的可在系统升级过程中不中断业务的控制方法及系统可以在任意时间段内进行,在进行系统升级的时候无需重启网络设备,因此,采用本发明不会使网络设备中断业务,且不会影响用户的使用。所以,本发明有效克服了现有技术中的种种缺点而具 高度产业利用价值。
上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。

Claims (11)

  1. 一种可在系统升级过程中不中断业务的控制方法,其特征在于,该控制方法应用于安装有第一主板和多个并列存在的第一备板的网络设备,所述第一主板和第一备板上都配置有运行系统,所述可在系统升级过程中不中断业务的控制方法包括以下步骤:
    将配置在所述第一备板上的运行系统进行升级;
    待所述第一备板升级完毕,将所述第一主板上的系统数据同步至所述第一备板上;
    待系统数据同步至所述第一备板后,将该第一备板升级为第二主板,将第一主板降级为第二备板;
    将配置在所述第二备板上的运行系统进行升级;
    待所述第二备板升级完毕,将所述第二主板上的系统数据同步至所述第二备板上。
  2. 根据权利要求1所述的可在系统升级过程中不中断业务的控制方法,其特征在于:所述可在系统升级过程中不中断业务的控制方法还包括判断所述第一备板上的运行系统是否需要升级,若是,执行将配置在所述第一备板上的运行系统进行升级的步骤;若否,结束进程。
  3. 根据权利要求1所述的可在系统升级过程中不中断业务的控制方法,其特征在于:每一条系统数据的消息格式为携带有消息版本号。
  4. 根据权利要求3所述的可在系统升级过程中不中断业务的控制方法,其特征在于:在所述第一备板和第二备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。
  5. 根据权利要求1所述的可在系统升级过程中不中断业务的控制方法,其特征在于:
    待所述第二备板升级完毕表示所述第二主板与所述第二备板上配置运行系统的版本处于相同状态。
  6. 一种可在系统升级过程中不中断业务的控制系统,其特征在于,该控制系统应用于安装有第一主板和第一备板的网络设备,所述第一主板和第一备板上都配置有运行系统,所述可在系统升级过程中不中断业务的控制系统包括:
    位于第一备板上的第一升级模块,用于将配置在所述第一备板上的运行系统进行升级;
    数据同步模块,与所述第一升级模块连接,用于待所述第一备板升级完毕,将所述第一主板上的系统数据同步至所述第一备板上;
    主备设置模块,分别与所述第一升级模块和数据同步模块连接,用于待系统数据同步至所述第一备板后,将该第一备板升级为第二主板,将第一主板降级为第二备板;
    位于在所述第二备板上的第二升级模块,分别与所述数据同步模块和主备设置模块连接,用于将配置在所述第二备板上的运行系统进行升级;
    其中,待所述第二备板升级完毕,所述数据同步模块将所述第二主板上的系统数据同步至所述第二备板上。
  7. 根据权利要求6所述的可在系统升级过程中不中断业务的控制系统,其特征在于:所述可在系统升级过程中不中断业务的控制系统还包括与所述第一升级模块连接的判断模块,所述判断模块用于判断所述第一备板上的运行系统是否需要升级,若是,调用用于执行将配置在所述第一备板上的运行系统进行升级的第一升级模块;若否,调用用于终止所述可在系统升级过程中不中断业务的控制系统的运行的终止模块。
  8. 根据权利要求6所述的可在系统升级过程中不中断业务的控制系统,其特征在于:
    所述数据同步模块还用于在所述第一备板和第二备板在接收到所述系统数据时,解析所述系统数据的数据内容以获知该系统数据的消息版本号。
  9. 根据权利要求6所述的可在系统升级过程中不中断业务的控制系统,其特征在于:待所述第二升级模块将所述第二备板上的运行系统系统进行升级后,所述第二主板与所述第二备板上配置运行系统的版本处于相同状态。
  10. 一种网络设备,其特征在于,包括:
    第一主板和第一备板;其中,所述第一主板和第一备板上都配置有运行系统;
    分别与所述第一主板和第一备板连接的,如权利要求6-9中任一所述的可在系统升级过程中不中断业务的控制系统。
  11. 根据权利要求10所述的网络设备,其特征在于:所述网络设备采用双主控板卡的网络设备。
PCT/CN2015/095194 2015-08-11 2015-11-20 一种可在系统升级过程中不中断业务的控制方法及系统 WO2017024688A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510489433.2 2015-08-11
CN201510489433.2A CN105141453A (zh) 2015-08-11 2015-08-11 一种可在系统升级过程中不中断业务的控制方法及系统

Publications (1)

Publication Number Publication Date
WO2017024688A1 true WO2017024688A1 (zh) 2017-02-16

Family

ID=54726671

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/095194 WO2017024688A1 (zh) 2015-08-11 2015-11-20 一种可在系统升级过程中不中断业务的控制方法及系统

Country Status (2)

Country Link
CN (1) CN105141453A (zh)
WO (1) WO2017024688A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459528A (zh) * 2020-04-01 2020-07-28 Tcl移动通信科技(宁波)有限公司 频段升级方法、系统、存储介质及移动终端

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107919976A (zh) * 2016-10-10 2018-04-17 中兴通讯股份有限公司 电信设备升级系统及升级方法
CN107423082A (zh) * 2017-04-18 2017-12-01 广东浪潮大数据研究有限公司 一种多活服务器系统升级方法及平台
CN106953769A (zh) * 2017-04-18 2017-07-14 广东浪潮大数据研究有限公司 一种多活服务器系统升级方法及平台
CN107038048A (zh) * 2017-04-18 2017-08-11 广东浪潮大数据研究有限公司 一种双活服务器系统升级方法及平台
CN107066299A (zh) * 2017-04-18 2017-08-18 广东浪潮大数据研究有限公司 一种多活服务器系统升级方法及平台
CN107040417A (zh) * 2017-04-18 2017-08-11 广东浪潮大数据研究有限公司 一种多活服务器系统升级方法及平台
CN107580322A (zh) * 2017-08-28 2018-01-12 驭势科技(北京)有限公司 无人驾驶车辆软件系统的升级方法、装置和无人驾驶车辆
CN108768726A (zh) * 2018-05-30 2018-11-06 郑州云海信息技术有限公司 一种服务器集群的升级方法及装置
CN109582335B (zh) * 2018-12-03 2022-02-18 郑州云海信息技术有限公司 一种无中断存储集群节点在线升级方法、装置及设备
CN111431730B (zh) * 2019-01-10 2023-04-07 阿里巴巴集团控股有限公司 一种业务处理方法、系统、计算机设备及可读介质
CN111651175A (zh) * 2020-04-27 2020-09-11 厦门科灿信息技术有限公司 数据中心监控系统的升级方法、装置、终端及存储介质
CN116264547A (zh) * 2021-12-13 2023-06-16 中兴通讯股份有限公司 基站版本升级方法、基站、网络设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030105988A1 (en) * 2001-12-04 2003-06-05 Vedvyas Shanbhogue Rolling software upgrades for fault tolerant systems
CN1741664A (zh) * 2004-08-29 2006-03-01 华为技术有限公司 通信设备子系统升级方法
CN101102219A (zh) * 2007-07-30 2008-01-09 华为技术有限公司 软件升级系统以及软件升级方法
CN101888304A (zh) * 2009-05-15 2010-11-17 华为技术有限公司 一种路由设备的升级方法、装置和系统
CN101997708A (zh) * 2009-08-11 2011-03-30 中兴通讯股份有限公司 一种主备板远程升级方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030105988A1 (en) * 2001-12-04 2003-06-05 Vedvyas Shanbhogue Rolling software upgrades for fault tolerant systems
CN1741664A (zh) * 2004-08-29 2006-03-01 华为技术有限公司 通信设备子系统升级方法
CN101102219A (zh) * 2007-07-30 2008-01-09 华为技术有限公司 软件升级系统以及软件升级方法
CN101888304A (zh) * 2009-05-15 2010-11-17 华为技术有限公司 一种路由设备的升级方法、装置和系统
CN101997708A (zh) * 2009-08-11 2011-03-30 中兴通讯股份有限公司 一种主备板远程升级方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459528A (zh) * 2020-04-01 2020-07-28 Tcl移动通信科技(宁波)有限公司 频段升级方法、系统、存储介质及移动终端
CN111459528B (zh) * 2020-04-01 2024-01-09 Tcl移动通信科技(宁波)有限公司 频段升级方法、系统、存储介质及移动终端

Also Published As

Publication number Publication date
CN105141453A (zh) 2015-12-09

Similar Documents

Publication Publication Date Title
WO2017024688A1 (zh) 一种可在系统升级过程中不中断业务的控制方法及系统
US9235408B2 (en) Non-disruptive software updates for servers processing network traffic
US9331870B2 (en) Switch, information processing apparatus, and information processing system
CN102609281B (zh) 分布式软件补丁更新方法及系统
CN101483576B (zh) 一种分布式系统中的版本管理实现方法
CN105677380B (zh) 一种双主控隔离的逐板升级的方法及装置
CN103488721B (zh) 主备板的数据库双向同步方法和系统
CN111400777B (zh) 一种网络存储系统、用户认证方法、装置及设备
US9367298B1 (en) Batch configuration mode for configuring network devices
CN104615455A (zh) 一种atca架构的ipmc程序远程升级方法及装置
CN111026735B (zh) 一种数据传输方法、装置、设备及介质
WO2014180207A1 (zh) 元数据服务器的迁移处理方法及装置
CN100527661C (zh) 一种实现多时钟同步的方法及系统
CN107888434B (zh) 网络设备配置同步方法和装置
WO2012062113A1 (zh) 多核热补丁的实现方法及系统
CN109462509B (zh) 一种板卡的批量备份的方法和装置
CN111752577B (zh) 一种系统版本的升级方法及设备
US10795747B2 (en) File synchronizing service status monitoring and error handling
CN111090537B (zh) 集群启动方法、装置、电子设备及可读存储介质
CN111241200A (zh) 基于SQLite数据库的主备同步处理方法及装置
CN109005203B (zh) 数据同步方法及装置、存储介质、处理器、终端
EP4254831A1 (en) Method and device for selecting clock source
US11553334B1 (en) User equipment (UE) identification in a wireless communication network
Cisco Release Notes for Cisco MGX 8260 Media Gateway, Version 1.2.4
CN114281890A (zh) 一种bios带外管理系统及方法

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: 15900883

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: 15900883

Country of ref document: EP

Kind code of ref document: A1