[go: up one dir, main page]

CN119232746A - Path construction method and device - Google Patents

Path construction method and device Download PDF

Info

Publication number
CN119232746A
CN119232746A CN202311446337.0A CN202311446337A CN119232746A CN 119232746 A CN119232746 A CN 119232746A CN 202311446337 A CN202311446337 A CN 202311446337A CN 119232746 A CN119232746 A CN 119232746A
Authority
CN
China
Prior art keywords
cloud service
scheduling unit
computing device
address
scheduling
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.)
Pending
Application number
CN202311446337.0A
Other languages
Chinese (zh)
Inventor
刘浪
李建
谢明燠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Cloud Computing Technologies Co Ltd
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 Huawei Cloud Computing Technologies Co Ltd filed Critical Huawei Cloud Computing Technologies Co Ltd
Publication of CN119232746A publication Critical patent/CN119232746A/en
Pending legal-status Critical Current

Links

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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

公开了路径构建方法及装置,涉及计算机领域。第一计算设备接收用户触发的携带有部署在第一区域内的第一云服务的标识,以及部署在第二区域内的第二云服务的标识的构建指令,将第一云服务与第二云服务建立通信连接。第一计算设备获取第一云服务与第二云服务中每个调度单元的IP地址,指示第一调度单元,根据第一调度单元的IP地址,以及映射关系中第一调度单元对应的第二调度单元的IP地址,与第二调度单元建立传输路径。该映射关系表示第一云服务与第二云服务中建立传输路径的调度单元的对应关系。如此,避免了用户手动分配IP地址和路由的情况下,加快了获取IP地址的速度,进而提升了在第一调度单元与第二调度单元之间建立传输路径的效率。

Disclosed are a path construction method and device, which relate to the field of computers. A first computing device receives a construction instruction triggered by a user and carrying an identifier of a first cloud service deployed in a first area and an identifier of a second cloud service deployed in a second area, and establishes a communication connection between the first cloud service and the second cloud service. The first computing device obtains the IP address of each scheduling unit in the first cloud service and the second cloud service, and instructs the first scheduling unit to establish a transmission path with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit corresponding to the first scheduling unit in a mapping relationship. The mapping relationship represents the correspondence between the scheduling units that establish the transmission path in the first cloud service and the second cloud service. In this way, the user is prevented from manually allocating IP addresses and routes, the speed of obtaining IP addresses is accelerated, and the efficiency of establishing a transmission path between the first scheduling unit and the second scheduling unit is improved.

Description

Path construction method and device
The present application claims priority from the chinese patent application filed on 29 th 2023, 06, filed on the national intellectual property agency, application number 202310786183.3, application name "method, apparatus for replicating a path, and other devices", the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of computers, and in particular, to a path construction method and apparatus.
Background
Data backup refers to the process of copying data from a source location to a destination location to prevent the data from being lost, corrupted, or otherwise unavailable. In the process of data backup, a backup path needs to be established between the device at the original position and the device at the destination position. In order to establish backup paths for devices (such as physical machines) in different areas (regions), generally, IP addresses and configuration routes are manually allocated to the physical machines in different regions, and connection relations between the physical machines in different regions are determined, so that backup paths are established between the physical machines in one region and the physical machines in another region, and manually allocating IP addresses and route configurations are complicated and slow, so that data backup efficiency is low.
Disclosure of Invention
The application provides a path construction method and a path construction device, which are used for solving the problem of low data backup efficiency.
In a first aspect, the present application provides a path construction method. The path construction method may be applied to a computer system or to a computing device, such as a server, etc., in which the computer system implements the path construction method. The path construction method comprises the steps that a first computing device receives an identifier which is triggered by a user and carries a first cloud service deployed in a first area and a construction instruction of an identifier of a second cloud service deployed in a second area, and further the first cloud service and the second cloud service are connected in a communication mode. The first computing device establishes a transmission path with the second scheduling unit by acquiring the IP address of each scheduling unit in the first cloud service and the second cloud service and indicating the first scheduling unit in the first cloud service, and according to the IP address of the first scheduling unit and the IP address of the second scheduling unit in the second cloud service corresponding to the first scheduling unit in the mapping relation. The first scheduling unit is one scheduling unit in the first cloud service, and the second scheduling unit is one or more scheduling units in the second cloud service. The mapping relationship indicates a corresponding relationship of a scheduling unit for establishing a transmission path in the first cloud service and the second cloud service.
In the application, because the IP address of the scheduling unit is obtained by constructing the scheduling unit by the computing equipment running the scheduling unit when the scheduling unit is created, the first computing equipment can directly acquire the IP address of the scheduling unit in the first cloud service and the IP address of the scheduling unit in the second cloud service, thereby improving the acquisition speed of the IP address and further improving the efficiency of establishing the transmission path. The first computing device establishes communication connection between the first cloud service and the second cloud service according to the identification of the first cloud service and the second cloud service indicated by the user, so that a communication link is provided for the first computing device to acquire the IP address of the scheduling unit under the second cloud service, the efficiency of the first computing device to acquire the IP address of the scheduling unit under the second cloud service is improved, and the efficiency of establishing a transmission path between the first scheduling unit and the second scheduling unit is further improved. And the first computing device indicates the first scheduling unit to establish a transmission path with the second scheduling unit according to the IP address of the second scheduling unit corresponding to the first scheduling unit indicated by the mapping relation, so that the manual configuration of the IP address of the second scheduling unit for the first scheduling unit is avoided, the configuration speed of the IP address of the second scheduling unit is improved, and the efficiency of establishing the transmission path between the first scheduling unit and the second scheduling unit is further improved.
In one possible implementation manner, the path construction method further comprises the step that the first computing device establishes a mapping relation between the IP address of the first scheduling unit in the first cloud service and the IP address of each scheduling unit in the second cloud service.
In the application, the first computing device establishes the corresponding relation between the first scheduling unit and the IP addresses of all scheduling units in the second cloud service, so that the mapping relation is obtained, in other words, the first computing device carries out full interconnection matching on the IP addresses of the scheduling units in the first cloud service and the IP addresses of the scheduling units in the second cloud service, thereby facilitating the subsequent first scheduling unit to send data to any one scheduling unit in the second cloud service, reducing the time consumption for establishing/configuring a transmission path before data transmission, and further improving the efficiency of data transmission.
In one possible implementation, the path construction further includes the first computing device establishing a mapping relationship between the IP address of the first scheduling unit and the IP address of one or more scheduling units in the second cloud service, where the label of the first scheduling unit is the same as the label of one or more scheduling units in the second cloud service.
In the application, the mapping relation only indicates the IP address of the first dispatching unit and the IP address of one or more dispatching units appointed in the second cloud service, so that the number of the IP addresses configured for the first dispatching unit is reduced, the speed of establishing the transmission path can be further increased, and the efficiency of constructing the transmission path is improved.
In one possible implementation, the first computing device obtaining the IP address of the dispatch unit in the first cloud service includes the first computing device obtaining the IP address of the dispatch unit in the first cloud service if the dispatch unit in the first cloud service increases. The mapping relation is used for indicating the corresponding relation between the scheduling units added in the first cloud service and the scheduling units in the second cloud service.
In the application, if the scheduling units in the first cloud service are increased, namely, when the first cloud service expands, the first computing device instructs the first scheduling unit and the second scheduling unit to establish the transmission path according to the constructed mapping relation, so that the newly added scheduling units can also establish connection with the scheduling units in the second cloud service in time when the first cloud service expands, the problems of needing to manually configure the IP and establish the transmission path and complex operation are avoided, thereby accelerating the establishment speed of the transmission path and improving the construction efficiency of the transmission path when the first cloud service expands.
In one possible implementation, the first computing device obtaining the IP address of the scheduling unit in the second cloud service sent by the second computing device includes the first computing device obtaining the IP address of the scheduling unit in the second cloud service sent by the second computing device if the scheduling unit in the second cloud service increases. The mapping relation is used for indicating the corresponding relation between the scheduling units in the first cloud service and the scheduling units added in the second cloud service.
In the application, if the scheduling units in the second cloud service are increased, namely, when the second cloud service expands, the first computing device instructs the first scheduling unit and the second scheduling unit to establish the transmission path according to the constructed mapping relation, so that the newly added scheduling units can also establish connection with the scheduling units in the first cloud service in time when the second cloud service expands, the problems of needing to manually configure IP and establish the transmission path and complex operation are avoided, thereby accelerating the establishment speed of the transmission path and improving the construction efficiency of the transmission path when the first cloud service expands.
In one possible implementation, the first computing device obtaining the IP address of the scheduling unit in the second cloud service sent by the second computing device includes determining, if the scheduling unit in the second cloud service is reduced, the IP address of the scheduling unit in the second cloud service sent by the second computing device, and determining the IP address of the scheduling unit in the second cloud service reduced. Further, the first computing device instructs the first scheduling unit to delete the transmission path corresponding to the IP address of the reduced scheduling unit.
In the application, if the scheduling units in the second cloud service are reduced, the first computing device updates the transmission paths of the scheduling units in the first cloud service and the scheduling units in the second cloud service, so that the problem that the transmission paths among the scheduling units still need to be manually deleted when the second cloud service is contracted is avoided, the operation is complicated, the speed of deleting the transmission paths in the second cloud service is increased, the transmission errors caused by the unavailability of the IP addresses of part of the scheduling units due to the second cloud service contraction are reduced, and the availability and usability of data transmission among the scheduling units are improved.
In one possible implementation, two possible examples are provided below for the first computing device to establish a communication connection with the first cloud service and the second cloud service according to the identification of the first cloud service and the second cloud service.
Example 1, a first computing device establishes a connection with a first cloud service and a second cloud service over a virtual private network (virtual private network, VPN).
Example 2, the first computing device establishes a connection with the first cloud service and the second cloud service through a direct connection channel provided by the cloud computing platform.
In one possible implementation manner, the cloud computing platform is deployed with a container orchestration and management system K8S, and the scheduling unit is a container set Pod.
In one possible implementation, the first computing device obtains an IP address of a scheduling unit in the first cloud service, including subscribing the first computing device to Pod view information of the first area, where the Pod view information includes the IP address of a Pod in the first cloud service.
In a second aspect, the present application provides a path construction apparatus. The path construction apparatus is applied to a computer system or to a computing device supporting the computer system to implement a path construction method, the path construction apparatus comprising respective modules for performing the positioning method of the first aspect or any of the alternative implementations of the first aspect. The path construction device is applied to computing equipment running a cloud computing platform, the computing equipment is distributed in at least two areas, at least one scheduling unit is arranged in each computing equipment, each scheduling unit is configured with a network protocol IP address by the computing equipment when each scheduling unit is created, the path construction device is deployed in a first computing equipment in a first area, and a second computing equipment belongs to a second area. The path construction device comprises a receiving module, a communication establishment module, an acquisition module and a path establishment module. Wherein,
The receiving module is used for receiving a construction instruction of a user, wherein the construction instruction carries an identifier of a first cloud service deployed in a first area and an identifier of a second cloud service deployed in a second area.
And the communication establishing module is used for establishing communication connection between the first cloud service and the second cloud service according to the identification of the first cloud service and the identification of the second cloud service.
The acquiring module is used for acquiring the IP address of each scheduling unit in the first cloud service and the IP address of each scheduling unit in the second cloud service sent by the second computing device.
The path establishing module is used for indicating the first scheduling unit, establishing a transmission path with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit corresponding to the first scheduling unit in the mapping relation, wherein the first scheduling unit is one scheduling unit in the first cloud service, the second scheduling unit is one or more scheduling units in the second cloud service, and the mapping relation is used for indicating the corresponding relation between the first cloud service and the scheduling units establishing the transmission path in the second cloud service.
In one possible implementation manner, the path building module further includes a first relationship building module. The first relation establishing module is used for establishing a mapping relation between the IP address of the first scheduling unit in the first cloud service and the IP address of each scheduling unit in the second cloud service.
In one possible implementation manner, the path building module further includes a second relationship building module. The second relation establishing module is used for establishing a mapping relation between the IP address of the first scheduling unit and the IP addresses of one or more scheduling units in the second cloud service. The labels of the first schedule element are the same as the labels of one or more schedule elements in the second cloud service.
In one possible implementation manner, the obtaining module is specifically configured to obtain the IP address of the scheduling unit in the first cloud service if the scheduling unit in the first cloud service is increased. The mapping relation is used for indicating the corresponding relation between the scheduling units added in the first cloud service and the scheduling units in the second cloud service.
In a possible implementation manner, the obtaining module is specifically configured to obtain, if the number of scheduling units in the second cloud service increases, an IP address of the scheduling unit in the second cloud service sent by the second computing device. The mapping relation is used for indicating the corresponding relation between the scheduling units in the first cloud service and the scheduling units added in the second cloud service.
In a possible implementation manner, the obtaining module is specifically configured to obtain, if the number of scheduling units in the second cloud service decreases, an IP address of the scheduling unit in the second cloud service sent by the second computing device, determine the IP address of the scheduling unit in the second cloud service decreases, and further instruct the first scheduling unit to delete a transmission path corresponding to the IP address of the scheduling unit in the decrease.
In one possible implementation, a container orchestration and management system K8S is deployed in the cloud computing platform, and the scheduling unit is a container set Pod.
In a possible implementation manner, the acquiring module is specifically configured to subscribe to Pod view information of the first area, where the Pod view information includes an IP address of a Pod in the first cloud service.
In a third aspect, the present application provides a chip. The chip comprises a processor and a power supply circuit for powering the processor for performing the method of the first aspect or any of the possible implementations of the first aspect.
In a fourth aspect, the present application provides a computing device. The computing device comprises a memory for storing computer instructions which, when executed, implement the method of the first aspect or any one of the possible implementations of the first aspect.
In a fifth aspect, the present application provides a computer-readable storage medium. The storage medium has stored therein a computer program or instructions which, when executed by a processing device, implement the method of the first aspect or any of the possible implementations of the first aspect.
In a sixth aspect, the application provides a computer program product. The computer program product comprises a computer program or instructions which, when executed by a processing device, implement the method of the first aspect or any of the possible implementations of the first aspect.
The advantages of the second to sixth aspects above may be referred to the description of the first aspect or any possible implementation manner of the first aspect, and are not repeated here. Further combinations of the present application may be made to provide further implementations based on the implementations provided in the above aspects.
Drawings
FIG. 1 is a diagram of an application scenario of a computer system according to the present application;
FIG. 2 is a schematic flow chart of a path construction method according to the present application;
FIG. 3 is a schematic flow chart of a path construction method when a scheduling unit is added;
FIG. 4 is a schematic flow chart of a path construction method when the scheduling unit is reduced;
FIG. 5 is a schematic diagram of a path construction apparatus according to the present application;
FIG. 6 is a schematic diagram of a path construction apparatus according to the present application;
FIG. 7 is a schematic diagram of a computing device according to the present application;
FIG. 8 is a schematic diagram of a computer cluster according to the present application;
fig. 9 is a schematic diagram of a connection between computing devices according to the present application.
Detailed Description
For ease of understanding, the technical terms to which the present application relates will first be described.
Cloud computing platforms refer to platforms that provide computing resources and services over the internet. The cloud computing platform abstracts and aggregates resources such as computation, storage, network and the like based on a virtualization technology, so that a user can use the resources as required without concern about underlying physical hardware and infrastructure.
A virtual private cloud (virtual private cloud, VPC) is a logically isolated, user-specific virtual network environment created in a public cloud environment. VPC allows users to build their own virtual network in the cloud platform and to communicate securely and controllably with other resources (e.g., cloud servers, storage, databases, etc.).
Region (region), in cloud computing, refers to a geographic region that cloud service providers divide worldwide. Each region is typically made up of one or more data centers that can provide various cloud services, such as computing, storage, databases, and the like.
Kubernetes (K8 s), an open-source container orchestration and management system for automated deployment, extension, and management of containerized applications. The goal of K8s is to provide a reliable and scalable platform for deploying and managing containers on multiple hosts.
A scheduling unit (Pod) schedules and manages the smallest schedulable unit in the system for the containers. Such as pod in K8 s. The dispatch unit may include one or more containers that share network and storage resources and are co-dispatched and deployed on the same host.
An internet protocol (internet protocol, IP) address is a digital tag that is used to uniquely identify and locate devices in a network. There are two common versions of IP addresses in IPv4 (internet protocol version 4) and IPv6 (internet protocol version 6).
With more and more services deployed on the cloud computing platform, the variety is also increasing, and the cloud computing platform can be optimized to meet the service requirements. For example, the disaster tolerance or backup of data on the cloud computing platform by users is required to be increased continuously, so that backup paths are required to be configured between different regions, and data backup or disaster tolerance across regions is realized.
In order to implement the above configuration of backup paths between different regions, and further backup or disaster recovery of data across regions, a replication cluster is typically deployed based on a physical machine to perform cross-region interconnection. The foregoing deployment of replication clusters based on physical machines to perform cross-regional interconnection refers to performing network planning for each physical machine, and configuring a backup path of each physical machine according to the network planning.
For example, the user manually allocates an IP address and configures a route for each physical machine in the area a and the area b, and creates an address pool a and an address pool b in the area a and the area b, respectively, which include IP addresses of the physical machines that need to construct the backup path. And then the IP address in the address pool b can be configured for the physical machine corresponding to the IP address in the address pool a, so that the physical machine corresponding to the IP address in the address pool a establishes a backup path with the physical machine corresponding to the IP address in the address pool b according to the IP address in the address pool b.
The IP address and the route of the physical machine are manually configured by a user, and the user is also required to manually configure the IP address of the remote physical machine for the physical machine when the backup path is established. Therefore, in the process of establishing the backup path, multiple times of operations are needed, the configuration flow is complex, the speed is low, and the backup efficiency is low when the transmission rate is fixed.
In order to solve the problems that the backup path needs to be manually established, the establishing process is complicated, and the speed is low. The application provides a path construction method, which comprises the steps that a first computing device receives a user-triggered construction instruction carrying an identifier of a first cloud service deployed in a first area and an identifier of a second cloud service deployed in a second area, and further establishes communication connection between the first cloud service and the second cloud service. The first computing device establishes a transmission path with the second scheduling unit by acquiring the IP address of each scheduling unit in the first cloud service and the second cloud service and indicating the first scheduling unit in the first cloud service, and according to the IP address of the first scheduling unit and the IP address of the second scheduling unit in the second cloud service corresponding to the first scheduling unit in the mapping relation. The mapping relationship indicates a corresponding relationship of a scheduling unit for establishing a transmission path in the first cloud service and the second cloud service.
In the application, because the IP address of the scheduling unit is obtained by constructing the scheduling unit by the computing equipment running the scheduling unit when the scheduling unit is created, the first computing equipment can directly acquire the IP address of the scheduling unit in the first cloud service and the IP address of the scheduling unit in the second cloud service, thereby improving the acquisition speed of the IP address and further improving the efficiency of establishing the transmission path. And the first computing device indicates the first scheduling unit to establish a transmission path with the second scheduling unit according to the IP address of the second scheduling unit corresponding to the first scheduling unit indicated by the mapping relation, so that the manual configuration of the IP address of the second scheduling unit for the first scheduling unit is avoided, the configuration speed of the IP address of the second scheduling unit is improved, and the efficiency of establishing the transmission path between the first scheduling unit and the second scheduling unit is further improved.
The path construction method provided by the application can be applied to the computer system shown in fig. 1. Fig. 1 is an application scenario diagram of a computer system according to the present application, as shown in fig. 1. The computer system includes an area a and an area b. The area a and the area b can communicate with each other by a wired mode or a wireless mode. Wherein, at least one cloud service is deployed in both the region a and the region b.
For example, a cloud service a is deployed in a region a, and a cloud service b is deployed in a region b.
The wired communication may be ethernet, optical fiber, cloud dedicated (cloud direct connect), various peripheral component interconnect express (PERIPHERAL COMPONENT INTERCONNECT EXPRESS, PCIe) buses provided inside the computer system for connecting the area a and the area b, or the like. The cloud private line refers to a network that directly connects a local network to a data center or other areas of a cloud service provider through a physical private line, so as to realize a high-speed, low-delay, safe and reliable connection mode.
The wireless communication may be internet, cloud connection, wireless communication (WIRELESS FIDELITY, WIFI), ultra Wide Band (UWB) technology, or the like. Cloud connectivity refers to the technology and services of connecting a local network to networks of other cloud service providers or other areas through the internet.
In one possible scenario, both the region a and the region b have a computing device, such as a server, deployed thereon, such as a cloud computing platform with a container orchestration and management system (e.g., K8 s) running thereon, i.e., K8s running thereon.
In one possible example, the computer system may further include a terminal 110, a terminal 120, a terminal 130.
The terminals 110, 120, 130 may be mobile phones, tablet computers, handheld computers, personal computers (personal computer, PC), cellular phones, personal digital assistants (personal DIGITAL ASSISTANT, PDA), wearable devices (e.g., smart watches), smart home devices (e.g., televisions), car-mounted computers, game consoles, and augmented reality (augmented reality, AR)/Virtual Reality (VR) devices, etc., and the specific device forms of the terminals 110, 120, 130 are not particularly limited by the present application.
It should be noted that the architecture of the computer system illustrated in fig. 1 is merely an example, and the device types or the number of devices inside the system may be configured according to actual requirements, which is not limited in the embodiment of the present application. For example, the computer system may also include more terminals.
In one aspect, the present application provides a path construction method, where the path construction method may be applied to a computer system shown in fig. 1, where the computer system may be an infrastructure for providing cloud services, and a cloud computing platform operates on the infrastructure for providing cloud services. The infrastructure comprises at least two areas, each of the at least two areas being deployed with a computing device, the cloud service in each area being deployed on one or more computing devices, each computing device being provided with at least one scheduling unit, i.e. one cloud service comprising a plurality of scheduling units, a first computing device belonging to a first area (area a) and a second computing device belonging to a second area (area b), the areas a and b being communicatively connected. And a container orchestration and management system is running on the computing device.
Fig. 2 is a flow chart of a path construction method provided by the present application, where the path construction method may be performed by a computing device 210, and the computing device 210 may be disposed in the area a illustrated in fig. 1. In this embodiment, the first computing device may be referred to as a computing device 210, the second computing device may be referred to as a computing device 310 in a region b, the region a further includes a computing device 220, a scheduling unit 1 and a scheduling unit 2 are provided in the computing device 220, the first cloud service may be referred to as a cloud service a, which is deployed in the region a and includes the scheduling unit 1 and the scheduling unit 2, that is, the cloud service a is deployed on the computing device 220. Also included in region b is a computing device 320, where a dispatch unit 3 and a dispatch unit 4 are disposed in computing device 320, a second cloud service may be referred to as cloud service b, where cloud service b is deployed in region b and cloud service b includes dispatch unit 3 and dispatch unit 4, i.e., cloud service b is deployed on computing device 320. As shown in fig. 2, the path construction method includes the following steps S210 to S250.
Step S210, the computing device 210 receives a construction instruction of the user.
The construction instruction carries an identifier of the cloud service a and an identifier of the cloud service b.
Taking cloud service a as an example in cloud service a and cloud service b as an explanation, two possible examples are provided below for identification of cloud service a.
Example 1, the identification of cloud service a is the name of cloud service a, such as the identification of cloud service a is "data store-V2".
Example 2, the address of cloud service b is identified as cloud service b, e.g., cloud service b is identified as "210.73.140.6".
In one possible implementation, the computing device 210 receives a user's construction instruction, including that the computing device 210 displays a user interface, where the user interface includes a control component for path construction, and receives a triggering operation of the control component by a user, and further obtains the identifications of the cloud service a and the cloud service b in response to the triggering operation of the control component by the user.
In one possible example, the computing device 210 receiving a user-triggered operation of the control component may include the computing device 210 obtaining user operation of the control component on a user interface through various input devices (keyboard, mouse, touch screen, etc.). The input device is connected to a computing device 210.
For example, computing device 210 obtains identifications of cloud service a and cloud service b entered by a user in the control component via the keyboard.
In step S220, the computing device 210 establishes communication connection between the cloud service a and the cloud service b according to the identifications of the cloud service a and the cloud service b.
For content in which computing device 210 establishes a communication connection with cloud service a and cloud service b according to their identities, two possible implementations are provided below.
In a first possible implementation, the computing device 210 obtains addresses of the cloud service a and the cloud service b, configures the VPN with the addresses of the cloud service a and the cloud service b, and after the configuration is completed, the cloud service a and the cloud service b may communicate through a VPN tunnel.
Notably, in the configuration process described above, the computing device 210 will also configure VPN parameters such as encryption algorithms, authentication protocols, and authentication credentials of the cloud service such as usernames and passwords.
In another possible implementation, computing device 210 may establish a connection between cloud service a and cloud service b through a direct connection channel provided by the cloud computing platform.
For example, the computing device 210 uploads, through a management console or an application programming interface (application programming interface, API) provided by the direct connection channel, information such as addresses of the cloud service a and the cloud service b that need to establish a connection, so as to implement a communication connection between the cloud service a and the cloud service b.
It should be noted that, when the identifier of the cloud service indicates the name of the cloud service, the computing device 210 may determine the addresses of the cloud service a and the cloud service b corresponding to the names of the cloud service a and the cloud service b according to the correspondence between the names of the cloud service and the addresses of the cloud service.
According to the method and the device for establishing the transmission path between the first scheduling unit and the second scheduling unit, the first computing device establishes communication connection with the first cloud service and the second cloud service according to the identification of the first cloud service and the second cloud service indicated by the user, and the communication link is provided for the first computing device to acquire the IP address of the scheduling unit under the second cloud service, so that the efficiency of the first computing device to acquire the IP address of the scheduling unit under the second cloud service is improved, and the efficiency of establishing the transmission path between the first scheduling unit and the second scheduling unit is further improved.
In step S230, the computing device 210 acquires an IP address of each scheduling unit in the cloud service a.
In a cloud computing scenario, when a dispatch unit is created, the computing device that created or runs the dispatch unit automatically assigns an IP address to it. Thus, computing device 210 in cloud service a may obtain the IP addresses of all of the dispatch units in cloud service a, such as obtaining the IP addresses of dispatch unit 1 and dispatch unit 2.
In one possible example, the IP address of the dispatch unit is constructed by the computing device running the dispatch unit when the dispatch unit is created.
A network plug-in, such as calico, flannel or cilium, runs in each computing device. These plug-ins are used to assign IP addresses to the dispatch units running in the computing device (the working node).
For example, when a dispatch unit is created and running on a computing device, a first computing device instructs the computing device on which the dispatch unit is running, and a network plug-in on the computing device is utilized to assign an available IP address to the dispatch unit. The computing device may select an available IP address from a pool of pre-assigned addresses and assign the IP address to the scheduling unit.
In one possible example, computing device 210 may obtain the IP address of the dispatch unit in cloud service a through an application program interface (application programming interface, API) of the container orchestration and management system using a corresponding get dispatch unit IP address command.
For example, if the container orchestration and management system is K8s, computing device 210 may employ kubectl commands to obtain the IP address of the dispatch unit in the dispatch unit view information.
For example, computing device 210 may obtain the IP address of the scheduling unit using commands kubectl get pods-ojsonpath =' { items }, status.
In another possible example, computing device 210 obtains the IP address of the dispatch unit using a monitoring tool. Monitoring tools such as pramipexole (prometheus) and glafana (grafana) and the like.
In one possible scenario, computing device 210 may periodically obtain the IP address of the dispatch unit in cloud service a.
Step S240, the computing device 210 acquires the IP address of the scheduling unit in the cloud service b sent by the computing device 310.
The content of the IP address of the scheduling unit in the cloud service b may be acquired by the computing device 310, and the description of the scheduling unit in the cloud service a may be acquired by the computing device 210 in step S230, which is not described herein.
For example, computing device 310 obtains the IP addresses of dispatch unit 3 and dispatch unit 4.
Because of the communication connection between cloud service a and cloud service b, computing device 310 sends the IP addresses of dispatch units in cloud service b, such as dispatch unit 3 and dispatch unit 4, to computing device 210 according to the communication connection path between cloud service a and cloud service b.
In step S250, the computing device 210 instructs the first scheduling unit, and establishes a transmission path with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit corresponding to the first scheduling unit in the mapping relationship.
The first scheduling unit is one scheduling unit in the cloud service a, the second scheduling unit is one or more scheduling units in the cloud service b, and the mapping relation is used for indicating the corresponding relation between the scheduling units in the cloud service a and the scheduling units in the cloud service b for establishing transmission paths.
The computing device 210 instructs the first scheduling unit to establish a transmission path with the second scheduling unit according to the IP address of the second scheduling unit. The computing device 210 sends the IP address of the second scheduling unit corresponding to the first scheduling unit, so as to instruct the first scheduling unit to establish a connection with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit, that is, establish a transmission path.
In one possible implementation, the first scheduling unit establishes connection with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit, and the method comprises the steps that the first scheduling unit configures the IP address of the second scheduling unit and sends the IP address of the first scheduling unit to the second scheduling unit according to the configured IP address of the second scheduling unit, so that the first scheduling unit establishes connection with the second scheduling unit.
The first scheduling unit, for example, hard codes the IP address of the second scheduling unit into a configuration file or an environment variable of the first scheduling unit, and then uses the IP address of the second scheduling unit to send the IP address of the first scheduling unit to the second scheduling unit, and the second scheduling unit receives and configures the IP address of the first scheduling unit, so that the first scheduling unit establishes a connection with the second scheduling unit.
In yet another possible implementation, the first scheduling unit establishes a connection with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit, including that the first scheduling unit establishes a connection with the second scheduling unit by configuring the IP address of the second scheduling unit and the IP address of the first scheduling unit in the load balancer.
The above-described mapping relationship may be preconfigured in the computing device 210.
In one possible embodiment, the computing device 210 establishes a mapping relationship according to the scheduling units in the cloud service a and the cloud service b that need to establish the transmission paths.
In another possible embodiment, the computing device 210 establishes a mapping relationship according to the acquired IP address of the scheduling unit in the cloud service a and the IP address of the scheduling unit in the cloud service b.
In one possible implementation, computing device 210 establishing a mapping relationship between the IP addresses of the dispatch units in cloud service a and the IP addresses of the dispatch units in cloud service b includes computing device 210 establishing a mapping relationship between the IP addresses of the first dispatch unit and the IP addresses of all dispatch units in cloud service b.
Illustratively, the cloud service a includes a scheduling unit 1 and a scheduling unit 2, and the cloud service b includes a scheduling unit 3 and a scheduling unit 4. The computing device 210 establishes a correspondence between the IP address of the scheduling unit 1 and the IP address of the scheduling unit 3 and the IP address of the scheduling unit 4, and establishes a correspondence between the IP address of the scheduling unit 2 and the IP address of the scheduling unit 3 and the IP address of the scheduling unit 4, so that the mapping relationship can be obtained according to the two correspondence.
In the present application, the computing device 210 establishes a correspondence between the first scheduling unit and the IP addresses of all the scheduling units in the cloud service b, so as to obtain a mapping relationship, in other words, performs full interconnection matching between the IP addresses of the scheduling units in the cloud service a and the IP addresses of the scheduling units in the cloud service b, so that the subsequent first scheduling unit is convenient for sending data to any one scheduling unit in the cloud service b, and the time consumption for establishing/configuring a transmission path before data sending is reduced, thereby improving the efficiency of data transmission.
In another possible implementation, computing device 210 establishes a mapping relationship of the IP address of the first dispatch unit with the IP address of one or more dispatch units specified in cloud service b.
The following provides one possible example of determining the specified scheduling unit or units.
Computing device 210 obtains the tag of the dispatch unit in cloud service a and the tag of the dispatch unit in cloud service b sent by computing device 310, and determines one or more tags of the dispatch unit in cloud service b that are the same as the tag of the first dispatch unit. The scheduling units in the cloud service b corresponding to the one or more tags are the one or more scheduling units specified above. Wherein the tag may be used to indicate the type of processing task of the dispatch unit, the configuration of the computing device in which the dispatch unit is located, and the like.
For example, the labels of the scheduling units in the cloud service a are of type a, type b and type c, and the labels of the scheduling units in the cloud service b are of type b and type d. If the label of the first scheduling unit is the type b, determining that the scheduling unit corresponding to the type b in the cloud service b is the designated scheduling unit.
In one possible example, the computing device 210 determines, according to the tag correspondence policy, the IP address of one or more of the cloud services b that are the same as or correspond to the tag of the first scheduling unit, that is, one or more of the scheduling units specified in the cloud service b that correspond to the IP address of the first scheduling unit. The label correspondence policy indicates a correspondence between the label of the scheduling unit in the cloud service a and the label of the scheduling unit in the cloud service b.
In the application, the mapping relation only indicates the IP address of the first dispatching unit and the IP addresses of one or more dispatching units appointed in the cloud service b, so that the number of the IP addresses configured for the first dispatching unit is reduced, the speed of establishing the transmission path can be further increased, and the efficiency of constructing the transmission path is improved.
In one possible embodiment, computing device 210 may receive a build requirement of a user from which to determine a mapping relationship to build using either of the two possible implementations described above or a new tag correspondence policy. After determining the construction manner of the mapping relationship, the computing device 210 executes the content of the steps S210 to S250, so as to establish a transmission path between the scheduling unit in the cloud service a and the scheduling unit in the cloud service b.
With respect to the path construction method described above, one possible embodiment is provided below. In the present embodiment, VPCs are created in the area a and the area b, respectively, and K8s is deployed in the VPCs in the area a and the area b, and the VPCs in the area a are communicatively connected to the VPCs in the area b, such as cloud connection. The scheduling units (pod) running in K8s are divided into control load pod and workload pod, the control load pod in zone a running in computing device 210a, the workload in zone a running in computing device 210b, the control load pod in zone b running in computing device 310a, and the workload pod in zone b running in computing device 310 b. The VPC may be referred to as a cloud service.
In one possible implementation, the computing device 210 obtaining the IP address of the dispatch unit in cloud service a includes computing device 210 subscribing to Pod view information in cloud service a, the Pod view information indicating the IP address of the Pod in cloud service a.
The computing device 210 may obtain the IP addresses of all Pod in cloud service a by subscribing to the Pod view information in the container orchestration and management system (e.g., K8 s) deployed by cloud service a.
In the application, the computing device 210 can directly acquire the IP address of the Pod by subscribing the Pod view information, thereby avoiding the pre-allocation of the IP address and the configuration of the route for each physical machine, improving the convenience of acquiring the IP address, accelerating the speed of acquiring the IP address and further improving the efficiency of constructing the transmission path.
The content maintained in the Pod view information may include one or more of a name of the Pod, a namespace or item to which the Pod belongs, a key value pair (label) identifying and classifying the scheduling unit, related information of a container running in the Pod, such as a container name, a mirror image, a state, an IP address, a current state of the Pod, such as including a scheduling state, a container state, a number of restarts, etc., a condition and a state in which the Pod is currently located, such as whether the Pod is schedulable, etc., important events and state changes related to the scheduling unit, such as creation, scheduling, start, termination, etc., resources required by the scheduling unit, such as a computing resource, a storage resource, a network resource, etc., a configuration volume and a mounting point used by the scheduling unit, etc.
Illustratively, the computing device 210a obtains the IP address of the workload pod in the cloud service a in the subscription manner described above, and obtains the IP address of the workload pod in the cloud service b sent by the computing device 310 a. The computing device 210a establishes a mapping relationship between the IP address of the workload pod in cloud service a and the IP address of the workload pod in cloud service b. The computing device 210a indicates the first workload Pod, and establishes a transmission path with the second workload Pod according to the IP address of the first workload Pod and the IP address of the second workload Pod corresponding to the IP address of the first workload Pod indicated by the mapping relationship.
The first workload pod is any one of at least one workload pod included in the cloud service a, and the second workload pod is deployed on the cloud service b.
Notably, a replication service framework (replcation service framework, RSF) container and a network gateway control (network gateway control, NGC) container run in the control load pod described above. The workload pod runs with a network gateway GATEWAY LINK (NGL) container. The method comprises the steps that an RSF container is used for subscribing the pod view information of K8s, an NGC container is used for constructing a mapping relation according to the IP address of the workload pod obtained by subscribing the pod view information of the home terminal K8s and the IP address of the workload pod at the far end, and the mapping relation is sent to an NGL container. The NGL container is configured to establish a transmission path with the remote workload pod according to the IP address of the remote workload pod indicated by the mapping relationship.
When the physical machine in the cloud service a or the cloud service b is increased or decreased, namely the cloud service a or the cloud service b expands or contracts, the backup path is also required to be manually adjusted by a user. For example, when adding a physical machine in the cloud service a, a user needs to manually allocate an IP and configure a route for the added physical machine, and configure an IP address in the address pool b for the added physical machine, so that a backup path is established between the added physical machine and the physical machine in the cloud service b. Because the configuration operation is needed to be carried out manually when the cloud service a or the cloud service b expands and contracts, the network configuration is complicated and inflexible, and the speed is low.
In one possible scenario, the computing device 210 obtains the IP address of the scheduling unit in the cloud service a, and the IP address of the scheduling unit in the cloud service b sent by the second computing device, including that if the scheduling unit in the cloud service increases, the computing device 210 obtains the IP address of the scheduling unit in the cloud service a, and the computing device 210 obtains the IP address of the scheduling unit in the cloud service b sent by the computing device 310.
In the above scenario where the scheduling unit is added to the cloud service, the computing device 210 obtains the IP address of the scheduling unit in the cloud service a and the content of the IP address of the scheduling unit in the cloud service b, which are described in detail herein, reference may be made to the content of step S230 and step S240.
In order to solve the problem that the speed is slow due to manual configuration operation when the cloud service a or the cloud service b expands, an implementation manner is provided below to solve the technical problem. In the scenario of adding a scheduling unit in the cloud service, as shown in fig. 3, fig. 3 is a flow chart of a path construction method when the scheduling unit is added. The contents shown in fig. 3 may include the following steps S310 to S330.
In step S310, the computing device 210 acquires the IP address of the scheduling unit in the cloud service a.
The computing device 210 obtains the IP address of the dispatch unit in cloud service a in the current state.
For the content of step S310, reference may be made to the description of step S230, which is not repeated herein.
In step S320, the computing device 210 obtains the IP address of the scheduling unit in the cloud service b sent by the computing device 310.
The computing device 310 obtains the IP address of the scheduling unit in the cloud service b in the current state, and then sends the IP address of the scheduling unit in the cloud service b to the computing device 210. For example, the cloud service b in the current state includes a scheduling unit 3, a scheduling unit 4, and a scheduling unit 6.
For the content of step S320, reference may be made to the description of step S240, which is not repeated herein.
In step S330, the computing device 210 instructs the first scheduling unit, and establishes a transmission path with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit corresponding to the first scheduling unit in the mapping relationship.
The first scheduling unit is one scheduling unit in the cloud service a, and the second scheduling unit is one or more scheduling units in the cloud service b.
And if the scheduling units in the cloud service a are increased, the mapping relationship is used for indicating the corresponding relationship between the increased scheduling units in the cloud service a and the scheduling units in the cloud service b.
And if the scheduling units in the cloud service b are increased, the mapping relationship is used for indicating the corresponding relationship between the scheduling units in the cloud service a and the increased scheduling units in the cloud service b. As shown in fig. 3, the mapping relationship is used to indicate the correspondence relationship among the scheduling units 1,2, and 6.
If the scheduling units in the cloud service a and the cloud service b are increased, the mapping relationship is used for indicating the corresponding relationship between the increased scheduling units in the cloud service a and the scheduling units in the cloud service b and the corresponding relationship between the scheduling units in the cloud service a and the increased scheduling units in the cloud service b.
The mapping relationship may be a correspondence relationship between scheduling units, or may be a correspondence relationship between IP addresses corresponding to scheduling units.
For the content of the above step S330, reference may be made to the description of the above step S250, which is not repeated herein.
In the present application, the computing device 210 periodically acquires the IP address of the scheduling unit in the cloud service, determines whether the scheduling unit is updated in time, and updates the transmission paths of the scheduling unit in the cloud service a and the scheduling unit in the cloud service b if the scheduling unit is increased, so that the problem that the transmission paths between the scheduling units still need to be manually established during the capacity expansion of the cloud service a or the cloud service b is avoided, the operation is complicated, the capacity expansion of the cloud service a or the cloud service b is accelerated, the establishment speed of the transmission paths is increased, the construction efficiency of the transmission paths is improved, and the usability of data transmission between the scheduling units is improved.
In one possible embodiment, the path building method when the scheduling unit is added may further include the computing device 210 building a mapping relationship.
One possible implementation of the computing device 210 to construct the mapping relationship is provided below.
Scenario 1, the scheduling unit in cloud service a increases, and the following provides one possible implementation of computing device 210 to build a mapping relationship.
The computing device 210 compares the IP address of the scheduling unit in the cloud service a after the scheduling unit is added with the IP address of the scheduling unit in the cloud service a before the scheduling unit is added, and determines the IP address of the newly added scheduling unit in the cloud service a. The computing device 210 constructs a mapping relationship using the IP address of the added dispatch unit in cloud service a and the IP address of the dispatch unit in cloud service b. I.e. the mapping relationship indicates the correspondence between the added schedule element in cloud service a and the schedule element in cloud service b.
For example, the newly added scheduling unit in the cloud service a is the scheduling unit 5, all the scheduling units in the cloud service b include the scheduling unit 3 and the scheduling unit 4, and the computing device 210 establishes a corresponding relationship between the IP address of the scheduling unit 3 and the IP address of the scheduling unit 4 and the IP address of the scheduling unit 5, so as to obtain a mapping relationship, that is, the IP address of the scheduling unit 5 corresponds to the IP address of the scheduling unit 3 and the IP address of the scheduling unit 4.
In the application, if the scheduling units in the cloud service a are increased, that is, when the cloud service a expands, the computing device 210 instructs the first scheduling unit and the second scheduling unit to establish the transmission path according to the constructed mapping relation, so that the newly added scheduling unit can also establish connection with the scheduling units in the cloud service b in time when the cloud service a expands, the problems of needing to manually configure the IP and establish the transmission path and complex operation are avoided, thereby accelerating the establishment speed of the transmission path and improving the construction efficiency of the transmission path when the cloud service a expands.
Scenario 2, the scheduling unit in cloud service b increases, the following provides one possible implementation of computing device 210 to build a mapping relationship.
The computing device 210 compares the IP address of the scheduling unit in the cloud service b after the scheduling unit is added with the IP address of the scheduling unit in the cloud service b before the scheduling unit is added, and determines the IP address of the newly added scheduling unit in the cloud service b. The computing device 210 constructs a mapping relationship using the IP address of the dispatch unit in cloud service a and the IP address of the added dispatch unit in cloud service b. That is, the mapping relationship indicates a correspondence relationship of the IP addresses of the scheduling units in the cloud service a and the added scheduling units in the cloud service b.
As shown in fig. 3, the newly added scheduling unit in the cloud service b is a scheduling unit 6, and the scheduling unit in the cloud service a includes a scheduling unit 1 and a scheduling unit 2. The computing device 210 establishes a corresponding relationship between the IP address of the scheduling unit 6 and the IP address of the scheduling unit 1 and the IP address of the scheduling unit 2, so as to obtain a mapping relationship, that is, the IP address of the scheduling unit 1 corresponds to the IP address of the scheduling unit 6, and the IP address of the scheduling unit 2 corresponds to the IP address of the scheduling unit 6.
In the present application, if the scheduling units in the cloud service b are increased, i.e. when the cloud service b expands, the computing device 210 instructs the first scheduling unit and the second scheduling unit to establish a transmission path according to the constructed mapping relationship, so that when the cloud service b expands, the newly added scheduling unit can also establish connection with the scheduling unit in the cloud service a in time, thereby avoiding the problems of needing to manually configure the IP and establish the transmission path and complicated operation, so as to accelerate the establishment speed of the transmission path and improve the construction efficiency of the transmission path when the cloud service a expands.
In scenario 3, a scheduling unit is newly added to both cloud service a and cloud service b, and a possible implementation manner of constructing a mapping relationship by the computing device 210 is provided below.
The computing device 210 compares the IP address of the scheduling unit in the cloud service a after the scheduling unit is added with the IP address of the scheduling unit in the cloud service a before the scheduling unit is added, and determines the IP address of the newly added scheduling unit in the cloud service a. And, the computing device 210 compares the IP address of the scheduling unit in the cloud service b after the scheduling unit is added with the IP address of the scheduling unit in the cloud service b before the scheduling unit is added, and determines the IP address of the newly added scheduling unit in the cloud service b. That is, the mapping relationship indicates a correspondence relationship between the added schedule unit in the cloud service a and the schedule unit in the cloud service b and a correspondence relationship of the IP addresses of the schedule unit in the cloud service a and the added schedule unit in the cloud service b.
The computing device 210 constructs a mapping relationship using the IP address of the added dispatch unit in cloud service a and the IP address of the dispatch unit in cloud service b. The computing device 210 constructs a mapping relationship using the IP address of the dispatch unit in cloud service a and the IP address of the added dispatch unit in cloud service b.
For example, before the cloud service a and the cloud service b newly add the scheduling units, the cloud service a includes the scheduling unit 1 and the scheduling unit 2, and the cloud service b includes the scheduling unit 3 and the scheduling unit 4. The newly added scheduling unit in the cloud service a is a scheduling unit 5, and the newly added scheduling unit in the cloud service b is a scheduling unit 6. The computing device 210 establishes a correspondence between the IP address of the scheduling unit 3, the IP address of the scheduling unit 4, and the IP address of the scheduling unit 6 and the IP address of the scheduling unit 5, and obtains a correspondence between the IP address of the scheduling unit 5 and the IP address of the scheduling unit 3, the IP address of the scheduling unit 4, and the IP address of the scheduling unit 6. The computing device 210 establishes a correspondence between the IP address of the scheduling unit 6 and the IP address of the scheduling unit 1, between the IP address of the scheduling unit 2 and the IP address of the scheduling unit 5, obtains a correspondence between the IP address of the scheduling unit 6 and the IP address of the scheduling unit 1, between the IP address of the scheduling unit 2 and the IP address of the scheduling unit 5, and the computing device 210 obtains a mapping relationship according to the correspondence.
In the application, if the scheduling units in the cloud service a and the cloud service b are increased, namely, when the cloud service a and the cloud service b are expanded, the computing device 210 instructs the first scheduling unit and the second scheduling unit to establish the transmission path according to the constructed mapping relation, so that when the cloud service a and the cloud service b are expanded, the newly added scheduling unit can also be timely connected with the scheduling units in the cloud service b or the cloud service a, the problems of needing to manually configure the IP and establish the transmission path and complex operation are avoided, and therefore, the establishment speed of the transmission path and the construction efficiency of the transmission path are improved when the cloud service a and the cloud service b are expanded are accelerated.
In another possible scenario, when a dispatch unit in cloud service b is reduced (cloud service b is scaled down), computing device 210 instructs a dispatch unit in cloud service a to delete a transmission path with the reduced dispatch unit in cloud service b.
For the above case that the schedule unit in cloud service b is reduced, the computing device 210 instructs the schedule unit in cloud service a to delete the content of the transmission path with the reduced schedule unit in cloud service b, and one possible implementation is provided below.
As shown in fig. 4, fig. 4 is a flow chart of a path construction method when the scheduling unit provided by the application is reduced. The contents shown in fig. 4 may include the following steps S410 to S430.
In step S410, the computing device 210 obtains the IP address of the scheduling unit in the cloud service b sent by the computing device 310.
Computing device 310 may periodically obtain the IP address of the dispatch unit in cloud service b.
For example, if K8s is deployed in the cloud computing platform, the computing device 310 may periodically acquire the IP address of the Pod in the cloud service b by subscribing to the Pod view information in the cloud service b. The computing device 310 thus sends the IP address of Pod in cloud service b to the computing device 210, and the computing device 210 obtains the IP address of Pod in cloud service b.
In step S420, the computing device 210 compares the IP address of the scheduling unit in the cloud service b with the IP address of the scheduling unit in the cloud service b before the scheduling unit is reduced, to determine the IP address of the scheduling unit in which the cloud service b is reduced.
In one possible example, computing device 210 determines the reduced IP address of the dispatch unit by comparing the IP address of the dispatch unit in cloud service b after the dispatch unit is reduced to the IP address of the dispatch unit in cloud service b before the dispatch unit is reduced.
For example, computing device 210 determines, by comparison, the reduced IP address of dispatch unit as the IP address of dispatch unit 4.
Step S430, the computing device 210 instructs the first scheduling unit to delete the transmission path corresponding to the IP address of the reduced scheduling unit.
In one possible implementation, the computing device 210 instructs the first scheduling unit to delete a transmission path corresponding to the reduced IP address of the scheduling unit includes the computing device 210 sending an instruction to delete the transmission path to the first scheduling unit to instruct the first scheduling unit to delete a transmission path corresponding to the reduced IP address of the scheduling unit.
Illustratively, the instruction to delete the transmission path includes a reduced IP address or label of the dispatch unit, or the like.
In one possible example, the first scheduling unit adjusts the maintained IP address in the configuration file or the environment variable according to the IP address of the scheduling unit reduced in the instruction to delete the transmission path. If the IP address of the reduced scheduling unit is deleted, the transmission path corresponding to the IP address of the reduced scheduling unit is deleted.
In the present application, the computing device 210 periodically acquires the IP address of the scheduling unit in the cloud service, and determines whether the scheduling unit is updated in time. If the scheduling units in the cloud service b are reduced, the computing device 210 updates the transmission paths of the scheduling units in the cloud service a and the scheduling units in the cloud service b, so that the problem that the transmission paths between the scheduling units still need to be manually deleted when the cloud service b is contracted is avoided, the operation is complicated, the capacity contraction of the cloud service b is accelerated, the deletion speed of the transmission paths is increased, the transmission errors caused by the unavailability of the IP addresses of part of the scheduling units due to the capacity contraction of the cloud service b are reduced, and the availability and usability of data transmission between the scheduling units are improved.
On the basis of the embodiment of the path construction method, the application also provides an embodiment of a data transmission method. After a transmission path is established between the scheduling unit in the cloud service a and the scheduling unit in the cloud service b, the computing device 210 instructs the first scheduling unit to send data to the third scheduling unit through the transmission paths of the first scheduling unit and the third scheduling unit according to the allocation policy.
Wherein the allocation policy is used to determine that the third scheduling unit is one or more scheduling units specified in the second scheduling unit.
In one possible scenario, the second scheduling unit establishes transmission paths for all scheduling units in the cloud service b, i.e. the first scheduling unit and all scheduling units in the cloud service b.
In one possible implementation, the computing device 210 instructs the first scheduling unit to transmit data to the third scheduling unit via the transmission paths of the first scheduling unit and the third fifth scheduling unit according to the allocation policy, including the computing device 210 determining the third scheduling unit in the second scheduling unit using the allocation policy, and instructs the first scheduling unit to transmit data to the third scheduling unit via the transmission paths of the first scheduling unit and the third scheduling unit.
The allocation policy described above may be used to indicate an equal allocation algorithm or a shortest path algorithm, etc. The balanced allocation strategy is used for indicating that the allocation is performed according to the load of each scheduling unit in the cloud service b, so that the load of each scheduling unit in the cloud service b is relatively consistent. The shortest path algorithm is used to indicate that the dispatch unit in cloud service b that is closest to the first dispatch unit is determined.
The following determination of a third schedule element of the second schedule element using an allocation policy for the computing device 210, instructing the first schedule element to send data to the third schedule element via the transmission paths of the first schedule element and the third schedule element, provides two possible examples.
In example 1, if the allocation policy is used to indicate the shortest path algorithm, the computing device 210 uses, as the third scheduling unit, a scheduling unit corresponding to a label that is the same as or similar to the label of the first scheduling unit in the cloud service b according to the label of the first scheduling unit. The computing device 210 instructs the first scheduling unit to send data to the third scheduling unit via a transmission path between the first scheduling unit and the third scheduling unit.
In example 2, if the classification policy is used to indicate the balanced allocation algorithm, the computing device 210 determines that the scheduling unit 6 is a third scheduling unit according to the load condition of the scheduling unit in the cloud service b. The computing device 210 instructs the first scheduling unit to send data to the third scheduling unit via a transmission path between the first scheduling unit and the third scheduling unit.
In one possible scenario, the data may be data to be backed up or data to be disaster-tolerant, and so on.
In the present application, according to the above-mentioned established transmission path, the computing device 210 instructs the first scheduling unit to perform output transmission through the transmission paths of the first scheduling unit and the third scheduling unit according to the allocation policy, so that data backup and disaster recovery duplication across regions can be implemented, and data security is improved.
In a possible embodiment, the above data transmission method may also be performed by a computing device deployed with the first scheduling unit. That is, the computing device in which the first scheduling unit is disposed transmits data to the third scheduling unit through transmission paths of the first scheduling unit and the third scheduling unit.
The path construction method according to the present application is described in detail above with reference to fig. 1 to 4, and the path construction device according to the present application will be described below with reference to fig. 5, where fig. 5 is a schematic structural diagram of a path construction device according to the present application. The path construction means 500 may be used to implement the functions of the computing device 210 in the above-described method embodiments, and thus may also implement the advantages provided by the above-described method embodiments.
As shown in fig. 5, the path constructing apparatus 500 includes a receiving module 510, a communication establishing module 520, an acquiring module 530, and a path establishing module 540. The path construction means 500 is used to implement the functions of the computing device 210 in the above-described method embodiments corresponding to fig. 1 to 4. In one possible example, the specific process of the path construction apparatus 500 for implementing the path construction method described above includes the following processes:
and the receiving module 510 is configured to receive a construction instruction of a user, where the construction instruction carries an identifier of a first cloud service deployed in the first area and an identifier of a second cloud service deployed in the second area.
The communication establishing module 520 is configured to establish a communication connection between the first cloud service and the second cloud service according to the identifier of the first cloud service and the identifier of the second cloud service.
The obtaining module 530 is configured to obtain an IP address of each scheduling unit in the first cloud service, and an IP address of each scheduling unit in the second cloud service sent by the second computing device.
The path establishing module 540 is configured to instruct the first scheduling unit to establish a transmission path with the second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit corresponding to the first scheduling unit in the mapping relationship. The first scheduling unit is one scheduling unit in the first cloud service, the second scheduling unit is one or more scheduling units in the second cloud service, and the mapping relation is used for indicating the corresponding relation between the scheduling units in the first cloud service and the scheduling units in the second cloud service for establishing transmission paths.
To further achieve the functionality described above in the method embodiments shown in fig. 1-4. The present application also provides a path building apparatus, as shown in fig. 6, fig. 6 is a schematic structural diagram of a path building apparatus provided by the present application, where the path building apparatus 500 further includes a first relationship building module 550 and a second relationship building module 560.
The first relationship establishing module 550 is configured to establish a mapping relationship between an IP address of a first scheduling unit in the first cloud service and an IP address of each scheduling unit in the second cloud service.
The second relation establishing module 560 is configured to establish a mapping relation between an IP address of the first scheduling unit and an IP address of one or more scheduling units in the second cloud service, where a label of the first scheduling unit is the same as a label of one or more scheduling units in the second cloud service.
The receiving module 510, the communication establishing module 520, the obtaining module 530, the path establishing module 540, the first relationship establishing module 550, and the second relationship establishing module 560 may be implemented by software, or may be implemented by hardware. Illustratively, an implementation of the receiving module 510 is described next with respect to the receiving module 510. Similarly, the implementation manners of the communication establishment module 520, the acquisition module 530, the path establishment module 540, the first relationship establishment module 550, and the second relationship establishment module 560 may refer to the implementation manner of the receiving module 510.
Module as an example of a software functional unit, the receiving module 510 may comprise code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container, among others. Further, the above-described computing examples may be one or more. For example, the receiving module 510 may include code running on multiple hosts/virtual machines/containers.
It should be noted that, multiple hosts/virtual machines/containers for running the code may be distributed in the same region (region), or may be distributed in different regions. Further, multiple hosts/virtual machines/containers for running the code may be distributed in the same availability zone (availability zone, AZ) or may be distributed in different AZs, each AZ comprising one data center or multiple geographically close data centers. Wherein typically a region may comprise a plurality of AZs.
Also, multiple hosts/virtual machines/containers for running the code may be distributed in the same VPC, or may be distributed among multiple VPCs. In general, one VPC is disposed in one region, and a communication gateway is disposed in each VPC for implementing inter-connection between VPCs in the same region and between VPCs in different regions.
Module as an example of a hardware functional unit, the receiving module 510 may include at least one computing device, such as a server or the like. Alternatively, the receiving module 510 may be a device implemented using an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or the like. The PLD may be implemented as a complex program logic device (complex programmable logical device, CPLD), a field-programmable gate array (FPGA) GATE ARRAY, a general-purpose array logic (GENERIC ARRAY logic, GAL), or any combination thereof.
The multiple computing devices included in the receiving module 510 may be distributed in the same region or may be distributed in different regions. The plurality of computing devices included in the receiving module 510 may be distributed in the same AZ or may be distributed in different AZ. Also, the plurality of computing devices included in the receiving module 510 may be distributed in the same VPC or may be distributed in a plurality of VPCs. Wherein the plurality of computing devices may be any combination of computing devices such as servers, ASIC, PLD, CPLD, FPGA, and GAL.
It should be noted that, in other embodiments, the receiving module 510 may be configured to perform any step in the path building method, the communication establishing module 520 may be configured to perform any step in the path building method, the obtaining module 530 may be configured to perform any step in the path building method, and the path building module 540 may be configured to perform any step in the path building method. The steps of the receiving module 510, the communication establishing module 520, the obtaining module 530, and the path establishing module 540 that are responsible for implementation may be specified according to needs, and the receiving module 510, the communication establishing module 520, the obtaining module 530, and the path establishing module 540 implement different steps in the path establishing method to implement all functions of the path establishing device 500.
It should be noted that the computing device 210 of the foregoing embodiment may correspond to the path building apparatus 500 and may correspond to the respective bodies corresponding to fig. 2 to 4 for executing the methods according to the embodiments of the present application, and the operations and/or functions of the respective modules in the path building apparatus 500 are respectively for implementing the respective flows of the respective methods corresponding to the embodiments in fig. 2 to 4, which are not repeated herein for brevity.
In addition, the path constructing apparatus 500 shown in fig. 5 and 6 may also be implemented by a communication device, where the communication device may refer to the computing device 210 in the foregoing embodiment, or when the communication device is a chip or a chip system applied to a processing device, the path constructing apparatus may also be implemented by a chip or a chip system.
The embodiment of the application also provides a chip system which comprises a control circuit and an interface circuit, wherein the interface circuit is used for acquiring the construction instruction, and the control circuit is used for realizing the function of the processing equipment in the method according to the construction instruction.
In one possible design, the above-described chip system further includes a memory for storing program instructions and/or data. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
The embodiment of the application also provides a computing device. As shown in FIG. 7, FIG. 7 is a schematic diagram of a computing device 700 according to the present application, the computing device 700 including a bus 702, a processor 704, a memory 706, and a communication interface 708. Communication between processor 704, memory 706, and communication interface 708 is via bus 702. The computing device 700 may be a server or a terminal device, and the computing device 700 may be the first processing device 200 or the second processing device 300 described above. It is noted that the present application is not limited to the number of processors, memories in computing device 700.
Bus 702 may be, but is not limited to, a PCIe bus, a universal serial bus (universal serial bus, USB), or an integrated circuit bus (inter-INTEGRATED CIRCUIT, I2C), an EISA bus, UB, CXL, CCIX, or the like. Bus 702 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one line is shown in fig. 7, but not only one bus or one type of bus. Bus 702 may include a path for transferring information between various components of computing device 700 (e.g., memory 706, processor 704, communication interface 708).
The processor 704 may include any one or more of a central processing unit (central processing unit, CPU), a graphics processor (graphics processing unit, GPU), a Microprocessor (MP), or a digital signal processor (DIGITAL SIGNAL processor, DSP).
The memory 706 may include volatile memory (RAM), such as random access memory (random access memory). The memory 706 may also include non-volatile memory (ROM), such as read-only memory (ROM), flash memory, mechanical hard disk (HARD DISK DRIVE, HDD), or Solid State Disk (SSD) STATE DRIVE.
The memory 706 stores executable program codes, and the processor 704 executes the executable program codes to implement the functions of the receiving module 510, the communication establishing module 520, the acquiring module 530, and the path establishing module 540, respectively, so as to implement the path constructing method described above. That is, the memory 706 has instructions stored thereon for performing the path construction method.
Or the memory 706 stores executable codes, and the processor 704 executes the executable codes to implement the functions of the receiving module 510, the communication establishing module 520, the obtaining module 530, the path establishing module 540, the first relationship establishing module 550, and the second relationship establishing module 560, respectively, so as to implement the path constructing method. That is, the memory 706 has instructions stored thereon for performing the path construction method.
Communication interface 708 enables communication between computing device 700 and other devices or communication networks using a transceiver module such as, but not limited to, a network interface card, transceiver, or the like.
The embodiment of the application also provides a computing device cluster. The cluster of computing devices includes at least one computing device, which may be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device may also be a terminal device such as a desktop, notebook, or smart phone.
Fig. 8 is a schematic diagram of a computer cluster according to the present application. The cluster of computing devices includes at least one computing device 700. The same instructions for performing the path building method may be stored in memory 706 in one or more computing devices 700 in the cluster of computing devices.
In some possible implementations, the memory 706 of one or more computing devices 700 in the cluster of computing devices may also each have stored therein a portion of instructions for performing the path building method. In other words, a combination of one or more computing devices 700 may collectively execute instructions for performing a path building method.
It should be noted that, the memory 706 in different computing devices 700 in the computing device cluster may store different instructions for performing part of the functions of the path building apparatus. That is, the instructions stored by the memory 706 in the different computing devices 700 may implement the functionality of one or more of the receiving module 510, the communication establishing module 520, the obtaining module 530, and the path establishing module 540.
In some possible implementations, one or more computing devices in a cluster of computing devices may be connected through a network. Wherein the network may be a wide area network or a local area network, etc. Fig. 9 shows one possible implementation. Fig. 9 is a schematic diagram of a connection between two computing devices according to the present application, where two computing devices 700A and 700B are connected via a network, as shown in fig. 9. Specifically, the connection to the network is made through a communication interface in each computing device. In this type of possible implementation, instructions to perform the functions of a receiving module are stored in memory 706 in computing device 700A. Meanwhile, the memory 706 in the computing device 700B stores instructions for performing the functions of the communication establishment module 520, the acquisition module 530, and the path establishment module 540.
The connection manner between the computing device clusters shown in fig. 9 may be that, in consideration of the path construction method provided by the present application, it is necessary to store IP addresses, so that functions implemented by the communication establishment module 520, the acquisition module 530, and the path establishment module 540 are considered to be performed by the computing device 100B.
It should be appreciated that the functionality of computing device 700A shown in fig. 9 may also be performed by multiple computing devices 700. Likewise, the functionality of computing device 700B may also be performed by multiple computing devices 700.
Embodiments of the present application also provide a computer program product comprising instructions. The computer program product may be software or a program product containing instructions capable of running on a computing device or stored in any useful medium. The computer program product, when run on at least one computing device, causes the at least one computing device to perform a path building method.
The embodiment of the application also provides a computer readable storage medium. The computer readable storage medium may be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc. The computer-readable storage medium includes instructions that instruct a computing device to perform a path building method.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, a network device, a user device, or other programmable apparatus. The computer program or instructions may 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 program or instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wired or wireless means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The usable medium may be a magnetic medium such as a floppy disk, a hard disk, a magnetic tape, an optical medium such as a digital video disc (digital video disc, DVD), or a semiconductor medium such as a solid state disk (solid STATE DRIVE, SSD).
While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (19)

1. A path construction method, wherein the method is applied to computing devices running a cloud computing platform, the computing devices are distributed in at least two areas, at least one scheduling unit is set in each computing device, each scheduling unit is configured by the computing device when each scheduling unit is created, a first computing device belongs to a first area, and a second computing device belongs to a second area, and the method comprises:
The first computing device receives a construction instruction of a user, wherein the construction instruction carries an identifier of a first cloud service deployed in a first area and an identifier of a second cloud service deployed in a second area;
the first computing device establishes communication connection between the first cloud service and the second cloud service according to the identification of the first cloud service and the identification of the second cloud service;
the first computing device obtains the IP address of each scheduling unit in the first cloud service and the IP address of each scheduling unit in the second cloud service sent by the second computing device;
The first computing device indicates a first scheduling unit, a transmission path is established with a second scheduling unit according to an IP address of the first scheduling unit and an IP address of the second scheduling unit corresponding to the first scheduling unit in a mapping relation, the first scheduling unit is one scheduling unit in the first cloud service, the second scheduling unit is one or more scheduling units in the second cloud service, and the mapping relation is used for indicating a corresponding relation between the first cloud service and the scheduling units establishing the transmission path in the second cloud service.
2. The method according to claim 1, wherein the method further comprises:
the first computing device establishes a mapping relationship between an IP address of a first scheduling unit in the first cloud service and an IP address of each scheduling unit in the second cloud service.
3. The method according to claim 1, wherein the method further comprises:
The first computing device establishes a mapping relationship between the IP address of the first scheduling unit and the IP address of one or more scheduling units in the second cloud service, and the label of the first scheduling unit is the same as the label of one or more scheduling units in the second cloud service.
4. A method according to any one of claims 1 to 3, wherein the first computing device obtaining an IP address of a dispatch unit in the first cloud service, comprising:
And if the scheduling units in the first cloud service are increased, the first computing device acquires the IP addresses of the scheduling units in the first cloud service, wherein the mapping relation is used for indicating the corresponding relation between the increased scheduling units in the first cloud service and the scheduling units in the second cloud service.
5. A method according to any one of claims 1 to 3, wherein the first computing device obtaining the IP address of the scheduling unit in the second cloud service sent by the second computing device, comprises:
And if the scheduling units in the second cloud service are increased, the first computing device acquires the IP addresses of the scheduling units in the second cloud service, which are sent by the second computing device, wherein the mapping relation is used for indicating the corresponding relation between the scheduling units in the first cloud service and the increased scheduling units in the second cloud service.
6. The method of any of claims 1-5, wherein the first computing device obtaining the IP address of the dispatch unit in the second cloud service sent by the second computing device comprises:
If the scheduling units in the second cloud service are reduced, the first computing device acquires the IP addresses of the scheduling units in the second cloud service sent by the second computing device, and determines the IP addresses of the scheduling units with reduced second cloud service;
the first computing device instructs the first scheduling unit to delete a transmission path corresponding to the reduced IP address of the scheduling unit.
7. The method according to any of claims 1 to 6, wherein a container orchestration and management system K8S is deployed in the cloud computing platform, the dispatch unit being a container set Pod.
8. The method of claim 7, wherein the first computing device obtaining the IP address of the dispatch unit in the first cloud service comprises:
The first computing device subscribes to Pod view information of the first area, wherein the Pod view information comprises an IP address of a Pod in the first cloud service.
9. A path construction apparatus, wherein the apparatus is applied to a computing device running a cloud computing platform, the computing device is distributed in at least two areas, at least one scheduling unit is set in each computing device, each scheduling unit is configured by the computing device when creating each scheduling unit, the apparatus is disposed in a first computing device in a first area, and a second computing device belongs to a second area, the apparatus comprises:
The receiving module is used for receiving a construction instruction of a user, wherein the construction instruction carries an identifier of a first cloud service deployed in a first area and an identifier of a second cloud service deployed in a second area;
The communication establishing module is used for establishing communication connection between the first cloud service and the second cloud service according to the identification of the first cloud service and the identification of the second cloud service;
The acquisition module is used for acquiring the IP address of each scheduling unit in the first cloud service and the IP address of each scheduling unit in the second cloud service sent by the second computing device;
The path establishing module is used for indicating a first scheduling unit, establishing a transmission path with a second scheduling unit according to the IP address of the first scheduling unit and the IP address of the second scheduling unit corresponding to the first scheduling unit in a mapping relation, wherein the first scheduling unit is one scheduling unit in the first cloud service, the second scheduling unit is one or more scheduling units in the second cloud service, and the mapping relation is used for indicating the corresponding relation between the first cloud service and the scheduling units for establishing the transmission path in the second cloud service.
10. The apparatus of claim 9, wherein the apparatus further comprises:
And the first relation establishing module is used for establishing a mapping relation between the IP address of the first scheduling unit in the first cloud service and the IP address of each scheduling unit in the second cloud service.
11. The apparatus of claim 9, wherein the apparatus further comprises:
And the second relation establishing module is used for establishing a mapping relation between the IP address of the first scheduling unit and the IP addresses of one or more scheduling units in the second cloud service, and the labels of the first scheduling unit are the same as the labels of one or more scheduling units in the second cloud service.
12. The apparatus according to any one of claims 9 to 11, wherein the obtaining module is specifically configured to obtain an IP address of a scheduling unit in the first cloud service if the scheduling unit in the first cloud service increases, and wherein the mapping relationship is used to indicate a correspondence between the scheduling unit increased in the first cloud service and the scheduling unit in the second cloud service.
13. The apparatus according to any one of claims 9 to 11, wherein the obtaining module is specifically configured to obtain, if a scheduling unit in the second cloud service increases, an IP address of the scheduling unit in the second cloud service sent by the second computing device, where the mapping relationship is used to indicate a correspondence relationship between the scheduling unit in the first cloud service and the scheduling unit increased in the second cloud service.
14. The apparatus according to any one of claims 9 to 13, wherein the obtaining module is specifically configured to obtain, if the scheduling unit in the second cloud service is reduced, an IP address of the scheduling unit in the second cloud service sent by the second computing device, determine the IP address of the scheduling unit in which the second cloud service is reduced, and further instruct the first scheduling unit to delete a transmission path corresponding to the IP address of the reduced scheduling unit.
15. The apparatus according to any of claims 9 to 14, wherein a container orchestration and management system K8S is deployed in the cloud computing platform, the dispatch unit being a container set Pod.
16. The apparatus of claim 15, wherein the obtaining module is specifically configured to subscribe to Pod view information of the first area, where the Pod view information includes an IP address of a Pod in the first cloud service.
17. A cluster of computing devices, comprising at least one computing device, each computing device comprising a processor and a memory;
The processor of the at least one computing device is configured to execute instructions stored in a memory of the at least one computing device to cause the cluster of computing devices to perform the method of any of claims 1-8.
18. A computer readable storage medium comprising computer program instructions which, when executed by a cluster of computing devices, perform the method of any of claims 1-8.
19. A computer program product containing instructions that, when executed by a cluster of computing devices, cause the cluster of computing devices to perform the method of any of claims 1-8.
CN202311446337.0A 2023-06-29 2023-10-31 Path construction method and device Pending CN119232746A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2023107861833 2023-06-29
CN202310786183 2023-06-29

Publications (1)

Publication Number Publication Date
CN119232746A true CN119232746A (en) 2024-12-31

Family

ID=94065924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311446337.0A Pending CN119232746A (en) 2023-06-29 2023-10-31 Path construction method and device

Country Status (1)

Country Link
CN (1) CN119232746A (en)

Similar Documents

Publication Publication Date Title
CN113783922B (en) Load balancing method, system and device
CN107580083B (en) Method and system for allocating IP addresses of containers
CN113946415B (en) Scheduling method, device and master node
CN108737270B (en) Resource management method and device for server cluster
US10298675B2 (en) Dynamic migration within a network storage system
CN111782232A (en) Cluster deployment method and device, terminal equipment and storage medium
US8984134B2 (en) Unified cloud computing infrastructure to manage and deploy physical and virtual environments
US8805978B1 (en) Distributed cluster reconfiguration
CN110709819B (en) Managing multi-single tenant SaaS services
KR20130060273A (en) Setup and configuration of a network storage system
US11177974B2 (en) Consistent provision of member node group information on virtual overlay network
CN107959582A (en) A kind of management method and device of example of cutting into slices
CN113868151B (en) Method, device and computer storage medium for configuring mirrored memory
US10341181B2 (en) Method and apparatus to allow dynamic changes of a replica network configuration in distributed systems
CN109743202B (en) Data management method, device and equipment and readable storage medium
US8543680B2 (en) Migrating device management between object managers
KR20250032986A (en) Cluster management method and apparatus, electronic device, and storage medium
US10608867B2 (en) Method and an electronic arrangement for providing demand-supply service of physical communication network resources
US12093749B2 (en) Load balancing of on-premise infrastructure resource controllers
CN113826079B (en) Select the interface for the device group identifier
EP3857826B1 (en) Flexible unnumbered destination tunnels for virtual networks
US10511486B2 (en) System and method for automating the discovery process
CN119232746A (en) Path construction method and device
CN115604261B (en) Cloud network service resource processing method, device, equipment and storage medium
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication