Resource processing methods and apparatus

By sending users' resource acquisition requests to multiple supply channels through the cloud computing data center, and selecting the target resource supply solution based on resource demand scenarios and evaluation models, the problem of resource shortages is solved, and resource utilization and user experience are improved.

CN113986527BActive Publication Date: 2025-12-02ALIBABA (CHINA) CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111129724.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-26
Publication Date
2025-12-02
Estimated Expiration
2041-09-26

AI Technical Summary

Technical Problem

Cloud computing data centers are prone to resource shortages during peak periods of demand. Existing technologies cannot effectively allocate limited resources, resulting in low resource utilization and a poor user experience when purchasing resources.

Method used

By sending users' resource acquisition requests to at least two supply channels, receiving the resource availability and waiting time from each channel, determining the evaluation mode based on the resource demand scenario, and using a preset scoring algorithm to select the target resource supply scheme from the initial scheme, resource allocation is optimized.

Benefits of technology

It improved resource utilization, provided accurate resource purchasing suggestions, and enhanced the user's resource purchasing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986527B_ABST
    Figure CN113986527B_ABST
Patent Text Reader

Abstract

This specification provides a resource processing method and apparatus. The resource processing method includes sending a user's resource acquisition request to at least two supply channels, wherein the resource acquisition request carries resource parameters; receiving the resource availability quantity and resource waiting time returned by each supply channel, wherein the resource availability quantity and resource waiting time satisfy the resource parameters; determining a resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request; determining at least one initial resource supply scheme based on the resource evaluation mode, the resource availability quantity, and the resource waiting time; and determining a target resource supply scheme from the at least one initial resource supply scheme based on a preset scoring algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments in this specification relate to the field of computer technology, and in particular to a resource processing method. Background Technology

[0002] With the gradual development of cloud computing technology, its application in various fields is becoming increasingly widespread. However, the number of physical machines contained in a cloud computing data center is ultimately limited, and its operating costs are relatively high. The energy consumption within a large cloud computing data center is also considerable. Because users' project load peaks and off-peak times follow the same tidal distribution, resource shortages and purchase failures can easily occur during peak periods. Therefore, how to effectively allocate the limited resources of a cloud computing data center according to different user needs during peak periods, thereby improving resource utilization and the user's resource purchasing experience, is a pressing technical problem that needs to be solved. Summary of the Invention

[0003] In view of the above, embodiments of this specification provide a resource processing method. One or more embodiments of this specification also relate to a resource processing apparatus, a computing device, and a computer-readable storage medium to address technical deficiencies in the prior art.

[0004] According to a first aspect of the embodiments of this specification, a resource processing method is provided, comprising:

[0005] Send the user's resource acquisition request to at least two supply channels, wherein the resource acquisition request carries resource parameters;

[0006] Receive the resource availability quantity and resource waiting time returned by each supply channel, wherein the resource availability quantity and resource waiting time satisfy the resource parameters;

[0007] Determine the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request;

[0008] At least one initial resource supply plan is determined based on the resource assessment model, the required resource quantity, and the resource waiting time.

[0009] The target resource supply scheme is determined from the at least one initial resource supply scheme based on a preset scoring algorithm.

[0010] According to a second aspect of the embodiments of this specification, a resource processing apparatus is provided, comprising:

[0011] The request sending module is configured to send a user's resource acquisition request to at least two supply channels, wherein the resource acquisition request carries resource parameters;

[0012] The resource receiving module is configured to receive the resource availability quantity and resource waiting time returned by each supply channel, wherein the resource availability quantity and resource waiting time satisfy the resource parameters;

[0013] The evaluation mode determination module is configured to determine the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request.

[0014] The initial solution acquisition module is configured to determine at least one initial resource supply solution based on the resource evaluation mode, the resource availability quantity, and the resource waiting time.

[0015] The target solution acquisition module is configured to determine the target resource supply solution from the at least one initial resource supply solution based on a preset scoring algorithm.

[0016] According to a third aspect of the embodiments of this specification, a computing device is provided, comprising:

[0017] Memory and processor;

[0018] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the resource processing method described above.

[0019] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the steps of the resource processing method described above.

[0020] One embodiment of this specification implements a resource processing method and apparatus, wherein the resource processing method includes sending a user's resource acquisition request to at least two supply channels, wherein the resource acquisition request carries resource parameters; receiving the resource availability quantity and resource waiting time returned by each supply channel, wherein the resource availability quantity and resource waiting time satisfy the resource parameters; determining a resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request; determining at least one initial resource supply scheme based on the resource evaluation mode, the resource availability quantity, and the resource waiting time; and determining a target resource supply scheme from the at least one initial resource supply scheme based on a preset scoring algorithm.

[0021] Specifically, the resource processing method can match a better resource supply plan for the user based on the resource acquisition request sent by the user, the resource evaluation mode, the resource availability returned by the supply channel, and the resource waiting time. This ensures that when resources are scarce, the user can assess the availability of resources, receive accurate resource purchase suggestions, and improve the user's resource purchase experience. Attached Figure Description

[0022] Figure 1 This is a flowchart illustrating a resource processing method provided in one embodiment of this specification;

[0023] Figure 2 This is a flowchart illustrating the processing procedure of a resource processing method provided in one embodiment of this specification.

[0024] Figure 3 This is a schematic diagram of the processing procedure of a resource processing method provided in one embodiment of this specification;

[0025] Figure 4 This is a schematic diagram of the structure of a resource processing device provided in one embodiment of this specification;

[0026] Figure 5 This is a structural block diagram of a computing device provided in one embodiment of this specification. Detailed Implementation

[0027] Many specific details are set forth in the following description to provide a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar extensions without departing from the spirit of this specification. Therefore, this specification is not limited to the specific implementations disclosed below.

[0028] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of this specification. The singular forms “a,” “described,” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0029] It should be understood that although the terms first, second, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first may also be referred to as second without departing from the scope of one or more embodiments of this specification, and similarly, second may also be referred to as first. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0030] First, the terms and concepts used in one or more embodiments of this specification will be explained.

[0031] Cloud server: ECS, Elastic Compute Service.

[0032] Filter: A filter that filters out other substances.

[0033] Score: a scoring system.

[0034] Weight: Weight selector.

[0035] To address the aforementioned technical issues, solutions can be automatically matched based on user needs in terms of time and quantity, or solutions can be predicted based on historical resource data. However, the automatic matching method based on user needs in terms of time and quantity has significant limitations and cannot meet the diverse needs of users in various scenarios. Customers need to communicate and interact multiple times to obtain a satisfactory solution. On the other hand, the method of predicting solutions based on historical resource data has significant variations in prediction accuracy, and users cannot obtain a definitive result.

[0036] Based on this, a resource processing method is provided in this specification. This specification also relates to a resource processing apparatus, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments.

[0037] See Figure 1 , Figure 1 A flowchart of a resource processing method according to an embodiment of this specification is shown, which specifically includes the following steps.

[0038] Step 102: Send the user's resource acquisition request to at least two supply channels, wherein the resource acquisition request carries resource parameters.

[0039] Specifically, the resource processing method provided in the embodiments of this specification is applied to a cloud platform, such as a cloud server. Therefore, when the resource processing method is applied to a cloud platform, the resource can be understood as cloud resource (such as a cloud server). However, this does not preclude the possibility that the resource processing method of this solution can be applied to other feasible scenarios. For example, it can be used to select suitable disk space for the user.

[0040] For ease of understanding, the embodiments in this specification all use the application of resource processing methods to cloud servers on cloud platforms, with cloud resources as an example for detailed explanation.

[0041] The resource parameters include resource location, resource type, resource quantity, and / or resource demand time. When the resource is a cloud resource, resource location can be understood as the location of the cloud resource, such as city A, city B, or city C. Resource type can be understood as the collection of external processing capabilities of the cloud resource, such as dedicated and / or shared access, computational power, etc., and these parameters are packaged into a resource type. Resource quantity can be understood as the number of servers that can provide the resource. Resource demand time can be understood as the maximum resource waiting time, such as a maximum waiting time of 60 minutes.

[0042] Specifically, sending a user's resource acquisition request to at least two supply channels can be understood as receiving the user's resource acquisition request and sending the user's resource acquisition request to at least two supply channels respectively.

[0043] Receiving resource acquisition requests from users can be understood as the evaluation engine in the cloud server receiving resource acquisition requests sent by users for cloud resources. These requests include information such as the desired server location, server type, number of servers needed, and / or the maximum waiting time. The resource parameters carried in the request, such as resource location, resource type, resource quantity, and / or resource demand time, can be set according to the user's actual needs. Users can select one, two, or more resource parameters.

[0044] In practical applications, in interactive scenarios, receiving resource acquisition requests sent by users can be understood as the evaluation engine in the cloud server receiving the resource acquisition request generated by the user's operation interface on the cloud platform after registration, based on resource parameters such as the selected resource location, resource type, resource quantity, and / or resource demand time.

[0045] After receiving a resource acquisition request from a user, the evaluation engine sends the request to each of the at least two supply channels. Each supply channel can then return the number of allocable resources and the resource waiting time based on the resource parameters carried in the request, such as resource location, resource type, resource quantity, and / or resource demand time.

[0046] Specifically, after receiving a resource acquisition request from a user, the evaluation engine sends the resource acquisition request and the aforementioned resource parameters carried in the request to at least two supply channels, so as to subsequently receive the resource availability quantity and resource waiting time returned by each supply channel that meet the resource location, resource type, resource quantity and / or resource demand time, etc.

[0047] In this context, supply channels can be understood as resource supply channels, i.e., channels that can provide available servers. Different supply channels will provide available servers (resources) through different resource supply rules. For example, supply channel 1 can provide resources using resource conversion and switching rules, supply channel 2 can provide resources using resource release rules, and supply channel 3 can provide resources using resource reserve rules, etc. Specifically, resource conversion and switching rules can be understood as converting other types of resources into the type of resources required by users for their use; resource release rules can be understood as releasing sold resources to users for their use at a cost; and resource reserve rules can be understood as making reserve resources available to users for a preset time.

[0048] Step 104: Receive the resource fulfillment quantity and resource waiting time returned by each supply channel, wherein the resource fulfillment quantity and resource waiting time satisfy the resource parameters.

[0049] Specifically, after the evaluation engine sends a resource acquisition request carrying resource parameters to each supply channel, each supply channel will return the number of resources it can allocate to the user and the resource waiting time based on the resource parameters. For example, if resource channel A can release 3 servers to the user after 1 hour, then 1 hour can be understood as the resource waiting time and 3 servers can be understood as the number of resources available.

[0050] In practical applications, each supply channel will iterate through each resource parameter and return the number of resources that satisfy each resource parameter and the resource waiting time. When the evaluation engine sends a resource acquisition request to at least two supply channels, at least two supply channels can return the number of resources that satisfy each resource parameter and are available to the user, as well as the resource waiting time. Subsequently, the number of resources that satisfy each resource parameter and are available to the user, as well as the resource waiting time returned by at least two supply channels, can be combined to form multiple initial resource supply schemes for subsequent scheme selection.

[0051] Step 106: Determine the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request.

[0052] Specifically, determining the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request includes:

[0053] Based on the user's attribute information and resource acquisition needs carried in the resource acquisition request, the resource acquisition request is evaluated to determine the corresponding resource demand scenario;

[0054] The resource assessment model is determined based on the resource demand scenario.

[0055] The user's attribute information includes, but is not limited to, the user's registered account and account level on the cloud platform; the resource acquisition requirements can be set according to the user's actual situation. For example, the user may send a resource acquisition request when switching to a standby machine to recover from a failure, which means that the resource acquisition requirement is an emergency failure resource acquisition requirement.

[0056] In the case where the user's attribute information is that the account level is high and the resource acquisition requirement is an urgent failure, then the resource acquisition request can be evaluated based on the user's attribute information and resource acquisition requirement carried in the resource acquisition request. This can be determined as an urgent resource demand scenario, and finally, the resource evaluation mode can be determined based on this urgent resource demand scenario.

[0057] Specifically, the resource assessment modes include deterministic mode, time mode, quantity mode, delivery batch mode, and / or priority mode. Deterministic mode can be understood as 100% certainty (default) or percentage certainty mode; time mode can be understood as automatic cancellation upon expiration (default) or willingness to wait indefinitely (1-2 weeks); quantity mode can be understood as fixed quantity mode (default), minimum quantity, or best-effort mode; delivery mode can be understood as one-time delivery mode (default) or batch delivery mode; priority mode can be understood as prepaid mode (default), pay-as-you-go mode, SPOT mode, or fault-response mode. In practice, resource assessment modes are not limited to the above; other resource assessment modes can also be used, and the default options are not fixed and can be adjusted randomly according to actual conditions. The above description is only an example.

[0058] In practical applications, the evaluation engine can select the default resource evaluation mode based on the resource demand scenario, and then generate at least one initial resource supply plan by combining the resource availability and resource waiting time. For example, the default resource evaluation modes are: time mode and quantity mode.

[0059] In practical implementation, when the resource demand scenario is a normal resource demand scenario without urgent failures, the evaluation engine can choose a time model, quantity model, etc. However, when the resource demand scenario is an urgent resource demand scenario, the evaluation engine may choose a time model, quantity model, or priority model, that is, increase the user's resource priority to ensure the user's normal resource usage. In other words, the resource evaluation model can be understood as resource evaluation conditions. After receiving the required resource quantity and resource waiting time from each supply channel, the evaluation engine evaluates the resource acquisition request to determine the resource demand scenario and determines different evaluation conditions based on the resource demand scenario.

[0060] Furthermore, to enhance the user's resource purchasing experience, the evaluation engine can also display resource evaluation modes to the user, allowing the user to adjust the evaluation mode according to their actual needs. The specific implementation method is as follows:

[0061] The step of determining the resource assessment mode based on the resource demand scenario includes:

[0062] Determine the initial resource assessment model based on the described resource demand scenario;

[0063] The initial resource assessment model is displayed to the user;

[0064] The resource assessment mode is determined based on the user's adjustment operation for the initial resource assessment mode.

[0065] For example, the evaluation engine determines the initial resource evaluation mode based on the resource demand scenario: time mode and quantity mode, and displays the initial resource evaluation mode to the user. The user can adjust the initial resource evaluation mode according to their own needs, such as deleting the time mode or quantity mode, or adding a priority mode, etc. Finally, the resource evaluation mode adjusted by the user is used as the final resource evaluation mode.

[0066] The initial evaluation mode can be understood as the default resource evaluation mode set by the evaluation engine based on the resource demand scenario. The user's adjustment operation on the initial resource evaluation mode can be understood as the user's operation such as deleting or adding to the default initial resource evaluation mode.

[0067] Step 108: Determine at least one initial resource supply plan based on the resource assessment mode, the resource availability, and the resource waiting time.

[0068] Specifically, when the evaluation engine selects the default resource evaluation mode based on the resource demand scenario, it can combine any one, two, three, four, or five evaluation modes, etc., with the resource availability quantity and resource waiting time to determine the initial resource supply plan. In other words, the resource evaluation mode can be understood as resource evaluation conditions. After receiving the resource availability quantity and resource waiting time returned by each supply channel, the evaluation engine evaluates the resource acquisition request to determine the resource demand scenario. Based on the resource demand scenario, it determines different combinations of resource evaluation conditions. Then, based on these different combinations of resource evaluation conditions, combined with the allocatable resource quantity and resource waiting time returned by each supply channel, it determines the initial resource supply plan that satisfies these different combinations of resource evaluation conditions.

