CN113391759B - Communication method and equipment - Google Patents
Communication method and equipment Download PDFInfo
- Publication number
- CN113391759B CN113391759B CN202010177607.2A CN202010177607A CN113391759B CN 113391759 B CN113391759 B CN 113391759B CN 202010177607 A CN202010177607 A CN 202010177607A CN 113391759 B CN113391759 B CN 113391759B
- Authority
- CN
- China
- Prior art keywords
- server
- upgraded
- routing information
- data
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Hardware Redundancy (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及分布式计算机技术领域,尤其涉及一种通信方法和设备。The present application relates to the field of distributed computer technology, and in particular to a communication method and device.
背景技术Background technique
对于分布式存储系统,一个输入/输出(input/output,IO)请求从用户侧下发,到最终落入存储池,整个过程需要多个组件的配合,可以包括客户端、服务器以及管理集群。For a distributed storage system, an input/output (IO) request is sent from the user side to the storage pool. The entire process requires the cooperation of multiple components, including the client, server, and management cluster.
其中,客户端负责IO请求的接入和处理。客户端通过数据路由算法计算出数据所在的数据分区(partition),然后根据路由信息将IO请求转发给对应的数据分区所属的服务器,IO请求用于请求服务器进行数据的输入/输出操作。The client is responsible for accessing and processing IO requests. The client calculates the data partition where the data is located through the data routing algorithm, and then forwards the IO request to the server to which the corresponding data partition belongs according to the routing information. The IO request is used to request the server to perform data input/output operations.
服务器是存储池的组成单元,负责磁盘管理和执行具体的IO操作。分布式存储系统通过多服务器备份机制保证数据的可靠性,同一份数据可有2~3个服务器。其中,多个服务器中包含一个主服务器和多个备服务器,主服务器上的数据分区为主副本,备服务器上的数据分区为备副本。数据的IO请求只会被发送至数据的主服务器,当一个IO请求下发到主服务器时,主服务器会根据路由信息将该IO请求复写一份发送到备服务器,从而实现多服务器数据的一致性。The server is a component unit of the storage pool, responsible for disk management and performing specific IO operations. The distributed storage system ensures data reliability through a multi-server backup mechanism. The same data can have 2 to 3 servers. Among them, multiple servers include a primary server and multiple backup servers. The data partition on the primary server is the primary copy, and the data partition on the backup server is the backup copy. The IO request for data will only be sent to the primary server of the data. When an IO request is sent to the primary server, the primary server will copy the IO request and send it to the backup server according to the routing information, thereby achieving consistency of multi-server data.
管理集群负责生成路由信息。路由信息中记录了数据分区和服务器的映射关系。管理集群还可创建存储池,比如,管理集群会根据初始存储池拓扑生成路由信息,并将路由信息通知到每一个客户端和每一个服务器,从而分布式存储系统可根据路由信息将IO请求转发至相应的主服务器。此外,管理集群还能够通过心跳检测机制,监控服务器的状态。The management cluster is responsible for generating routing information. The routing information records the mapping relationship between data partitions and servers. The management cluster can also create storage pools. For example, the management cluster will generate routing information based on the initial storage pool topology and notify each client and each server of the routing information, so that the distributed storage system can forward IO requests to the corresponding master server based on the routing information. In addition, the management cluster can also monitor the status of the server through the heartbeat detection mechanism.
当前分布式存储系统升级的方式为先升级管理集群,再升级服务器或客户端。服务器在升级过程中,无法上报心跳。此时,管理集群会判断该服务器故障,此时IO请求是无法转发至该服务器的。然而,由于客户端仅能将IO请求发送到主服务器,若IO请求到达客户端时主服务器正在升级,则该主服务器无法接收并处理客户端发送的IO请求,需要在管理集群选择新的主服务器并更新路由信息后,由客户端根据更新后的路由信息将IO请求路由至新的主服务器,才能由新的主服务器处理客户端下发的IO请求,存在IO请求的响应延迟,这对于时延敏感型业务是无法接受的。The current method of upgrading the distributed storage system is to upgrade the management cluster first, and then upgrade the server or client. During the upgrade process, the server cannot report the heartbeat. At this time, the management cluster will determine that the server is faulty, and the IO request cannot be forwarded to the server. However, since the client can only send IO requests to the primary server, if the primary server is being upgraded when the IO request reaches the client, the primary server cannot receive and process the IO request sent by the client. After the management cluster selects a new primary server and updates the routing information, the client must route the IO request to the new primary server according to the updated routing information before the new primary server can process the IO request sent by the client. There is a response delay for the IO request, which is unacceptable for latency-sensitive businesses.
发明内容Summary of the invention
本申请提供一种通信方法和设备,用以解决现有技术中分布式存储系统升级时的IO请求处理卡顿的问题。The present application provides a communication method and device for solving the problem of IO request processing jam during the upgrade of a distributed storage system in the prior art.
第一方面,本申请实施例提供一种通信方法,该方法可由分布式存储系统中的管理集群执行。管理集群可包括用于进行管理的至少一个服务器或服务器中的芯片。该方法中,管理集群可以响应于来自升级框架的待升级服务器的标识,根据待升级服务器的第一路由信息确定第二路由信息;管理集群还可将所述第二路由信息发送给客户端和除所述待升级服务器以外的其他服务器。其中,第二路由信息中所述待升级服务器不作为数据的主服务器。In a first aspect, an embodiment of the present application provides a communication method, which can be executed by a management cluster in a distributed storage system. The management cluster may include at least one server or a chip in a server for management. In the method, the management cluster may determine second routing information according to the first routing information of the server to be upgraded in response to an identifier of the server to be upgraded from the upgrade framework; the management cluster may also send the second routing information to the client and other servers except the server to be upgraded. In the second routing information, the server to be upgraded is not used as the main server of the data.
基于该方案,在对待升级服务器进行升级前,管理集群可以根据待升级服务器的第一路由信息确定第二路由信息,并将第二路由信息发送给客户端和除该待升级服务器以外的其他服务器。由于该第二路由信息中待升级服务器不作为数据的主服务器,因此该待升级服务器不会接收到客户端发送的IO请求,客户端会根据第二路由信息将IO请求发送至该第二路由信息中数据的新主服务端中,因此IO请求可以被及时处理,可以满足高时延要求。Based on this solution, before upgrading the server to be upgraded, the management cluster can determine the second routing information based on the first routing information of the server to be upgraded, and send the second routing information to the client and other servers except the server to be upgraded. Since the server to be upgraded in the second routing information is not the main server of the data, the server to be upgraded will not receive the IO request sent by the client, and the client will send the IO request to the new main server of the data in the second routing information according to the second routing information, so the IO request can be processed in time, which can meet the high latency requirement.
在一种可能的实现方式中,若所述待升级服务器为主服务器,管理集群可以将所述待升级服务器调整为所述数据的备服务器,以及可以将所述待升级服务器对应的备服务器中一个,调整为所述数据的主服务器。In a possible implementation, if the server to be upgraded is a primary server, the management cluster may adjust the server to be upgraded to be a backup server for the data, and may adjust one of the backup servers corresponding to the server to be upgraded to be the primary server for the data.
基于该方案,若该待升级服务器为数据的主服务器,则第二路由信息中可以将该待升级服务器调整为数据的备服务器,并将对应的备服务器中的一个调整为数据的主服务器,客户端则可以根据第二路由信息将IO请求发送给第二路由信息中数据的主服务器,因此IO请求可以被及时处理,可以满足高时延要求。Based on this solution, if the server to be upgraded is the main server of the data, the server to be upgraded can be adjusted to the backup server of the data in the second routing information, and one of the corresponding backup servers can be adjusted to the main server of the data. The client can send the IO request to the main server of the data in the second routing information according to the second routing information. Therefore, the IO request can be processed in time and the high latency requirement can be met.
在一种可能的实现方式中,第二路由信息中可以不包含所述待升级服务器。示例性的,管理集群可将待升级服务器从第二路由信息中删除。In a possible implementation, the second routing information may not include the server to be upgraded. Exemplarily, the management cluster may delete the server to be upgraded from the second routing information.
基于该方案,该待升级服务器不会接收到客户端发送的IO请求,也不会接收到数据的主服务器复写的IO请求,因此在处理IO请求时不会卡顿,可以满足高时延要求。Based on this solution, the server to be upgraded will not receive IO requests sent by the client, nor will it receive IO requests replicated by the data's primary server. Therefore, there will be no lag when processing IO requests, and high latency requirements can be met.
在一种可能的实现方式中,管理集群还可以根据所述第二路由信息确定第三路由信息;所述第三路由信息中所述待升级服务器为所述数据的主服务器;将所述第三路由信息发送给客户端、所述待升级服务器和除所述待升级服务器以外的其他服务器。示例性的,管理集群可以在待升级服务器升级后,确定第三路由信息。或者,管理集群可以在待升级服务器升级后,发送第三路由信息。In a possible implementation, the management cluster may also determine third routing information according to the second routing information; in the third routing information, the server to be upgraded is the primary server of the data; and the third routing information is sent to the client, the server to be upgraded, and other servers except the server to be upgraded. Exemplarily, the management cluster may determine the third routing information after the server to be upgraded is upgraded. Alternatively, the management cluster may send the third routing information after the server to be upgraded is upgraded.
基于该方案,在该待升级服务器升级后,可以根据第二路由信息确定第三路由信息,第三路由信息中该待升级服务器为数据的主服务器。因此,客户端可以根据该第三路由信息将IO请求发送给该待升级服务器,该待升级服务器可以对IO请求进行处理,并将该IO请求复写并发送给数据的备服务器,使得备服务器也可以处理该IO请求。Based on this solution, after the server to be upgraded is upgraded, the third routing information can be determined according to the second routing information, and the server to be upgraded in the third routing information is the primary server of the data. Therefore, the client can send the IO request to the server to be upgraded according to the third routing information, and the server to be upgraded can process the IO request and copy the IO request and send it to the backup server of the data, so that the backup server can also process the IO request.
在一种可能的实现方式中,管理集群还可以根据所述第二路由信息确定第四路由信息;所述第四路由信息中包含所述待升级服务器。若所述待升级服务器在所述第一路由信息中作为所述数据的主服务器,则所述待升级服务器在所述第四路由信息中作为所述数据的主服务器,或者,若所述待升级服务器在所述第一路由信息中作为所述数据的备服务器,则所述待升级服务器在所述第四路由信息中作为所述数据的备服务器。管理集群可将所述第四路由信息发送给客户端、所述待升级服务器和除所述待升级服务器以外的其他服务器。In a possible implementation, the management cluster may also determine fourth routing information based on the second routing information; the fourth routing information includes the server to be upgraded. If the server to be upgraded is used as the primary server of the data in the first routing information, the server to be upgraded is used as the primary server of the data in the fourth routing information; or, if the server to be upgraded is used as the backup server of the data in the first routing information, the server to be upgraded is used as the backup server of the data in the fourth routing information. The management cluster may send the fourth routing information to the client, the server to be upgraded, and other servers except the server to be upgraded.
基于该方案,在第一路由信息中该待升级服务器为主服务器时,第三路由信息中该待升级服务器仍为主服务器,在第一路由信息中该待升级服务器为备服务器时,第三路由信息中该待升级服务器仍为备服务器。Based on this solution, when the server to be upgraded is the main server in the first routing information, the server to be upgraded is still the main server in the third routing information; when the server to be upgraded is the backup server in the first routing information, the server to be upgraded is still the backup server in the third routing information.
在一种可能的实现方式中,管理集群还可以停止所述待升级服务器的心跳检测。示例性的,管理集群可在发送第二路由信息后,停止所述待升级服务器的心跳检测。In a possible implementation, the management cluster may also stop the heartbeat detection of the server to be upgraded. Exemplarily, the management cluster may stop the heartbeat detection of the server to be upgraded after sending the second routing information.
基于该方案,管理集群可以停止对该待升级服务器的心跳检测,可以避免由于待升级服务器在升级时无法向管理集群发送心跳包而触发的路由信息的更新操作,因此可以使得客户端发送的IO请求被及时处理,可以满足高时延要求。Based on this solution, the management cluster can stop the heartbeat detection of the server to be upgraded, and avoid the update operation of the routing information triggered by the inability of the server to be upgraded to send heartbeat packets to the management cluster during the upgrade. Therefore, the IO requests sent by the client can be processed in time to meet the high latency requirements.
在一种可能的实现方式中,管理集群还可以停止所述待升级服务器的心跳检测,并在发送第三路由信息后,对所述待升级服务器恢复进行心跳检测。In a possible implementation, the management cluster may also stop the heartbeat detection of the server to be upgraded, and after sending the third routing information, resume the heartbeat detection of the server to be upgraded.
基于该方案,在将第三路由信息发送给客户端和数据的主、备服务器之后,对该待升级服务器进行心跳检测,管理集群可以监控该待升级服务器的工作状态,在该待升级服务器故障时,及时更新数据的路由信息。Based on this solution, after sending the third routing information to the client and the primary and backup servers of the data, a heartbeat detection is performed on the server to be upgraded. The management cluster can monitor the working status of the server to be upgraded and update the routing information of the data in time when the server to be upgraded fails.
在一种可能的实现方式中,管理集群还可以停止所述待升级服务器的心跳检测;并在发送第四路由信息后,对所述待升级服务器恢复进行心跳检测。In a possible implementation, the management cluster may also stop the heartbeat detection of the server to be upgraded; and after sending the fourth routing information, resume the heartbeat detection of the server to be upgraded.
基于该方案,在将第四路由信息给客户端和数据的主、备服务器之后,对该待升级服务器进行心跳检测,管理集群可以监控该待升级服务器的工作状态,在该待升级服务器故障时,及时更新数据的路由信息。Based on this solution, after the fourth routing information is given to the client and the primary and backup servers of the data, a heartbeat detection is performed on the server to be upgraded. The management cluster can monitor the working status of the server to be upgraded and update the routing information of the data in time when the server to be upgraded fails.
第二方面,本申请实施例还提供一种通信装置,该装置可以包括:处理单元,可用于响应于来自升级框架的待升级服务器的标识,根据待升级服务器的第一路由信息确定第二路由信息;收发单元,可用于将所述第二路由信息发送给客户端和除所述待升级服务器以外的其他服务器;所述第二路由信息中所述待升级服务器不作为数据的主服务器。In a second aspect, an embodiment of the present application further provides a communication device, which may include: a processing unit, which can be used to determine second routing information based on first routing information of the server to be upgraded in response to an identifier of the server to be upgraded from an upgrade framework; a transceiver unit, which can be used to send the second routing information to a client and other servers except the server to be upgraded; the server to be upgraded in the second routing information is not used as the main server for data.
在一种可能的实现方式中,若所述待升级服务器为主服务器,所述处理单元在根据待升级服务器的第一路由信息确定第二路由信息时可具体用于:将所述待升级服务器调整为所述数据的备服务器;将所述待升级服务器对应的备服务器中一个,调整为所述数据的主服务器。In a possible implementation, if the server to be upgraded is a main server, the processing unit can be specifically used to: adjust the server to be upgraded to a backup server for the data; and adjust one of the backup servers corresponding to the server to be upgraded to the main server for the data when determining the second routing information based on the first routing information of the server to be upgraded.
在一种可能的实现方式中,所述处理单元在根据待升级服务器的第一路由信息确定第二路由信息时可将所述第二路由信息不包含所述待升级服务器。In a possible implementation manner, when the processing unit determines the second routing information according to the first routing information of the server to be upgraded, the second routing information may exclude the server to be upgraded.
在一种可能的实现方式中,所述处理单元还可以用于:根据所述第二路由信息确定第三路由信息;所述第三路由信息中所述待升级服务器为所述数据的主服务器;将所述第三路由信息发送给客户端和除所述待升级服务器以外的其他服务器。In a possible implementation, the processing unit can also be used to: determine third routing information based on the second routing information; the server to be upgraded in the third routing information is the main server of the data; and send the third routing information to the client and other servers except the server to be upgraded.
在一种可能的实现方式中,所述处理单元还可以用于:根据所述第二路由信息确定第四路由信息;所述第四路由信息中包含所述待升级服务器;若所述待升级服务器在所述第一路由信息中作为所述数据的主服务器,则所述待升级服务器在所述第四路由信息中作为所述数据的主服务器,或者,若所述待升级服务器在所述第一路由信息中作为所述数据的备服务器,则所述待升级服务器在所述第四路由信息中作为所述数据的备服务器;所述收发单元,还可以用于:将所述第四路由信息发送给客户端和除所述待升级服务器以外的其他服务器。In a possible implementation, the processing unit may also be used to: determine fourth routing information based on the second routing information; the fourth routing information includes the server to be upgraded; if the server to be upgraded is used as the primary server of the data in the first routing information, then the server to be upgraded is used as the primary server of the data in the fourth routing information, or, if the server to be upgraded is used as the backup server of the data in the first routing information, then the server to be upgraded is used as the backup server of the data in the fourth routing information; the transceiver unit may also be used to: send the fourth routing information to the client and other servers except the server to be upgraded.
在一种可能的实现方式中,所述处理单元还可以用于:将所述第二路由信息发送给客户端和除所述待升级服务器以外的其他服务器之后,停止所述待升级服务器的心跳检测。In a possible implementation manner, the processing unit may also be configured to: after sending the second routing information to the client and other servers except the server to be upgraded, stop the heartbeat detection of the server to be upgraded.
在一种可能的实现方式中,所述处理单元还可以用于:将所述第二路由信息发送给客户端和除所述待升级服务器以外的其他服务器之后,停止所述待升级服务器的心跳检测;并,在将所述第三路由信息发送给客户端和除所述待升级服务器以外的其他服务器之后,对所述待升级服务器进行心跳检测。In one possible implementation, the processing unit can also be used to: stop the heartbeat detection of the server to be upgraded after sending the second routing information to the client and other servers except the server to be upgraded; and, after sending the third routing information to the client and other servers except the server to be upgraded, perform heartbeat detection on the server to be upgraded.
在一种可能的实现方式中,所述处理单元还可以用于:将所述第二路由信息发送给客户端和除所述待升级服务器以外的其他服务器之后,停止所述待升级服务器的心跳检测;将所述第四路由信息发送给客户端和除所述待升级服务器以外的其他服务器之后,对所述待升级服务器进行心跳检测。In a possible implementation, the processing unit can also be used to: stop the heartbeat detection of the server to be upgraded after sending the second routing information to the client and other servers except the server to be upgraded; and perform heartbeat detection on the server to be upgraded after sending the fourth routing information to the client and other servers except the server to be upgraded.
第三方面,本申请实施例还提供一种通信设备,该通信设备可以用来执行上述第一方面及第一方面的任意可能的实现方式中的操作。例如,通信设备可以包括用于执行上述第一方面或第一方面的任意可能的实现方式中的各个操作的模块或单元。比如包括处理单元和收发单元。In a third aspect, an embodiment of the present application further provides a communication device, which can be used to perform the operations in the above-mentioned first aspect and any possible implementation of the first aspect. For example, the communication device may include a module or unit for performing each operation in the above-mentioned first aspect or any possible implementation of the first aspect. For example, it includes a processing unit and a transceiver unit.
第四方面,本申请实施例提供了一种计算机程序产品,计算机程序产品包括:计算机程序代码,当计算机程序代码被通信设备的通信单元、处理单元或收发器、处理器运行时,使得通信设备执行上述第一方面或第一方面的任意可能的实现方式中的任一方法。In a fourth aspect, an embodiment of the present application provides a computer program product, which includes: a computer program code, when the computer program code is executed by a communication unit, a processing unit or a transceiver, or a processor of a communication device, the communication device executes any method in the above-mentioned first aspect or any possible implementation of the first aspect.
第五方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有程序,程序使得通信设备执行上述第一方面或第一方面的任意可能的实现方式中的任一方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a program, and the program enables a communication device to execute any method in the above-mentioned first aspect or any possible implementation of the first aspect.
第六方面,本申请实施例提供了一种芯片或芯片系统,用于执行上述第一方面或第一方面的任意可能的实现方式中的任一方法。所述芯片可包括处理器,或包括处理器以及存储器和/或收发器。所述芯片系统可包括该芯片。In a sixth aspect, an embodiment of the present application provides a chip or a chip system for executing any method in the above-mentioned first aspect or any possible implementation of the first aspect. The chip may include a processor, or include a processor and a memory and/or a transceiver. The chip system may include the chip.
以上第二至第六方面任一方面以及任一方面中的任意一种可能的设计可以达到的技术效果,可参照对于第一方面所示方法的有益效果的说明。The technical effects that can be achieved by any of the second to sixth aspects and any possible design in any of the aspects can be referred to the description of the beneficial effects of the method shown in the first aspect.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请提供的分布式存储系统;FIG1 is a distributed storage system provided by the present application;
图2为本申请提供的通行方法的示例性流程图之一;FIG2 is one of the exemplary flow charts of the common method provided by the present application;
图3为本申请提供的通行方法的示例性流程图之一;FIG3 is one of the exemplary flow charts of the common method provided by the present application;
图4为本申请提供的通行方法的示例性流程图之一;FIG4 is one of the exemplary flow charts of the common method provided by the present application;
图5为本申请提供的通信设备示意图;FIG5 is a schematic diagram of a communication device provided by the present application;
图6为本申请提供的通信装置示意图。FIG6 is a schematic diagram of a communication device provided in the present application.
具体实施方式Detailed ways
以下,为了便于理解本申请实施例的技术方案,首先对分布式存储系统进行简单的解释和说明。In order to facilitate understanding of the technical solution of the embodiments of the present application, the distributed storage system is first briefly explained and illustrated below.
分布式存储系统可以包括客户端、服务器和管理集群。针对来自用户侧的一个IO请求,分布式存储系统的处理可以包括如下的流程。The distributed storage system may include a client, a server, and a management cluster. For an IO request from a user side, the processing of the distributed storage system may include the following process.
首先,客户端可用于负责IO请求的接入和处理。客户端通过数据路由算法计算出前述IO请求对应的数据所在的数据分区,然后根据路由信息将IO请求转发给所在的数据分区对应的服务器。First, the client can be used to access and process IO requests. The client calculates the data partition where the data corresponding to the aforementioned IO request is located through the data routing algorithm, and then forwards the IO request to the server corresponding to the data partition according to the routing information.
其次,可以由服务器执行具体的IO操作,服务器可包括一个主服务器和至少一个备服务器。其中,客户端可将IO请求发送到主服务器,由主服务器将该IO请求复写一份发送到备服务器。主服务器和备服务器分别执行IO操作,以保持数据的同步。Secondly, the specific IO operation can be performed by the server, which may include a primary server and at least one backup server. The client can send an IO request to the primary server, and the primary server will copy the IO request and send it to the backup server. The primary server and the backup server perform IO operations respectively to keep data synchronized.
应理解,主服务器和备服务器是针对数据而言的,也就是说,对应于相同的数据存在一个主服务器和至少一个备服务器。这里相同的数据,可以是同一用户和/或同一业务的数据,例如可以是同一客户端和/或同一业务的数据存储在相同的主服务器和相同的至少一个备服务器。It should be understood that the primary server and the backup server refer to data, that is, there is a primary server and at least one backup server corresponding to the same data. The same data here can be data of the same user and/or the same service, for example, the data of the same client and/or the same service can be stored in the same primary server and the same at least one backup server.
在分布式存储系统中,管理集群可负责生成路由信息,路由信息可用于确定存储数据的服务器。示例性的,路由信息具体可以是数据路由表。数据路由表中可记录数据分区和服务器的映射关系,数据分区可对应数据的主服务端和/或备服务端,从而根据该映射关系,可确定数据对应的主服务端和/或备服务端。路由信息可记录存储数据的多个服务器。同时,管理集群会通过心跳检测机制,监控服务器的状态。In a distributed storage system, the management cluster may be responsible for generating routing information, which can be used to determine the server storing the data. Exemplarily, the routing information may specifically be a data routing table. The data routing table may record the mapping relationship between data partitions and servers, and the data partitions may correspond to the primary server and/or backup server of the data, so that the primary server and/or backup server corresponding to the data may be determined based on the mapping relationship. The routing information may record multiple servers storing the data. At the same time, the management cluster monitors the status of the server through a heartbeat detection mechanism.
对于分布式存储系统的升级,现有技术中升级流程可以包括:检查环境、替换可执行文件、更新配置和重启进程。服务器在升级过程中无法上报心跳,则管理集群会更新路由信息,待服务器升级成功并重新上报心跳后,再次更新路由信息,使得IO请求得以发送至该服务器。For the upgrade of the distributed storage system, the upgrade process in the prior art may include: checking the environment, replacing the executable file, updating the configuration and restarting the process. If the server fails to report the heartbeat during the upgrade process, the management cluster will update the routing information. After the server is successfully upgraded and re-reports the heartbeat, the routing information will be updated again so that the IO request can be sent to the server.
在服务器升级的过程中,若客户端将IO请求发送给正在升级的服务器,该服务器无法及时处理该IO请求,需要在服务器升级完成后才能够处理该IO请求,因此存在IO请求的处理时延。然而,这对于时延敏感型的业务是无法接受的。During the server upgrade process, if the client sends an IO request to the server being upgraded, the server cannot process the IO request in time and needs to wait until the server upgrade is complete before processing the IO request. Therefore, there is a processing delay for the IO request. However, this is unacceptable for latency-sensitive businesses.
有鉴于此,本申请实施例提供一种通信方法。本申请实施例的技术方案可以应用于分布式存储系统。例如,服务器级安全的分布式存储系统,机柜级安全的分布式存储系统等。In view of this, an embodiment of the present application provides a communication method. The technical solution of the embodiment of the present application can be applied to a distributed storage system, for example, a distributed storage system with server-level security, a distributed storage system with cabinet-level security, etc.
为便于理解本申请实施例,首先以图1中示出的分布式存储系统为例详细说明适用于本申请实施例的分布式存储系统。如图1所示,一种示例性的分布式存储系统100可以包括客户端101、主服务器102、备服务器103和管理集群104。To facilitate understanding of the embodiments of the present application, a distributed storage system applicable to the embodiments of the present application is first described in detail using the distributed storage system shown in Figure 1 as an example. As shown in Figure 1, an exemplary distributed storage system 100 may include a client 101, a primary server 102, a backup server 103, and a management cluster 104.
应理解,客户端101、主服务器102、备服务器103和管理集群104还可包括与信号发送和接收相关的多个部件(例如,处理器、调制器、复用器、解调器或解复用器等)。It should be understood that the client 101, the primary server 102, the backup server 103 and the management cluster 104 may also include multiple components related to signal transmission and reception (eg, processors, modulators, multiplexers, demodulators or demultiplexers, etc.).
客户端101可以是终端设备。其中,终端设备也可以称为用户设备(userequipment,UE)、接入终端设备、用户单元、用户站、移动站、移动台、远方站、远程终端设备、移动设备、用户终端设备、终端设备、无线通信设备、用户代理或用户装置。本申请的实施例中的终端设备具体可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备、智慧家庭(smart home)中的无线终端设备等等。本申请的实施例对应用场景不做限定。本申请中可将具有无线收发功能的终端设备及可设置于前述终端设备的芯片统称为终端设备。The client 101 may be a terminal device. The terminal device may also be referred to as a user equipment (UE), an access terminal device, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal device, a mobile device, a user terminal device, a terminal device, a wireless communication device, a user agent or a user device. The terminal device in the embodiment of the present application may specifically be a mobile phone, a tablet computer, a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in smart city, a wireless terminal device in smart home, and the like. The embodiment of the present application does not limit the application scenario. In the present application, a terminal device with a wireless transceiver function and a chip that can be set in the aforementioned terminal device may be collectively referred to as a terminal device.
其中,管理集群104、主服务器102和备服务器103可以分别为具有无线收发功能的设备或该设备中的芯片;管理集群104、主服务器102和备服务器103可以分别是一个服务器,或者是多个服务器组成的服务器集群;或者可以是服务器或服务器集群中的芯片。Among them, the management cluster 104, the main server 102 and the backup server 103 can be devices with wireless transceiver functions or chips in the devices respectively; the management cluster 104, the main server 102 and the backup server 103 can be a server respectively, or a server cluster composed of multiple servers; or they can be servers or chips in server clusters.
在该分布式存储系统100中,主服务器102和管理集群104均可以与一个或多个客户端(包括但不限于图中示出的客户端101)通信。主服务器102和管理集群104均可以与例如客户端101的一个或多个终端设备进行通信。应理解,图1中示出的分布式存储系统100可以有一个或多个备服务器103,主服务器102和管理集群104可以与一个或多个备服务器103进行通信。In the distributed storage system 100, the main server 102 and the management cluster 104 can communicate with one or more clients (including but not limited to the client 101 shown in the figure). The main server 102 and the management cluster 104 can communicate with one or more terminal devices such as the client 101. It should be understood that the distributed storage system 100 shown in FIG. 1 can have one or more backup servers 103, and the main server 102 and the management cluster 104 can communicate with one or more backup servers 103.
应理解,图1仅为便于理解而示例的简化示意图,该分布式存储系统中还可以包括其他客户端或者还可以包括其他备服务器,图1中未予以画出。It should be understood that FIG. 1 is only a simplified schematic diagram for ease of understanding, and the distributed storage system may also include other clients or other backup servers, which are not shown in FIG. 1 .
下面结合附图详细说明本申请实施例。The embodiments of the present application are described in detail below with reference to the accompanying drawings.
应理解,本申请的技术方案可以应用于分布式存储系统中,例如,图1中所示的分布式存储系统100,该通信系统可以包括至少一个管理集群和至少一个客户端,至少一个主服务器和至少一个备服务器。It should be understood that the technical solution of the present application can be applied to a distributed storage system, for example, the distributed storage system 100 shown in FIG. 1 , where the communication system may include at least one management cluster and at least one client, at least one primary server and at least one backup server.
图2是从设备交互的角度示出的本申请实施例提供的通信方法的示例性流程图。如图2所示,该方法可以包括:FIG2 is an exemplary flow chart of a communication method provided by an embodiment of the present application from the perspective of device interaction. As shown in FIG2 , the method may include:
步骤201:升级框架向管理集群发送待升级服务器的标识。Step 201: The upgrade framework sends the identifier of the server to be upgraded to the management cluster.
其中,来自于升级框架的待升级服务器的标识,用于指示需要升级的待升级服务器。The identifier of the server to be upgraded from the upgrade framework is used to indicate the server to be upgraded that needs to be upgraded.
这里的升级框架用于对服务器进行升级。升级框架可以是具有升级功能的程序,或者还可以是对具有升级功能的程序的封装或载体。升级框架与管理集群可采取集中式或分布式布置。The upgrade framework here is used to upgrade the server. The upgrade framework can be a program with an upgrade function, or it can also be a package or carrier of a program with an upgrade function. The upgrade framework and the management cluster can be arranged in a centralized or distributed manner.
应理解,升级框架可以只发送待升级服务器的标识给管理集群,还可以将待升级服务器的标识携带在升级请求中发送给管理集群。其中,升级请求中可以携带一个或多个待升级服务器的标识。It should be understood that the upgrade framework may only send the identifier of the server to be upgraded to the management cluster, or may carry the identifier of the server to be upgraded in the upgrade request and send it to the management cluster. The upgrade request may carry the identifier of one or more servers to be upgraded.
步骤202:管理集群响应于该待升级服务器的标识,根据待升级服务器的第一路由信息确定第二路由信息。Step 202: The management cluster determines second routing information according to the first routing information of the server to be upgraded in response to the identifier of the server to be upgraded.
其中,路由信息中可以包含数据分区与服务器的映射关系,还可以包含故障信息。例如,备服务器1故障时路由信息中可以存储有备服务器1的故障信息。则,主服务器在复写IO请求时,不会将复写的IO请求发送给备服务器1。以上故障信息可用于标记存在故障的服务器,和/或用于标记该服务器存在何种故障。The routing information may include a mapping relationship between data partitions and servers, and may also include fault information. For example, when standby server 1 fails, the routing information may store fault information of standby server 1. Then, when the primary server replicates an IO request, it will not send the replicated IO request to standby server 1. The above fault information can be used to mark a server with a fault, and/or to mark what kind of fault the server has.
这里的第一路由信息可以是管理集群接收到待升级服务器的标识之前,管理集群针对数据确定的路由信息。第一路由信息中,待升级服务器可作为数据的主服务器或备服务器。而在第二路由信息中,该待升级服务器不作为数据的主服务器。以下,具体介绍根据第一路由信息升级第二路由信息的实现方式。The first routing information here may be the routing information determined by the management cluster for the data before the management cluster receives the identifier of the server to be upgraded. In the first routing information, the server to be upgraded may be used as the primary server or backup server of the data. In the second routing information, the server to be upgraded is not used as the primary server of the data. The following specifically introduces the implementation method of upgrading the second routing information according to the first routing information.
在一个示例中,若该待升级服务器为数据的主服务器,则管理集群可以将该待升级服务器调整为数据的备服务器。这里的将待升级服务器调整为该数据的备服务器,可以是指,由管理集群将路由信息中待升级服务器的身份从该数据的主服务器调整为该数据的备服务器;或者说,是指由管理集群从路由信息中该数据的主服务器的信息中,删除该待升级服务器的信息,并将该待升级服务器的信息增加到该数据的备服务器的信息中。其中,待升级服务器的身份例如数据的主服务器或备服务器。In one example, if the server to be upgraded is the primary server of the data, the management cluster can adjust the server to be upgraded to the backup server of the data. Adjusting the server to be upgraded to the backup server of the data here may mean that the management cluster adjusts the identity of the server to be upgraded in the routing information from the primary server of the data to the backup server of the data; or in other words, the management cluster deletes the information of the server to be upgraded from the information of the primary server of the data in the routing information, and adds the information of the server to be upgraded to the information of the backup server of the data. The identity of the server to be upgraded is, for example, the primary server or the backup server of the data.
管理集群还可将该待升级服务器对应的备服务器中的一个,调整为该数据的主服务器。同理,这里所述的将待升级服务器对应的备服务器中的一个整为该数据的主服务器,可以是指,由管理集群将路由信息中待升级服务器对应的备服务器中的一个的身份,从该数据的备服务器调整为该数据的主服务器;或者说,是指由管理集群从路由信息中该数据的备选服务器的信息中,删除该备服务器的信息,并将该备服务器的信息增加到该数据的主服务器的信息中。其中,管理集群可以将待升级服务器对应的备服务器中未故障的一个备服务器调整为该数据的主服务器。应理解,该待升级服务器被调整为备服务器后,主服务器不会将复写的IO请求发送到该待升级服务器,因此不需要待升级服务器对IO请求进行响应。The management cluster can also adjust one of the standby servers corresponding to the server to be upgraded to be the primary server of the data. Similarly, the adjustment of one of the standby servers corresponding to the server to be upgraded to be the primary server of the data mentioned here can refer to the management cluster adjusting the identity of one of the standby servers corresponding to the server to be upgraded in the routing information from the standby server of the data to the primary server of the data; or, in other words, the management cluster deletes the information of the standby server from the information of the standby server of the data in the routing information, and adds the information of the standby server to the information of the primary server of the data. Among them, the management cluster can adjust one of the standby servers corresponding to the server to be upgraded that is not faulty to be the primary server of the data. It should be understood that after the server to be upgraded is adjusted to be the standby server, the primary server will not send the replicated IO request to the server to be upgraded, so the server to be upgraded does not need to respond to the IO request.
举例来说,第一路由信息中数据A的主服务器为主服务器1,备服务器包括备服务器1、备服务器2和备服务器3,其中备服务器2为故障的服务器。管理集群可响应于升级框架发送的主服务器1的标识,根据第一路由信息生成第二路由信息。第二路由信息中,主服务器1调整为备服务器,从备服务器1和备服务器3中选择一个备服务器调整为主服务器,例如将备服务器3调整为主服务器。则,待升级服务器(即主服务器1)不会再接收到第二路由信息中的主服务器(备服务器3)复写的IO请求。For example, the primary server of data A in the first routing information is primary server 1, and the backup servers include backup server 1, backup server 2, and backup server 3, where backup server 2 is a faulty server. The management cluster can generate second routing information according to the first routing information in response to the identifier of primary server 1 sent by the upgrade framework. In the second routing information, primary server 1 is adjusted to a backup server, and a backup server is selected from backup server 1 and backup server 3 to be adjusted to the primary server, for example, backup server 3 is adjusted to the primary server. Then, the server to be upgraded (i.e., primary server 1) will no longer receive IO requests replicated by the primary server (backup server 3) in the second routing information.
另一个示例中,若该待升级服务器为数据的备服务器,则管理集群可以将该备服务器从第一路由信息中删除。这里所述的将备服务器从第一路由信息中删除,可以是指,由管理集群将第一路由信息中该数据的备服务器的信息中,删除该待升级服务器的信息。或者,管理集群还可以将该待升级服务器标记为故障,则该数据的主服务器不会将复写的IO请求发送到该待升级服务器。In another example, if the server to be upgraded is a backup server of the data, the management cluster may delete the backup server from the first routing information. Deleting the backup server from the first routing information mentioned here may mean that the management cluster deletes the information of the server to be upgraded from the information of the backup server of the data in the first routing information. Alternatively, the management cluster may also mark the server to be upgraded as a failure, and the primary server of the data will not send the replicated IO request to the server to be upgraded.
举例来说,第一路由信息中数据A的主服务器为主服务器a,备服务器包括备服务器b、备服务器c和备服务器d。管理集群响应于备服务器b,根据第一路由信息生成第二路由信息。第二路由信息中,可以不包含备服务器b的相关信息。或者,第二路由信息中备服务器b可以被标记为故障。For example, the primary server of data A in the first routing information is primary server a, and the backup servers include backup server b, backup server c, and backup server d. The management cluster generates second routing information according to the first routing information in response to backup server b. The second routing information may not include relevant information of backup server b. Alternatively, backup server b may be marked as faulty in the second routing information.
若升级框架发送的升级请求中包含有两个或两个以上的待升级服务器的标识时,管理集群可以分别生成每个待升级服务器的第二路由信息。例如,在两个或两个以上的待升级服务器中,随机选择一个仍未进行升级的待升级服务器,生成随机选择的待升级服务器的第二路由信息,后续可由升级框架进行该随机选择的待升级服务器的升级。并在升级框架对该待升级服务器升级后,再从前述两个或两个以上的待升级服务器中,随机选择一个仍未进行升级的待升级服务器。以此类推,直至两个或两个以上的待升级服务器全部升级。If the upgrade request sent by the upgrade framework contains the identifiers of two or more servers to be upgraded, the management cluster can generate the second routing information for each server to be upgraded. For example, among the two or more servers to be upgraded, a server to be upgraded that has not been upgraded yet is randomly selected, and the second routing information of the randomly selected server to be upgraded is generated, and the upgrade framework can subsequently upgrade the randomly selected server to be upgraded. After the upgrade framework upgrades the server to be upgraded, another server to be upgraded that has not been upgraded yet is randomly selected from the aforementioned two or more servers to be upgraded. And so on, until all two or more servers to be upgraded are upgraded.
或者,管理集群还可以从两个或两个以上的待升级服务器中,选择指定数量的待升级服务器,并生成选择的指定数量的待升级服务器的第二路由信息,后续可由升级框架进行该指定数量的待升级服务器的升级。此外,在指定数量的待升级服务器升级后,再次从前述两个或两个以上的待升级服务器中选择指定数量(或指定数量以外的其他数量)的仍未进行升级的待升级服务器,由升级框架进行指定数量的待升级服务器的升级,以此类推,直至待升级服务器全部升级。采用该设计,可避免全部的待升级服务器同时进行升级,以提高分布式存储系统对IO请求的响应速度。Alternatively, the management cluster may also select a specified number of servers to be upgraded from two or more servers to be upgraded, and generate second routing information of the selected specified number of servers to be upgraded, and the upgrade framework may subsequently upgrade the specified number of servers to be upgraded. In addition, after the specified number of servers to be upgraded are upgraded, a specified number (or other number other than the specified number) of servers to be upgraded that have not yet been upgraded are again selected from the aforementioned two or more servers to be upgraded, and the upgrade framework upgrades the specified number of servers to be upgraded, and so on, until all the servers to be upgraded are upgraded. With this design, it is possible to avoid upgrading all the servers to be upgraded at the same time, so as to improve the response speed of the distributed storage system to IO requests.
举例来说,第一路由信息中数据A的主服务器为主服务器1,备服务器包括备服务器1、备服务器2、备服务器3和备服务器4。升级框架发送的升级请求中包含主服务器1、备服务器1和备服务器2。管理集群可以选择升级请求中任意两个待升级服务器,生成该任意两个待升级服务器的第二路由信息。例如,可以选择主服务器1和备服务器2,具体的更新方式如前述方法,在此不再赘述。这样,针对数据A的IO请求,还可以通过备服务器1、备服务器2和备服务器4进行处理。即使备服务器1、备服务器2和备服务器4中任意两个服务器故障,也能够处理数据A的IO请求。For example, in the first routing information, the main server of data A is main server 1, and the standby servers include standby server 1, standby server 2, standby server 3 and standby server 4. The upgrade request sent by the upgrade framework includes main server 1, standby server 1 and standby server 2. The management cluster can select any two servers to be upgraded in the upgrade request and generate the second routing information of the any two servers to be upgraded. For example, main server 1 and standby server 2 can be selected, and the specific update method is the same as the aforementioned method, which will not be repeated here. In this way, the IO request for data A can also be processed by standby server 1, standby server 2 and standby server 4. Even if any two of the standby servers 1, standby server 2 and standby server 4 fail, the IO request for data A can still be processed.
需要说明的是,根据第二路由信息,待升级服务器不会接收到客户端发送的IO请求,也不会接收到主服务器复写的IO请求。由于服务器在升级过程中,若该服务器为主服务端,则无法接收到客户端发送的IO请求,需要等待管理集群更新路由信息后,客户端可以根据更新的路由信息将IO请求发送到更新后的主服务器。若该服务器为备服务器,则在接收到主服务器复写的IO请求时,需等待升级完成后才能处理该IO请求。基于上述方案,待升级服务器不会接收到客户端发送的IO请求,也不会接收到主服务端复写的IO请求,可以保证IO请求被及时处理,而不需要等待更新路由信息,或者是等待待升级服务器升级完成,可以满足业务的高时延要求。It should be noted that, according to the second routing information, the server to be upgraded will not receive the IO request sent by the client, nor will it receive the IO request replicated by the main server. Since the server is in the process of upgrading, if the server is the main server, it cannot receive the IO request sent by the client, and needs to wait for the management cluster to update the routing information. The client can send the IO request to the updated main server according to the updated routing information. If the server is a backup server, when receiving the IO request replicated by the main server, it needs to wait until the upgrade is completed before processing the IO request. Based on the above scheme, the server to be upgraded will not receive the IO request sent by the client, nor will it receive the IO request replicated by the main server. This can ensure that the IO request is processed in a timely manner without waiting for the routing information to be updated or waiting for the upgrade of the server to be upgraded to be completed, which can meet the high latency requirements of the business.
步骤203:管理集群将第二路由信息发送给客户端和除该待升级服务器以外的其他服务器。Step 203: The management cluster sends the second routing information to the client and other servers except the server to be upgraded.
其中,除该待升级服务器以外的其他服务器,可包括第二路由信息中,该数据对应的主服务器和除该待升级服务器以外的其他备服务器。Among them, other servers except the server to be upgraded may include the main server corresponding to the data in the second routing information and other backup servers except the server to be upgraded.
可选的,管理集群可以根据第二路由信息对该数据的主服务器和备服务器进行心跳检测。其中,管理集群可以停止对待升级服务器进行心跳检测。这样,第二路由信息可以根据心跳检测监控数据的各个服务器的工作状态,在被监控的服务器故障时可以及时更新第二路由信息。而待升级服务器可以不向管理集群发送心跳包,在升级时也不会导致无法发送心跳包而触发管理集群更新第二路由信息,可以保证高时延要求的IO请求被及时处理。Optionally, the management cluster can perform heartbeat detection on the master server and backup server of the data according to the second routing information. The management cluster can stop performing heartbeat detection on the server to be upgraded. In this way, the second routing information can monitor the working status of each server of the data according to the heartbeat detection, and the second routing information can be updated in time when the monitored server fails. The server to be upgraded does not need to send a heartbeat packet to the management cluster, and during the upgrade, it will not cause the failure to send a heartbeat packet to trigger the management cluster to update the second routing information, which can ensure that IO requests with high latency requirements are processed in time.
可选的,该管理集群还可向该升级框架发送针对该待升级服务器的标识的应答消息。升级框架可响应于应答消息,对该待升级服务器进行升级。Optionally, the management cluster may also send a response message for the identifier of the server to be upgraded to the upgrade framework. The upgrade framework may upgrade the server to be upgraded in response to the response message.
基于上述方案,管理集群可以根据待升级服务器的标识更新路由信息,可以使得待升级服务器在升级时不会接收到数据的IO请求,可以保证IO请求被及时处理,提高分布式系统对于IO请求的响应速度。Based on the above solution, the management cluster can update the routing information according to the identifier of the server to be upgraded, so that the server to be upgraded will not receive data IO requests during the upgrade, which can ensure that the IO requests are processed in time and improve the response speed of the distributed system to IO requests.
在本申请实施例中,待升级服务器升级成功之后,管理集群可更新第二路由信息,将待升级服务器的身份恢复为其在第一路由信息中的身份。图3为从设备交互的角度示出的本申请实施例提供的通信方法的示例性流程图。图3中,待升级服务器在第一路由信息中为数据的主服务器。In an embodiment of the present application, after the server to be upgraded is successfully upgraded, the management cluster can update the second routing information and restore the identity of the server to be upgraded to its identity in the first routing information. FIG3 is an exemplary flow chart of the communication method provided by an embodiment of the present application from the perspective of device interaction. In FIG3, the server to be upgraded is the primary server of the data in the first routing information.
步骤301:在待升级服务器升级成功后,升级框架向管理集群发送待升级服务器的标识。Step 301: After the server to be upgraded is upgraded successfully, the upgrade framework sends the identifier of the server to be upgraded to the management cluster.
步骤302:管理集群根据第二路由信息确定第三路由信息。Step 302: The management cluster determines third routing information according to the second routing information.
这里的第三路由信息中,待升级服务器为数据的主服务器。应理解,由于第一路由信息中待升级服务器为主服务器,则第三路由信息中待升级服务器也为主服务器。In the third routing information here, the server to be upgraded is the main server of the data. It should be understood that since the server to be upgraded in the first routing information is the main server, the server to be upgraded in the third routing information is also the main server.
在一种可能的实现方式中,管理集群可以对待升级服务器进行心跳检测,待升级服务器可以每指定周期向管理集群发送心跳包。其中,指定周期可以是根据经验值预先确定的,例如10s,15s等,本申请不作具体限定。In a possible implementation, the management cluster can perform heartbeat detection on the server to be upgraded, and the server to be upgraded can send a heartbeat packet to the management cluster at a specified period, wherein the specified period can be predetermined based on empirical values, such as 10s, 15s, etc., which is not specifically limited in this application.
步骤303:管理集群将该第三路由信息发送给客户端、该待升级服务器和除该待升级服务器以外的其他服务器。Step 303: The management cluster sends the third routing information to the client, the server to be upgraded, and other servers except the server to be upgraded.
其中,除该待升级服务器以外的其他服务器,可包括第三路由信息中,该数据对应的备服务器。这样,客户端的IO请求可以根据第三路由信息发送到主服务器(即待升级服务器),主服务器也可以将该IO请求复写,并发送到对应的备服务器。Among them, other servers except the server to be upgraded may include the backup server corresponding to the data in the third routing information. In this way, the IO request of the client can be sent to the main server (i.e., the server to be upgraded) according to the third routing information, and the main server can also copy the IO request and send it to the corresponding backup server.
应理解,以上图3所示流程可在步骤203之后执行。It should be understood that the process shown in FIG. 3 above may be executed after step 203 .
若待升级服务器在第一路由信息中为数据的备服务器时,管理集群可以根据第二路由信息生成第四路由信息,将待升级服务器的身份恢复为其在第一路由信息中的身份。图4为从设备交互的角度示出的本申请实施例提供的通信方法的示例性流程图。If the server to be upgraded is a backup server for data in the first routing information, the management cluster can generate fourth routing information based on the second routing information to restore the identity of the server to be upgraded to its identity in the first routing information. FIG4 is an exemplary flow chart of a communication method provided by an embodiment of the present application from the perspective of device interaction.
步骤401:在待升级服务器升级成功后,升级框架向管理集群发送待升级服务器的标识。Step 401: After the server to be upgraded is upgraded successfully, the upgrade framework sends the identifier of the server to be upgraded to the management cluster.
步骤402:管理集群根据该第二路由信息确定第四路由信息。Step 402: The management cluster determines fourth routing information according to the second routing information.
其中,若第一路由信息中待升级服务器为数据的主服务器,则第四路由信息中待升级服务器为数据的主服务器。若第一路由信息中待升级服务器为数据的备服务器,则第四路由信息中数据的备服务器。If the server to be upgraded in the first routing information is the primary server of the data, then the server to be upgraded in the fourth routing information is the primary server of the data. If the server to be upgraded in the first routing information is the backup server of the data, then the backup server of the data in the fourth routing information is the backup server of the data.
管理集群还可以对待升级服务器进行心跳检测,待升级服务器可以每指定周期向管理集群发送心跳包。The management cluster can also perform heartbeat detection on the server to be upgraded, and the server to be upgraded can send a heartbeat packet to the management cluster at a specified period.
步骤403:管理集群将该第四路由信息发送给客户端、该待升级服务器和除该待升级服务器以外的其他服务器。Step 403: The management cluster sends the fourth routing information to the client, the server to be upgraded, and other servers except the server to be upgraded.
其中,除该待升级服务器以外的其他服务器,可包括第四路由信息中该数据对应的主服务器和除该待升级服务器以外的其他备服务器。Among them, other servers except the server to be upgraded may include the main server corresponding to the data in the fourth routing information and other backup servers except the server to be upgraded.
这样,客户端的IO请求可以根据第四路由信息发送到主服务器,主服务器可以将IO请求复写,并根据第四路由信息将复写的IO请求发送到各个备服务器。In this way, the IO request of the client can be sent to the primary server according to the fourth routing information, and the primary server can replicate the IO request and send the replicated IO request to each standby server according to the fourth routing information.
应理解,以上图4所示流程可在步骤203之后执行。It should be understood that the process shown in FIG. 4 above can be executed after step 203 .
以上结合图1至图4详细说明了本申请实施例的通信方法。以下结合图5详细说明本申请实施例的通信装置。The communication method of the embodiment of the present application is described in detail above in conjunction with Figures 1 to 4. The communication device of the embodiment of the present application is described in detail below in conjunction with Figure 5.
图5给出了本申请实施例提供的一种通信装置500的结构示意图。通信装置500可用于实现上述方法实施例中描述的方法,该方法可由图1所示的管理集群104实施,具体可以参见上述方法实施例中的说明。所述通信装置500可以是芯片或者服务器集群等。FIG5 shows a schematic diagram of the structure of a communication device 500 provided in an embodiment of the present application. The communication device 500 can be used to implement the method described in the above method embodiment, which can be implemented by the management cluster 104 shown in FIG1 , and the details can be referred to the description in the above method embodiment. The communication device 500 can be a chip or a server cluster, etc.
所述通信装置500包括一个或多个处理器501。所述处理器501可以是通用处理器或者专用处理器等。例如可以是基带处理器、或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,服务器、服务器集群、或芯片等)进行控制,执行软件程序,处理软件程序的数据。所述通信装置可以包括收发单元505,用以实现信号的输入(接收)和输出(发送)。例如,通信装置可以为芯片,所述收发单元505可以是芯片的输入和/或输出电路,或者通信接口。所述芯片可以用于终端设备或服务器或服务器集群。又如,通信装置可以为终端设备、服务器或者服务器集群等,所述收发单元可以为收发器,射频芯片等。The communication device 500 includes one or more processors 501. The processor 501 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and the communication data, and the central processing unit may be used to control the communication device (such as a server, a server cluster, or a chip, etc.), execute the software program, and process the data of the software program. The communication device may include a transceiver unit 505 to realize the input (reception) and output (transmission) of the signal. For example, the communication device may be a chip, and the transceiver unit 505 may be the input and/or output circuit of the chip, or a communication interface. The chip may be used for a terminal device or a server or a server cluster. For another example, the communication device may be a terminal device, a server or a server cluster, etc., and the transceiver unit may be a transceiver, a radio frequency chip, etc.
所述通信装置500包括一个或多个所述处理器501,所述一个或多个处理器501可实现图2-图4所示的实施例中的方法。The communication device 500 includes one or more processors 501, and the one or more processors 501 can implement the methods in the embodiments shown in Figures 2 to 4.
在一种可能的设计中,所述通信装置500包括用于根据待升级服务器的第一路由信息确定第二路由信息的部件(means)。所述第二路由信息以及如何生成第二路由信息可以参见上述方法实施例中的相关描述。例如可以通过收发器、或输入/输出电路、或芯片的接口接收待升级服务器的标识,通过一个或多个处理器生成第二路由信息。可选的,处理器501除了实现图2-图4所示的实施例的方法,还可以实现其他功能。In one possible design, the communication device 500 includes a means for determining second routing information according to first routing information of the server to be upgraded. The second routing information and how to generate the second routing information can refer to the relevant description in the above method embodiment. For example, the identifier of the server to be upgraded can be received through a transceiver, or an input/output circuit, or an interface of a chip, and the second routing information can be generated through one or more processors. Optionally, in addition to implementing the methods of the embodiments shown in Figures 2 to 4, the processor 501 can also implement other functions.
可选的,一种设计中,处理器501可以执行指令503,使得所述通信装置500执行上述方法实施例中描述的方法。所述指令503可以全部或部分存储在所述处理器内,也可以全部或部分存储在与所述处理器耦合的存储器502中。Optionally, in one design, the processor 501 may execute an instruction 503 so that the communication device 500 executes the method described in the above method embodiment. The instruction 503 may be stored in whole or in part in the processor, or in whole or in part in a memory 502 coupled to the processor.
在又一种可能的设计中,通信装置500也可以包括电路,所述电路可以实现前述方法实施例中的功能。In yet another possible design, the communication device 500 may also include a circuit, which may implement the functions of the aforementioned method embodiment.
在又一种可能的设计中所述通信装置500中可以包括一个或多个存储器502,其上存有指令504,所述指令可在所述处理器上被运行,使得所述通信装置500执行上述方法实施例中描述的方法。可选的,所述存储器中还可以存储有数据。可选的处理器中也可以存储指令和/或数据。例如,所述一个或多个存储器502可以存储上述实施例中所描述的第二路由信息,或者上述实施例中所涉及的第三路由信息等。所述处理器和存储器可以单独设置,也可以集成在一起。In another possible design, the communication device 500 may include one or more memories 502, on which instructions 504 are stored, and the instructions can be executed on the processor so that the communication device 500 performs the method described in the above method embodiment. Optionally, data can also be stored in the memory. Instructions and/or data can also be stored in the optional processor. For example, the one or more memories 502 can store the second routing information described in the above embodiment, or the third routing information involved in the above embodiment, etc. The processor and memory can be set separately or integrated together.
在一种可能的实现方式中,如图6所示的通信装置600可作为上述方法实施例所涉及的管理集群,并执行上述方法实施例中由管理集群执行的步骤。如图6所示,该通信装置600可包括通信单元601以及处理单元602,以上通信单元601以及处理单元602之间相互耦合。该通信单元601可用于支持通信装置600进行通信,通信单元601可具备有线通信功能。处理单元602可用于支持该通信装置600执行上述方法实施例中的处理动作,包括但不限于:生成由通信单元601发送的信息、消息,和/或,对通信单元601接收的信号进行解析等等。In a possible implementation, the communication device 600 shown in FIG6 may be used as the management cluster involved in the above method embodiment, and execute the steps performed by the management cluster in the above method embodiment. As shown in FIG6, the communication device 600 may include a communication unit 601 and a processing unit 602, and the above communication unit 601 and the processing unit 602 are coupled to each other. The communication unit 601 can be used to support the communication device 600 to communicate, and the communication unit 601 can have a wired communication function. The processing unit 602 can be used to support the communication device 600 to perform the processing actions in the above method embodiment, including but not limited to: generating information and messages sent by the communication unit 601, and/or, parsing the signal received by the communication unit 601, etc.
在执行上述方法实施例中由第一通信装置执行的动作时,通信单元601可用于接收来自升级框架的待升级服务器的标识;或者,还可用于将所述第二路由信息发送给客户端和除所述待升级服务器以外的其他服务器。When executing the action performed by the first communication device in the above method embodiment, the communication unit 601 can be used to receive the identifier of the server to be upgraded from the upgrade framework; or, it can also be used to send the second routing information to the client and other servers except the server to be upgraded.
所述处理单元602可用于响应于来自升级框架的待升级服务器的标识,根据待升级服务器的第一路由信息确定第二路由信息,第二路由信息以及如何生成第二路由信息可以参见上述方法实施例中的相关描述。The processing unit 602 can be used to respond to the identifier of the server to be upgraded from the upgrade framework and determine the second routing information according to the first routing information of the server to be upgraded. The second routing information and how to generate the second routing information can refer to the relevant description in the above method embodiment.
在一种设计中,处理单元602还可用于根据所述第二路由信息确定第三路由信息,该第三路由信息以及如何确定该第三路由信息可以参见上述方法实施例中的相关描述;通信单元601还可用于将该第三路由信息发送给客户端、待升级服务器和除该待升级服务器以外的其他服务器。In one design, the processing unit 602 can also be used to determine third routing information based on the second routing information. The third routing information and how to determine the third routing information can be found in the relevant description of the above method embodiment; the communication unit 601 can also be used to send the third routing information to the client, the server to be upgraded, and other servers except the server to be upgraded.
在一种设计中,处理单元602还可用于根据第二路由信息确定第四路由信息,该第四路由信息以及如何确定该第四路由信息可以参见上述方法实施例中的相关描述;通信单元601还可用于将该第四路由信息发送给客户端、待升级服务器和除该待升级服务器以外的其他服务器。In one design, the processing unit 602 can also be used to determine fourth routing information based on the second routing information. The fourth routing information and how to determine the fourth routing information can be found in the relevant description of the above-mentioned method embodiment; the communication unit 601 can also be used to send the fourth routing information to the client, the server to be upgraded and other servers except the server to be upgraded.
在一种设计中,处理单元602还可用于停止对待升级服务器的心跳检测。或者,处理单元602还可用于对该待升级服务器进行心跳检测。其中,如何对该待升级服务器进行心跳检测可以参见上述方法实施例中的相关描述。In one design, the processing unit 602 may also be used to stop the heartbeat detection of the server to be upgraded. Alternatively, the processing unit 602 may also be used to perform heartbeat detection on the server to be upgraded. For how to perform heartbeat detection on the server to be upgraded, please refer to the relevant description in the above method embodiment.
应注意,本申请实施例中的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digitalsignal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be noted that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (digitalsignal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(directrambusRAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
本申请实施例还提供了一种计算机可读介质,其上存储有计算机程序,该计算机程序被计算机执行时实现上述任一方法实施例所述的通信方法。An embodiment of the present application further provides a computer-readable medium on which a computer program is stored. When the computer program is executed by a computer, the communication method described in any of the above method embodiments is implemented.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品被计算机执行时实现上述任一方法实施例所述的通信方法。An embodiment of the present application also provides a computer program product, which, when executed by a computer, implements the communication method described in any of the above method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
本申请实施例还提供了一种通信装置,包括处理器和接口;所述处理器,用于执行上述任一方法实施例所述的通信方法。An embodiment of the present application also provides a communication device, including a processor and an interface; the processor is used to execute the communication method described in any of the above method embodiments.
应理解,上述处理装置可以是一个芯片,所述处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现,改存储器可以集成在处理器中,可以位于所述处理器之外,独立存在。It should be understood that the above-mentioned processing device can be a chip, and the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor, or can be located outside the processor and exist independently.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010177607.2A CN113391759B (en) | 2020-03-13 | 2020-03-13 | Communication method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010177607.2A CN113391759B (en) | 2020-03-13 | 2020-03-13 | Communication method and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113391759A CN113391759A (en) | 2021-09-14 |
CN113391759B true CN113391759B (en) | 2024-04-09 |
Family
ID=77616348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010177607.2A Active CN113391759B (en) | 2020-03-13 | 2020-03-13 | Communication method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113391759B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115934358B (en) * | 2023-01-05 | 2023-06-27 | 摩尔线程智能科技(北京)有限责任公司 | Method for controlling clusters of data processing devices |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6738801B1 (en) * | 1999-01-08 | 2004-05-18 | Fujitsu Limited | Master server facilitating communication between slave servers in incompatible data formats, and method for upgrading slave servers |
CN102332992A (en) * | 2008-06-17 | 2012-01-25 | 华为技术有限公司 | Parlay application server, SIP distributor upgrade method and device |
CN103747091A (en) * | 2014-01-16 | 2014-04-23 | 电信科学技术第一研究所 | Distributed data synchronization system and method for embedded equipment |
CN106407011A (en) * | 2016-09-20 | 2017-02-15 | 焦点科技股份有限公司 | A routing table-based search system cluster service management method and system |
CN106657259A (en) * | 2016-10-28 | 2017-05-10 | 努比亚技术有限公司 | Route server and route service method used for server cluster |
CN106936622A (en) * | 2015-12-31 | 2017-07-07 | 阿里巴巴集团控股有限公司 | A kind of distributed memory system upgrade method and device |
CN108737270A (en) * | 2018-05-07 | 2018-11-02 | 北京京东尚科信息技术有限公司 | A kind of method for managing resource and device of server cluster |
CN109218349A (en) * | 2017-06-29 | 2019-01-15 | 北京微影时代科技有限公司 | A kind of method and device of management server cluster |
CN109525431A (en) * | 2018-12-07 | 2019-03-26 | 桂林力港网络科技股份有限公司 | A kind of method, apparatus that not withdrawing upgrade server and storage medium |
CN109936481A (en) * | 2019-03-22 | 2019-06-25 | 北京达佳互联信息技术有限公司 | Principal and subordinate's server switching method, device, electronic equipment and storage medium |
CN109981350A (en) * | 2019-03-01 | 2019-07-05 | 畅捷通信息技术股份有限公司 | A kind of continual upgrade method of cloud service and system |
CN110011822A (en) * | 2018-12-19 | 2019-07-12 | 北京乐我无限科技有限责任公司 | Upgrade method, device, management server and the system of Edge Server |
CN110716945A (en) * | 2019-09-20 | 2020-01-21 | 腾讯音乐娱乐科技(深圳)有限公司 | Data updating method, data updating system, server and storage medium |
CN110839084A (en) * | 2019-11-19 | 2020-02-25 | 中国建设银行股份有限公司 | Session management method, device, equipment and medium |
-
2020
- 2020-03-13 CN CN202010177607.2A patent/CN113391759B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6738801B1 (en) * | 1999-01-08 | 2004-05-18 | Fujitsu Limited | Master server facilitating communication between slave servers in incompatible data formats, and method for upgrading slave servers |
CN102332992A (en) * | 2008-06-17 | 2012-01-25 | 华为技术有限公司 | Parlay application server, SIP distributor upgrade method and device |
CN103747091A (en) * | 2014-01-16 | 2014-04-23 | 电信科学技术第一研究所 | Distributed data synchronization system and method for embedded equipment |
CN106936622A (en) * | 2015-12-31 | 2017-07-07 | 阿里巴巴集团控股有限公司 | A kind of distributed memory system upgrade method and device |
CN106407011A (en) * | 2016-09-20 | 2017-02-15 | 焦点科技股份有限公司 | A routing table-based search system cluster service management method and system |
CN106657259A (en) * | 2016-10-28 | 2017-05-10 | 努比亚技术有限公司 | Route server and route service method used for server cluster |
CN109218349A (en) * | 2017-06-29 | 2019-01-15 | 北京微影时代科技有限公司 | A kind of method and device of management server cluster |
CN108737270A (en) * | 2018-05-07 | 2018-11-02 | 北京京东尚科信息技术有限公司 | A kind of method for managing resource and device of server cluster |
CN109525431A (en) * | 2018-12-07 | 2019-03-26 | 桂林力港网络科技股份有限公司 | A kind of method, apparatus that not withdrawing upgrade server and storage medium |
CN110011822A (en) * | 2018-12-19 | 2019-07-12 | 北京乐我无限科技有限责任公司 | Upgrade method, device, management server and the system of Edge Server |
CN109981350A (en) * | 2019-03-01 | 2019-07-05 | 畅捷通信息技术股份有限公司 | A kind of continual upgrade method of cloud service and system |
CN109936481A (en) * | 2019-03-22 | 2019-06-25 | 北京达佳互联信息技术有限公司 | Principal and subordinate's server switching method, device, electronic equipment and storage medium |
CN110716945A (en) * | 2019-09-20 | 2020-01-21 | 腾讯音乐娱乐科技(深圳)有限公司 | Data updating method, data updating system, server and storage medium |
CN110839084A (en) * | 2019-11-19 | 2020-02-25 | 中国建设银行股份有限公司 | Session management method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN113391759A (en) | 2021-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11741075B2 (en) | Methods and system of tracking transactions for distributed ledger | |
CN108804119A (en) | Configure update method, device, system, configuration center, application node and medium | |
CN110830283B (en) | Fault detection method, apparatus, equipment and system | |
CN107623703B (en) | Synchronization method, device and system for Global Transaction Identifier (GTID) | |
WO2016121834A1 (en) | Method, system, device, and program for managing network function virtualization | |
CN104980519A (en) | Multi-computer room storage system | |
CN109445988B (en) | Heterogeneous disaster recovery method, device, system, server and disaster recovery platform | |
CN112035144B (en) | Upgrading method and device of block chain system, computer equipment and storage medium | |
CN111327651A (en) | Resource downloading method, device, edge node and storage medium | |
CN102012899A (en) | Method, system and equipment for updating data | |
CN111966530A (en) | Application system disaster recovery switching method, device, computer equipment and storage medium | |
WO2021109750A1 (en) | Node management method, device and apparatus, storage medium, and system | |
CN113329417B (en) | A network configuration method and device | |
CN114745413B (en) | Server access control method, device, computer equipment and storage medium | |
CN110442601B (en) | A method and device for parallel acceleration of Openstack mirror data | |
CN116301568A (en) | A data access method, device and equipment | |
CN108418859B (en) | Method and apparatus for writing data | |
CN113391759B (en) | Communication method and equipment | |
CN113259476A (en) | Message pushing method and system | |
CN113496004A (en) | Message sending method and device | |
WO2020037607A1 (en) | Data transmission method and apparatus | |
JP2020527881A (en) | Message transmission method and device | |
KR20160090485A (en) | Method and apparatus for operating distributed controllers of software defined network | |
CN111756800A (en) | A method and system for handling burst traffic | |
US20230254270A1 (en) | Computer-readable recording medium storing program, information processing method, and information processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220216 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Applicant after: Huawei Cloud Computing Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |