Cross-cluster scheduling method and device, equipment and medium

By providing cross-cluster scheduling methods in the data center, the problem of being unable to cross-cluster scheduling when cluster resources are insufficient is solved, and a higher resource utilization and user experience is achieved.

CN119493660APending Publication Date: 2025-02-21BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311056691.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-21
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The prior art cannot transfer virtual machine operations to other similar clusters with sufficient resources through cross-cluster scheduling when the specified cluster resources are insufficient, resulting in virtual machine operations being unable to be performed, cluster resource utilization is low, affecting user experience.

Method used

Provide a cross-cluster scheduling method, including receiving cluster resource operation requests, determining target cluster groups, filtering and processing multiple clusters to determine target clusters, performing cluster tiling processing to determine target logical units, and implementing clusters through target logical units Resource operation.

Benefits of technology

Cross-cluster scheduling is realized, cluster resource utilization rate is improved, and user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119493660A_ABST
    Figure CN119493660A_ABST
Patent Text Reader

Abstract

The invention relates to a cross-cluster scheduling method and device, equipment and a medium. The cross-cluster scheduling method comprises the steps that a cluster resource operation request is received, a target cluster group is determined according to the cluster resource operation request, and the target cluster group comprises a plurality of clusters; screening and filtering the plurality of clusters in the target cluster group to determine a target cluster; performing cluster tiling processing on the target cluster, and determining a target logic unit; and realizing cluster resource operation corresponding to the cluster resource operation request through the target logic unit. According to the embodiment of the invention, cross-cluster scheduling can be realized, the utilization rate of cluster resources is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a cross-cluster scheduling method, apparatus, device and medium. Background Art

[0002] With the vigorous development of virtualization technology, virtualization technology has been widely used in data centers. When performing virtual machine operations, it is necessary to schedule a specified cluster to perform corresponding operations.

[0003] In related technologies, if the resources of a specified cluster are insufficient, while the resources in other similar clusters are sufficient, virtual machine operations cannot be scheduled across clusters, such as being assigned to other similar clusters for virtual machine operations, resulting in the inability to execute virtual machine operations, low cluster resource utilization, and affected user experience. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a cross-cluster scheduling method, apparatus, device and medium.

[0005] In a first aspect, the present disclosure provides a cross-cluster scheduling method, including:

[0006] receiving a cluster resource operation request, and determining a target cluster group according to the cluster resource operation request, wherein the target cluster group includes multiple clusters;

[0007] Screening and filtering multiple clusters in the target cluster group to determine the target cluster;

[0008] Perform cluster tiling on the target cluster and determine the target logical unit;

[0009] The cluster resource operation corresponding to the cluster resource operation request is implemented through the target logical unit.

[0010] In a second aspect, the present disclosure provides a cross-cluster scheduling device, including:

[0011] A request receiving module, used for receiving a cluster resource operation request, and determining a target cluster group according to the cluster resource operation request, wherein the target cluster group includes a plurality of clusters;

[0012] A first processing module is used to perform screening and filtering on multiple clusters in the target cluster group to determine the target cluster;

[0013] The second processing module is used to perform cluster tiling processing on the target cluster to determine the target logical unit;

[0014] The third processing module is used to implement the cluster resource operation corresponding to the cluster resource operation request through the target logical unit.

[0015] In a third aspect, the present disclosure provides a cross-cluster scheduling device, including:

[0016] processor;

[0017] A memory for storing executable instructions;

[0018] The processor is used to read executable instructions from the memory and execute the executable instructions to implement the cross-cluster scheduling method of the first aspect.

[0019] In a fourth aspect, the present disclosure provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements the cross-cluster scheduling method of the first aspect.

[0020] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0021] The cross-cluster scheduling method, apparatus, device and medium of the embodiments of the present disclosure can receive a cluster resource operation request, determine a target cluster group according to the cluster resource operation request, the target cluster group includes multiple clusters, then screen and filter the multiple clusters in the target cluster group to determine the target cluster, then cluster tile the target cluster to determine the target logical unit, and finally implement the cluster resource operation corresponding to the cluster resource operation request through the target logical unit. Thus, the multiple clusters in the target cluster group can be screened and filtered to obtain the target cluster, and the target logical unit that can perform the cluster resource operation corresponding to the cluster resource operation request can be determined in the target cluster, thereby implementing cross-cluster scheduling, improving cluster resource utilization, and enhancing user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0023] Figure 1 A schematic diagram of a cross-cluster scheduling method provided in an embodiment of the present disclosure;

[0024] Figure 2 A flowchart of another cross-cluster scheduling method provided by an embodiment of the present disclosure;

[0025] Figure 3 A schematic diagram of the structure of a cross-cluster scheduling device provided in an embodiment of the present disclosure;

[0026] Figure 4 A schematic diagram of the structure of a cross-cluster scheduling device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0033] In order to solve the above problems, the embodiments of the present disclosure provide a cross-cluster scheduling method, apparatus, device and medium. Figure 1 to Figure 2 The cross-cluster scheduling method provided by the embodiment of the present disclosure is described in detail.

[0034] Figure 1 A schematic diagram of a process of a cross-cluster scheduling method provided by an embodiment of the present disclosure is shown.

[0035] In the embodiment of the present disclosure, the cross-cluster scheduling method may be executed by a server, wherein the server may include but is not limited to a server such as a cloud server or a cloud server cluster.

[0036] like Figure 1 As shown, the cross-cluster scheduling method may include the following steps.

[0037] S110: Receive a cluster resource operation request, and determine a target cluster group according to the cluster resource operation request, where the target cluster group includes multiple clusters.

[0038] In an embodiment of the present disclosure, the server may receive a cluster resource operation request, and determine a target cluster group according to the cluster resource operation request.

[0039] Optionally, the cluster resource operation request may be used to request cluster resources to perform virtual machine operations. The cluster resource operation request may be at least one of a creation operation request and a migration operation request.

[0040] Optionally, the creation operation request may be a request for the cluster to perform a virtual machine creation operation.

[0041] Optionally, the migration operation request may be a request for the cluster to perform a virtual machine migration operation.

[0042] Optionally, the target cluster group may be a cluster group used for cluster scheduling, wherein the target cluster group may include multiple clusters.

[0043] Specifically, when a user wants to perform a virtual machine operation, such as a virtual machine creation operation or a virtual machine migration operation, a cluster resource operation request may be initiated to the server. The server may receive the cluster resource operation request and determine a target cluster group according to the cluster resource operation request.

[0044] S120: Screen and filter multiple clusters in the target cluster group to determine a target cluster.

[0045] In the embodiment of the present disclosure, the server may perform screening and filtering processing on multiple clusters in the target cluster group to determine the target cluster.

[0046] Alternatively, a cluster is a group of independent computers that are interconnected by a high-speed computer network and that form a group and are managed as a single system.

[0047] Optionally, the screening and filtering process may include a screening process and a filtering process.

[0048] Optionally, the target cluster may be a cluster that meets the requirement among multiple clusters.

[0049] Specifically, after determining the target cluster group, the server may perform screening and filtering processing on multiple clusters in the target cluster group, so as to determine the target cluster. The specific implementation manner is described in detail below.

[0050] S130: Perform cluster tiling processing on the target cluster to determine the target logical unit.

[0051] In the embodiment of the present disclosure, the server may perform cluster tiling processing on the target cluster to determine the target logical unit.

[0052] Optionally, the cluster tiling process may be processing the clusters through a tiling algorithm.

[0053] Optionally, the target logical unit may be a logical unit used to implement cluster resource operations.

[0054] Optionally, a cluster may include multiple logical units.

[0055] Optionally, after determining the target cluster, the server may perform cluster tiling processing on the target cluster to determine the target logical unit.

[0056] Optionally, S130 may specifically include: performing cluster tiling processing on multiple logical units included in the target cluster to obtain the number of tasks corresponding to the multiple logical units; and determining the target logical unit from the multiple logical units according to the number of tasks.

[0057] In the embodiment of the present disclosure, the server may perform cluster tiling processing on multiple logical units included in the target cluster to obtain the number of tasks corresponding to the multiple logical units.

[0058] Optionally, the logic unit may be a combinational logic circuit capable of implementing multiple groups of arithmetic operations and logic operations.

[0059] Optionally, the number of tasks may be used to represent the number of tasks that have been processed by the logic unit.

[0060] Specifically, after obtaining the target cluster, the server can perform cluster tiling processing on the multiple logical units included in the target cluster and obtain the number of tasks corresponding to the multiple logical units. For example, the target cluster may include an s3 cluster and a c3 cluster, each of which may include two logical units (unit). The server can perform cluster tiling processing on the multiple logical units included in the target cluster, that is, perform cluster tiling processing on the s3 cluster and the c3 cluster to obtain s3:unit1, s3:unit2, c3:unit1, c3:unit2, and obtain the number of tasks corresponding to each logical unit, such as the number of tasks of s3:unit1 (count=2), the number of tasks of s3:unit2 (count=1), the number of tasks of c3:unit1 (count=3), etc., which are not limited here.

[0061] Furthermore, the server may determine a target logical unit from among a plurality of logical units according to the number of tasks.

[0062] Specifically, after obtaining the number of tasks corresponding to multiple logical units, the server can determine the target logical unit among the multiple logical units based on the number of tasks, for example, the number of tasks of s3:unit1 (count=2), the number of tasks of s3:unit2 (count=1), and the number of tasks of c3:unit1 (count=3). Therefore, the server can determine that among the logical units s3:unit1, s3:unit2, and c3:unit1, s3:unit2 has the least number of tasks, that is, s3:unit2 has more resources, and the server can determine that s3:unit2 is the target logical unit.

[0063] S140. Implement the cluster resource operation corresponding to the cluster resource operation request through the target logical unit.

[0064] In the embodiment of the present disclosure, the server may implement the cluster resource operation corresponding to the cluster resource operation request through the target logical unit.

[0065] Optionally, the cluster resource operation may include a virtual machine creation operation and a virtual machine migration operation.

[0066] Specifically, after the server determines the target logical unit, such as determining that s3:unit2 is the target logical unit, the cluster resource operation corresponding to the cluster resource operation request can be implemented through the target logical unit (s3:unit2), such as virtual machine creation operation, virtual machine migration operation, etc., which is not limited here.

[0067] Therefore, in the disclosed embodiment, a cluster resource operation request can be received, and a target cluster group can be determined according to the cluster resource operation request, the target cluster group including multiple clusters, and then the multiple clusters in the target cluster group are screened and filtered to determine the target cluster, and then the target cluster is cluster-tiled to determine the target logical unit, and finally the cluster resource operation corresponding to the cluster resource operation request is implemented through the target logical unit. Thus, the multiple clusters in the target cluster group can be screened and filtered to obtain the target cluster, and the target logical unit that can perform the cluster resource operation corresponding to the cluster resource operation request is determined in the target cluster, thereby realizing cross-cluster scheduling, improving cluster resource utilization, and enhancing user experience.

[0068] Optionally, before S110, the cross-cluster scheduling method may further include: performing hierarchical planning processing on clusters with similar resources to generate a corresponding plurality of cluster groups; and storing the corresponding relationship between the plurality of cluster groups and the clusters with similar resources in a non-relational database.

[0069] In the embodiment of the present disclosure, the server may perform hierarchical planning processing on clusters with similar resources to generate corresponding multiple cluster groups.

[0070] Optionally, resource similarity may refer to similar resource models. For example, clusters may be divided into first-generation clusters, second-generation clusters, and third-generation clusters.

[0071] Optionally, the hierarchical planning process may be a process of planning at different levels.

[0072] Specifically, the server can perform hierarchical planning on clusters with similar resources. For example, the n3 cluster, i3 cluster, s3 cluster, and c3 cluster all belong to the third-generation cluster, that is, they belong to clusters with similar resources. The server can perform hierarchical planning on the n3 cluster, i3 cluster, s3 cluster, and c3 cluster to generate a cluster group, such as generating a k3 cluster group. Similarly, the n2 cluster, i2 cluster, s2 cluster, and c2 cluster all belong to the second-generation cluster. The server can perform hierarchical planning on the n2 cluster, i2 cluster, s2 cluster, and c2 cluster to generate a cluster group, such as generating a k2 cluster group, etc., which is not limited here. The server can generate multiple cluster groups corresponding to different resources.

[0073] Furthermore, the server may store the correspondence between the plurality of cluster groups and clusters with similar resources in a non-relational database.

[0074] Optionally, a non-relational database may be used to store data. For example, the non-relational database may be MongoDB.

[0075] Specifically, the server can save the correspondence between the generated multiple cluster groups and clusters with similar resources in a non-relational database. For example, the server can save the correspondence between the k3 cluster group and the n3 cluster, i3 cluster, s3 cluster, and c3 cluster in a MongoDB database; and save the correspondence between the k2 cluster group and the n2 cluster, i2 cluster, s2 cluster, and c2 cluster in a MongoDB database, etc.

[0076] Therefore, clusters with similar resources can be planned as the same cluster group, thereby ensuring sufficient resources in the cluster group and facilitating subsequent resource scheduling.

[0077] Optionally, S110 may specifically include: receiving a cluster resource operation request, and determining a target cluster group corresponding to the cluster resource operation request from a plurality of cluster groups stored in a non-relational database.

[0078] In an embodiment of the present disclosure, the server may receive a cluster resource operation request, and determine a target cluster group corresponding to the cluster resource operation request from a plurality of cluster groups stored in a non-relational database.

[0079] Specifically, when a user sends a cluster resource operation request to the server, the corresponding cluster group will be specified. After receiving the cluster resource operation request, the server can determine the corresponding target cluster group from multiple cluster groups contained in the cluster resource operation request stored in the non-relational database (MongoDB). For example, in the k3 cluster group and the k2 cluster group, the cluster resource operation request user specifies that it be executed through a third-generation machine cluster, and the server can determine the k3 cluster group as the target cluster group.

[0080] Optionally, S120 may specifically include: determining a cluster group priority according to a preset user whitelist priority; and screening multiple clusters in the target cluster group based on the cluster group priority to determine the target cluster.

[0081] In the embodiment of the present disclosure, the server may determine the cluster group priority according to a preset user whitelist priority.

[0082] Optionally, the preset user whitelist priority may be a cluster priority corresponding to a preset user whitelist. For example, the preset user whitelist priority may include a high priority cluster group corresponding to user A, a low priority cluster group corresponding to user B, etc., which is not limited here.

[0083] Optionally, the cluster group priority may be used to characterize the priority of each cluster in the cluster group.

[0084] Specifically, after receiving a cluster resource operation request, the server can first determine the cluster group priority based on the preset user whitelist priority. For example, user A initiates a cluster resource operation request, and the server can determine that the cluster group priority corresponding to user A is a high-priority cluster group based on the preset user whitelist priority; user B initiates a cluster resource operation request, and the server can determine that the cluster group priority corresponding to user B is a low-priority cluster group based on the preset user whitelist priority, and so on.

[0085] Furthermore, the server may screen multiple clusters in the target cluster group based on the cluster group priority to determine the target cluster.

[0086] Optionally, the screening process may be a process of screening clusters that meet the cluster group priority.

[0087] Specifically, after determining the cluster group priority, the server can screen and process multiple clusters in the target cluster group based on the cluster group priority to determine the target cluster. For example, for the k3 cluster group, among which the n3 cluster and the i3 cluster belong to the high-priority cluster group, and the s3 cluster and the c3 cluster belong to the low-priority cluster group, the server can determine that the cluster group priority corresponding to user A is the high-priority cluster group by presetting the user whitelist priority. That is, the server can screen and process multiple clusters in the target cluster group according to the high-priority cluster group, thereby determining that the target cluster can be the n3 cluster and the i3 cluster.

[0088] Optionally, after determining the target cluster, the cross-cluster scheduling method may further include: when resources of the target cluster are insufficient, filtering the target cluster, and determining a new target cluster from the remaining clusters except the target cluster.

[0089] In the embodiment of the present disclosure, when the resources of the target cluster are insufficient, the server may filter the target clusters and determine a new target cluster from the remaining clusters except the target cluster.

[0090] Optionally, insufficient resources may be used to indicate that resources are insufficient to execute the cluster resource operation corresponding to the cluster resource operation request.

[0091] Optionally, the filtering process may be a process of filtering the clusters.

[0092] Specifically, after the server determines the target cluster, if it is determined that the target cluster may be the n3 cluster or the i3 cluster, then when the resources of the n3 cluster are insufficient, the server may filter the n3 cluster, that is, remove the n3 cluster, and determine a new target cluster from the remaining clusters except the n3 cluster, such as determining the i3 cluster as the new target cluster.

[0093] Therefore, clusters in the target cluster group can be scheduled through screening and filtering, so as to determine the target cluster that can perform cluster resource operations, improve cluster resource utilization, and enhance user experience.

[0094] Figure 2 A schematic diagram of a process of another cross-cluster scheduling solution provided by an embodiment of the present disclosure is shown.

[0095] like Figure 2 As shown, taking the k3 cluster group as an example, the server can receive a cluster resource operation request, and determine the corresponding target cluster group in multiple cluster groups contained in the cluster resource operation request stored in the non-relational database (MongoDB), such as obtaining the k3 cluster group as the target cluster group, and then determining the cluster group priority according to the preset user whitelist priority. For example, it is determined that the cluster group priority corresponding to user B is a low-priority cluster group, and multiple clusters in the target cluster group are screened based on the cluster group priority. For example, for the k3 cluster group, the s3 cluster and the c3 cluster belong to the low-priority cluster group, that is, it is determined that the target cluster can be the s3 cluster and the c3 cluster, and the server performs cluster tiling processing on the multiple logical units included in the target cluster, such as performing cluster tiling processing on the s3 cluster and the c3 cluster to obtain s3: unit1, s3: unit2, c3: unit1, c3: unit2, and obtain To the number of tasks corresponding to each logical unit, such as the number of tasks of s3:unit1 (count=2), the number of tasks of s3:unit2 (count=1), the number of tasks of c3:unit1 (count=3), the number of tasks of c3:unit2 (count=3), etc. Further, the server determines the target logical unit among multiple logical units. For example, the server can determine that among s3:unit1, s3:unit2, c3:unit1, and c3:unit2, unit2 has the least number of tasks, that is, s3:unit2 has more resources. The server can determine that s3:unit2 is the target logical unit. Finally, the server can implement cluster resource operations corresponding to cluster resource operation requests through the target logical unit (s3:unit2), such as virtual machine creation operations, virtual machine migration operations, etc., which are not limited here.

[0096] Figure 3 A schematic diagram of the structure of a cross-cluster scheduling device provided by an embodiment of the present disclosure is shown.

[0097] like Figure 3 As shown, the cross-cluster scheduling device 300 may include a request receiving module 310 , a first processing module 320 , a second processing module 330 and a third processing module 340 .

[0098] The request receiving module 310 may be used to receive a cluster resource operation request, and determine a target cluster group according to the cluster resource operation request, where the target cluster group includes multiple clusters.