[0069] For example, a user's resource acquisition request may include: resource location: Beijing, resource quantity: 5 units, and resource request time: a maximum wait time of 60 minutes.

[0070] The evaluation engine sends the resource acquisition request to supply channel 1, supply channel 2, and supply channel 3, and receives the resource availability quantity and time from supply channel 1, supply channel 2, and supply channel 3 respectively, as described below:

[0071] (1) Supply Channel 1: 2 units are available, and the resource waiting time is 10 minutes;

[0072] (2) Supply Channel 2: Meets 8 units, with a resource waiting time of 30 minutes;

[0073] (3) Supply channel 3: 30 units can be supplied, and the resource waiting time is 230 minutes.

[0074] When the evaluation mode is the deterministic mode that the evaluation engine defaults to based on the resource demand scenario, combined with the resource satisfaction quantity and resource waiting time returned by supply channel 1, supply channel 2 and supply channel 3, only supply channel 2 satisfies the evaluation mode; then the initial resource supply plan is (2).

[0075] When the evaluation mode is the default time mode of the evaluation engine based on the resource demand scenario, combined with the resource satisfaction quantity and resource waiting time returned by supply channel 1, supply channel 2 and supply channel 3, only supply channel 1 and supply channel 2 meet the evaluation mode; then the initial resource supply scheme is (1) and (2).

[0076] When the evaluation mode is the default quantity mode based on the resource demand scenario of the evaluation engine, combined with the resource satisfaction quantity and resource waiting time returned by supply channel 1, supply channel 2 and supply channel 3, only supply channel 2 and supply channel 3 meet the evaluation mode; then the initial resource supply scheme is a combination of (2), (3), (1 and 2), and (1 and 3).

[0077] When the evaluation mode is the default delivery mode of the evaluation engine based on the resource demand scenario, combined with the resource fulfillment quantity and resource waiting time returned by supply channel 1, supply channel 2 and supply channel 3, only supply channel 2 and supply channel 3 meet the evaluation mode; then the initial resource supply plan is (2) and (3).

[0078] When the evaluation mode is the priority mode defaulted by the evaluation engine based on the resource demand scenario, combined with the resource satisfaction quantity and resource waiting time returned by supply channel 1, supply channel 2 and supply channel 3, it can be determined that the waiting time of supply channel 1 is the shortest, so the initial resource supply plan is (1).

[0079] If the evaluation engine considers all resource evaluation modes, it will obtain the initial resource supply schemes mentioned above (1), (2), (3), (1 and 2), and (1 and 3).

[0080] When the resource assessment mode is the quantity mode, the initial resource supply schemes (1 and 2) and (2) above will be obtained.

[0081] Step 110: Determine the target resource supply scheme from the at least one initial resource supply scheme based on a preset scoring algorithm.

[0082] The preset scoring algorithm can vary depending on the resource assessment mode. For example, if the resource assessment mode includes quantity mode and time mode, then the initial resource supply plan determined according to the resource assessment mode must be an initial resource supply plan that meets the resource quantity and resource demand time carried in the resource acquisition request. At this time, the score of each initial resource supply plan can be calculated based on the specific resource quantity and resource demand time carried in the resource acquisition request.

[0083] In practical applications, the initial resource supply plan is selected based on the resource evaluation model. To further improve the user's resource acquisition experience, the evaluation engine scores each initial resource supply plan and finally determines the more suitable target resource supply plan for the user based on the score. The specific implementation method is as follows:

[0084] The step of determining the target resource supply plan from the at least one initial resource supply plan based on a preset scoring algorithm includes:

[0085] Each initial resource supply scheme in the at least one initial resource supply scheme is scored based on a preset scoring algorithm to obtain a score for each initial resource supply scheme;

[0086] Based on the score of each initial resource supply scheme, a target resource supply scheme for the user is obtained.

[0087] Specifically, the evaluation engine scores each initial resource supply plan according to a preset scoring algorithm, obtains a score for each initial resource supply plan, and then obtains the target resource supply plan for the user based on the score of each initial resource supply plan.

[0088] In specific implementation, the step of scoring each initial resource supply scheme among the at least one initial resource supply schemes based on a preset scoring algorithm to obtain a score for each initial resource supply scheme includes:

[0089] Determine at least one resource scoring parameter based on the resource assessment model;

[0090] Determine the weight of each resource scoring parameter;

[0091] Each initial resource supply scheme is scored according to the at least one resource scoring parameter and the weight of each resource scoring parameter to obtain a score for each initial resource supply scheme.

[0092] The resource scoring parameters can be understood as any resource parameter in the resource acquisition request mentioned above.

[0093] In practical applications, different resource assessment modes correspond to different resource scoring parameters. For example, when the resource assessment mode includes both time and quantity modes, the corresponding resource scoring parameters include the quantity of resources carried in the resource acquisition request and the time required for resource acquisition. Since the initial resource supply plan is determined by the resource assessment mode, it must satisfy that resource assessment mode. Therefore, by calculating the score for each initial resource supply plan based on the resource scoring parameters corresponding to that resource assessment mode, the score of each initial resource supply plan can be obtained.

[0094] For example, if the resource evaluation mode is time mode and quantity mode, then the resource scoring parameters are the quantity of resources carried in the resource acquisition request and the time required for the resource.

[0095] After determining each resource scoring parameter, a corresponding weight is set for each resource scoring parameter. Then, each initial resource supply plan is scored based on each resource scoring parameter and its weight to obtain a score for each initial resource supply plan.

[0096] Following the example above, if the initial resource supply schemes are (1 and 2), (2), and the resource evaluation modes are time mode and quantity mode, then the resource scoring parameters are resource quantity and resource demand time. Then, each initial resource supply scheme in the at least one initial resource supply scheme is scored according to the at least one resource scoring parameter and the weight of each resource scoring parameter, as follows:

[0097] Score[1] = 40% quantity satisfies * quantity weight + 100% time satisfies * time weight

[0098] Score[2] = 100% quantity satisfaction * quantity weight + 100% time satisfaction * time weight

[0099] Ultimately, if Score[1] > Score[2], then Score[1] is selected as the target resource supply scheme.

[0100] In practical applications, the weight of each resource scoring parameter can be determined based on the resource demand scenario or according to user-defined settings. The specific implementation method is as follows:

[0101] The determination of the weight of each resource scoring parameter includes:

[0102] The weight of each resource scoring parameter is determined based on the resource demand scenario; or the weight of each resource scoring parameter is determined based on the user's weight selection operation.

[0103] For example, if the resource demand scenario is an urgent resource demand scenario, where resources need to be allocated to users in the shortest possible time, then the weight of quantity can be set lower, and the weight of time can be set higher; if the resource demand scenario is a normal resource demand scenario, and users tend to prefer sufficient quantity, then the weight of quantity can be set higher, and the weight of time can be set higher.

[0104] In practice, after calculating the score for each initial resource supply plan, the evaluation engine can quickly obtain the target resource supply plan by arranging them sequentially. The specific implementation method is as follows:

[0105] The step of obtaining the target resource supply plan for the user based on the score of each initial resource supply plan includes:

[0106] The initial resource supply schemes are arranged in descending order according to their scores, and a preset number of initial resource supply schemes are selected as target resource supply schemes in a top-to-bottom order.

[0107] Furthermore, to enhance the user experience, after obtaining the target resource supply plan, both the target resource supply plan and the initial resource supply plan can be displayed to the user, allowing the user to ultimately determine the suitable target resource supply plan. The specific implementation method is as follows:

[0108] After selecting a preset number of initial resource supply schemes as target resource supply schemes according to a top-down order, the method further includes:

[0109] The target resource supply plan and each initial resource supply plan are presented to the user, and upon receiving the user's selection operation for each initial resource supply plan, the initial resource supply plan selected by the user is taken as the target resource supply plan.

[0110] To conserve computational resources, after calculating the score for each initial resource supply plan, each initial resource supply plan and its score can be directly displayed to the user, allowing the user to choose the appropriate initial resource supply plan as the target resource supply plan. The evaluation engine then no longer needs to determine the target resource supply plan based on the scores of each initial resource supply plan. The specific implementation method is as follows:

[0111] The step of obtaining the target resource supply plan for the user based on the score of each initial resource supply plan includes:

[0112] Each initial resource supply plan and its score are displayed to the user, and upon receiving the user's selection operation for each initial resource supply plan, the initial resource supply plan selected by the user is taken as the target resource supply plan.

[0113] In another embodiment of this specification, after determining the target resource supply plan, the evaluation engine will deliver the target resource to the delivery system after the resource execution of the supply channel corresponding to the target resource supply plan is completed, for user use. The specific implementation method is as follows:

[0114] After obtaining the target resource supply plan for the user, the process further includes:

[0115] The target resource supply plan is sent to the delivery system, and after receiving the resource execution completion results from the at least two supply channels, the target resource is delivered to the delivery system according to the target resource supply plan.

[0116] Both the evaluation engine and the delivery system are processing systems on the cloud platform. Delivering the target resource to the delivery system can reserve the target resource and prevent it from being occupied by other users.

[0117] The resource processing method provided in the embodiments of this specification can match a better resource supply plan for users based on the resource acquisition request sent by the user, the resource evaluation mode, the resource availability returned by the supply channel, and the resource waiting time. This ensures that users can assess the availability of resources when resources are scarce, provide accurate resource purchase suggestions, and improve the user's resource purchase experience.

[0118] The following is in conjunction with the appendix Figure 2 Taking the resource processing method provided in this specification as an example in resource processing, the resource processing method will be further explained. Among other things, Figure 2 A flowchart illustrating the processing procedure of a resource processing method according to an embodiment of this specification is shown, specifically including the following steps.

[0119] Step 202: The evaluation engine receives the resource acquisition request submitted by the user, which includes the resource quantity and resource waiting time.

[0120] In this context, the user refers to the customer in the diagram.

[0121] Step 204: The evaluation engine sends the resource acquisition requirement to supply channel 1.

[0122] Step 206: The evaluation engine sends the resource acquisition requirement to supply channel 2.

[0123] Step 208: The evaluation engine receives the resource fulfillment quantity and / or resource waiting time returned by supply channel 1.

[0124] Step 210: The evaluation engine receives the resource fulfillment quantity and / or resource waiting time returned by supply channel 2.

[0125] Step 212: The evaluation engine generates an initial execution plan based on the resource evaluation mode and the resource satisfaction quantity and resource waiting time returned by supply channels 1 and 2, and displays the initial execution plan to the user.

[0126] Step 214: The evaluation engine receives the target execution plan selected by the user from the initial execution plan through a click operation: the plan for supply channel 2.

[0127] Step 216: The evaluation engine sends a resource acquisition request to supply channel 2, wherein the resource acquisition request carries the target execution plan.

[0128] Step 218: Evaluate the results returned by the engine from supply channel 2.

[0129] The returned result can be the delivered resources returned for the execution plan of the target, or it can be a message such as resource delivery failure, exception, or timeout.

[0130] Step 220: If the evaluation engine determines that the returned result is a delivery resource returned for the target execution plan, it delivers the delivery resource to the delivery system.

[0131] Step 222: Execution complete.

[0132] In the embodiments described in this specification, a superior supply solution can be automatically selected based on specific demand scenarios, introducing a supply and demand matching chain. Furthermore, an interactive mode is provided, allowing users to choose the most suitable solution from a variety of matched options. This approach simplifies the process while meeting personalized customer needs. For short-term solutions, a deterministic resource assessment result for a future time can be obtained based on real-time inventory status or convertible inventory.

[0133] See Figure 3 , Figure 3 This diagram illustrates a process flow of a resource processing method provided in one embodiment of this specification.

[0134] Figure 3 The system includes filters, scorers, and weight selectors. The filters filter out resource supply schemes that do not meet preset resource parameters. The scorers score each filtered resource supply scheme according to the preset resource parameters. The weight selectors automatically select weights for the resource supply schemes to be scored based on the user's selection strategy, or receive user-defined weights for each resource supply scheme to be scored.

[0135] In practice, the evaluation engine sends the user's resource acquisition request to each supply channel and receives the resource availability quantity and resource waiting time returned by each supply channel based on the resource acquisition request. At this time, the evaluation engine selects the resource evaluation mode by default or receives the user-defined resource evaluation mode, as well as the resource availability quantity and resource waiting time returned by all supply channels, and filters out resource supply schemes that do not meet the resource evaluation mode.

[0136] like Figure 3In this process, the filter, based on the strong constraints of user-defined requirements (i.e., resource evaluation modes including time, quantity, and priority), filters out resource supply solutions that do not meet the time, quantity, and priority requirements. Then, the filtered resource supply solutions that meet these requirements are sent to the scorer. The scorer, based on the weak constraints of user-defined requirements, scores each filtered resource supply solution according to its fulfillment of time, quantity, and priority parameters. Simultaneously, the weight selector automatically selects weights for the scored resource supply solutions based on the user's scenario selection strategy. For example, in an urgent resource demand scenario, the priority weight is increased; or the weight selection is based on the user's custom selection method. Finally, the score of each filtered resource supply solution is obtained, and one or more resource supply solutions are selected from the scored solutions for execution using a preset selection strategy. The preset selection strategy can be set according to the actual application, and this manual does not impose any limitations on it. For example, the top three resource supply solutions in descending order can be selected as the target resource supply solutions for execution, or the user can customize the selection of one or more resource supply solutions as the target resource supply solutions for execution.

[0137] Specifically, the resource processing method in the embodiments of this specification proposes a deterministic assessment method for cloud product resource requirements. It introduces an assessment mode for convertible resources and resources in transit, which can assess and predict the resource demand satisfaction in the future. It automatically selects the better supply solution according to the specific demand scenario, introduces a supply and demand scenario matching chain, provides an automatic or interactive solution selection mode, gives customers scientific and accurate purchase suggestions, and improves the user's purchase experience.

[0138] Corresponding to the above method embodiments, this specification also provides resource processing apparatus embodiments. Figure 4 A schematic diagram of a resource processing apparatus according to one embodiment of this specification is shown. Figure 4 As shown, the device includes:

[0139] The request sending module 402 is configured to send a user's resource acquisition request to at least two supply channels, wherein the resource acquisition request carries resource parameters;

[0140] The resource receiving module 404 is configured to receive the resource satisfaction quantity and resource waiting time returned by each supply channel, wherein the resource satisfaction quantity and resource waiting time satisfy the resource parameters;

[0141] The evaluation mode determination module 406 is configured to determine the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request.

[0142] The initial solution acquisition module 408 is configured to determine at least one initial resource supply solution based on the resource evaluation mode, the resource availability quantity, and the resource waiting time.

[0143] The target solution acquisition module 410 is configured to determine the target resource supply solution from the at least one initial resource supply solution based on a preset scoring algorithm.

[0144] Optionally, the evaluation mode determination module 406 is further configured to:

[0145] Based on the user's attribute information and resource acquisition needs carried in the resource acquisition request, the resource acquisition request is evaluated to determine the corresponding resource demand scenario;

[0146] The resource assessment model is determined based on the resource demand scenario.

[0147] Optionally, the evaluation mode determination module 406 is further configured to:

[0148] Determine the initial resource assessment model based on the described resource demand scenario;

[0149] The initial resource assessment model is displayed to the user;

[0150] The resource assessment mode is determined based on the user's adjustment operation for the initial resource assessment mode.

[0151] Optionally, the target solution obtaining module 410 is further configured to:

[0152] Each initial resource supply scheme in the at least one initial resource supply scheme is scored based on a preset scoring algorithm to obtain a score for each initial resource supply scheme;

[0153] Based on the score of each initial resource supply scheme, a target resource supply scheme for the user is obtained.

[0154] Optionally, the target solution obtaining module 410 is further configured to:

[0155] Determine at least one resource scoring parameter based on the resource assessment model;

[0156] Determine the weight of each resource scoring parameter;

[0157] Each initial resource supply scheme is scored according to the at least one resource scoring parameter and the weight of each resource scoring parameter to obtain a score for each initial resource supply scheme.

[0158] Optionally, the target solution obtaining module 410 is further configured to:

[0159] The weight of each resource scoring parameter is determined based on the resource demand scenario; or the weight of each resource scoring parameter is determined based on the user's weight selection operation.

[0160] Optionally, the target solution obtaining module 410 is further configured to:

[0161] The initial resource supply schemes are sorted in descending order based on their scores.

[0162] Select a preset number of initial resource supply plans as the target resource supply plans in a top-to-bottom order.

[0163] Optionally, the device further includes:

[0164] The scheme selection module is configured as follows:

[0165] The target resource supply plan and each initial resource supply plan are presented to the user.

[0166] Upon receiving the user's selection operation for each initial resource supply plan, the initial resource supply plan selected by the user shall be taken as the target resource supply plan.

[0167] Optionally, the target solution obtaining module 410 is further configured to:

[0168] The user is shown each initial resource supply plan and its score.

[0169] Upon receiving the user's selection operation for each initial resource supply plan, the initial resource supply plan selected by the user shall be taken as the target resource supply plan.

[0170] Optionally, the device further includes:

[0171] The resource delivery module is configured as follows:

[0172] Send the target resource supply plan to the delivery system;

[0173] After receiving the resource execution completion results from the at least two supply channels, the target resources are delivered to the delivery system according to the target resource supply plan.

[0174] Optionally, the resource parameters include resource location, resource type, resource quantity, and / or resource demand time; the resource evaluation mode includes deterministic mode, time mode, quantity mode, delivery batch mode, and / or priority mode.

[0175] The resource processing device provided in the embodiments of this specification can match a better resource supply plan for the user based on the resource acquisition request sent by the user, the resource evaluation mode, the resource availability returned by the supply channel, and the resource waiting time. This ensures that when resources are scarce, the user can assess the availability of resources, provide the user with accurate resource purchase suggestions, and improve the user's resource purchase experience.

[0176] The above is an illustrative scheme of a resource processing apparatus according to this embodiment. It should be noted that the technical solution of this resource processing apparatus and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the resource processing apparatus, please refer to the description of the technical solution of the resource processing method described above.

[0177] Figure 5 A structural block diagram of a computing device 500 according to one embodiment of this specification is shown. The components of the computing device 500 include, but are not limited to, a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and a database 550 is used to store data.

[0178] The computing device 500 also includes an access device 540, which enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the Internet. The access device 540 may include one or more of any type of wired or wireless network interface (e.g., a Network Interface Card (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) interface, a Wi-MAX interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.

[0179] In one embodiment of this specification, the above-described components of the computing device 500 and Figure 5 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 5 The block diagram of the computing device shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0180] The computing device 500 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile phones (e.g., smartphones), wearable computing devices (e.g., smartwatches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or PCs. The computing device 500 can also be a mobile or stationary server.

[0181] The processor 520 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the resource processing method described above.

[0182] The above is an illustrative scheme of a computing device according to this embodiment. It should be noted that the technical solution of this computing device and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the resource processing method described above.

[0183] An embodiment of this specification also provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the resource processing method described above.

[0184] The above is an illustrative scheme of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the resource processing method described above.

[0185] An embodiment of this specification also provides a computer program, wherein when the computer program is executed in a computer, it causes the computer to perform the steps of the above-described resource processing method.

[0186] The above is an illustrative scheme of a computer program according to this embodiment. It should be noted that the technical solution of this computer program and the technical solution of the resource processing method described above belong to the same concept. For details not described in detail in the technical solution of the computer program, please refer to the description of the technical solution of the resource processing method described above.

[0187] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0188] The computer instructions include computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium may be appropriately added to or subtracted according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media may not include electrical carrier signals and telecommunication signals.

[0189] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments in this specification are not limited to the described order of actions, because according to the embodiments in this specification, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments in this specification.

[0190] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0191] The preferred embodiments disclosed above are merely illustrative of this specification. The optional embodiments do not exhaustively describe all details, nor do they limit the invention to the specific implementations described. Clearly, many modifications and variations can be made based on the embodiments described herein. These embodiments are selected and specifically described in this specification to better explain the principles and practical applications of the embodiments, thereby enabling those skilled in the art to better understand and utilize this specification. This specification is limited only by the claims and their full scope and equivalents.

Claims

1. A resource processing method, comprising: The user's resource acquisition request is sent to at least two supply channels. The resource acquisition request carries resource parameters. The different supply channels will provide available resources through different resource supply rules, including resource conversion and transformation rules, resource release rules, and resource reserve rules. Receive the resource availability quantity and resource waiting time returned by each supply channel, wherein the resource availability quantity and resource waiting time satisfy the resource parameters; The resource evaluation mode is determined based on the resource demand scenario corresponding to the resource acquisition request, wherein the resource evaluation mode includes at least one of the following: deterministic mode, time mode, quantity mode, delivery batch mode, and priority mode. Based on the resource assessment model, the required resource quantity, and the resource waiting time, at least one initial resource supply plan is determined, and the initial resource supply plan includes at least a combination of different supply channels; A target resource supply scheme is determined from the at least one initial resource supply scheme based on a preset scoring algorithm, wherein the preset scoring algorithm varies depending on the resource evaluation mode.

2. The resource processing method according to claim 1, wherein determining the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request includes: Based on the user's attribute information and resource acquisition needs carried in the resource acquisition request, the resource acquisition request is evaluated to determine the corresponding resource demand scenario; The resource assessment model is determined based on the resource demand scenario.

3. The resource processing method according to claim 2, wherein determining the resource evaluation mode based on the resource demand scenario includes: Determine the initial resource assessment model based on the described resource demand scenario; The initial resource assessment model is displayed to the user; The resource assessment mode is determined based on the user's adjustment operation for the initial resource assessment mode.

4. The resource processing method according to claim 1, wherein determining the target resource supply scheme from the at least one initial resource supply scheme based on a preset scoring algorithm includes: Each initial resource supply scheme in the at least one initial resource supply scheme is scored based on a preset scoring algorithm to obtain a score for each initial resource supply scheme; Based on the score of each initial resource supply scheme, a target resource supply scheme for the user is obtained.

5. The resource processing method according to claim 4, wherein scoring each initial resource supply scheme in the at least one initial resource supply scheme based on a preset scoring algorithm to obtain a score for each initial resource supply scheme includes: Determine at least one resource scoring parameter based on the resource assessment model; Determine the weight of each resource scoring parameter; Each initial resource supply scheme is scored according to the at least one resource scoring parameter and the weight of each resource scoring parameter to obtain a score for each initial resource supply scheme.

6. The resource processing method according to claim 5, wherein determining the weight of each resource scoring parameter includes: The weight of each resource scoring parameter is determined based on the resource demand scenario. Alternatively, the weight of each resource scoring parameter can be determined based on the user's weight selection operation.

7. The resource processing method according to claim 4, wherein obtaining the target resource supply plan for the user based on the score of each initial resource supply plan includes: The initial resource supply schemes are sorted in descending order based on their scores. Select a preset number of initial resource supply plans as the target resource supply plans in a top-to-bottom order.

8. The resource processing method according to claim 7, further comprising, after selecting a preset number of initial resource supply schemes as target resource supply schemes in a top-to-bottom order: The target resource supply plan and each initial resource supply plan are presented to the user. Upon receiving the user's selection operation for each initial resource supply plan, the initial resource supply plan selected by the user shall be taken as the target resource supply plan.

9. The resource processing method according to claim 4, wherein obtaining the target resource supply plan for the user based on the score of each initial resource supply plan includes: The user is shown each initial resource supply plan and its score. Upon receiving the user's selection operation for each initial resource supply plan, the initial resource supply plan selected by the user shall be taken as the target resource supply plan.

10. The resource processing method according to claim 1, further comprising, after determining the target resource supply scheme from the at least one initial resource supply scheme based on a preset scoring algorithm: Send the target resource supply plan to the delivery system; After receiving the resource execution completion results from the at least two supply channels, the target resources are delivered to the delivery system according to the target resource supply plan.

11. The resource processing method according to any one of claims 1-10, wherein the resource parameters include resource location, resource type, resource quantity and / or resource demand time; and the resource evaluation mode includes deterministic mode, time mode, quantity mode, delivery batch mode and / or priority mode.

12. A resource processing apparatus, comprising: The request sending module is configured to send a user's resource acquisition request to at least two supply channels. The resource acquisition request carries resource parameters. The different supply channels will provide available resources through different resource supply rules, including resource conversion and transformation rules, resource release rules, and resource reserve rules. The resource receiving module is configured to receive the resource availability quantity and resource waiting time returned by each supply channel, wherein the resource availability quantity and resource waiting time satisfy the resource parameters; The evaluation mode determination module is configured to determine the resource evaluation mode based on the resource demand scenario corresponding to the resource acquisition request, wherein the resource evaluation mode includes at least one of deterministic mode, time mode, quantity mode, delivery batch mode and priority mode. The initial solution acquisition module is configured to determine at least one initial resource supply solution based on the resource evaluation mode, the resource availability quantity, and the resource waiting time, wherein the initial resource supply solution includes at least a combination of different supply channels; The target solution acquisition module is configured to determine a target resource supply solution from the at least one initial resource supply solution based on a preset scoring algorithm, wherein the preset scoring algorithm varies depending on the resource evaluation mode.

13. A computing device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the resource processing method according to any one of claims 1 to 11.

14. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of the resource processing method according to any one of claims 1 to 11.

15. A computer program product, characterized in that, Includes computer instructions that, when executed by a processor, implement the steps of the resource processing method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Calculation power resource management method and device, electronic equipment and storage medium

    CN111240836A

  • Real-time task matching scheduling system and method based on resource monitoring in edge computing

    CN111427681A

  • Resource management method, resource management device, and program product

    US20130103835A1