Resource allocation methods, devices, electronic equipment and storage media

By configuring resources and selecting resource allocation modules through a visual interface, the problem of untimely resource supply was solved, enabling rapid and flexible resource allocation and delivery, and reducing development and maintenance costs.

CN115586959BActive Publication Date: 2026-11-10CHINA CONSTRUCTION BANK +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211186403.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2026-11-10
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In existing technologies, the delivery of specific resources involves a long development and delivery process, a long optimization and change cycle, and untimely resource supply. In particular, when an application system is put into production and launched, it can take several months from the discussion of resource supply and demand to the development, testing, and launch of functions, resulting in slow resource delivery and wasted personnel.

Method used

Configure allocable resources through a visual page, obtain the resource allocation function module, and generate a resource allocation process in response to selection operations to achieve resource allocation.

Benefits of technology

It provides a flexible and efficient resource allocation method. Users can configure resource types and functional modules through a visual page, quickly assemble the resource allocation process, improve the efficiency of resource allocation and supply, reduce development and maintenance costs, and support fast and flexible resource allocation and delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115586959B_ABST
    Figure CN115586959B_ABST
Patent Text Reader

Abstract

This disclosure provides a resource allocation method, apparatus, electronic device, and storage medium, which can be applied to the field of resource management technology. The method includes: configuring allocable resources through a visual page, wherein the allocable resources include multiple types of allocable sub-resources; obtaining at least one resource allocation function module configured for the allocable resources, wherein the resource allocation function module is used to implement resource allocation operations related to the allocable resources; in response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function module, generating a resource allocation process according to the target resource allocation function module; and in response to receiving a selection operation for a target resource allocation process within the resource allocation process, performing resource allocation according to the target resource allocation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of resource management technology, and in particular to a resource allocation method, apparatus, electronic device and storage medium. Background Technology

[0002] As businesses across various sectors develop, the number of applications and components in each system increases, leading to a growing demand for the infrastructure upon which these systems rely, such as servers, network equipment, and storage devices. Considering data privacy and data volume, it is generally advisable to build a highly secure and large-scale private cloud for these application systems.

[0003] Due to the large number of application systems and the complex relationships between them, the underlying environments of each system vary. Therefore, typical cloud management platforms address specific resource allocation issues by developing solutions tailored to the environmental requirements of each project. However, currently, the delivery of specific resources, from initial proposal to fulfillment of requirements, suffers from lengthy development and delivery processes, long optimization and change cycles, and untimely resource provisioning. Summary of the Invention

[0004] In view of the above problems, this disclosure provides a resource allocation method, apparatus, electronic device and storage medium.

[0005] According to a first aspect of this disclosure, a resource allocation method is provided, comprising: configuring allocable resources through a visual page, wherein the allocable resources include multiple types of allocable sub-resources; obtaining at least one resource allocation function module configured for the allocable resources, wherein the resource allocation function module is used to implement resource allocation operations related to the allocable resources; in response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function module, generating a resource allocation process according to the target resource allocation function module; and in response to receiving a selection operation for a target resource allocation process in the resource allocation process, performing resource allocation according to the target resource allocation process.

[0006] A second aspect of this disclosure provides a resource allocation apparatus, comprising: a configuration module for configuring allocable resources via a visual page, wherein the allocable resources include multiple types of allocable sub-resources; an acquisition module for acquiring at least one resource allocation function module configured for the allocable resources, wherein the resource allocation function module is used to implement resource allocation operations related to the allocable resources; a first generation module for generating a resource allocation process according to the target resource allocation function module in response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function module; and an allocation module for performing resource allocation according to the target resource allocation process in response to receiving a selection operation for a target resource allocation process in the resource allocation process.

[0007] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the resource allocation method described in this disclosure.

[0008] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the resource allocation method described in this disclosure.

[0009] A fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the resource allocation method described in this disclosure.