[0099] The first processing module 320 may be used to perform screening and filtering processing on multiple clusters in the target cluster group to determine the target cluster.

[0100] The second processing module 330 may be used to perform cluster tiling processing on the target cluster to determine the target logical unit.

[0101] The third processing module 340 may be configured to implement the cluster resource operation corresponding to the cluster resource operation request through the target logical unit.

[0102] Therefore, in the disclosed embodiment, a cluster resource operation request can be received, and a target cluster group can be determined according to the cluster resource operation request, the target cluster group including multiple clusters, and then the multiple clusters in the target cluster group are screened and filtered to determine the target cluster, and then the target cluster is cluster-tiled to determine the target logical unit, and finally the cluster resource operation corresponding to the cluster resource operation request is implemented through the target logical unit. Thus, the multiple clusters in the target cluster group can be screened and filtered to obtain the target cluster, and the target logical unit that can perform the cluster resource operation corresponding to the cluster resource operation request is determined in the target cluster, thereby realizing cross-cluster scheduling, improving cluster resource utilization, and enhancing user experience.

[0103] In some embodiments of the present disclosure, the cluster resource operation request may be at least one of a creation operation request and a migration operation request.

[0104] In some embodiments of the present disclosure, the cross-cluster scheduling device 300 may further include a fourth processing module and a relationship storage module.

[0105] The fourth processing module may be used to perform hierarchical planning processing on clusters with similar resources before receiving a cluster resource operation request, and generate a corresponding plurality of cluster groups.

[0106] The relationship saving module can be used to save the corresponding relationship between multiple cluster groups and clusters with similar resources in a non-relational database.

[0107] In some embodiments of the present disclosure, the request receiving module 310 may specifically include a request receiving unit.

[0108] The request receiving unit may be used to receive a cluster resource operation request, and determine a target cluster group corresponding to the cluster resource operation request from a plurality of cluster groups stored in a non-relational database.

[0109] In some embodiments of the present disclosure, the first processing module 320 may specifically include a first determining unit and a first processing unit.

[0110] The first determining unit may be configured to determine the cluster group priority according to a preset user whitelist priority.

[0111] The first processing unit may be configured to screen multiple clusters in the target cluster group based on the cluster group priority to determine the target cluster.

[0112] In some embodiments of the present disclosure, the first processing module 320 may further specifically include a second processing unit.

[0113] The second processing unit may be configured to, after determining the target cluster, perform filtering processing on the target cluster when resources of the target cluster are insufficient, and determine a new target cluster from the remaining clusters except the target cluster.

[0114] In some embodiments of the present disclosure, the third processing module 340 may further specifically include a third processing unit and a second determining unit.

[0115] The third processing unit may be used to perform cluster tiling processing on the multiple logical units included in the target cluster to obtain the number of tasks corresponding to the multiple logical units.

[0116] The second determining unit may be configured to determine a target logical unit from among the plurality of logical units according to the number of tasks.

[0117] It should be noted that Figure 3 The cross-cluster scheduling apparatus 300 shown can execute Figure 1 to Figure 2 The various steps in the method embodiment shown in the figure are implemented Figure 1 to Figure 2 The various processes and effects in the method embodiment shown are not described in detail here.

[0118] Figure 4 A schematic diagram of the structure of a cross-cluster scheduling device provided by an embodiment of the present disclosure is shown.

[0119] In some embodiments of the present disclosure, Figure 4 The cross-cluster scheduling device shown may be a server device. Specifically, the server may include but is not limited to a server such as a cloud server or a cloud server cluster.

[0120] like Figure 4 As shown, the cross-cluster scheduling device may include a processor 401 and a memory 402 storing computer program instructions.

[0121] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0122] The memory 402 may include a large capacity memory for information or instructions. By way of example and not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory 402 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 402 may be inside or outside the integrated gateway device. In a particular embodiment, the memory 402 is a non-volatile solid-state memory. In a particular embodiment, the memory 402 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (Electrically Erasable Programmable ROM, EEPROM), an electrically rewritable ROM (EAROM) or a flash memory, or a combination of two or more of these.

[0123] The processor 401 reads and executes the computer program instructions stored in the memory 402 to perform the steps of the cross-cluster scheduling method provided in the embodiment of the present disclosure.

[0124] In an example, the cross-cluster scheduling device may further include a transceiver 403 and a bus 404. Figure 4 As shown, the processor 401, the memory 402 and the transceiver 403 are connected via a bus 404 and communicate with each other.

[0125] The bus 404 includes hardware, software, or both. For example, but not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a Memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, the bus 404 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.

[0126] The embodiments of the present disclosure further provide a computer-readable storage medium, which may store a computer program. When the computer program is executed by a processor, the processor implements the cross-cluster scheduling method provided by the embodiments of the present disclosure.

[0127] The above-mentioned storage medium may, for example, include a memory 402 of computer program instructions, and the above-mentioned instructions may be executed by the processor 401 of the cross-cluster scheduling device to complete the cross-cluster scheduling method provided by the embodiment of the present disclosure. Optionally, the storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, a random access memory (Random Access Memory, RAM), a compact disc read-only memory (Compact Disc ROM, CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0128] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0129] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A cross-cluster scheduling method, characterized in that: include: receiving a cluster resource operation request, and determining a target cluster group according to the cluster resource operation request, wherein the target cluster group includes a plurality of clusters; Performing screening and filtering processing on the multiple clusters in the target cluster group to determine a target cluster; Performing cluster tiling processing on the target cluster to determine a target logical unit; The cluster resource operation corresponding to the cluster resource operation request is implemented through the target logical unit.

2. The method according to claim 1, characterized in that: The cluster resource operation request is at least one of a creation operation request and a migration operation request.

3. The method according to claim 1, characterized in that Before receiving the cluster resource operation request, the method further includes: Perform hierarchical planning for clusters with similar resources to generate multiple corresponding cluster groups; The correspondence between the plurality of cluster groups and the clusters with similar resources is stored in a non-relational database.

4. The method according to claim 3, characterized in that The receiving a cluster resource operation request and determining a target cluster group according to the cluster resource operation request includes: The cluster resource operation request is received, and the target cluster group corresponding to the cluster resource operation request is determined from a plurality of cluster groups stored in the non-relational database.

5. The method according to claim 1, characterized in that The screening and filtering of the plurality of clusters in the target cluster group to determine the target cluster includes: Determine the cluster group priority based on the preset user whitelist priority; The plurality of clusters in the target cluster group are screened based on the cluster group priority to determine the target cluster.

6. The method according to claim 4, characterized in that After determining the target cluster, the method further includes: When the resources of the target cluster are insufficient, filtering is performed on the target cluster, and a new target cluster is determined from the remaining clusters except the target cluster.

7. The method according to claim 1, characterized in that The performing cluster tiling processing on the target cluster to determine the target logical unit includes: Performing cluster tiling processing on multiple logical units included in the target cluster to obtain the number of tasks corresponding to the multiple logical units; The target logical unit is determined among the plurality of logical units according to the number of tasks.

8. A cross-cluster scheduling device, characterized in that: include: A request receiving module, configured to receive a cluster resource operation request, and determine a target cluster group according to the cluster resource operation request, wherein the target cluster group includes a plurality of clusters; A first processing module, configured to perform screening and filtering on the plurality of clusters in the target cluster group to determine a target cluster; A second processing module is used to perform cluster tiling processing on the target cluster to determine a target logical unit; The third processing module is used to implement the cluster resource operation corresponding to the cluster resource operation request through the target logical unit.

9. A cross-cluster scheduling device, characterized in that: include: processor; A memory for storing executable instructions; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the cross-cluster scheduling method described in any one of claims 1 to 7.

10. A non-volatile computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the processor implements the cross-cluster scheduling method according to any one of claims 1 to 7.