WO2015127850A1 - Procédé de mise à niveau de données et serveur central - Google Patents

Procédé de mise à niveau de données et serveur central Download PDF

Info

Publication number
WO2015127850A1
WO2015127850A1 PCT/CN2015/072340 CN2015072340W WO2015127850A1 WO 2015127850 A1 WO2015127850 A1 WO 2015127850A1 CN 2015072340 W CN2015072340 W CN 2015072340W WO 2015127850 A1 WO2015127850 A1 WO 2015127850A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
server
upgraded
needs
upgrade
Prior art date
Application number
PCT/CN2015/072340
Other languages
English (en)
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 WO2015127850A1 publication Critical patent/WO2015127850A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a data upgrade method and a central server.
  • server clusters are widely used in the service network field. Servers in a cluster often need to be upgraded as development continues, but clusters are too large, making upgrades cumbersome. In the existing technical solution, if the services in the cluster need to be upgraded, they are usually deployed manually, but the deployment is error-prone and cumbersome and slow.
  • the embodiment of the present application provides a data upgrade method and a central server.
  • the central server can control the upgrade of applications in each application server that completes the server cluster, so that the application upgrade implementation process is faster.
  • the embodiment of the present application provides a data upgrade method, including:
  • the central server of the server cluster determines the applications that need to be upgraded in the application server of the server cluster
  • the central server obtains the deployment information of the application to be upgraded in the application server of the server cluster, and determines the application server where the application to be upgraded is located;
  • the central server notifies the application server where the application to be upgraded is located to upgrade the application that needs to be upgraded.
  • the application server that the application that needs to be upgraded is notified to upgrade the application that needs to be upgraded, including:
  • the central server sets the application server status of the application that needs to be upgraded to be unavailable
  • the central server sends a service status change letter to the application server where the application to be upgraded is located.
  • Information so that the application server that receives the service status change information stops providing services to the application that needs to be upgraded;
  • the central server receives an upgrade request sent from an application server that stops providing service to the application that needs to be upgraded;
  • the central server sends an upgrade packet of the application to be upgraded to the application server that sent the upgrade request.
  • the application server that the application that needs to be upgraded is notified to upgrade the application that needs to be upgraded, including:
  • the application server where the application to be upgraded is divided into at least two application server groups, and the at least two application server groups are notified to upgrade the applications that need to be upgraded.
  • the application server that needs to be upgraded upgrades the application that needs to be upgraded, and includes:
  • the application server that needs to be upgraded in addition to the backup server, provides services to the application that needs to be upgraded by the backup server.
  • the application server that needs to be upgraded is upgraded, the application server that needs to be upgraded, except the backup server, is upgraded.
  • a central server including:
  • An application determining unit configured to determine an application that needs to be upgraded in an application server of the server cluster
  • a server determining unit configured to obtain deployment information of an application to be upgraded in an application server of the server cluster, and determine an application server where the application to be upgraded is located;
  • the upgrade notification unit is configured to notify the application server where the application to be upgraded is located to upgrade the application that needs to be upgraded;
  • the upgrade notification unit includes:
  • a status setting sub-unit for setting the status of the application server where the application to be upgraded is unavailable
  • An information sending subunit configured to send service state change information to an application server where an application to be upgraded is located, so that an application server that receives the service state change information stops providing services to an application that needs to be upgraded;
  • a request receiving subunit configured to receive an upgrade request sent from an application server that stops providing service to an application that needs to be upgraded
  • the data sending subunit is configured to send an upgrade data packet of the application that needs to be upgraded to the application server that sends the upgrade request.
  • the upgrade notification unit includes:
  • a first notification unit configured to simultaneously notify all application servers in which the application to be upgraded is located to upgrade an application that needs to be upgraded
  • the second notification unit is configured to divide the application server where the application to be upgraded is divided into at least two application server groups, and notify the at least two application server groups to upgrade the application that needs to be upgraded.
  • the central server further includes:
  • a backup unit configured to select a backup server in the server cluster.
  • the embodiment of the present application further provides a storage medium, where the storage medium is used to store an application, and the application is used to execute a method for data upgrade described in the present application at runtime.
  • an embodiment of the present application further provides an application, where the application is used to perform a data upgrade method described in the present application at runtime.
  • the embodiment of the present application further provides a central server, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the central server of the server cluster determines the application that needs to be upgraded in the application server of the server cluster; the central server obtains the deployment information of the application to be upgraded in the application server of the server cluster, and determines the application server where the application to be upgraded is located. The central server notifies the application server where the application to be upgraded is located to upgrade the application that needs to be upgraded. The central server can control the upgrade of applications in each application server that completes the server cluster, so that the application upgrade implementation process is faster.
  • FIG. 1 is a flow chart of a first embodiment of a method for data upgrade proposed by the present application
  • FIG. 2 is a flow chart of another embodiment of a method for data upgrade proposed by the present application.
  • FIG. 3 is a schematic structural diagram of a center server according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an upgrade notification unit in a central server according to an embodiment of the present application.
  • FIG. 5 is another schematic structural diagram of an upgrade notification unit in a central server according to an embodiment of the present application.
  • FIG. 1 is a flowchart of a first embodiment of a data upgrade method proposed by the present application. include:
  • the central server of the server cluster determines an application that needs to be upgraded in the application server of the server cluster.
  • each application server is connected to the central server and maintains a heartbeat with the central server.
  • the central server checks that the application needs to be upgraded.
  • the cluster administrator can view the application upgrades in the application server of the server cluster to determine the applications that need to be upgraded in the application server of the server cluster.
  • the cluster manager can be a client tool that is connected to the central server and runs on the cluster administrator's computer.
  • the administrator can upload the application upgrade package that needs to be upgraded to the central server.
  • the central server obtains deployment information of the application to be upgraded in the application server of the server cluster, and determines an application server where the application to be upgraded is located.
  • the deployment information of the application server is obtained, and it is convenient to determine which application server is deployed in the application server.
  • the application server 1 is deployed with applications a, c; the application server 2 is deployed with applications a, b; the application server 3 is deployed with applications b, c; and the application server 4 is deployed with applications a, b, c, d .
  • the application to be upgraded is a
  • the deployment information of the application in the application server is as shown in the above, and the application to be upgraded is deployed on the application server 1, the application server 2, and the application server. 4.
  • the central server notifies the application server where the application to be upgraded is located to upgrade the application that needs to be upgraded.
  • all the application servers in which the application to be upgraded are located may be notified at the same time; or the application server in which the application to be upgraded is located may be divided into at least two application server groups, and the application server group is notified in succession. For example, after the first application server group has completed the upgrade, Notify the second application server group. In this way, the application server is upgraded in batches, and it can be ensured that there is always an application server to provide services for the application that needs to be upgraded.
  • the central server notifies the application server that needs to be upgraded to upgrade the application that needs to be upgraded, and may select a backup server in the server cluster.
  • the application to be upgraded is deployed in the backup server, and the application server that needs to be upgraded (except the backup server) upgrades the application to be upgraded, and the backup server provides the application to be upgraded.
  • Service the application server where the application to be upgraded is located (except the above backup server) is upgraded, and the application that needs to be upgraded is stopped on the backup server.
  • the foregoing S103 may include:
  • the central server sets the application server status of the application that needs to be upgraded to be unavailable.
  • the central server sends the service status change information to the application server where the application to be upgraded is located, so that the application server that receives the service status change information stops providing services to the application that needs to be upgraded.
  • the central server receives an upgrade request sent from an application server that stops the application providing service that needs to be upgraded.
  • the central server sends an upgrade data packet of the application that needs to be upgraded to the application server that sends the upgrade request, so that the application server that receives the upgrade data packet is upgraded according to the application that needs to be upgraded.
  • the central server detects that the application server completes the upgrade, the application server status that can be upgraded is made available.
  • the central server may first set the status of the first application server group to an unavailable state, and then send the service status change information to the application server group. After receiving the upgrade request sent by the application server group, sending an upgrade data packet to the application server group. After the first application server group completes the upgrade, it operates on the second application server group. Since the related operations are the same or similar, the embodiments of the present application are not described again.
  • the central server in the embodiment of the present application determines the application information of the application that needs to be upgraded in the application server of the server cluster, and determines the application server where the application to be upgraded is located, and Send the upgrade data package of the application to be upgraded to the application server where the application to be upgraded is located, so that the application server that receives the upgrade data package is upgraded according to the application that needs to be upgraded, and the central server can control each application server that completes the server cluster.
  • the upgrade of the application in the application makes the application upgrade process faster.
  • FIG. 3 is a schematic structural diagram of a central server according to an embodiment of the present application.
  • the central server described in the embodiment of the present application at least includes:
  • the application determining unit 301 is configured to determine an application that needs to be upgraded in the application server of the server cluster.
  • each application server is connected to the central server and maintains a heartbeat with the central server.
  • the central server checks that the application needs to be upgraded.
  • the server determining unit 302 is configured to obtain deployment information of an application to be upgraded in an application server of the server cluster, and determine an application server where the application to be upgraded is located.
  • the deployment information of the application server is obtained, and it is convenient to determine which application server is deployed in the application server.
  • the application server 1 is deployed with applications a, c; the application server 2 is deployed with applications a, b; the application server 3 is deployed with applications b, c; and the application server 4 is deployed with applications a, b, c, d .
  • the application to be upgraded is a, and it can be seen from the above-mentioned deployment information of the application in the application server that the application to be upgraded is deployed on the application server 1, the application server 2, and the application. Server 4.
  • the upgrade notification unit 303 is configured to notify the application server where the application to be upgraded is located to upgrade the application that needs to be upgraded.
  • the upgrade notification unit 303 further includes:
  • a first notification subunit 431, configured to simultaneously notify all application servers where the application to be upgraded is located;
  • the second notification sub-unit 432 is configured to divide the application server where the application to be upgraded is divided into at least two application server groups, and notify the at least two application server groups to upgrade the application that needs to be upgraded. For example, after the first application server group completes the upgrade, notify the second application. Server group. In this way, the application server is upgraded in batches, and it can be ensured that there is always an application server to provide services for the application that needs to be upgraded.
  • the central server further includes:
  • the backup unit is configured to select a backup server in the server cluster, deploy the application to be upgraded in the backup server, and upgrade the application to be upgraded on the application server (excluding the backup server) where the application to be upgraded is located.
  • the service server that needs to be upgraded is provided by the backup server. After the application server (excluding the backup server) where the upgraded application is deployed is upgraded, the application that needs to be upgraded is stopped on the backup server.
  • the upgrade notification unit 303 may further include:
  • the status setting sub-unit 531 is configured to set the application server status of the application that needs to be upgraded to be unavailable.
  • the information sending sub-unit 532 is configured to send the service status change information to the application server where the application to be upgraded is located, so that the application server that receives the service status change information stops providing services to the application that needs to be upgraded.
  • the request receiving subunit 533 is configured to receive an upgrade request sent from an application server that stops the application providing service that needs to be upgraded.
  • the data sending subunit 534 is configured to send an upgrade data packet of the application that needs to be upgraded to the application server that sends the upgrade request.
  • the central server detects that the application server completes the upgrade, the completion of the upgrade application server state is made available.
  • the central server may first set the status of the first application server group to an unavailable state, and then send the service status change information to the application server group. After receiving the upgrade request sent by the application server group, sending an upgrade data packet to the application server group. After the first application server group completes the upgrade, it operates on the second application server group. Since the related operations are the same or similar, the embodiments of the present application are not described again.
  • the central server in the embodiment of the present application determines the application information of the application that needs to be upgraded in the application server of the server cluster, and determines the application server where the application to be upgraded is located, and Send the upgrade data package of the application to be upgraded to the application server where the application to be upgraded is located, so that the application server that receives the upgrade data package is upgraded according to the application that needs to be upgraded, and the central server can control each application server that completes the server cluster.
  • the upgrade of the application in the application makes the application upgrade process faster.
  • the unit or subunit in the embodiment of the present application may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit).
  • the embodiment of the present application further provides a storage medium, where the storage medium is used to store an application, and the application is used to execute a data upgrade method according to an embodiment of the present application at runtime.
  • the method for upgrading data according to the embodiment of the present application may include:
  • the embodiment of the present application further provides an application, where the application is used to perform a data upgrade method according to an embodiment of the present application at runtime.
  • the method for upgrading data according to the embodiment of the present application may include:
  • the embodiment of the present application further provides a central server, including:
  • processor a memory, a communication interface, and a bus
  • the processor, the memory, and the communication interface are connected by the bus and complete each other Communication between
  • the memory stores executable program code
  • the processor runs a program corresponding to the executable program code by reading executable program code stored in the memory for:
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

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

