Resource grouping control method, device and system, and resource control console

Through the connection between the resource console and the search server, intuitive query and management of resource groups in the cloud service platform are realized, which solves the problem of inconvenient resource group control in the existing technology and improves the efficiency of resource management.

CN114490777BActive Publication Date: 2025-01-21BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210135447.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-14
Publication Date
2025-01-21
Estimated Expiration
2042-02-14

AI Technical Summary

Technical Problem

When the existing cloud service platform is controlled by resource grouping, customers need to switch to different product consoles and regions, and cannot intuitively view all resources under a project.

Method used

Provides a resource grouping control method to maintain the relationship between resources and projects through the connection between the resource console and the search server. The method includes receiving a query instruction of a target customer ID and a project ID, determining a resource type list, sending a query request to a search server, and displaying the returned resource data.

Benefits of technology

Customers can intuitively view all resources under the first project through the resource console, which enables resource retrieval and grouping across cloud services and regions, simplifying the resource management process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114490777B_ABST
    Figure CN114490777B_ABST
Patent Text Reader

Abstract

The present invention provides a resource grouping control method, device and system, and a resource console, which relate to the field of cloud service technology. The method is applied to a resource console in a cloud platform. The resource console is connected to a preset search server. The search server is used to maintain the relationship between resources and projects. The project is the grouping result of the resources. The resource grouping control is performed by the resource console. The user can intuitively view all resources under the first project corresponding to the first project identifier through the resource console, which facilitates project resource query.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud service technology, and in particular to a resource grouping control method, device and system, and a resource control console. Background Art

[0002] Cloud computing platform, also known as cloud platform, refers to services based on hardware resources and software resources, providing computing, network and storage capabilities. Customers use cloud services on the cloud platform by registering a cloud account on the cloud platform. Customers usually activate multiple cloud service functions on the cloud platform, and each cloud service may have multiple resources. The resources under the customer's cloud account need to be allocated to multiple projects, so it is necessary to uniformly control resources and allocate permissions by project. Among them, project refers to the grouping result of resources, which is a collection of resources. Customers can create projects based on the actual organizational relationship within the company or enterprise, and resource isolation based on project implementation is logical isolation.

[0003] Currently, customers use the product console of each cloud service (also known as the product line console or cloud product console) to control the projects to which the resources under the cloud service belong, and view the resources under different projects of the cloud service. The resource grouping control relies on the development of corresponding functions in the product console. Since a project can include resources from multiple cloud services and resources from multiple regions, and different regions under the same cloud service are isolated, the product console of a cloud service can only display and control the resources under the selected project of the cloud service by region. Customers need to switch to different product consoles and different regions to control the resources in groups, and cannot intuitively view all the resources under a project. Summary of the invention

[0004] The object of the present invention is to provide a resource grouping control method, device and system, and a resource control console to facilitate project resource query.

[0005] In a first aspect, an embodiment of the present invention provides a resource grouping control method, which is applied to a resource console in a cloud platform, wherein the resource console is connected to a preset search server, and the search server is used to maintain the relationship between resources and projects, and the project is a grouping result of resources; the method comprises:

[0006] When receiving a query instruction carrying a target client identifier and a first project identifier, determining a target identifier list in the search server of all resource types corresponding to the target client identifier according to a pre-configured correspondence between resource types and cloud services;

[0007] Sending a query request carrying the target customer identifier, the first project identifier and the target identifier list to the search server;

[0008] Receive and display resource data returned by the search server based on the query request.

[0009] Further, the determining, according to the pre-configured correspondence between resource types and cloud services, a target identifier list of all resource types corresponding to the target client identifier in the search server includes:

[0010] Determine at least one target cloud service corresponding to the target customer identifier;

[0011] In the correspondence between the resource types and the cloud services, searching for all resource types corresponding to the at least one target cloud service;

[0012] A target identification list is generated, wherein the target identification list includes identifications of all resource types in the search server.

[0013] Furthermore, after receiving and displaying the resource data returned by the search server based on the query request, the method further includes:

[0014] When receiving the first group modification information, generating a first group modification request carrying the first group modification information; wherein the first group modification information includes a first resource list and a second project identifier, and the first resource list includes a resource identifier of at least one resource in the resource data;

[0015] The first group modification request is sent to the search server, so that the first resources corresponding to the resource identifiers in the first resource list are transferred from the first project corresponding to the first project identifier to the second project corresponding to the second project identifier through the search server.

[0016] Furthermore, after receiving and displaying the resource data returned by the search server based on the query request, the method further includes:

[0017] When receiving the second group modification information, generating a second group modification request carrying the second group modification information; wherein the second group modification information includes a second resource list and the first project identifier, and the second resource list includes a resource identifier of at least one resource in the third project;

[0018] The second group modification request is sent to the search server, so that the second resources corresponding to the resource identifiers in the second resource list are transferred from the third project to the first project corresponding to the first project identifier through the search server.

[0019] Furthermore, after receiving and displaying the resource data returned by the search server based on the query request, the method further includes:

[0020] When a statistical condition corresponding to the resource data is obtained, statistics are performed on the resource data according to the statistical condition to obtain resource distribution quantity information of the resource data according to the statistical condition; wherein the statistical condition includes resource type, region or cloud service;

[0021] Display the resource distribution quantity information.

[0022] In a second aspect, an embodiment of the present invention further provides a resource grouping control device, which is applied to a resource console in a cloud platform, wherein the resource console is connected to a preset search server, wherein the search server is used to maintain the relationship between resources and projects, and the project is a grouping result of resources; the device comprises:

[0023] an identification determination module, configured to, when receiving a query instruction carrying a target client identification and a first project identification, determine a target identification list of all resource types corresponding to the target client identification in the search server according to a pre-configured correspondence between resource types and cloud services;

[0024] A request sending module, used for sending a query request carrying the target customer identifier, the first project identifier and the target identifier list to the search server;

[0025] The receiving and displaying module is used to receive and display the resource data returned by the search server based on the query request.

[0026] Furthermore, the device further comprises a group modification module, wherein the group modification module is configured to:

[0027] When receiving the first group modification information, generating a first group modification request carrying the first group modification information; wherein the first group modification information includes a first resource list and a second project identifier, and the first resource list includes a resource identifier of at least one resource in the resource data;

[0028] The first group modification request is sent to the search server, so that the first resources corresponding to the resource identifiers in the first resource list are transferred from the first project corresponding to the first project identifier to the second project corresponding to the second project identifier through the search server.

[0029] In a third aspect, an embodiment of the present invention further provides a resource console, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method described in the first aspect when executing the computer program.

[0030] In a fourth aspect, an embodiment of the present invention further provides a resource grouping control system, comprising the resource control console described in the third aspect, and further comprising a search server connected to the resource control console.

[0031] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the method described in the first aspect.

[0032] In the resource grouping control method, device and system, and resource console provided by the embodiment of the present invention, the method is applied to the resource console in the cloud platform, the resource console is connected to a preset search server, the search server is used to maintain the relationship between resources and projects, and the project is the grouping result of resources; the method includes: when receiving a query instruction carrying a target customer identifier and a first project identifier, according to the pre-configured correspondence between resource types and cloud services, determining the target identifier list of all resource types corresponding to the target customer identifier in the search server; sending a query request carrying the target customer identifier, the first project identifier and the target identifier list to the search server; receiving and displaying the resource data returned by the search server based on the query request. In this way, the resource console performs resource grouping control, and the customer can intuitively view all resources under the first project corresponding to the first project identifier through the resource console, which facilitates project resource query. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 A schematic diagram of the structure of a resource grouping control system provided by an embodiment of the present invention;

[0035] Figure 2 A schematic diagram of a project control function of a resource console provided by an embodiment of the present invention;

[0036] Figure 3 A schematic diagram of a flow chart of a resource grouping control method provided by an embodiment of the present invention;

[0037] Figure 4 A schematic diagram of the structure of a resource grouping control device provided by an embodiment of the present invention;

[0038] Figure 5 A schematic diagram of the structure of a resource control console provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] The resources in the cloud platform are the object entities that customers operate or use cloud services. Resources can be classified into the following two categories:

[0041] (1) Billing resources: Resources need to be purchased through the billing system. After purchase, an instance ID will be generated. The billing system will push the data related to the resource, including the instance ID, to the instance ES (Elasticsearch) service. The instance ES service is provided by the ES search server.

[0042] (2) Non-billed resources: Resources do not need to be purchased through the billing system and are controlled by each business line. Only when the business line actively pushes the data to the instance ES service will the data of the instance be available.

[0043] The above two types of resources of customers can be allocated to multiple projects through resource grouping. Projects are created by the resource console. A project can include resources from multiple cloud services or multiple regions, and resources can be transferred from one project to another.

[0044] Currently, when performing resource group control, the resource console provides project control services. The relationship between resources and projects is uniformly maintained by the instance ES service. The instance ES service provides an internal interface to the project control service. The project control service encapsulates the interface of the instance ES service and provides it to the product console of each cloud service, thereby realizing the following functions:

[0045] A. In the product console of each cloud service, control the project to which the resources under the cloud service belong:

[0046] 1) When creating a resource, you can select the project to which the resource belongs;

[0047] 2) You can modify the project to which the resource belongs in the resource list.

[0048] B. In the product console of each cloud service, view the resources under different projects.

[0049] However, the resource grouping control method based on the product console has the following disadvantages:

[0050] For customers, they need to switch to the consoles of different products to control resources in groups. They cannot intuitively view all resources under a project. Usually, they need to switch regions and product consoles to achieve this. For product lines, resource grouping control depends on the development of docking functions in product consoles. If docking functions are not developed, resource grouping by project cannot be supported.

[0051] Based on this, the embodiments of the present invention provide a resource grouping control method, device and system, and a resource console, which can view and search all resources allocated to a project, support batch transfer of resources from other projects to different cloud services and regions to the current project (batch transfer-in function), support batch transfer of resources under the current project to a specified project (batch transfer-out function), and can configure resource types through the background to support group control of resources of this resource type by project in the resource console.

[0052] To facilitate understanding of this embodiment, a resource grouping control system disclosed in an embodiment of the present invention is first introduced in detail.

[0053] The embodiment of the present invention provides a resource grouping control system, see Figure 1 The schematic diagram of the structure of a resource grouping control system shown in the figure includes a resource console 100 and a search server 110. The resource console 100 is connected to the search server 110. The search server 110 is used to maintain the relationship between resources and projects. The projects are the grouping results of resources.

[0054] The above-mentioned search server 110 can be an ES search server, which provides instance ES services. The instance ES services will uniformly store the following data: resource ID (i.e. resource identifier), resource name, resource account ID (i.e. customer identifier of the resource), resource project ID (i.e. project identifier of the resource), resource status, resource type identifier (the same type of resources use a unified identifier), resource attachment information, etc.

[0055] In order to facilitate the classification and retrieval of different resources, the background of the above-mentioned resource console 100 is configured with resource type information, and corresponding resource types are defined for different resources of different cloud services. Therefore, the resource type information can also be referred to as the correspondence between resource types and cloud services. There may be multiple different resource types under one cloud service, and different resource types correspond to resources in different cloud services. Optionally, the resource type information may include the Chinese name of the resource type, the English abbreviation of the resource type (as an identifier of the resource type in the resource console 100), the unique identifier assigned to the resource type in the instance ES service, and the cloud service to which the resource type belongs (the identifier of the resource type in the search server 110). The resource type information is uniformly controlled by the project control service of the resource console 100, and the data in the corresponding instance ES service can be pulled according to the resource type information.

[0056] The development interface of the resource console 100 can support the following functions:

[0057] A. Query all resource data corresponding to all configured resource types under the project

[0058] The logic is as follows:

[0059] ① Get the list of identifiers of all resource types configured in the background in the instance ES service;

[0060] ② Pass in the UID (customer ID), project ID (project ID), and the ID list of all resource types in the instance ES service, call the instance ES service interface, and return the corresponding resource data.

[0061] B. Display resource data under the project and resource distribution quantity information according to statistical conditions (statistical conditions can be resource type, region or cloud service)

[0062] The logic is as follows:

[0063] Step 1: Get the list of all resource types configured in the background in the instance ES service;

[0064] Step 2: When the statistical condition is resource type, input the UID, project ID, and the identification list of all resource types in the instance ES service, call the instance ES service interface, return the corresponding resource data, and display the distribution quantity information of resource data by resource type;

[0065] Step 3: When the statistical condition is region, input the UID, project ID, and the identification list of all resource types in the instance ES service, call the instance ES service interface, return the corresponding resource data, and display the distribution quantity information of resource data by region;

[0066] Step 4: When the statistical condition is cloud service, the distribution quantity information by product line (i.e., cloud service) is summarized based on the cloud service to which the resource type belongs and the distribution quantity information by resource type obtained in step 2.

[0067] C. Support batch transfer of resources from one project to another across cloud services / regions

[0068] The logic is as follows:

[0069] Step 1: Get the list of resources that need to be transferred;

[0070] Step 2: Pass in the resource list and the target project ID to be transferred, call the instance ES service interface, and transfer the resources in the resource list to the target project ID.

[0071] Since resource grouping control is implemented in the resource console 100, the selected resource list is not restricted by product line / region, and resources under multiple cloud services and multiple regions can be transferred to a specified project in batches.

[0072] See also Figure 2 The schematic diagram of the project control function of a resource console shown in the figure, in addition to the project control function and the project member control function, the resource console 100 also has a project resource control function. Specifically, the project control function includes functions such as creating a new project, modifying a project, and deactivating / deleting a project, the project member control function includes functions such as adding project members and removing project members, the project resource control function includes functions such as querying / retrieving project resources, batch transferring resources in, and batch transferring resources out, and the querying / retrieval of project resources includes functions such as querying all resources under a project, querying resources under a specified cloud service, querying resources under a specified resource type, and querying resources under a specified area.

[0073] In summary, the resource grouping control system provided by the embodiment of the present invention has the following advantages:

[0074] (1) Supports cross-cloud service and cross-region resource retrieval and resource grouping, which is more convenient and faster;

[0075] (2) Only the resource type needs to be configured in the background to support the corresponding resources being pulled in the resource console 100 for project grouping control, without the need to develop a function that supports resource project grouping in the product console corresponding to the cloud service.

[0076] The embodiment of the present invention also provides a resource grouping control method, which is applied to the resource control console 100 mentioned above. Figure 3 The schematic diagram of a flow chart of a resource grouping control method shown in FIG. 1 mainly includes the following steps S302 to S306:

[0077] Step S302, when a query instruction carrying a target client identifier and a first project identifier is received, a target identifier list of all resource types corresponding to the target client identifier in the search server is determined according to a pre-configured correspondence between resource types and cloud services.

[0078] In some possible embodiments, the above-mentioned step S302 can be implemented through the following process: determining at least one target cloud service corresponding to the target customer identifier; searching for all resource types corresponding to at least one target cloud service in the correspondence between resource types and cloud services; generating a target identifier list, the target identifier list including each identifier of all resource types in the search server.

[0079] Step S304: sending a query request carrying the target customer identifier, the first project identifier and the target identifier list to a search server.

[0080] Step S306: receiving and displaying resource data returned by the search server based on the query request.

[0081] By applying the resource grouping control method provided by the embodiment of the present invention, the user can intuitively view all resources under the first project corresponding to the first project identifier through the resource console, which facilitates project resource query.

[0082] In some possible embodiments, the resource console 100 includes a batch transfer function, based on which the method further includes: when receiving first group modification information, generating a first group modification request carrying the first group modification information; wherein the first group modification information includes a first resource list and a second project identifier, and the first resource list includes a resource identifier of at least one resource in the resource data; sending the first group modification request to the search server, so as to transfer the first resources corresponding to each resource identifier in the first resource list from the first project corresponding to the first project identifier to the second project corresponding to the second project identifier through the search server.

[0083] In some possible embodiments, the resource console 100 includes a batch transfer function, based on which the method further includes: when receiving second group modification information, generating a second group modification request carrying the second group modification information; wherein the second group modification information includes a second resource list and a first project identifier, and the second resource list includes a resource identifier of at least one resource in the third project; sending the second group modification request to the search server, so as to transfer the second resources corresponding to each resource identifier in the second resource list from the third project to the first project corresponding to the first project identifier through the search server.

[0084] In some possible embodiments, the above-mentioned resource console 100 supports displaying resource distribution quantity information of resource data under the project according to statistical conditions, and the statistical conditions may be resource type, region or cloud service. Based on this, the above-mentioned method also includes: when the statistical conditions corresponding to the resource data are obtained, the resource quantity of the resource data is counted according to the statistical conditions to obtain the resource distribution quantity information of the resource data according to the statistical conditions; wherein the statistical conditions include resource type, region or cloud service; and the resource distribution quantity information is displayed.

[0085] Corresponding to the above-mentioned resource grouping control method, the embodiment of the present invention further provides a resource grouping control device. Figure 4 A schematic diagram of the structure of a resource grouping control device is shown, the device comprising:

[0086] The identification determination module 42 is used to determine the target identification list of all resource types corresponding to the target client identification in the search server according to the pre-configured correspondence between resource types and cloud services when receiving a query instruction carrying the target client identification and the first project identification;

[0087] A request sending module 44, configured to send a query request carrying a target client identifier, a first project identifier and a target identifier list to a search server;

[0088] The receiving and displaying module 46 is used to receive and display the resource data returned by the search server based on the query request.

[0089] By using the resource grouping control device provided by the embodiment of the present invention, a user can intuitively view all resources under the first project corresponding to the first project identifier through the resource console, thereby facilitating project resource query.

[0090] Optionally, the above-mentioned identification determination module 42 is specifically used to: determine at least one target cloud service corresponding to the target customer identification; in the correspondence between resource types and cloud services, search for all resource types corresponding to at least one target cloud service; generate a target identification list, the target identification list includes each identification of all resource types in the search server.

[0091] Optionally, the above-mentioned device also includes a group modification module connected to the above-mentioned receiving and displaying module 46, and the group modification module is used to: when receiving the first group modification information, generate a first group modification request carrying the first group modification information; wherein the first group modification information includes a first resource list and a second project identifier, and the first resource list includes a resource identifier of at least one resource in the resource data; send the first group modification request to the search server, so as to transfer the first resources corresponding to each resource identifier in the first resource list from the first project corresponding to the first project identifier to the second project corresponding to the second project identifier through the search server.

[0092] Optionally, the above-mentioned group modification module is also used to: when receiving second group modification information, generate a second group modification request carrying the second group modification information; wherein the second group modification information includes a second resource list and a first project identifier, and the second resource list includes a resource identifier of at least one resource in the third project; send the second group modification request to the search server, so as to transfer the second resources corresponding to each resource identifier in the second resource list from the third project to the first project corresponding to the first project identifier through the search server.

[0093] Optionally, the above-mentioned device also includes a statistical display module connected to the above-mentioned receiving and display module 46, and the statistical display module is used to: when the statistical conditions corresponding to the resource data are obtained, count the resource quantity of the resource data according to the statistical conditions, and obtain the resource distribution quantity information of the resource data according to the statistical conditions; wherein the statistical conditions include resource type, region or cloud service; and display the resource distribution quantity information.

[0094] The implementation principle and technical effects of the device provided in this embodiment are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0095] See also Figure 5 The embodiment of the present invention further provides a resource console 100, comprising: a processor 50, a memory 51, a bus 52 and a communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected via the bus 52; the processor 50 is used to execute an executable module stored in the memory 51, such as a computer program.

[0096] The memory 51 may include a random access memory (RAM) and may also include a non-volatile memory (NVM), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0097] The bus 52 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0098] Among them, the memory 51 is used to store programs, and the processor 50 executes the program after receiving the execution instruction. The method executed by the process definition device disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 50 or implemented by the processor 50.

[0099] The processor 50 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 50. The above processor 50 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the above method in combination with its hardware.

[0100] The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the resource grouping control method described in the above method embodiment is executed. The computer-readable storage medium includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0101] In all examples shown and described herein, any specific values ​​should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.

[0102] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0103] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0104] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0105] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A resource grouping control method, characterized in that: A resource console applied to a cloud platform, wherein the resource console is connected to a preset search server, wherein the search server is used to maintain the relationship between resources and projects, and the projects are the grouping results of resources; the method comprises: When receiving a query instruction carrying a target client identifier and a first project identifier, determining a target identifier list in the search server of all resource types corresponding to the target client identifier according to a pre-configured correspondence between resource types and cloud services; Sending a query request carrying the target customer identifier, the first project identifier and the target identifier list to the search server; receiving and displaying resource data returned by the search server based on the query request; The determining, according to the pre-configured correspondence between resource types and cloud services, a target identifier list of all resource types corresponding to the target client identifier in the search server includes: Determine at least one target cloud service corresponding to the target customer identifier; In the correspondence between the resource types and the cloud services, searching for all resource types corresponding to the at least one target cloud service; A target identification list is generated, wherein the target identification list includes identifications of all resource types in the search server.

2. The resource grouping control method according to claim 1, characterized in that: After receiving and displaying the resource data returned by the search server based on the query request, the method further includes: When receiving the first group modification information, generating a first group modification request carrying the first group modification information; wherein the first group modification information includes a first resource list and a second project identifier, and the first resource list includes a resource identifier of at least one resource in the resource data; The first group modification request is sent to the search server, so that the first resources corresponding to the resource identifiers in the first resource list are transferred from the first project corresponding to the first project identifier to the second project corresponding to the second project identifier through the search server.

3. The resource grouping control method according to claim 1, characterized in that: After receiving and displaying the resource data returned by the search server based on the query request, the method further includes: When receiving the second group modification information, generating a second group modification request carrying the second group modification information; wherein the second group modification information includes a second resource list and the first project identifier, and the second resource list includes a resource identifier of at least one resource in the third project; The second group modification request is sent to the search server, so that the second resources corresponding to the resource identifiers in the second resource list are transferred from the third project to the first project corresponding to the first project identifier through the search server.

4. The resource grouping control method according to claim 1, characterized in that: After receiving and displaying the resource data returned by the search server based on the query request, the method further includes: When a statistical condition corresponding to the resource data is obtained, statistics are performed on the resource data according to the statistical condition to obtain resource distribution quantity information of the resource data according to the statistical condition; wherein the statistical condition includes resource type, region or cloud service; Display the resource distribution quantity information.

5. A resource grouping control device, characterized in that: A resource console applied to a cloud platform, the resource console is connected to a preset search server, the search server is used to maintain the relationship between resources and projects, and the project is a grouping result of resources; the device includes: an identification determination module, configured to, when receiving a query instruction carrying a target client identification and a first project identification, determine a target identification list of all resource types corresponding to the target client identification in the search server according to a pre-configured correspondence between resource types and cloud services; A request sending module, used for sending a query request carrying the target customer identifier, the first project identifier and the target identifier list to the search server; A receiving and displaying module, used for receiving and displaying resource data returned by the search server based on the query request; The identification determination module is specifically used to: determine at least one target cloud service corresponding to the target customer identification; search for all resource types corresponding to the at least one target cloud service in the correspondence between the resource type and the cloud service; and generate a target identification list, which includes the individual identifications of all resource types in the search server.

6. The resource grouping control device according to claim 5, characterized in that: The device further comprises a group modification module, wherein the group modification module is configured to: When receiving the first group modification information, generating a first group modification request carrying the first group modification information; wherein the first group modification information includes a first resource list and a second project identifier, and the first resource list includes a resource identifier of at least one resource in the resource data; The first group modification request is sent to the search server, so that the first resources corresponding to the resource identifiers in the first resource list are transferred from the first project corresponding to the first project identifier to the second project corresponding to the second project identifier through the search server.

7. A resource console, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

8. A resource grouping control system, characterized in that: The method comprises the resource console as claimed in claim 7, and further comprises a search server connected to the resource console.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is performed.

Citation Information

Patent Citations

  • Method, apparatus, electronic device and computer-readable medium for reading resource data

    CN109471870A

  • Hybrid cloud resource data management method and device, equipment and medium

    CN112367370A