Project resource allocation method and device, equipment, storage medium and program product

By dynamically displaying the target resource quota and quota caps of multiple projects in the project quota interface, the problem of dynamic linkage of multiple projects in the existing technology is solved, and the efficiency of resource allocation and user experience are improved.

CN120029784APending Publication Date: 2025-05-23BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510185942.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-19
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing technology cannot realize dynamic linkage of multiple projects during the project quota allocation process, resulting in low resource allocation efficiency and cannot meet users' requirements for efficient resource allocation.

Method used

By displaying the project quota interface, responding to users' operations on project quota, dynamically displaying the target resource quota and quota upper limit of each project, realizing resource quota linkage between multiple projects.

Benefits of technology

It realizes that users can intuitively view resource quota changes between multiple projects, improving the efficiency and user experience of resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029784A_ABST
    Figure CN120029784A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, in particular to a project resource allocation method and device, equipment, a storage medium and a program product, and the method comprises the steps that in response to a resource allocation instruction for project adjustable resource quotas, a project quota interface is displayed, the total amount of the resource quotas corresponding to the plurality of projects is the project adjustable resource quota; and in response to quota operation on a plurality of first items contained in an adjusted area of the item quota interface, displaying target resource quotas of the first items and quota upper limits of a plurality of second items contained in an unadjusted area, the quota upper limits being obtained based on the target resource quotas and the item adjustable resource quotas. According to the method, linkage changes among the items can be visually seen, the resource quota change condition of each item is clear, and the multiple items are adjusted at the same time, so that the resource allocation efficiency of the whole platform is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, apparatus, device, storage medium and program product for allocating project resources. Background Art

[0002] With the continuous growth of business demands such as high-performance computing, the resource space in computer systems is constantly adjusted. On some service platforms, when faced with a large number of project quota allocations, how to make this allocation process more visual and rational has become an urgent problem to be solved.

[0003] In some related technologies, the quota is adjusted by manually clicking on each project. The quota allocation operation is relatively independent and cannot achieve dynamic linkage for multiple projects, resulting in the inability for users to intuitively view the resource quota changes between multiple projects. At the same time, since the resource allocation for each project is an independent operation and can only be modified one by one, the resource allocation efficiency of the entire platform is low, which cannot meet the user's requirements for efficient resource allocation and the allocation process is unreasonable. Summary of the invention

[0004] In view of this, the present disclosure provides a method, apparatus, device, storage medium and program product for project resource allocation to solve the problem that related technologies cannot achieve dynamic linkage for multiple projects during project quota allocation and have low quota allocation efficiency.

[0005] In a first aspect, the present disclosure provides a method for allocating project resources, the method comprising:

[0006] In response to a resource allocation instruction for the project adjustable resource quota, a project quota interface is displayed, wherein the project quota interface includes multiple projects, and the total amount of resource quotas corresponding to the multiple projects is the project adjustable resource quota;

[0007] In response to a quota operation on multiple first projects included in the adjusted area of ​​the project quota interface, the target resource quota of the first project and the quota cap of multiple second projects included in the unadjusted area are displayed, wherein the quota cap is obtained based on the target resource quota and the project adjustable resource quota.

[0008] In the disclosed embodiment, by using the terminal to respond to the resource allocation instruction for the adjustable resource quota of the project, the project quota interface is displayed; in response to the quota operation of multiple first projects contained in the adjusted area of ​​the project quota interface, the target resource quota of the first project and the quota upper limit of multiple second projects contained in the unadjusted area are displayed, so that the linkage changes between the various projects can be intuitively seen, and the resource quota changes of each project are clear. At the same time, the quota upper limit of each project is dynamically set, and the operable range of the quota of each project is dynamically displayed, which is convenient for users to complete subsequent resource allocation. In addition, since the disclosed embodiment can adjust multiple projects at the same time, the efficiency of resource allocation of the entire platform is improved, and the personal use experience is improved.

[0009] In a second aspect, the present disclosure provides a device for allocating project resources, the device comprising:

[0010] A first display module is used to display a project quota interface in response to a resource allocation instruction for a project adjustable resource quota, wherein the project quota interface includes multiple projects, and the total amount of resource quotas corresponding to the multiple projects is the project adjustable resource quota;

[0011] The second display module is used to display the target resource quota of the first project and the quota upper limit of the multiple second projects included in the unadjusted area in response to the quota operation of the multiple first projects included in the adjusted area of ​​the project quota interface, wherein the quota upper limit is obtained based on the target resource quota and the project adjustable resource quota.

[0012] In a third aspect, the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for project resource allocation of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0013] In a fourth aspect, the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for project resource allocation of the first aspect or any corresponding embodiment thereof.

[0014] In a fifth aspect, the present disclosure provides a computer program product, including computer instructions, which are used to enable a computer to execute the method for project resource allocation of the above-mentioned first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 is a flowchart of a method for allocating project resources according to an embodiment of the present disclosure;

[0017] Figure 2 is a schematic diagram of an allocation quota interface according to an embodiment of the present disclosure;

[0018] Figure 3 is a schematic diagram of an interface for opening a project quota according to an embodiment of the present disclosure;

[0019] Figure 4 is another schematic diagram of an interface for opening a project quota according to an embodiment of the present disclosure;

[0020] Figure 5 is a schematic diagram of another interface for opening a project quota according to an embodiment of the present disclosure;

[0021] Figure 6 is another schematic diagram of an interface for opening a project quota according to an embodiment of the present disclosure;

[0022] Figure 7 is a schematic diagram of the project quota interface partition according to an embodiment of the present disclosure;

[0023] Figure 8 is a structural block diagram of a device for project resource allocation according to an embodiment of the present disclosure;

[0024] Fig. 9 It is a schematic diagram of the hardware structure of the computer device of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0026] Some large model service platforms provide a full range of platform functions and services such as large model fine-tuning, evaluation, and reasoning for individuals and enterprises, and focus on supporting the large model ecosystem. Among them, quota allocation is a basic function for users to use the platform.

[0027] Currently, in order to make the quota resource allocation of each project more reasonable, users usually open it to users with corresponding permissions according to the project type. However, in the specific allocation process, users are required to manually click to adjust the quota for each project, and only support resource division for a certain project, and do not support secondary allocation of project-level quotas, resulting in the entire quota allocation operation being relatively independent, unable to achieve dynamic linkage for multiple projects, and low allocation efficiency.

[0028] In order to solve the above problems, according to an embodiment of the present disclosure, a method embodiment of project resource allocation is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] In this embodiment, a method for allocating project resources is provided, such as Figure 1 As shown, Figure 1 : is a flowchart of a method for project resource allocation according to an embodiment of the present disclosure. The method can be applied to a terminal side of a project resource allocation platform. The method flow includes the following steps:

[0030] Step S101, in response to a resource allocation instruction for a project adjustable resource quota, a project quota interface is displayed, wherein the project quota interface includes a plurality of projects, and the total amount of resource quotas corresponding to the plurality of projects is the project adjustable resource quota.

[0031] Optionally, in the disclosed embodiment, there are multiple accounts for the project resource allocation platform, and different accounts can set multiple projects, and the total quota of all projects included in the same account is fixed to 100%. Currently, it is necessary to set a reasonable ratio for each project under the same account. At this time, the user can adjust the quota ratio of each project according to the actual needs of each project, for example, project A needs 20%, project B needs 30%, and project C needs 50%.

[0032] For the server of the project resource allocation platform, users can send resource allocation instructions to the server by clicking on the terminal (such as a mobile phone, tablet or computer, etc.). The terminal will respond to the resource allocation instruction, so that the terminal enters the project resource allocation initialization and displays the project quota interface on the terminal. The project quota interface can be found in Figure 2 .

[0033] Figure 2The project adjustable resource quota is displayed, such as 10,000 quota resources, and multiple projects are displayed, such as the default project, project A, project B, and project C. It should be noted that the default project here can be understood as a project that must exist on the current platform and cannot be removed. If there are no other projects, the project adjustable resource quota can be allocated to the default project. Project A, project B, and project C are independent projects. There may be a certain relationship between these projects, or there may be no relationship between them. There is no limitation on this.

[0034] In addition, the total amount of resource quotas corresponding to all projects in the project quota interface is the project adjustable resource quota (i.e. 10,000).

[0035] Step S102, in response to a quota operation on multiple first projects included in the adjusted area of ​​the project quota interface, displays the target resource quota of the first project and the quota upper limit of multiple second projects included in the unadjusted area, wherein the quota upper limit is obtained based on the target resource quota and the project adjustable resource quota.

[0036] Alternatively, if Figure 3 As shown in the figure, after the project quota is enabled, the backend server will adjust the quota of each project to an editable state, so that users can adjust the quota of each project. Figure 3 It can be concluded that the current project quota interface consists of two parts, one is the adjusted area (including the default project), and the other is the unadjusted area (including Project A, Project B, and Project C).

[0037] For the terminal, the terminal will respond to the quota operation on multiple first items (such as default items) included in the adjusted area, and then display the target resource quota of the first item, see Figure 3 , the target resource quota of the default project is 1500. For multiple second projects in the unadjusted area (i.e., Project A, Project B, Project C) that do not have resource quotas, the current terminal will display their quota caps. It should be noted that the quota cap here is obtained by subtracting the target resource quota from the project's adjustable resource quota. For example, if the target resource quota is 1500, for Project A, Project B, and Project C, the quota cap is 8500.

[0038] It should be explained that in the embodiment of the present disclosure, the adjusted area and the unadjusted area are not static, and they will flexibly change the displayed content as the user operates the quota of each project. Figure 4As shown in the figure, the adjusted areas in the project quota interface include the default project and project A, and the unadjusted areas include project B and project C. The target resource quota set by the user for the default project is 1500, so the quota upper limit of project A, project B, and project C is 8500. If the target resource quota is set for project A, for example, 3000, then the quota upper limit of project B and project C is changed from 8500 to 10000-(1500+3000)=5500.

[0039] Similarly, if a target resource quota is set for project B, the quota cap for project C will also be adjusted. Therefore, for multiple projects, when one of them is adjusted, it can be dynamically linked to other projects and the changes in other projects can be observed.

[0040] In the disclosed embodiment, by using the terminal to respond to the resource allocation instruction for the adjustable resource quota of the project, the project quota interface is displayed; in response to the quota operation of multiple first projects contained in the adjusted area of ​​the project quota interface, the target resource quota of the first project and the quota upper limit of multiple second projects contained in the unadjusted area are displayed, so that the linkage changes between the various projects can be intuitively seen, and the resource quota changes of each project are clear. At the same time, the quota upper limit of each project is dynamically set, and the operable range of the quota of each project is dynamically displayed, which is convenient for users to complete subsequent resource allocation. In addition, since the disclosed embodiment can adjust multiple projects at the same time, the efficiency of resource allocation of the entire platform is improved, and the personal use experience is improved.

[0041] In some optional implementations, the project quota interface displays adjustment controls in the corresponding adjusted area and unadjusted area, and the above step S102 includes:

[0042] Step a1, in response to a first interactive operation on an adjustment control in an adjusted area, determining and displaying a target resource quota;

[0043] Step a2: based on the target resource quota and the project adjustable resource quota, obtain and display the quota upper limit of the second project in the unadjusted area.

[0044] Optionally, in the embodiment of the present disclosure, Figure 2-Figure 6 The controls used to adjust quotas in the Figure 2-Figure 6 The slider can be a control of other styles, and the draggable component on the slider can be a circle or other shapes.

[0045] In this way, users can adjust the project quota by sliding or dragging the adjustment control. Figure 3-Figure 6 , with adjustment controls displayed in both the adjusted and unadjusted areas.

[0046] The terminal determines and displays the target resource quota in response to the first interaction operation between the user and the adjustment control, and then displays the quota upper limit of each project in the unadjusted area on the terminal interface based on the target resource quota and the project adjustable resource quota.

[0047] In the disclosed embodiment, the terminal visually displays the allocation of quotas under multiple projects in response to the user's interactive operation with the adjustment control, thereby facilitating subsequent project management.

[0048] In some optional implementations, the project quota interface displays input controls in the corresponding adjusted area and unadjusted area, and the above step S102 includes:

[0049] Step b1, in response to a first interactive operation on an adjustment control in an adjusted area, determining and displaying a target resource quota;

[0050] Step b2: based on the target resource quota and the project adjustable resource quota, obtain and display the quota upper limit of the second project in the unadjusted area.

[0051] Optionally, in the embodiment of the present disclosure, if Figure 2-Figure 6 In the project quota interface, there is also an input control, which plays the same role as the adjustment control, and is used to allocate resource quotas. However, the two have different ways of implementing resource quota allocation.

[0052] Specifically, the input control writes a specific quota value in the input box, so that the terminal responds to the second interaction operation between the user and the input control, determines the specific input value, obtains the target resource quota, and then displays the target resource quota on the terminal. Thereafter, based on the target resource quota and the project adjustable resource quota, the quota upper limit of each project in the unadjusted area is displayed on the terminal interface.

[0053] like Figure 3-Figure 6 , with input controls displayed in both the adjusted and unadjusted areas.

[0054] In the disclosed embodiment, the terminal visually displays the allocation of quotas under multiple projects in response to the user's interactive operation with the input control, thereby facilitating subsequent project management.

[0055] In some optional embodiments, the method further comprises:

[0056] In response to the first interactive operation, when the target resource quota is greater than the quota upper limit, a first error message is displayed; when the target resource quota is less than the effective quota, a second error message is displayed and the adjustment control is positioned to the position corresponding to the effective quota.

[0057] or,

[0058] In response to the second interactive operation, when the target resource quota is greater than the quota upper limit, a first error message is displayed; when the target resource quota is less than the effective quota target resource, a second error message is displayed and the input value is changed to the effective quota.

[0059] Alternatively, if Figure 5 As shown, since the user sets a quota upper limit (which can be understood as the maximum value) when setting resource quotas for projects in the project quota interface, during the allocation process, if the allocated target resource quota is greater than the quota upper limit, an error will be reported and the first error message will be displayed on the terminal interface: Exceeding the maximum value.

[0060] In addition, some projects have already used a certain amount of quota before allocation. In order not to affect online business, the allocation must not be less than the effective quota (which can be understood as the minimum value). At this time, if the target resource quota is less than the effective quota, an error will be reported, and the second error message will be displayed on the terminal interface: less than the minimum value. At the same time, in order to prevent users from making mistakes again, the adjustment control will be positioned to the corresponding position of the effective quota or the input value will be changed to the effective quota, so that users can intuitively see that the currently set resource quota cannot be less than this value.

[0061] In the disclosed embodiment, the terminal dynamically displays the operable range of each item's quota in response to interactive operations, which is more vivid and easier for users to understand. At the same time, effective prompts are provided during the quota adjustment process, allowing users to intuitively see the prompt information and improve efficiency.

[0062] In some optional embodiments, the method further comprises:

[0063] In response to the second interactive operation, when the input value is a value in a non-standard format, a third error message is displayed.

[0064] Alternatively, if Figure 5 As shown, when entering a value into the input box, if the input value is in a non-standard format, such as a negative number, fraction, decimal, etc., the third error message will be displayed, prompting: The input value type is incorrect.

[0065] In some optional embodiments, the method further comprises:

[0066] In response to the second interaction operation, displaying elastically scrollable selectable numbers at the input control;

[0067] In response to a selection operation on the elastically scrollable selectable number, a target resource quota is displayed.

[0068] Optionally, when the user enters a value in the input box of the input control, an elastically scrollable optional number may be displayed at the input control of the terminal, such as Figure 5As shown. The user can scroll up and down to select the number to achieve accurate input of the value. The terminal responds to the user's selection operation on the selected number, and then obtains the final target resource quota.

[0069] In the disclosed embodiment, accurate allocation of resource quota is achieved by selecting elastically scrolling optional numbers.

[0070] In some optional embodiments, the method further comprises:

[0071] In response to the triggering operation of the first function shortcut control of the project quota interface, other resource quotas are evenly divided into resource quotas corresponding to all projects, and the evenly divided project quota interface is displayed, wherein the other resource quotas are resource quotas other than the target resource quota in the project adjustable resource quotas;

[0072] In response to the triggering operation on the second function shortcut control of the project quota interface, the target resource quota is modified to an initial value, and the modified project quota interface is displayed.

[0073] Alternatively, if Figure 2-Figure 6 , there are function shortcut keys on the project quota interface for realizing quick functions. For example, after the user selects the first function shortcut key (i.e. one-key equalization), the backend server will calculate the other resource quotas except the target resource quota in the project adjustable resource quota, and then evenly distribute the other resource quotas to the quotas of all projects in the project quota interface. In this way, the terminal displays the project quota interface in which other resource quotas are evenly distributed to the quotas of each project.

[0074] The user can also select the second function shortcut control (i.e. restore default) of the project quota interface. After selecting this control, the background server will modify the allocated target resource quota to the initial value, so that the terminal displays the fully initialized project quota interface.

[0075] It should be noted that the function shortcut controls displayed on the project quota interface include but are not limited to the first function shortcut control and the second function shortcut control mentioned above.

[0076] In the embodiments of the present disclosure, various function shortcut controls are provided to achieve efficient and quick operations.

[0077] In some optional embodiments, the method further comprises:

[0078] Dynamically displays the area ratio between the visualization style of the target resource quota and the visualization style of the project's adjustable resource quota.

[0079] Optionally, in order to more intuitively display the ratio of the allocated target resource quota to the project adjustable resource quota, you can set a visualization style for the target resource quota and the project adjustable resource quota, such as using different filled lines to represent each target resource quota and project adjustable resource quota, or using different colors to represent each target resource quota and project adjustable resource quota. Figure 3-Figure 6 In the figure, different filled lines are used to represent each target resource quota and project adjustable resource quota. Then, the target resource quota and project adjustable resource quota are placed in the same container, and the area ratio of each target resource quota to the project adjustable resource quota is used to indicate the ratio of each target resource quota to the project adjustable resource quota.

[0080] Since the adjusted area is constantly changing, the target resource quota is also dynamic, so the area ratio of each target resource quota to the project's adjustable resource quota should also be dynamic.

[0081] In the embodiment of the present disclosure, the visualization style of the target resource quota and the project adjustable resource quota setting is used to display the distribution ratio of the allocated quota to the total quota, which is more vivid and easy to understand.

[0082] In some optional embodiments, the method further comprises:

[0083] In response to the calculation instruction of the project resource quota utilization, the resource quota utilization of the first project is displayed, wherein the resource quota utilization is a ratio between the target resource quota and the actually used resources.

[0084] Optionally, the backend server can also obtain the ratio between the target resource quota of each allocated project (i.e., the first project) and the actual used resources to obtain the project resource quota utilization rate. At this time, the terminal will respond to the server's project resource quota utilization rate calculation instruction and display the resource quota utilization rate of the first project on the project quota interface.

[0085] In addition, the resource quota utilization of the first project can also be displayed below the visualization style of the target resource quota of each first project. For details, see Figure 4 This makes it easier for users to understand the quota utilization of each first project and facilitate targeted adjustments later. For example, when allocating resources later, you can allocate fewer resources to first projects with lower utilization rates and allocate more resources to first projects with higher utilization rates.

[0086] In the disclosed embodiment, by displaying the utilization rate of project resource quota, the user can quickly understand the usage of each first project, which has a higher reference significance for the subsequent quota allocation.

[0087] In some optional embodiments, the method further comprises:

[0088] In response to the first interactive operation, when the adjustable resource quota of the project is an empty set, a prompt is given that resources cannot be allocated.

[0089] In response to the second interactive operation, when the adjustable resource quota of the project is an empty set, a prompt is given that resources cannot be allocated.

[0090] Optionally, after the terminal responds to the first interactive operation (i.e., interacting with the adjustment control) or after the terminal responds to the second interactive operation (i.e., interacting with the input control), if the project adjustable resource quota is an empty set, it is considered that there are currently no allocable resources, and an unallocatable resource is prompted in the unallocated area.

[0091] like Figure 6 , when the target resource quota of the default project is 1500, the target resource quota of Project A is 3000, and the target resource quota of Project B is 5500, there will be no resources to allocate to Project C.

[0092] Furthermore, in order to ensure that all projects on the platform can run normally, the disclosed embodiment can release a certain amount of resources from projects that are more closely related to Project C for use by Project C, such as releasing 500 quotas from Project A to Project C, allowing Project C to run first.

[0093] In some optional embodiments, the method further comprises:

[0094] In response to a resource sharing instruction for multiple projects in a shared area of ​​a project quota interface, a page for each project to grab a shared resource quota within a preset time period is displayed.

[0095] Optionally, in the embodiment of the present disclosure, if Figure 7 , the project quota interface is divided into shared areas and exclusive areas. Among them, the exclusive area refers to the exclusive resources allocated to each project. For these exclusive resources, only the allocated projects can occupy them alone, and it does not matter whether they are used up. At this time, how to allocate resources to each project can be referred to the contents of the above embodiments, which will not be repeated here. For the shared area, for example, there are 500 quotas, and each project is allowed to grab them (the grab here can be fair grab, or it can give certain projects a higher weight to grab based on the current actual situation), so as to achieve the purpose of each project grabbing shared resources in a preset time period (such as 8 o'clock in the evening).

[0096] For the terminal, the shared area can display the specific situation of each project occupying the shared resource quota. Figure 7 .

[0097] In the embodiment of the present disclosure, the project quota interface is partitioned, and each area executes its own logic, thereby enhancing the diversity of the interface display.

[0098] In this embodiment, a device for project resource allocation is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0099] This embodiment provides a device for allocating project resources, such as Figure 8 As shown, including:

[0100] The first display module 801 is used to display a project quota interface in response to a resource allocation instruction for a project adjustable resource quota, wherein the project quota interface includes multiple projects, and the total amount of resource quotas corresponding to the multiple projects is the project adjustable resource quota;

[0101] The second display module 802 is used to display the target resource quota of the first project and the quota upper limit of the multiple second projects included in the unadjusted area in response to the quota operation on the multiple first projects included in the adjusted area of ​​the project quota interface, wherein the quota upper limit is obtained based on the target resource quota and the project adjustable resource quota.

[0102] In some optional embodiments, the project quota interface displays adjustment controls in the corresponding adjusted area and unadjusted area, and the second display module 802 is used to determine and display the target resource quota in response to a first interactive operation on the adjustment control in the adjusted area; based on the target resource quota and the project adjustable resource quota, obtain and display the quota upper limit of the second project in the unadjusted area.

[0103] In some optional embodiments, the device further comprises:

[0104] The third display module is used to respond to the first interactive operation, and when the target resource quota is greater than the quota upper limit, display the first error message; when the target resource quota is less than the effective quota, display the second error message and position the adjustment control to the corresponding position of the effective quota.

[0105] In some optional embodiments, the project quota interface displays input controls in the corresponding adjusted area and unadjusted area, and the second display module 802 is used to determine and display the target resource quota in response to a second interactive operation on the input control in the adjusted area; based on the target resource quota and the project adjustable resource quota, obtain and display the quota upper limit of the second project in the unadjusted area.

[0106] In some optional embodiments, the device further comprises:

[0107] The fourth display module is used to respond to the second interactive operation, and when the target resource quota is greater than the quota upper limit, display the first error message; when the target resource quota is less than the effective quota target resource, display the second error message and change the input value to the effective quota.

[0108] In some optional embodiments, the device further comprises:

[0109] The fifth display module is used to display a third error message in response to the second interactive operation when the input value is a value in a non-standard format.

[0110] In some optional embodiments, the device further comprises:

[0111] A sixth display module, configured to display elastically scrollable selectable numbers at the input control in response to the second interactive operation;

[0112] The seventh display module is used to display the target resource quota in response to the selection operation of the elastically scrolled optional number.

[0113] In some optional embodiments, the device further comprises:

[0114] an eighth display module, for responding to the triggering operation of the first function shortcut control of the project quota interface, evenly dividing other resource quotas into the resource quotas corresponding to all projects, and displaying the evenly divided project quota interface, wherein the other resource quotas are the resource quotas in the adjustable resource quotas of the project excluding the target resource quota;

[0115] The ninth display module is used to modify the target resource quota to the initial value and display the modified project quota interface in response to the triggering operation of the second function shortcut control of the project quota interface.

[0116] In some optional embodiments, the device further comprises:

[0117] The tenth display module is used to dynamically display the area ratio between the visualization style of the target resource quota and the visualization style of the project adjustable resource quota.

[0118] In some optional embodiments, the device further comprises:

[0119] An eleventh display module is used to display the resource quota utilization of the first project in response to the calculation instruction of the project resource quota utilization, wherein the resource quota utilization is the ratio between the target resource quota and the actually used resources.

[0120] In some optional embodiments, the device further comprises:

[0121] A twelfth display module is used to, in response to the first interactive operation, prompt that resources cannot be allocated when the adjustable resource quota of the project is an empty set.

[0122] In some optional embodiments, the device further comprises:

[0123] The thirteenth display module is used to respond to the second interactive operation and, when the adjustable resource quota of the project is an empty set, prompt that resources cannot be allocated.

[0124] In some optional embodiments, the device further comprises:

[0125] A fourteenth display module is used for displaying a page of each project grabbing the shared resource quota within a preset time period in response to a resource sharing instruction for multiple projects in the sharing area of ​​the project quota interface.

[0126] The device for allocating project resources in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0127] The present disclosure also provides a computer device having the above Figure 8 The means of allocating project resources is shown.

[0128] See also Fig. 9 , Fig. 9 is a schematic diagram of a computer device provided by an optional embodiment of the present disclosure, such as Fig. 9 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig. 9 A processor 10 is taken as an example.

[0129] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0130] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0131] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0132] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0133] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0134] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium and downloaded through a network, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0135] A part of the present disclosure may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present disclosure through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.

[0136] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for allocating project resources, characterized in that: The method comprises: In response to a resource allocation instruction for the project adjustable resource quota, a project quota interface is displayed, wherein the project quota interface includes a plurality of projects, and the total amount of resource quotas corresponding to the plurality of projects is the project adjustable resource quota; In response to a quota operation on multiple first projects contained in the adjusted area of ​​the project quota interface, the target resource quota of the first projects and the quota upper limit of multiple second projects contained in the unadjusted area are displayed, wherein the quota upper limit is obtained based on the target resource quota and the adjustable resource quota of the project.

2. The method according to claim 1, characterized in that The project quota interface displays adjustment controls in the corresponding adjusted area and unadjusted area, and in response to the quota operation on the first projects in the adjusted area of ​​the project quota interface, displays the target resource quota of the first projects and the quota upper limit of the second projects in the unadjusted area, including: In response to a first interactive operation on the adjustment control within the adjusted area, determining and displaying the target resource quota; Based on the target resource quota and the project adjustable resource quota, the quota upper limit of the second project in the unadjusted area is obtained and displayed.

3. The method according to claim 2, characterized in that The method further comprises: In response to the first interactive operation, when the target resource quota is greater than the quota upper limit, a first error message is displayed; when the target resource quota is less than the effective quota, a second error message is displayed and the adjustment control is positioned to a position corresponding to the effective quota.

4. The method according to claim 1, characterized in that: The project quota interface displays input controls in the corresponding adjusted area and unadjusted area, and in response to the quota operation on the first projects in the adjusted area of ​​the project quota interface, displays the target resource quota of the first projects and the quota upper limits of the second projects in the unadjusted area, including: In response to a second interactive operation on the input control within the adjusted area, determining and displaying the target resource quota; Based on the target resource quota and the project adjustable resource quota, the quota upper limit of the second project in the unadjusted area is obtained and displayed.

5. The method according to claim 4, characterized in that The method further comprises: In response to the second interactive operation, if the target resource quota is greater than the quota upper limit, a first error message is displayed; if the target resource quota is less than the effective quota target resource, a second error message is displayed and the input value is changed to the effective quota.

6. The method according to claim 5, characterized in that The method further comprises: In response to the second interactive operation, when the input value is a value in a non-standard format, a third error message is displayed.

7. The method according to claim 5, characterized in that The method further comprises: In response to the second interaction operation, displaying elastically scrollable selectable numbers at the input control; In response to a selection operation on the elastically scrolled optional number, the target resource quota is displayed.

8. The method according to claim 1, characterized in that: The method further comprises: In response to a triggering operation on the first function shortcut control of the project quota interface, other resource quotas are evenly divided into resource quotas corresponding to all projects, and the evenly divided project quota interface is displayed, wherein the other resource quotas are resource quotas in the adjustable resource quotas of the project excluding the target resource quota; In response to a triggering operation on a second function shortcut control of the project quota interface, the target resource quota is modified to an initial value, and the modified project quota interface is displayed.

9. The method according to claim 1, characterized in that: The method further comprises: The area ratio between the visualization style of the target resource quota and the visualization style of the project adjustable resource quota is dynamically displayed.

10. The method according to claim 1 or 9, characterized in that: The method further comprises: In response to the calculation instruction of the project resource quota utilization, the resource quota utilization of the first project is displayed, wherein the resource quota utilization is a ratio between the target resource quota and the actually used resources.

11. The method according to claim 3, characterized in that The method further comprises: In response to the first interactive operation, when the adjustable resource quota of the project is an empty set, a prompt is given that resources cannot be allocated.

12. The method according to claim 5, characterized in that The method further comprises: In response to the second interactive operation, when the adjustable resource quota of the project is an empty set, a prompt is given that resources cannot be allocated.

13. The method according to claim 1, characterized in that The method further comprises: In response to a resource sharing instruction for multiple projects in a shared area of ​​the project quota interface, a page for each project to grab a shared resource quota within a preset time period is displayed.

14. A device for allocating project resources, characterized in that: The device comprises: A first display module is used to display a project quota interface in response to a resource allocation instruction for a project adjustable resource quota, wherein the project quota interface includes a plurality of projects, and the total amount of resource quotas corresponding to the plurality of projects is the project adjustable resource quota; A second display module is used to display the target resource quota of the first projects and the quota upper limit of the second projects included in the unadjusted area in response to the quota operation on the first projects included in the adjusted area of ​​the project quota interface, wherein the quota upper limit is obtained based on the target resource quota and the adjustable resource quota of the project.

15. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for project resource allocation according to any one of claims 1 to 13 by executing the computer instructions.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the project resource allocation method according to any one of claims 1 to 13.

17. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method for allocating project resources according to any one of claims 1 to 13.