Abstract

La présente invention concerne un procédé de mise à niveau de données. Le procédé comprend les opérations suivantes : un serveur central d'une grappe de serveurs détermine une application à mettre à niveau dans un serveur d'application de la grappe de serveurs ; le serveur central obtient des informations de déploiement de l'application à mettre à niveau dans le serveur d'application de la grappe de serveurs, et détermine un serveur d'application dans lequel se trouve l'application à mettre à niveau ; et le serveur central donne l'instruction au serveur d'application dans lequel se trouve l'application à mettre à niveau de mettre à niveau l'application à mettre à niveau. L'invention concerne également un serveur central. Par utilisation des modes de réalisation de la présente invention, un serveur central peut commander la mise à niveau d'applications dans des serveurs d'application d'une grappe de serveurs, de telle sorte que le processus de mise à niveau d'application est plus rapide.
PCT/CN2015/072340 2014-02-26 2015-02-05 Procédé de mise à niveau de données et serveur central WO2015127850A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410067269.1A CN103812945A (zh) 2014-02-26 2014-02-26 一种数据升级的方法和中心服务器
CN201410067269.1 2014-02-26

Publications (1)

Publication Number Publication Date
WO2015127850A1 true WO2015127850A1 (fr) 2015-09-03

Family

ID=50709138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072340 WO2015127850A1 (fr) 2014-02-26 2015-02-05 Procédé de mise à niveau de données et serveur central

Country Status (2)

Country Link
CN (1) CN103812945A (fr)
WO (1) WO2015127850A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857424A (zh) * 2018-12-20 2019-06-07 航天信息股份有限公司 服务器集群的应用升级方法及装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812945A (zh) * 2014-02-26 2014-05-21 可牛网络技术(北京)有限公司 一种数据升级的方法和中心服务器
CN103984574A (zh) * 2014-05-28 2014-08-13 能力天空科技(北京)有限公司 一种网站升级方法及系统
CN105610986A (zh) * 2016-03-14 2016-05-25 浪潮通用软件有限公司 一种服务调度方法、负载均衡服务器及服务调度系统
CN107370626A (zh) * 2017-07-28 2017-11-21 郑州云海信息技术有限公司 一种集群系统升级方法及装置
CN107809473A (zh) * 2017-10-19 2018-03-16 联动优势科技有限公司 一种控制服务器部署的方法和装置
CN116048577B (zh) * 2022-12-29 2024-05-17 哈尔滨工大卫星技术有限公司 一种分布式数字化卫星系统升级方法、装置及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645801A (zh) * 2009-08-27 2010-02-10 中兴通讯股份有限公司 基于集群管理的软件版本升级方法及命令交换机
CN102609281A (zh) * 2012-02-24 2012-07-25 中国电子科技集团公司第十五研究所 分布式软件补丁更新方法及系统
CN102647437A (zh) * 2011-02-22 2012-08-22 铁道部运输局 调度集中方法及系统
JP2012230638A (ja) * 2011-04-27 2012-11-22 Nippon Telegr & Teleph Corp <Ntt> クラスタシステムおよびソフトウェアアップデート方法
CN103812945A (zh) * 2014-02-26 2014-05-21 可牛网络技术(北京)有限公司 一种数据升级的方法和中心服务器

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681389B1 (en) * 2000-02-28 2004-01-20 Lucent Technologies Inc. Method for providing scaleable restart and backout of software upgrades for clustered computing
CN100395707C (zh) * 2006-02-07 2008-06-18 华为技术有限公司 升级程序的方法
CN101465757B (zh) * 2009-01-15 2011-01-12 武汉烽火网络有限责任公司 一种集群网络中批量升级的方法
CN101789980A (zh) * 2010-03-05 2010-07-28 武汉烽火网络有限责任公司 一种基于集群网络批量升级的方法
CN102811136A (zh) * 2011-06-01 2012-12-05 南京中兴新软件有限责任公司 软件升级系统及方法
CN102281159A (zh) * 2011-09-06 2011-12-14 曙光信息产业(北京)有限公司 集群系统的恢复方法
CN103023996A (zh) * 2012-11-30 2013-04-03 江苏乐买到网络科技有限公司 一种云数据存储系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645801A (zh) * 2009-08-27 2010-02-10 中兴通讯股份有限公司 基于集群管理的软件版本升级方法及命令交换机
CN102647437A (zh) * 2011-02-22 2012-08-22 铁道部运输局 调度集中方法及系统
JP2012230638A (ja) * 2011-04-27 2012-11-22 Nippon Telegr & Teleph Corp <Ntt> クラスタシステムおよびソフトウェアアップデート方法
CN102609281A (zh) * 2012-02-24 2012-07-25 中国电子科技集团公司第十五研究所 分布式软件补丁更新方法及系统
CN103812945A (zh) * 2014-02-26 2014-05-21 可牛网络技术(北京)有限公司 一种数据升级的方法和中心服务器

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857424A (zh) * 2018-12-20 2019-06-07 航天信息股份有限公司 服务器集群的应用升级方法及装置

Also Published As

Publication number Publication date
CN103812945A (zh) 2014-05-21

Similar Documents

Publication Publication Date Title
WO2015127850A1 (fr) Procédé de mise à niveau de données et serveur central
US10298457B2 (en) Synchronization of configuration file of virtual application distribution chassis
US10523529B2 (en) Method and apparatus for deploying network service
WO2019184727A1 (fr) Procédé de gestion de mise à niveau de service, appareil et support de stockage
US10270648B2 (en) Configuration information management method, device, network element management system and storage medium
US9846576B2 (en) Technologies for reprogramming network interface cards over a network
US10404538B1 (en) Remote platform configuration
US20150293821A1 (en) Healing cloud services during upgrades
US10073691B2 (en) Containerized upgrade in operating system level virtualization
US20170163478A1 (en) Method,electronic device and system for updating client configuration in key-value pair database
US20140250158A1 (en) Method and device for obtaining file
US9853929B2 (en) Service compatibility check for messages
WO2018072503A1 (fr) Procédé d&#39;initiation de modification de logiciel, procédé et dispositif de publication de métadonnées
WO2017096838A1 (fr) Procédé, dispositif et système de configuration d&#39;équilibrage de charge
WO2021139224A1 (fr) Procédé et appareil de commande de sauvegarde de fichier dans un scenario de nuage, support et dispositif électronique
US10097416B2 (en) System and method for group-policy-based configuration
US10341181B2 (en) Method and apparatus to allow dynamic changes of a replica network configuration in distributed systems
US11269613B2 (en) Software platform upgrades
WO2016183832A1 (fr) Procédé et dispositif d&#39;instanciation de service de réseau
WO2018001375A1 (fr) Procédé de migration physique à virtuelle, serveur physique, serveur virtuel et système
WO2018119826A1 (fr) Procédé de mise à jour de service de réseau, nfvo et système nfv
US10972343B2 (en) System and method for device configuration update
US20150134806A1 (en) Start-up control program, device, and method
US10282212B2 (en) System and method for reducing boot time of a workload configuration on a target server
US10333786B2 (en) System and method for refreshing an information handling system using many to one peer based communication

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 12/12/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 15755221

Country of ref document: EP

Kind code of ref document: A1