[0010] According to the resource allocation method, apparatus, electronic device, and storage medium provided in this disclosure, allocable resources, including various types of allocable sub-resources, can be configured through a visual page. At least one resource allocation function module configured for the allocable resources is obtained. The resource allocation function module is used to implement resource allocation operations related to the allocable resources. In response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function module, a resource allocation process is generated based on the target resource allocation function module. And in response to receiving a selection operation for a target resource allocation process within the resource allocation process, resource allocation is performed based on the target resource allocation process. This proposes a flexible and efficient supply process assembly mode. Since allocable resources can be configured through a visual page, and a resource allocation process can be generated by selecting a resource allocation function module, and resource allocation can be completed according to the selected target resource allocation process, users only need to configure resource types through the visual page, decompose the resource demand required for resource supply into granular minimum units, and assemble them into a resource allocation process. This effectively realizes a fast and flexible resource allocation method between various systems and can effectively improve resource allocation and supply efficiency. Attached Figure Description

[0011] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0012] Figure 1 This diagram illustrates an application scenario of the resource allocation method according to an embodiment of the present disclosure.

[0013] Figure 2 A flowchart illustrating a resource allocation method according to an embodiment of the present disclosure is shown schematically;

[0014] Figure 3 A flowchart illustrating the configuration resource allocation rules according to an embodiment of this disclosure is shown schematically;

[0015] Figure 4 A schematic block diagram of a resource allocation apparatus according to an embodiment of the present disclosure is shown; and

[0016] Figure 5 A block diagram of an electronic device suitable for implementing a resource allocation method according to an embodiment of the present disclosure is shown schematically. Detailed Implementation

[0017] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0018] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0019] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0020] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0021] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of data (such as user personal information, but not limited to this) comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals.

[0022] In the process of realizing the present invention, the inventors discovered that when an application system needs new and specific resources to be put into production and launched, it takes at least several months from discussing the resource supply and demand to developing and testing the functions and launching them. This standard process greatly slows down the speed of resource delivery and also causes a waste of project personnel.

[0023] Embodiments of this disclosure provide a resource allocation method, apparatus, electronic device, and storage medium. The resource allocation method includes: configuring allocable resources through a visual page, wherein the allocable resources include multiple types of allocable sub-resources; obtaining at least one resource allocation function module configured for the allocable resources, wherein the resource allocation function module is used to implement resource allocation operations related to the allocable resources; in response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function module, generating a resource allocation process according to the target resource allocation function module; and in response to receiving a selection operation for a target resource allocation process in the resource allocation process, performing resource allocation according to the target resource allocation process.

[0024] Figure 1 The diagram illustrates an application scenario of the resource allocation method according to an embodiment of the present disclosure.

[0025] like Figure 1 As shown, application scenario 100 according to this embodiment may include terminal devices 101, 102, and 103, network 104, and server 105. Network 104 is used as a medium to provide a communication link between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0026] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0027] Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0028] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using terminal devices 101, 102, and 103 (for example only). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0029] It should be noted that the resource allocation method provided in this embodiment can generally be executed by server 105. Correspondingly, the resource allocation device provided in this embodiment can generally be located in server 105. The resource allocation method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105. Correspondingly, the resource allocation device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105.

[0030] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0031] The following will be based on Figure 1 The described scene, through Figures 2-5 The resource allocation method of the disclosed embodiments will be described in detail.

[0032] Figure 2 A flowchart illustrating a resource allocation method according to an embodiment of the present disclosure is shown schematically.

[0033] like Figure 2 As shown, the resource allocation method in this embodiment includes operations S210~S240.

[0034] When operating S210, allocable resources are configured through a visual page, which includes various types of allocable sub-resources.

[0035] According to embodiments of this disclosure, allocatable resources may include various computer hardware and software resources that can be used to provide functions such as storage, computing, and communication, such as CPU (Central Processing Unit), memory, and network resources. Each category of resources can define a type of sub-resource. Allocatable sub-resources can represent sub-resources that are in an idle state.

[0036] According to embodiments of this disclosure, the relevant information of the allocatable resources can first be configured on a visualization page for configuring resource information, based on existing allocatable resources. Then, resource allocation operations can be configured on the page to complete subsequent resource allocation functions.

[0037] It should be noted that users can perform operations such as adding, deleting, modifying, and querying existing resource types on the visualization page.

[0038] In operation S220, at least one resource allocation function module configured for the allocable resources is obtained, wherein the resource allocation function module is used to implement resource allocation operations related to the allocable resources.

[0039] According to embodiments of this disclosure, users can configure corresponding resource allocation operations for allocable resources on a visual page. For example, they can configure physical machines in a specific region, configure an IP address (Internet Protocol) for a specific network region, and define a resource allocation function module. The operations corresponding to each resource allocation function module can be associated with the underlying implementation logic, enabling the corresponding resource allocation function to be completed based on the underlying logic when the user selects the appropriate resource allocation function module.

[0040] It should be noted that users can perform operations such as adding, deleting, modifying, and querying the configured resource allocation function modules on the visual page.

[0041] In operation S230, in response to receiving a selection operation for a target resource allocation function module among at least one resource allocation function module, a resource allocation process is generated based on the target resource allocation function module.

[0042] According to embodiments of this disclosure, after configuring the resource allocation function modules on the visualization page, the user can select one or more target resource allocation function modules on the visualization page to construct a resource allocation process. This process may include: sequentially selecting target resource allocation function modules and automatically generating a resource allocation process according to the selection order. It may also include: randomly selecting target resource allocation function modules, with the user determining the relationships between each resource allocation function module, and determining the resource allocation process based on these relationships. Furthermore, it may include: pre-configuring at least one process orchestration framework, which may include at least one node. Then, the user selects a target resource allocation function module and determines the node to be selected in the process orchestration framework. In response to receiving a selection operation for a target resource allocation function module and a selection operation for a target node in the target process orchestration framework of the at least one process orchestration framework, the target resource allocation function module is configured at the target node, thereby determining the resource allocation process based on the target resource allocation function module and the target process orchestration framework.

[0043] It should be noted that users can add, modify, and delete workflow orchestration frameworks on the visual page, including adding, modifying, and deleting orchestration titles, orchestration types, etc.

[0044] According to embodiments of this disclosure, the configuration of a resource allocation process may further include configuring multiple resource allocation processes to operate in series or in parallel. During the configuration of the resource allocation process, users can also add or delete target resource allocation function modules from existing resource allocation processes.

[0045] In operation S240, in response to receiving a selection operation for the target resource allocation process in the resource allocation process, resource allocation is performed according to the target resource allocation process.

[0046] According to embodiments of this disclosure, after configuring the resource allocation process, the user can select the desired target resource allocation process on a visual page. Then, the resource allocation process corresponding to the target resource allocation process can be completed through automated execution.

[0047] It should be noted that the visualization page for configuring allocable resources, the visualization page for configuring the resource allocation function module, the visualization page for selecting the target resource allocation function module, the visualization page for configuring the process orchestration framework, and the visualization page for selecting the target resource allocation process can be the same page or different pages.

[0048] Through the above embodiments of this disclosure, a flexible and efficient supply process assembly mode is proposed. Since allocable resources can be configured through a visual page, and a resource allocation process can be generated by selecting a resource allocation function module, and resource allocation can be completed according to the selected target resource allocation process, users only need to configure the resource types through the visual page, decompose the resource demand required for resource supply into the smallest particle units, and assemble them into a resource allocation process. This effectively realizes a fast and flexible resource allocation method between various systems and can effectively improve the efficiency of resource allocation and supply.

[0049] The following describes specific embodiments. Figure 2 The method shown will be further explained.

[0050] According to embodiments of this disclosure, the above operation S220 may include: in response to receiving a selection operation for a target allocable sub-resource of a target type, determining at least one resource allocation function sub-module pre-configured for the target allocable sub-resource; and in response to receiving a selection operation for a target resource allocation function sub-module, obtaining the resource allocation function module corresponding to the target resource allocation function sub-module.

[0051] According to embodiments of this disclosure, users can select the resource type to be defined in a PC browser and configure various types of allocatable sub-resources and corresponding resource allocation function sub-modules on a visual page to meet the needs of different infrastructure types.

[0052] After completing the above operations, the user can select a target allocable sub-resource on the visualization page, which will then display the configured resource allocation function sub-modules related to that target allocable sub-resource. The user can then select another target resource allocation function sub-module on this page to obtain the desired resource allocation function module.

[0053] According to embodiments of this disclosure, the above operation S220 may further include: generating a first test result in response to receiving a test operation for the target resource allocation function submodule; and generating a first adjustment module in response to determining that the first test result indicates test failure, so that the user can adjust the functional information of the target resource allocation function submodule based on the first adjustment module.

[0054] According to embodiments of this disclosure, a first test module can also be configured in the visualization page. For resource allocation function sub-modules already configured in the visualization page, users can click the first test module to test whether the resource allocation process of the corresponding resource allocation function sub-module can be executed correctly. If it can be executed normally, a first test result indicating successful testing can be displayed in the visualization page. If it cannot be executed normally, a first test result indicating error information can be displayed in detail in the visualization page, and a first adjustment module can be generated to facilitate users in adjusting the functional information of the resource allocation function sub-module and troubleshooting problems in the resource allocation function sub-module at the granularity of resource allocation operations.

[0055] It should be noted that the user's selected allocation mode, allocation operation, and related underlying implementation logic can all be displayed and modified on the visualization page.

[0056] The embodiments disclosed herein provide users with a configurable and efficient method for defining resource allocation operations in scenarios with complex resource requirements, helping users quickly implement particle-based resource allocation definitions. This includes providing users with visually configurable resource functions to facilitate rapid particle-based resource allocation operations. Resource allocation types can be defined, and real-time resource allocation testing functionality is provided. Based on this, users can select different resource types and resource allocation operations, and can also perform operability tests on the resource allocation operations.

[0057] According to embodiments of this disclosure, after completing the above-described operation S230 and before performing the above-described operation S240, the process may further include: generating a second test result in response to receiving a test operation for the target resource allocation process; and generating a second adjustment module in response to determining that the second test result indicates test failure, so that the user can adjust the target resource allocation process based on the second adjustment module.

[0058] According to embodiments of this disclosure, a second test module can also be configured in the visualization page. For a resource allocation process already configured in the visualization page, the user can click the second test module to test whether the corresponding resource allocation process can be executed correctly. If it can be executed normally, a second test result indicating successful execution can be displayed in the visualization page. If it cannot be executed normally, a second test result indicating error information can be displayed in detail in the visualization page, and a second adjustment module can be generated to facilitate the user in troubleshooting problems in the resource allocation process.

[0059] It should be noted that both the first and second test results can include test results related to the allocation process and status of the resource allocation procedure. Configuration information and allocation status information for the resource allocation procedure can be displayed on the visualization page.

[0060] The above embodiments of this disclosure can provide users with a visual and configurable resource allocation process. Combined with the function of real-time testing of the resource allocation process, it can help users quickly configure and allocate specific resource allocation needs.

[0061] According to embodiments of this disclosure, after completing operation S230 and before performing operation S240, the process may further include: in response to receiving a selection operation for at least one resource allocation dimension module, determining a resource allocation scenario module associated with the at least one resource allocation dimension module, wherein the resource allocation dimension module is used to associate resources of different ranges, and the resource allocation scenario module corresponds to a scenario name; in response to receiving an association operation between the resource allocation scenario module and the resource allocation process, determining resource allocation rules; in response to receiving a selection operation for a target scenario name, determining the target resource corresponding to the target scenario name according to the resource allocation rules; and performing a resource allocation operation on the resource allocation process corresponding to the target scenario name according to the target resource.

[0062] According to embodiments of this disclosure, users can configure resource allocation dimensions in a visualization page. This can include configuration of various dimensions such as region, resource pool, environment, sub-environment, physical subsystem, and other business attributes. Through this operation, a resource allocation dimension module for associating resources of different ranges can be constructed.

[0063] According to embodiments of this disclosure, after configuring the resource allocation dimension modules on the visualization page, users can configure and name resource allocation scenarios based on different combinations of the configured resource allocation dimension modules on the visualization page. This operation allows the construction of resource allocation scenario modules. Different combinations of resource allocation dimension modules can correspond to different resource allocation scenario modules.

[0064] According to embodiments of this disclosure, after configuring resource allocation scenario modules on a visualization page, users can associate the configured resource allocation scenario modules with resource allocation processes on the visualization page, thereby forming resource allocation rules. Based on the principle that the correspondence between scenarios and processes can be many-to-one, multiple different resource allocation scenario modules can be associated with the same resource allocation process.

[0065] According to embodiments of this disclosure, resources are often divided into specific resource pools due to differences in region and availability. Different applications may require different resource pools. After configuring resource allocation rules on the visualization page, resource allocation operations can be performed based on the target resources corresponding to each scenario.

[0066] It should be noted that users can perform operations such as adding, deleting, modifying, and querying on at least one of the configured resource allocation dimension modules and their related attribute information, resource allocation scenario modules and their related attribute information, and resource allocation rules on the visualization page.

[0067] Through the above embodiments of this disclosure, a visual resource rule definition function can be provided to users, which can meet various complex resource demand business scenarios, such as multiple IPs and different types of storage. It provides a fast and flexible resource allocation method between systems, so that users can define different allocation rules for different scenarios when facing various complex application resource demands, and achieve reasonable resource planning and resource utilization.

[0068] According to an embodiment of this disclosure, the above operation S240 may include: in response to determining that the resource allocation amount of the first available resource is greater than or equal to the resource allocation amount of the first resource to be allocated corresponding to the target resource allocation process, allocating resources to the first resource to be allocated based on the first available resource. The resource type of the first available resource is the same as the resource type of the first resource to be allocated.

[0069] According to embodiments of this disclosure, after a user selects the desired target resource allocation process based on a visual page, the resource allocation process corresponding to the target resource allocation process can be automatically implemented. After the resource allocation process is completed, the resource information of the first available resource corresponding to the first resource to be allocated can be found according to the resource allocation list. Then, based on the resource allocation amount consumed by the first resource to be allocated, the resource information of the corresponding first available resource can be deducted to update the resource information of the first available resource in the visual page in real time. The resource information may include at least one of the following: remaining quantity information, status information, allocation details information, etc., and is not limited to these.

[0070] According to embodiments of this disclosure, the above operation S240 may further include: in response to determining that the resource allocation amount of the second available resource is less than the resource allocation amount of the second resource to be allocated corresponding to the target resource allocation process, generating a rollback module, wherein the resource type of the second available resource is the same as the resource type of the second resource to be allocated. In response to receiving a user's selection operation for the rollback module, releasing the allocated resources in the second available resource corresponding to the second resource to be allocated.

[0071] According to embodiments of this disclosure, a rollback module can be generated if the resource allocation process corresponding to the automated implementation of the target resource allocation procedure is interrupted or fails due to insufficient resources. The rollback module can be used to release pre-allocated resources when resource supply cannot be completed due to external reasons. For example, a user can select the rollback module to roll back pre-allocated or already allocated resources corresponding to a second resource to be allocated.

[0072] Through the above embodiments of this disclosure, the resource allocation results can be revoked during the resource allocation process, and the resource allocation results can be viewed, manually modified, and resource information updated in real time. This allows users to intuitively control the process and status of resource allocation on a visual page, improving the user experience.

[0073] Figure 3 A flowchart illustrating the configuration resource allocation rules according to an embodiment of this disclosure is shown.

[0074] like Figure 3 As shown, the method includes operations S301 to S311.

[0075] In operation S301, determine the resource type for which resources can be allocated.

[0076] In operation S302, configure the resource allocation function module for each type of allocable resource.

[0077] In operation S303, test whether the resource allocation operation corresponding to the resource allocation function module can be executed successfully. If not, proceed to operation S304; if yes, proceed to operations S305~S306.

[0078] In operation S304, the functional information of the resource allocation module is adjusted.

[0079] According to the embodiments of this disclosure, operations S301 to S304 can correspond to operations S210 to S220 and their related implementation processes described above, and will not be repeated here.

[0080] According to embodiments of this disclosure, if it is determined based on operation S303 that the resource allocation operation corresponding to the resource allocation function module can be successfully executed, the system can enter a pre-launch state. Users can then execute operations S305-S306 in this pre-launch state, where all resource allocation operations can be successfully executed.

[0081] When operating S305, configure the resource allocation process according to the resource allocation function module.

[0082] In operation S306, test whether the resource allocation process can be executed successfully. If not, proceed to operation S307; if yes, proceed to operations S308~S311.

[0083] In operation S307, the resource allocation process was adjusted.

[0084] According to the embodiments of this disclosure, operation S305 can correspond to operation S230 described above, and operations S306 to S307 can correspond to the relevant implementation process of the test resource allocation process described above, which will not be repeated here.

[0085] According to embodiments of this disclosure, if it is determined based on operation S306 that the resource allocation process can be successfully executed, the system can enter the online state. The online state indicates that the resource allocation process in this state can be formally implemented in the private cloud provisioning process. Users can execute operations S308 to S311 in the online state where the resource allocation process can be successfully executed.

[0086] When operating S308, configure the resource allocation dimension module.

[0087] When operating S309, configure the resource allocation scenario module according to the resource allocation dimension module.

[0088] When operating S310, establish the relationship between the resource allocation scenario module and the resource allocation process to form resource allocation rules.

[0089] According to the embodiments of this disclosure, operations S308 to S310 can correspond to the relevant implementation process of determining resource allocation rules described above, and will not be repeated here.

[0090] In operation S311, a resource allocation operation is performed, and if the resource allocation operation cannot be performed normally, a resource rollback operation is performed.

[0091] According to the embodiments of this disclosure, operation S311 can correspond to the resource allocation process described above, and will not be repeated here.

[0092] The embodiments described above provide a fast, flexible, and configurable resource allocation and delivery solution. Through a visual interface, system administrators are provided with functions for defining resource allocation rules and quickly configuring resource allocation, meeting the private cloud resource allocation needs of large commercial banks in various complex business scenarios. Furthermore, configurable operation significantly reduces the development workload of resource provisioning and minimizes code modifications required when business needs change, reducing operational costs and eliminating reliance on deployment change points for resource allocation requirements. It also enables efficient and rapid handling of problems arising during resource allocation.

[0093] Based on the above resource allocation method, this disclosure also provides a resource allocation device. The following will be combined with... Figure 4 The device is described in detail.

[0094] Figure 4 A schematic block diagram of a resource allocation apparatus according to an embodiment of the present disclosure is shown.

[0095] like Figure 4 As shown, the resource allocation device 400 of this embodiment includes a configuration module 410, an acquisition module 420, a first generation module 430, and an allocation module 440.

[0096] The configuration module 410 is used to configure allocable resources through a visual page, wherein the allocable resources include various types of allocable sub-resources. In one embodiment, the configuration module 410 can be used to perform the operation S210 described above, which will not be repeated here.

[0097] The acquisition module 420 is used to acquire at least one resource allocation function module configured for the allocatable resource, wherein the resource allocation function module is used to implement resource allocation operations related to the allocatable resource. In one embodiment, the acquisition module 420 can be used to execute the operation S220 described above, which will not be repeated here.

[0098] The first generation module 430 is configured to, in response to receiving a selection operation for a target resource allocation function module among at least one resource allocation function module, generate a resource allocation process based on the target resource allocation function module. In one embodiment, the generation module 430 may be used to perform the operation S230 described above, which will not be repeated here.

[0099] The allocation module 440 is used to respond to receiving a selection operation for a target resource allocation process in the resource allocation process, and to perform resource allocation according to the target resource allocation process. In one embodiment, the allocation module 440 can be used to perform the operation S240 described above, which will not be repeated here.

[0100] According to embodiments of this disclosure, the acquisition module 420 includes a determining unit and an acquiring unit.

[0101] A determining unit is configured to, in response to receiving a selection operation for a target allocable sub-resource of a target type, determine at least one resource allocation function sub-module pre-configured for the target allocable sub-resource.

[0102] The obtaining unit is used to obtain the resource allocation function module corresponding to the target resource allocation function module in response to receiving a selection operation for the target resource allocation function submodule.

[0103] According to embodiments of this disclosure, the acquisition module 420 further includes a first generation unit and a second generation unit.

[0104] The first generation unit is used to generate a first test result in response to receiving a test operation for the target resource allocation function submodule.

[0105] The second generation unit is used to generate a first adjustment module in response to the information that the first test result indicates a test failure, so that the user can adjust the functional information of the target resource allocation function submodule based on the first adjustment module.

[0106] According to embodiments of this disclosure, the resource allocation device 400 further includes a second generation module and a third generation module.

[0107] The second generation module is used to generate a second test result in response to receiving a test operation for the target resource allocation process.

[0108] The third generation module is used to generate a second adjustment module in response to the information that the second test result indicates test failure, so that the user can adjust the target resource allocation process based on the second adjustment module.

[0109] According to embodiments of this disclosure, the resource allocation device 400 further includes a first determining module, a second determining module, a third determining module, and an execution module.

[0110] The first determining module is used to determine the resource allocation scenario module associated with the at least one resource allocation dimension module in response to receiving a selection operation for at least one resource allocation dimension module, wherein the resource allocation dimension module is used to associate resources of different ranges, and the resource allocation scenario module corresponds to a scenario name.

[0111] The second determining module is used to determine resource allocation rules in response to receiving associated operations for the resource allocation scenario module and resource allocation process.

[0112] The third determination module is used to respond to the received selection operation for the target scene name and determine the target resource corresponding to the target scene name according to the resource allocation rules.

[0113] The execution module is used to perform resource allocation operations on the resource allocation process corresponding to the target scene name based on the target resource.

[0114] According to embodiments of this disclosure, the allocation module 440 includes an allocation unit.

[0115] The allocation unit is configured to, in response to determining that the resource allocation amount of the first available resource is greater than or equal to the resource allocation amount of the first resource to be allocated corresponding to the target resource allocation process, allocate resources to the first resource to be allocated based on the first available resource, wherein the resource type of the first available resource is the same as the resource type of the first resource to be allocated.

[0116] According to embodiments of this disclosure, the allocation module 440 includes a third generation unit and a release unit.

[0117] The third generation unit is used to generate a rollback module in response to determining that the resource allocation amount of the second available resource is less than the resource allocation amount of the second resource to be allocated corresponding to the target resource allocation process, wherein the resource type of the second available resource is the same as the resource type of the second resource to be allocated.

[0118] The release unit is used to release the allocated resources corresponding to the second unallocated resources in the second available resources in response to receiving the user's selection operation for the rollback module.

[0119] According to embodiments of this disclosure, any plurality of modules among the configuration module 410, acquisition module 420, first generation module 430, and allocation module 440 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the configuration module 410, acquisition module 420, first generation module 430, and allocation module 440 may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging circuitry, or implemented in hardware or firmware, or in any one of software, hardware, and firmware implementations, or in a suitable combination of any of these. Alternatively, at least one of the configuration module 410, the acquisition module 420, the first generation module 430, and the allocation module 440 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.

[0120] Figure 5 A block diagram of an electronic device suitable for implementing a resource allocation method according to an embodiment of the present disclosure is shown schematically.

[0121] like Figure 5As shown, an electronic device 500 according to an embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage portion 508 into a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0122] RAM 503 stores various programs and data required for the operation of electronic device 500. Processor 501, ROM 502, and RAM 503 are interconnected via bus 504. Processor 501 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 502 and / or RAM 503. It should be noted that the programs may also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.

[0123] According to embodiments of this disclosure, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to a bus 504. The electronic device 500 may also include one or more of the following components connected to the I / O interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 510 as needed so that computer programs read from it can be installed into the storage section 508 as needed.

[0124] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0125] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 502 and / or RAM 503 and / or one or more memories other than ROM 502 and RAM 503 described above.

[0126] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the resource allocation method provided in the embodiments of this disclosure.

[0127] When the computer program is executed by the processor 501, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0128] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 509, and / or installed from a removable medium 511. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0129] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by processor 501, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0130] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0131] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0132] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0133] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A resource allocation method, comprising: Allocable resources can be configured through a visual page, wherein the allocable resources include various types of allocable sub-resources, and the visual page is configured with a first test module and a resource allocation function sub-module corresponding to the allocable sub-resources; Obtain at least one resource allocation function module configured for the allocatable resource, wherein the resource allocation function module is used to implement resource allocation operations related to the allocatable resource; In response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function modules, a resource allocation process is generated according to the target resource allocation function module; In response to receiving a selection operation for a target resource allocation process in the resource allocation process, resource allocation is performed according to the target resource allocation process; in: In response to receiving a user's selection operation for a target allocable sub-resource, the configured resource allocation function sub-modules related to the target allocable sub-resource are displayed on the visualization page; In response to receiving a test operation for the target resource allocation function submodule, a first test result is displayed on the visualization page, wherein the test operation is generated in response to the user clicking on the first test module; In response to the information that the first test result indicates a test failure, a first adjustment module is generated so that the user can adjust the functional information of the target resource allocation function submodule based on the first adjustment module.

2. The method according to claim 1, wherein, The step of obtaining at least one resource allocation function module configured for the allocable resources includes: In response to receiving a selection operation for a target allocable sub-resource of a target type, at least one resource allocation function sub-module pre-configured for the target allocable sub-resource is determined; and In response to receiving a selection operation for a target resource allocation function submodule, the resource allocation function module corresponding to the target resource allocation function submodule is obtained.

3. The method according to claim 1, further comprising: In response to receiving a test operation for the target resource allocation process, a second test result is generated; as well as In response to the information that the second test result indicates a test failure, a second adjustment module is generated so that the user can adjust the target resource allocation process based on the second adjustment module.

4. The method according to claim 1, further comprising: In response to receiving a selection operation for at least one resource allocation dimension module, a resource allocation scenario module associated with the at least one resource allocation dimension module is determined, wherein the resource allocation dimension module is used to associate resources of different ranges, and the resource allocation scenario module corresponds to a scenario name; In response to receiving associated operations for the resource allocation scenario module and resource allocation process, determine the resource allocation rules; In response to receiving a selection operation for a target scene name, the target resource corresponding to the target scene name is determined according to the resource allocation rules; and Based on the target resource, perform resource allocation operations on the resource allocation process corresponding to the target scene name.

5. The method according to any one of claims 1-4, wherein, The resource allocation according to the target resource allocation process includes: In response to determining that the resource allocation amount of the first available resource is greater than or equal to the resource allocation amount of the first resource to be allocated corresponding to the target resource allocation process, resource allocation is performed on the first resource to be allocated based on the first available resource, wherein the resource type of the first available resource is the same as the resource type of the first resource to be allocated.

6. The method according to any one of claims 1-4, wherein, The resource allocation according to the target resource allocation process includes: In response to determining that the resource allocation amount of the second available resource is less than the resource allocation amount of the second resource to be allocated corresponding to the target resource allocation process, a rollback module is generated, wherein the resource type of the second available resource is the same as the resource type of the second resource to be allocated; and In response to receiving a user's selection operation for the rollback module, the allocated resources corresponding to the second available resources and the second resource to be allocated are released.

7. A resource allocation device, comprising: A configuration module is used to configure allocable resources through a visual page. The allocable resources include various types of allocable sub-resources. The visual page is configured with a first test module and a resource allocation function sub-module corresponding to the allocable sub-resources. The acquisition module is used to acquire at least one resource allocation function module configured for the allocatable resource, wherein the resource allocation function module is used to implement resource allocation operations related to the allocatable resource; The first generation module is configured to, in response to receiving a selection operation for a target resource allocation function module among the at least one resource allocation function modules, generate a resource allocation process according to the target resource allocation function module; The allocation module is configured to respond to receiving a selection operation for a target resource allocation process in the resource allocation process, and to allocate resources according to the target resource allocation process; The device is also used for: In response to receiving a user's selection operation for a target allocable sub-resource, the configured resource allocation function sub-modules related to the target allocable sub-resource are displayed on the visualization page; In response to receiving a test operation for the target resource allocation function submodule, a first test result is displayed on the visualization page, wherein the test operation is generated in response to the user clicking on the first test module; In response to the information that the first test result indicates a test failure, a first adjustment module is generated so that the user can adjust the functional information of the target resource allocation function submodule based on the first adjustment module.

8. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 6.

10. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Network resource co-allocation method and device, and Internet network

    CN103905340A

  • Resource distribution method and apparatus

    CN105827539A

  • Resource calling method and device, electronic equipment and computer readable storage medium

    CN114253734A