Resource use method, cloud computing resource use method, resource use model training method and information processing method based on resource use model

By combining the deep learning model with the resource usage model, the problem of resource usage versatility and low efficiency in the existing technology is solved, the accuracy and versatility of resource usage are improved, and it is adapted to different resource usage tasks.

CN118733260APending Publication Date: 2024-10-01ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410777669.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, different algorithms are designed for different resource usage tasks, resulting in low resource usage versatility and efficiency.

Method used

Adopting a resource usage method based on a deep learning model, by receiving the target attribute information of the requester and the resource configuration information of the server, the resource usage model is used for training to generate resource usage information for the target resources, so as to avoid the same target attribute information generated by the requester. resource usage information to improve the accuracy and versatility of resource usage.

Benefits of technology

This improves the accuracy and versatility of resource usage, improves resource usage efficiency, avoids generating the same resource usage information for requesters with the same target attribute information, and adapts to different resource usage tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733260A_ABST
    Figure CN118733260A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a resource using method, a cloud computing resource using method, a resource using model training method and an information processing method based on a resource using model.The resource using method comprises the steps that a resource using request sent by a request end for a target resource is received, and the resource using request carries target attribute information of the request end; and inputting the target attribute information and resource configuration information configured by the server to the target resource into a resource use model, obtaining resource use information for the target resource, and sending the resource use information to a request end, the resource use model is obtained by training based on multiple pieces of sample attribute information and sample resource configuration information corresponding to the sample attribute information, the sample resource configuration information is obtained by configuring sample resources by the server side, and the sample attribute information represents attributes configured by the request side for the sample resources. Resource use is carried out by utilizing the generalization ability of the resource use model, so that the resource use universality and the resource use efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of computer technology, and in particular to resource usage, cloud computing resource usage, resource usage model training, and information processing methods based on resource usage models. Background Art

[0002] With the development of computer technology, resource usage has gradually become a key factor affecting service quality and user experience. By using resources efficiently and accurately according to the actual needs of users, service quality can be improved and resources can be fully utilized.

[0003] At present, algorithms can usually be designed based on numerical analysis methods to solve resource usage information. However, the above process requires designing different algorithms for different resource usage tasks, resulting in low resource usage universality and efficiency. Therefore, there is an urgent need for an efficient and universal resource usage solution. Summary of the invention

[0004] In view of this, an embodiment of this specification provides a resource usage method. One or more embodiments of this specification also involve a cloud computing resource usage method, a resource usage model training method, an information processing method based on a resource usage model, a task platform, a resource usage device, a cloud computing resource usage device, a resource usage model training device, an information processing device based on a resource usage model, a computing device, a computer-readable storage medium, and a computer program product to solve the technical defects of "low resource usage versatility and resource usage efficiency caused by designing different algorithms for different resource usage tasks" in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a resource use method is provided, including:

[0006] receiving a resource usage request sent by a requesting end for a target resource, wherein the resource usage request carries target attribute information of the requesting end;

[0007] The target attribute information and the resource configuration information configured by the server for the target resource are input into the resource usage model to obtain the resource usage information for the target resource, and the resource usage information is sent to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server for configuring the sample resource, and the sample attribute information represents the attributes of the requesting end for the sample resource configuration.

[0008] According to a second aspect of an embodiment of this specification, a method for using cloud computing resources is provided, including:

[0009] receiving a resource usage request sent by a requesting end for a target cloud computing resource, wherein the resource usage request carries target attribute information of the requesting end;

[0010] The target attribute information and the resource configuration information configured by the server for the target cloud computing resources are input into the resource usage model to obtain the resource usage information for the target cloud computing resources, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server for configuring the sample cloud computing resources, and the sample attribute information represents the attributes of the requesting end for the sample cloud computing resources.

[0011] According to a third aspect of an embodiment of this specification, a resource usage model training method is provided, including:

[0012] Acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information;

[0013] Inputting multiple sample attribute information and sample resource configuration information into a resource usage model to obtain sample prediction usage information corresponding to each sample attribute information;

[0014] Calculate the sample loss value based on the sample prediction usage information and Nash equilibrium conditions;

[0015] According to the sample loss value, the model parameters of the resource usage model are adjusted to obtain a trained resource usage model.

[0016] According to a fourth aspect of an embodiment of this specification, there is provided an information processing method based on a resource usage model, including:

[0017] receiving a task generation request, wherein the task generation request includes request information related to the resource usage task;

[0018] Based on the request information, a resource usage model is obtained, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample resource, and the sample attribute information represents the attribute of the requester configuring the sample resource;

[0019] Based on the resource usage model, task information is generated, wherein the task information is used to execute the resource usage task.

[0020] According to a fifth aspect of an embodiment of this specification, a resource use device is provided, including:

[0021] A first receiving module is configured to receive a resource use request sent by a requesting end for a target resource, wherein the resource use request carries target attribute information of the requesting end;

[0022] The first input module is configured to input the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model, obtain the resource usage information for the target resource, and send the resource usage information to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server for configuring the sample resource, and the sample attribute information represents the attributes of the requesting end for the sample resource configuration.

[0023] According to a sixth aspect of an embodiment of this specification, there is provided a cloud computing resource use device, including:

[0024] A second receiving module is configured to receive a resource usage request sent by a requesting end for a target cloud computing resource, wherein the resource usage request carries target attribute information of the requesting end;

[0025] The second input module is configured to input the target attribute information and the resource configuration information configured by the server for the target cloud computing resources into the resource usage model to obtain the resource usage information for the target cloud computing resources, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server for configuring the sample cloud computing resources, and the sample attribute information represents the attributes of the requesting end for the sample cloud computing resources.

[0026] According to a seventh aspect of an embodiment of this specification, a resource usage model training device is provided, including:

[0027] A first acquisition module is configured to acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information;

[0028] A third input module is configured to input multiple sample attribute information and sample resource configuration information into the resource usage model to obtain sample predicted usage information corresponding to each sample attribute information;

[0029] A calculation module, configured to calculate a sample loss value according to sample prediction usage information and a Nash equilibrium condition;

[0030] The adjustment module is configured to adjust the model parameters of the resource usage model according to the sample loss value to obtain a trained resource usage model.

[0031] According to an eighth aspect of the embodiments of this specification, there is provided an information processing device based on a resource usage model, including:

[0032] A third receiving module is configured to receive a task generation request, wherein the task generation request includes request information related to the resource usage task;

[0033] A second acquisition module is configured to acquire a resource usage model based on the request information, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample resource, and the sample attribute information represents the attribute configured by the requester for the sample resource;

[0034] The generation module is configured to generate task information based on the resource usage model, wherein the task information is used to execute the resource usage task.

[0035] According to a ninth aspect of the embodiments of this specification, there is provided a task platform, including a request interface and a processing unit;

[0036] A request interface, used to receive a task generation request, wherein the task generation request includes request information related to the resource usage task;

[0037] A processing unit is used to obtain a resource usage model based on request information, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server side for sample resource configuration, and the sample attribute information represents the attributes of the request side for the sample resource configuration; based on the resource usage model, task information is generated, wherein the task information is used to execute resource usage tasks.

[0038] According to a tenth aspect of an embodiment of this specification, a computing device is provided, including:

[0039] Memory and processor;

[0040] The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer program / instructions are executed by the processor, the steps of the method provided in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.

[0041] According to the eleventh aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the method provided in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.

[0042] According to the twelfth aspect of the embodiments of this specification, a computer program product is provided, including a computer program / instruction, which, when executed by a processor, implements the steps of the method provided in the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0043] A resource usage method provided by an embodiment of the present specification includes: receiving a resource usage request sent by a requesting end for a target resource, wherein the resource usage request carries the target attribute information of the requesting end; inputting the target attribute information and the resource configuration information configured by the server for the target resource into a resource usage model, obtaining resource usage information for the target resource, and sending the resource usage information to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample resource, and the sample attribute information represents the attribute configured by the requesting end for the sample resource. In the process of resource usage, the target attribute information of the requesting end and the resource configuration information configured by the server are considered at the same time to avoid generating the same resource usage information for the requesting end with the same target attribute information, so as to make resource usage more accurate, and by utilizing the generalization capability of the resource usage model for resource usage, the universality of resource usage and the efficiency of resource usage are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is an architecture diagram of a resource utilization system provided by an embodiment of this specification;

[0045] Figure 2 is a flow chart of a resource use method provided by an embodiment of this specification;

[0046] Figure 3 is a process flow chart of a resource utilization method provided by an embodiment of this specification;

[0047] Figure 4 is a flowchart of a processing process of a decoding unit in a resource usage model provided by an embodiment of this specification;

[0048] Figure 5 is a process flow chart of a resource usage model training method provided by an embodiment of this specification;

[0049] Figure 6 is a flow chart of a method for using cloud computing resources provided by an embodiment of this specification;

[0050] Figure 7 is a flow chart of a resource usage model training method provided by an embodiment of this specification;

[0051] Figure 8 is a flow chart of an information processing method based on a resource usage model provided by an embodiment of this specification;

[0052] Fig. 9 It is a structural diagram of a task platform provided by an embodiment of this specification;

[0053] Fig.10 It is a structural schematic diagram of a resource utilization device provided by an embodiment of this specification;

[0054] Fig.11 It is a structural diagram of a cloud computing resource use device provided by an embodiment of this specification;

[0055] Fig.12 It is a structural diagram of a resource usage model training device provided by an embodiment of this specification;

[0056] Fig.13 is a structural diagram of an information processing device based on a resource usage model provided by an embodiment of this specification;

[0057] Fig.14 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0058] Many specific details are described in the following description to facilitate 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 generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0059] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" 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.

[0060] 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, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0061] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0062] In one or more embodiments of this specification, a large model refers to a deep learning model with large-scale model parameters, which usually contains hundreds of millions, tens of billions, hundreds of billions, trillions, or even more than 10 trillion model parameters. A large model can also be called a foundation model / foundation model (Foundation Model 1). The large model is pre-trained with large-scale unlabeled corpus to produce a pre-trained model with more than 100 million parameters. This model can adapt to a wide range of downstream tasks, and the model has good generalization ability, such as a large-scale language model (LLM, Large Language Model 1), a multi-modal pre-training model (multi-modal pre-training model 1), etc.

[0063] When the big model is used in practice, only a small number of samples are needed to fine-tune the pre-trained model and it can be applied to different tasks. The big model can be widely used in natural language processing (NLP), computer vision and other fields. Specifically, it can be applied to computer vision tasks such as visual question answering (VQA), image description (IC), image generation, as well as natural language processing tasks such as text-based sentiment classification, text summary generation, and machine translation. The main application scenarios of the big model include digital assistants, intelligent robots, search, online education, office software, e-commerce, intelligent design, etc.

[0064] First, the terms involved in one or more embodiments of this specification are explained.

[0065] Deep Self-Attention (Transformer) Model: It is a deep learning architecture based on the attention mechanism, mainly used to process sequence data. The Transformer model consists of a series of encoders and decoders that can be repeatedly stacked. This design allows the Transformer to efficiently learn long-term dependencies and is suitable for a variety of natural language processing tasks including machine translation, text summarization, question-answering systems, etc.

[0066] Bidirectional Encoder Representations from Transformers (BERT) is a NLP pre-training model. By learning a large amount of unlabeled text data, the model can capture the deep semantic information in the text and achieve significant performance improvements on many NLP tasks.

[0067] Tokenization: It is an important concept and technology in NLP. The purpose of tokenization is to divide data (such as sentences or documents) into a series of smaller, meaningful discrete units, which are called tokens. Tokens can be words, characters, punctuation marks, or even subwords, depending on the tokenization strategy used and the requirements of the NLP task.

[0068] Attention mechanism: It is one of the most important structures of Transformer. Attention mechanism is a technology widely used in the field of deep learning, especially in processing sequence data tasks. Its core idea is to simulate the process of human attention, that is, when processing complex information, the model can automatically focus on the most critical or most relevant part, instead of evenly allocating computing resources to all input information.

[0069] Nash equilibrium condition: Nash equilibrium is an important concept in game theory, which is used to describe a stable state in non-cooperative games. In this state, each participant is unwilling to unilaterally change his strategy when given the strategy choices of other participants, because the change will not bring further improvement in benefits. In short, Nash equilibrium is a conditional configuration. Under Nash equilibrium conditions, each participant chooses an action plan that is beneficial to him after considering the possible actions of the opponent, thus forming a stable and mutually balanced strategy interaction model.

[0070] Taking the commodity use task in the resource use task as an example, in the process of commodity use, each user can choose a better demand value based on the value of the commodity to himself, thereby improving his own benefits. The Nash equilibrium of the use problem defines the demand strategy that each user can maximize his own benefits.

[0071] In order to solve the above problems, the embodiments of this specification propose a resource utilization solution based on a deep learning model. After one training, the deep learning model can solve different resource utilization problems in batches at the same time, without the need for repeated learning and training process required by other methods, thereby greatly improving the efficiency of solving resource utilization problems.

[0072] In this specification, a resource usage method is provided. This specification also involves a cloud computing resource usage method, a resource usage model training method, an information processing method based on a resource usage model, a task platform, a resource usage device, a cloud computing resource usage device, a resource usage model training device, an information processing device based on a resource usage model, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.

[0073] See also Figure 1 , Figure 1 An architecture diagram of a resource usage system provided by an embodiment of the present specification is shown, and the resource usage system may include a request end 100 and a resource usage platform 200;

[0074] The requesting end 100 is used to send a resource use request for a target resource to the resource use platform 200, wherein the resource use request carries target attribute information of the requesting end;

[0075] The resource use platform 200 is used to input the target attribute information and the resource configuration information configured by the server for the target resource into the resource use model, obtain the resource use information for the target resource, and send the resource use information to the request end, wherein the resource use model is trained based on a plurality of sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample resource, and the sample attribute information represents the attribute configured by the request end for the sample resource; send the resource use information for the target resource to the request end 100;

[0076] The requesting end 100 is also used to receive resource usage information for the target resource sent by the resource usage platform 200 .

[0077] By applying the solution of the embodiments of this specification, the target attribute information of the requesting end and the resource configuration information configured by the server are simultaneously considered during the resource utilization process, so as to avoid generating the same resource utilization information for the requesting end with the same target attribute information, thereby making resource utilization more accurate. In addition, by utilizing the generalization capability of the resource utilization model for resource utilization, the universality and efficiency of resource utilization are improved.

[0078] It should be noted that the resource usage platform can be set on the terminal side device or on the cloud side device. The resource usage platform can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server for basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content De l ivery Network), and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0079] The server refers to the resource holder, and the server can be understood as the resource supplier (such as the commodity holder). The requester refers to the device that requests the resource usage platform to use the resource. The requester can be understood as the resource demander and the user information demander (such as the commodity demander). The requester can be any one of a browser, an application (APP, App l icat ion), a web application such as Hypertext Markup Language Version 5 (H5, HyperText Markup Language5) application, a light application (also known as a mini-program, a lightweight application), and a cloud application. The requester can be deployed in an electronic device and needs to rely on the device to run or some APPs in the device to run. For example, the electronic device can have a display screen and support information browsing, such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, etc. Various other types of applications can usually be configured in the electronic device, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0080] The request end and the resource usage platform can establish a connection through a network. The network provides a medium for the communication link between the request end and the resource usage platform. The network can include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The data transmitted by the request end may need to be encoded, transcoded, compressed, etc. before being released to the resource usage platform.

[0081] See also Figure 2 , Figure 2 A flowchart of a resource use method provided by an embodiment of this specification is shown, which specifically includes the following steps:

[0082] Step 202: Receive a resource usage request sent by a requesting end for a target resource, wherein the resource usage request carries target attribute information of the requesting end.

[0083] Specifically, the target resources can be resources in different scenarios, such as resources in real estate use scenarios, resources in intangible asset allocation scenarios, and so on. The target resources can be physical resources (such as real estate, artworks, collectibles, etc.) or intangible resources (such as commercial rights, financial service rights, etc.). The target resources can also be end-side resources or cloud computing resources. Taking cloud computing resources as an example, the target resources include but are not limited to cloud server resources, cloud container resources, and cloud programmable hardware (FPGA, Field Programmab le Gate Array) resources. The requesting end can be one or more. Taking the resource allocation scenario as an example, the requesting end can be multiple demanders participating in the same target resource.

[0084] Target attribute information refers to the attribute information associated with the target resource among the attribute information of the requesting end. The specific type and size of the target attribute information are different based on the different target resources. For example, in the commodity usage scenario, the target attribute information can be the value distribution information, demand quantity, resource usage information, etc. of the requesting end. Value distribution refers to the probability distribution of the value of the target resource subjectively assessed by the requesting end. In short, value distribution information is used to describe the changes in the requesting end's views on how valuable the target resource is to it. Value distribution information can usually be represented by a probability density function or a cumulative distribution function.

[0085] Step 204: Input the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model to obtain the resource usage information for the target resource, and send the resource usage information to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server for configuring the sample resource, and the sample attribute information represents the attributes of the requesting end for the sample resource configuration.

[0086] Specifically, the resource configuration information is obtained based on the target attribute information configuration of the target resource by the server. The target attribute information of the server for the target resource represents the attribute information associated with the target resource in the attribute information of the server. Based on the different target resources, the specific type and size of the target attribute information of the server are different. Based on the different target attribute information, the specific type and size of the resource configuration information are also different. In the resource usage scenario, the resource configuration information can be the resource value configured by the server for the target resource. For example, the resource configuration information A configured by server A for the target resource is "value a", and the resource configuration information B configured by server B for the target resource is "value b". The sample attribute information can be the sample value distribution information, sample demand quantity, sample resource usage information, etc. configured by the requesting end for the target resource.

[0087] Resource usage information refers to information related to the target resource generated for the requesting end. For example, in a resource usage scenario, the resource usage information may be a value distribution map for the target resource, and the value distribution map may be a bar graph, in which the horizontal axis usually represents different intervals or specific values ​​of the value, and the vertical axis represents the number of users at the corresponding value level or the frequency of occurrence of the value. After the requesting end obtains the resource usage information, it can use the resource usage information to generate configuration information for the target resource, and request the server to allocate the target resource based on the configuration information. For example, in a resource usage scenario, after the demander obtains the value distribution map for the target resource, it can give a usage price based on the value distribution map and participate in the use of the target resource.

[0088] By applying the solution of the embodiments of this specification, the target attribute information of the requesting end and the resource configuration information configured by the server are simultaneously considered during the resource utilization process, so as to avoid generating the same resource utilization information for the requesting end with the same target attribute information, thereby making resource utilization more accurate. In addition, by utilizing the generalization capability of the resource utilization model for resource utilization, the universality and efficiency of resource utilization are improved.

[0089] In an optional embodiment of the present specification, the target resource may correspond to different resource usage policies. In order to improve the accuracy of the resource usage information, the resource usage information for the target resource may be generated based on the resource usage policy of the target resource. That is, before the target attribute information and the resource configuration information configured by the server for the target resource are input into the resource usage model and the resource usage information for the target resource is obtained, the following steps may be further included:

[0090] Get the resource usage policy of the target resource;

[0091] Inputting the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model to obtain the resource usage information for the target resource may include the following steps:

[0092] The resource usage policy, target attribute information, and resource configuration information configured by the server for the target resource are input into the resource usage model to obtain resource usage information for the target resource.

[0093] Specifically, the resource usage policy may be related to the target attribute information of the server. Different servers may select different resource usage policies for the same target resource. For example, in the resource usage scenario, the resource usage policy set by server A for the target resource is policy A, and the resource usage policy set by server B for the target resource is policy B. The resource usage policy may include a policy type and may also include policy parameters (such as an admission fee of 3).

[0094] In actual applications, there are many ways to obtain the resource usage strategy of the target resource, which are selected according to the actual situation. The embodiments of this specification do not impose any restrictions on this. In one possible implementation of this specification, a resource usage strategy for the target resource sent by the server can be received. In another possible implementation of this specification, the resource usage platform can be provided with at least one candidate usage strategy, and the resource usage strategy of the target resource can be randomly selected from at least one candidate usage strategy.

[0095] It should be noted that inputting the resource usage policy, target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model to obtain the resource usage information for the target resource can include the following steps: inputting the resource usage policy into the feature extraction unit to obtain the usage policy feature, inputting the target attribute information into the feature extraction unit to obtain the initial attribute feature, and inputting the resource configuration information configured by the server for the target resource into the feature extraction unit to obtain the resource configuration feature; inputting the usage policy feature and the initial attribute feature into the feature conversion unit to obtain the target attribute feature; inputting the initial attribute feature, the target attribute feature and the resource configuration feature into the decoding unit to obtain the resource usage information for the target resource.

[0096] By applying the solution of the embodiments of this specification, by inputting the resource usage policy into the resource usage model, the resource usage model can realize accurate generation of resource usage information according to the specific usage mechanism.

[0097] In an optional embodiment of the present specification, the resource usage model includes a feature extraction unit, a feature conversion unit, and a decoding unit; the above-mentioned inputting the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model to obtain the resource usage information for the target resource may include the following steps:

[0098] Input the target attribute information into the feature extraction unit to obtain the initial attribute feature, and input the resource configuration information configured by the server for the target resource into the feature extraction unit to obtain the resource configuration feature;

[0099] Input the initial attribute features into the feature conversion unit to obtain the target attribute features;

[0100] The initial attribute features, the target attribute features and the resource configuration features are input into a decoding unit to obtain resource usage information for the target resource.

[0101] Specifically, the feature extraction unit is used to extract useful features from the input data. These features can retain or enhance the expressive power of the input data while reducing its dimensionality. The feature conversion unit is used to convert the initial attribute features output by the feature extraction unit into an implicit representation of the Nash equilibrium to be solved, that is, the feature conversion unit is used to convert the initial attribute features into a format that can be decoded by the decoding unit. The decoding unit is used to decode the implicit representation of the Nash equilibrium into explicit resource usage information, such as decoding into an equilibrium strategy. The feature conversion unit can be a pre-trained large model, such as a Transformer model or a BERT model.

[0102] It should be noted that the resource configuration features obtained by extracting the resource configuration information are not input into the feature conversion unit, but directly input into the decoding unit.

[0103] By applying the solution of the embodiments of this specification, the feature extraction unit helps the model understand the nature and structure of the data, the feature conversion unit is used to convert the format of the features, and finally the decoding unit is used to decode and obtain resource usage information, thereby achieving efficient and accurate resource usage.

[0104] In the resource usage scenario, the resource usage model can input multiple different usage problems at the same time and output a balanced solution to the usage problem (demand strategy of each demand party). In practical applications, the usage problem is usually represented by three parts: the usage mechanism of the target resource, the total number of demand parties, and the target attribute information of each demand party for the target resource. The resource usage information for the target resource is the balanced strategy of each demand party, indicating the demand distribution under each target attribute information. Since the Transformer model has the ability to adapt to variable-length input, it can well meet the needs of inputting multiple usage problems, adapt to different total numbers of demand parties and different target attribute information without changing the model structure. Therefore, Transformer is used in the embodiments of this specification to construct a resource usage model.

[0105] See also Figure 3 , Figure 3 FIG. 1 shows a process flow chart of a resource utilization method provided by an embodiment of this specification. Figure 3As shown, in order to input the resource usage problem into the resource usage model, the embodiment of this specification designs a flexible Tokenization scheme: for resource configuration information, the resource configuration information is input into the feature extraction unit to obtain resource configuration features; for resource usage strategy, the strategy type and strategy parameters are respectively converted into token embeddings through the feature extraction unit to obtain usage strategy features (including type features and parameter features); for target attribute information, the target attribute information is discretized to obtain discrete attribute information; the discrete attribute information is input into the feature extraction unit to obtain initial attribute features. Through the Tokenization process, any resource usage problem can be converted into a set of token embeddings with a length of n+2 and input into the resource usage model. Further, in order to process the input resource usage problem description, the initial attribute features and usage strategy features can be input into the feature conversion unit to obtain the target attribute features, so as to realize the encoding of the resource usage problem into an implicit representation of the Nash equilibrium to be solved. In order to obtain the final resource usage information, the implicit representation predicted by the feature conversion unit can be input into a decoding unit based on the attention mechanism, so that the target attribute feature is used as the key and value, and the part of the resource usage distribution information corresponding to the given resource configuration information is queried through the query, and the resource usage distribution information is mapped to the corresponding resource usage information, such as resource demand distribution, through a mapping layer. Specifically, the target attribute feature is input into the first decoding layer and the second decoding layer respectively to obtain the value vector output by the first decoding layer and the key vector output by the second decoding layer; the initial attribute feature and the resource configuration feature are input into the normalization layer to obtain the query vector; the value vector, key vector and query vector are input into the attention layer to obtain the attention feature; the attention feature is input into the mapping layer to obtain the resource usage information for the target resource.

[0106] In an optional embodiment of the present specification, the decoding unit includes a first decoding layer, a second decoding layer, a normalization layer, an attention layer, and a mapping layer; the initial attribute features, the target attribute features, and the resource configuration features are input into the decoding unit to obtain resource usage information for the target resource, which may include the following steps:

[0107] Input the target attribute features into the first decoding layer and the second decoding layer respectively, and obtain the value vector output by the first decoding layer and the key vector output by the second decoding layer;

[0108] Input the initial attribute features and resource configuration features into the normalization layer to obtain the query vector;

[0109] Input the value vector, key vector, and query vector into the attention layer to obtain the attention feature;

[0110] The attention features are input into the mapping layer to obtain resource usage information for the target resource.

[0111] Specifically, the first decoding layer is used to map the target attribute features (implicit representation) output by the feature conversion unit to the key vector of the attention mechanism. The second decoding layer is used to map the target attribute features output by the feature conversion unit to the value vector of the attention mechanism. The normalization (Add&Norm) layer is used to map the initial attribute features and resource configuration features to the query vector of the attention mechanism. The mapping layer can use a multi-layer perceptron (MLP) network to map the attention features to the corresponding resource usage information. MLP is a feedforward artificial neural network model. MLP expands the concept of a single-layer perceptron and enhances the learning and expression capabilities of the network by introducing one or more hidden layers.

[0112] In actual applications, if only the initial attribute features are used as the query, the attention features of different requesters under the same target attribute information will be the same, which means that their resource usage information is the same, resulting in poor personalization of the resource usage process. To avoid this problem, in the embodiments of this specification, additional resource configuration features are added to the query to distinguish different requesters.

[0113] It should be noted that the attention layer can generate attention features by assigning different weights to different parts of the input sequence through the attention mechanism. These weights reflect the importance of each input position relative to the current target when generating attention features. The weights are usually obtained by calculating the correlation between the Key and the Query. Afterwards, the input Values ​​are weighted and summed according to these weights to generate attention features. Specifically, the calculation formula of the attention layer can refer to the following formula (1):

[0114]

[0115] Among them, Attention represents the attention mechanism, softmax represents the activation function, Q represents Query, K represents Key, V represents Value, T represents matrix transpose, and d represents the hidden layer dimension.

[0116] By applying the solution of the embodiments of this specification, through sophisticated feature processing and an efficient attention mechanism, an in-depth understanding of target resources and accurate generation of resource usage information are achieved, thereby improving resource usage performance and user experience.

[0117] See also Figure 4 , Figure 4A flowchart of a processing process of a decoding unit in a resource usage model provided by an embodiment of the present specification is shown, wherein the decoding unit includes a first decoding layer, a second decoding layer, a normalization layer, an attention layer, and a mapping layer; Figure 4 As shown, the target attribute features output by the feature conversion unit are mapped to the key vector and value vector of the attention mechanism using the first decoding layer and the second decoding layer. As for the query vector of the attention mechanism: the resource configuration information is input into the first feature extraction unit to obtain the resource configuration features; the target attribute information is input into the second feature extraction unit to obtain the initial attribute features; the resource configuration features and the initial attribute features are input into the normalization layer together to obtain the query vector. Specifically, by traversing all possible values ​​in the target attribute information of each request end, the representation of all request ends under all possible values ​​can be obtained as the query vector of the attention mechanism. Finally, the value vector, key vector and query vector are input into the attention layer to obtain the attention features; the attention features are input into the mapping layer to obtain the resource usage information for the target resources.

[0118] In an optional embodiment of the present specification, before inputting the target attribute information into the feature extraction unit to obtain the initial attribute feature, the following steps may also be included:

[0119] Discretize the target attribute information to obtain discrete attribute information;

[0120] Inputting the target attribute information into the feature extraction unit to obtain the initial attribute features may include the following steps:

[0121] The discrete attribute information is input into the feature extraction unit to obtain the initial attribute features.

[0122] It should be noted that, since the target attribute information can be represented by a probability density function or a cumulative distribution function, and the feature extraction unit cannot directly process the continuous probability density function, therefore, in order to meet the model input requirements, when the target attribute information is represented by a probability density function or a cumulative distribution function, the target attribute information can be discretized to obtain discrete attribute information, and further feature extraction is performed on the discrete attribute information. For example, the continuous probability density function (PDF, Probability Density Function) is discretized into a discrete probability mass function (PMF, Probability Mass Function), and converted into the corresponding initial attribute feature by the feature extraction unit. Among them, the probability density function is a function used to describe the relative size of the probability of a continuous random variable near a certain specific value. The discrete probability mass function is a function used to describe the probability of a discrete random variable at each specific value.

[0123] In practical applications, when discretizing the target attribute information and obtaining discrete attribute information, we can first define the interval: divide the continuous target attribute information into a series of small, non-overlapping intervals. Each interval represents a discrete event or state. Then calculate the probability mass: for each interval, calculate the integral of the PDF in the interval, which can be regarded as the probability mass corresponding to the interval. In practical applications, direct integration is more complicated, and approximate methods can usually be used, such as taking the maximum PDF value in the interval as the probability mass of the interval, or using simplified methods such as multiplying the interval width by the PDF value of the midpoint of the interval. Finally, construct a discrete PMF: summarize the probability masses of all intervals to form a discrete probability distribution, namely PMF. Each discrete event (or state) corresponds to a specific probability value.

[0124] By applying the solution of the embodiment of this specification, discrete attribute information is obtained by discretizing the target attribute information, so that the originally continuous target attribute information can be expressed and processed in the form of vectors in the neural network, ensuring that the resource usage model can process the target attribute information.

[0125] In an optional embodiment of the present specification, after inputting the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model, obtaining the resource usage information for the target resource, and sending the resource usage information to the requesting end, the following steps may also be included:

[0126] Receive feedback information sent by the requesting end regarding resource usage information;

[0127] Based on the feedback information, build a model to optimize the data;

[0128] Use the model to optimize data and adjust the parameters of the resource utilization model.

[0129] Specifically, the feedback information may be information that provides feedback on the content, quality, and completeness of the resource usage information, reflecting the requester's true feelings and expectations of the resource usage information. The feedback information includes, but is not limited to, quality evaluation information, corrected and accurate resource usage information, and optimization areas of the model. Model optimization data refers to accurate optimization sample data used to optimize the resource usage model.

[0130] In practical applications, there are many ways to construct model optimization data based on feedback information, which are selected according to actual conditions, and the embodiments of this specification do not limit this. In one possible implementation of this specification, model optimization data can be automatically constructed directly based on feedback information. In another possible implementation of this specification, optimization prompt information can be generated based on feedback information, and model optimization data sent by the requesting end based on the optimization prompt information can be received.

[0131] It should be noted that, taking the construction of model optimization data directly based on feedback information as an example, if the feedback information is corrected and accurate resource usage information, the model optimization data can be constructed based on the target attribute information of the requesting end and the corrected and accurate resource usage information. If the result feedback information is the optimization field of the model, such as the XXX field, multiple sample attribute information of the XXX field and sample resource configuration information corresponding to each sample attribute information can be obtained, and the multiple sample attribute information of the XXX field and the sample resource configuration information corresponding to each sample attribute information are determined as model optimization data.

[0132] By applying the solution of the embodiments of this specification, feedback information is collected and used to continuously optimize the performance of the resource usage model, so as to more accurately meet the actual needs of the requesting end and improve the quality and accuracy of the final resource usage information.

[0133] In an optional embodiment of the present specification, the resource usage platform can generate optimization prompt information based on feedback information, wherein the optimization prompt information is used to guide the requesting end to send model optimization data for optimizing the resource usage model; send the optimization prompt information to the requesting end, and receive the model optimization data sent by the requesting end based on the optimization prompt information.

[0134] It should be noted that there are multiple ways to generate optimization prompt information based on feedback information, and the specific selection is based on actual conditions. The embodiments of this specification do not impose any limitation on this.

[0135] In a possible implementation of this specification, the preset prompt information can be directly obtained, and the feedback information can be added to the preset prompt information to obtain the optimized prompt information. For example, the preset prompt information is "I am very sorry for giving you inaccurate information. Please point out where the information is not accurate or provide the correct results of the relevant questions. I will correct and optimize my answers as soon as possible to better serve you." If the result feedback information is "the result is inaccurate", the optimized prompt information is "Regarding the inaccurate results you reported, I am very sorry for giving you inaccurate information. Please point out where the information is not accurate or provide the correct results of the relevant questions. I will correct and optimize my answers as soon as possible to better serve you."

[0136] In another possible implementation of the present specification, the feedback information may be identified and its information type determined, and the information type may be further matched with the prompt type of each prompt information in the prompt information library, and the prompt information with the same prompt type as the information type may be determined as the optimized prompt information.

[0137] By applying the solution of the embodiments of this specification, model optimization data is obtained through an interactive guidance method, which improves the interactivity with the requesting end and further improves user satisfaction.

[0138] In an optional embodiment of the present specification, a method for training a resource usage model is described. That is, before inputting the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model and obtaining the resource usage information for the target resource, the following steps may also be included:

[0139] Acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information;

[0140] Inputting multiple sample attribute information and sample resource configuration information into a resource usage model to obtain sample prediction usage information corresponding to each sample attribute information;

[0141] Calculate the sample loss value based on the sample prediction usage information and Nash equilibrium conditions;

[0142] According to the sample loss value, the model parameters of the resource usage model are adjusted to obtain a trained resource usage model.

[0143] It should be noted that the sample resource configuration information is obtained based on the sample attribute information configuration of the sample resource by the server. In order to make the prediction output of the resource usage model meet the Nash equilibrium condition, that is, each request end cannot obtain higher benefits by changing its own strategy, thereby achieving accurate resource prediction, in the embodiment of this specification, Nash error is designed as the loss calculation function of the model, that is, the sample loss value can be calculated by the following formula (2):

[0144]

[0145] Among them, L Nash (F,X) represents the Nash error, F represents the sample attribute information, X represents the sample resource usage request of the sample attribute information F of the batch input resource usage model, and X j represents the jth sample resource usage request, i represents the requesting end i, represents the j-th sample resource usage request X predicted by the model j The sample prediction usage information of requester i in represents the pre-set strategy of unilaterally maximizing the benefits of requester i, Represents X j The expected benefit function of requester i is predefined, and -i represents the set of resource request opponents of requester i.

[0146] By applying the solution of the embodiments of this specification, through the designed Nash error, there is no need to use real sample information labels (ground truth) for comparison during the model training process. Instead, the deviation value of the property of the demand strategy predicted by the current model from the Nash equilibrium condition is directly measured. This unlabeled loss function avoids the requirement for labeled data, and only requires multiple sample attribute information and the sample resource configuration information corresponding to each sample attribute information for training. In addition, there is a polynomial fast algorithm for solving the Nash error, which can greatly reduce time overhead.

[0147] In an optional embodiment of the present specification, before inputting the plurality of sample attribute information and sample resource configuration information into the resource usage model and obtaining the sample predicted usage information corresponding to each sample attribute information, the following steps may also be included:

[0148] Get sample resource usage strategy;

[0149] Input multiple sample attribute information and sample resource configuration information into the resource usage model to obtain sample prediction usage information corresponding to each sample attribute information, including:

[0150] The sample resource usage strategy, multiple sample attribute information and sample resource configuration information are input into the resource usage model to obtain the sample prediction usage information corresponding to each sample attribute information.

[0151] It should be noted that the implementation method of "obtaining the sample resource usage strategy" is the same as the implementation method of "obtaining the resource usage strategy of the target resource" mentioned above; the implementation method of "inputting the sample resource usage strategy, multiple sample attribute information and sample resource configuration information into the resource usage model to obtain the sample predicted usage information corresponding to each sample attribute information" is the same as the implementation method of "inputting the resource usage strategy, target attribute information and the resource configuration information of the target resource configured by the server into the resource usage model to obtain the resource usage information for the target resource", and the embodiments of this specification will not be repeated here.

[0152] By applying the solution of the embodiments of this specification, the resource usage model is trained by using sample resource usage policies, so that the resource usage model can accurately generate resource usage information according to the specific usage mechanism.

[0153] In an optional embodiment of the present specification, after adjusting the model parameters of the resource usage model according to the sample loss value to obtain the trained resource usage model, the following steps may also be included:

[0154] Acquire multiple pieces of training attribute information corresponding to the resource usage task and training resource configuration information corresponding to each piece of training attribute information;

[0155] Inputting a plurality of training attribute information and training resource configuration information into a trained resource usage model to obtain training prediction usage information corresponding to each training attribute information;

[0156] Calculate the training loss value based on the training prediction usage information and Nash equilibrium conditions;

[0157] According to the sample loss value and the training loss value, the model parameters of the trained resource usage model are adjusted to obtain an updated resource usage model, wherein the updated resource usage model is used to execute the resource usage task.

[0158] In actual applications, after obtaining the trained resource usage model, the resource usage model can be further fine-tuned using multiple sample attribute information in the new scene and the sample resource configuration information corresponding to each sample attribute information. In the embodiments of this specification, the sample attribute information and sample resource configuration information in the new scene are respectively referred to as training attribute information and training resource configuration information.

[0159] It should be noted that in order to prevent the resource usage model from forgetting its ability to solve the original scenario when training in a new scenario, the embodiments of this specification simultaneously maintain two sets of model parameters when training the updated resource usage model. The first set of model parameters are model parameters obtained by training multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, and the second set of model parameters are model parameters obtained by training multiple training attribute information and training resource configuration information corresponding to each training attribute information. During model training, not only the training loss value is calculated using the training prediction usage information, but also the sample loss value is calculated using the sample prediction usage information, thereby limiting the difference between the sample prediction usage information and the training prediction usage information, and preventing the resource usage model from forgetting its original capabilities. Specifically, the total loss value of the updated resource usage model obtained after training can be calculated using the following formula (3):

[0160] L=L Nash (F fs ,X fs )+λ·||F0(X0)-F fs (X fs )|| (3)

[0161] Among them, L is the total loss value, L Nash (F fs, X fs ) is the training loss value, and its calculation method can refer to the above formula (2), F0(X0) sample prediction usage information, F fs (X fs ) indicates the information used for training prediction, and λ indicates the weight value of adjusting the combination of the two items.

[0162] See also Figure 5 , Figure 5 A process flow chart of a resource usage model training method provided by an embodiment of this specification is shown. Figure 5 As shown, sample data (including multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information) is obtained; the sample data is input into the resource usage model to obtain the sample prediction usage information corresponding to each sample attribute information; the sample loss value is calculated according to the sample prediction usage information and the Nash equilibrium condition; the model parameters of the resource usage model are adjusted according to the sample loss value to obtain the trained resource usage model. Furthermore, since the Transformer model can show strong generalization ability in fields not seen in the training process, a few-shot learning framework that can be migrated to a new field with only a small number of samples is designed for the resource usage model in the embodiment of this specification. Specifically, training data of a new field is obtained (including multiple training attribute information and training resource configuration information corresponding to each training attribute information); the training data is input into the trained resource usage model to obtain the training prediction usage information corresponding to each training attribute information; the training loss value is calculated according to the training prediction usage information and the Nash equilibrium condition; the model parameters of the trained resource usage model are adjusted according to the sample loss value and the training loss value to obtain the updated resource usage model, wherein the updated resource usage model is used to perform resource usage tasks.

[0163] The following combination Figure 6 , taking the application of the resource usage method provided in this specification in the cloud computing resource usage scenario as an example, the resource usage method is further explained. Figure 6 A flowchart of a method for using cloud computing resources provided by an embodiment of this specification is shown, which specifically includes the following steps:

[0164] Step 602: Receive a resource usage request sent by a requesting end for a target cloud computing resource, wherein the resource usage request carries target attribute information of the requesting end.

[0165] Step 604: Input the target attribute information and the resource configuration information configured by the server for the target cloud computing resources into the resource usage model to obtain the resource usage information for the target cloud computing resources, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample cloud computing resources, and the sample attribute information represents the attributes of the requesting end for the sample cloud computing resources.

[0166] It should be noted that the implementation of step 602 to step 604 is the same as the implementation of step 202 to step 204 described above, and will not be described in detail in this embodiment of the specification.

[0167] By applying the solution of the embodiments of this specification, the target attribute information of the requesting end and the resource configuration information configured by the server are simultaneously considered during the use of cloud computing resources, so as to avoid generating the same resource usage information for the requesting end with the same target attribute information, thereby making the use of cloud computing resources more accurate. In addition, by utilizing the generalization capability of the resource usage model to use cloud computing resources, the universality of cloud computing resource use and the efficiency of cloud computing resource use are improved.

[0168] See also Figure 7 , Figure 7 A flowchart of a resource usage model training method provided by an embodiment of this specification is shown, which specifically includes the following steps:

[0169] Step 702: Acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information.

[0170] Step 704: Input multiple sample attribute information and sample resource configuration information into the resource usage model to obtain sample predicted usage information corresponding to each sample attribute information.

[0171] Step 706: Calculate the sample loss value based on the sample prediction usage information and the Nash equilibrium condition.

[0172] Step 708: According to the sample loss value, adjust the model parameters of the resource usage model to obtain a trained resource usage model.

[0173] It should be noted that the implementation method of steps 702 to 708 is the same as that of the above Figure 2 The training method of the resource usage model in the provided embodiments is the same, and will not be described in detail in the embodiments of this specification.

[0174] By applying the solution of the embodiments of this specification, the sample loss value is calculated based on the sample prediction usage information and the Nash equilibrium condition, so that there is no need for ground truth comparison during the model training process. Instead, the deviation value of the demand strategy predicted by the current model from the properties of the Nash equilibrium condition is directly measured. This unlabeled loss function avoids the requirement for labeled data, and only requires multiple sample attribute information and the sample resource configuration information corresponding to each sample attribute information for training, which reduces the complexity of model training and the difficulty of sample acquisition, and greatly reduces the time overhead of model training.

[0175] See also Figure 8 , Figure 8 A flowchart of an information processing method based on a resource usage model provided by an embodiment of this specification is shown, which specifically includes the following steps:

[0176] Step 802: Receive a task generation request, wherein the task generation request includes request information related to the resource usage task.

[0177] Specifically, the information processing method based on the resource usage model can be applied to the task platform, and the task platform can be deployed on the terminal side device or on the cloud side device. The task generation request is used to request the task information for generating the resource usage task. The task generation request usually includes the task type, the expected output format, and the request information. The request information refers to the parameters or description information related to the resource usage task carried in the task generation request. The request information includes but is not limited to the task scenario identifier of the resource usage task, the task model identifier, the multiple training attribute information corresponding to the resource usage task, and the training resource configuration information corresponding to each training attribute information.

[0178] Step 804: Based on the request information, a resource usage model is obtained, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server side configuring the sample resources, and the sample attribute information represents the attributes of the request side's configuration of the sample resources.

[0179] In actual applications, there are multiple ways to obtain the resource usage model based on the request information, and the specific selection is made according to the actual situation. The embodiments of this specification do not impose any limitation on this.

[0180] In an optional embodiment of the present specification, the obtaining of the resource usage model based on the request information may include the following steps:

[0181] Based on the task scenario identifier, determine a target scenario template from a plurality of preset scenario templates, and based on the target scenario template, search for a resource usage model from a model library, wherein the model library stores a plurality of resource usage models, and the request information includes a task scenario identifier of the resource usage task; or,

[0182] Based on the task model identifier, a resource usage model is searched from a model library, wherein the request information includes the task model identifier of the resource usage task.

[0183] Specifically, the task scenario identifier refers to a unique or specific label used to distinguish different task application scenarios. In the embodiment of this specification, the task scenario identifier is part of the request information. Through the task scenario identifier, a target scenario template that matches the request information can be selected from a series of preset scenario templates to generate task information. For example, the task scenario identifier is "commodity usage", which means that the user wants to solve the demand strategy for the uploaded usage problem, and then the commodity usage scenario template can be selected from multiple preset scenario templates according to the task scenario identifier.

[0184] The preset scenario templates are predefined standard configuration scenario templates for different resource usage task application scenarios. Each template contains model information and task processing flow information that matches the task application scenario. Through a series of preset scenario templates, task generation requests for different scenarios can be responded to quickly. Different preset scenario templates correspond to different task types, model information, and processing flows. For example, the preset scenario templates can have a product usage scenario template specifically for product usage tasks, which contains the model information and processing flow of the trained product usage model.

[0185] The target scenario template refers to the scenario template that matches the task scenario identifier. When parsing the task generation request, the corresponding target scenario template can be located based on the task scenario identifier, and the corresponding resource usage model and other related configuration information can be selected from the model library based on the model information included in the target scenario template. For example, when the task scenario identifier is "commodity usage", the target scenario template is a template that contains the model information and related configuration parameters of the commodity usage model.

[0186] The model library is a resource library that centrally stores resource usage models. These models are trained and optimized to solve different resource usage tasks. In addition, the resource usage models in the model library can be divided into different versions according to different applicable tasks. For example, the model library can store multiple versions of resource usage models, such as cloud computing resource usage models and commodity usage models.

[0187] The task model identifier refers to a unique or specific label used to distinguish models applicable to different tasks. For example, the task model identifier may be "product usage". Based on the task model identifier, a product usage model applicable to the product usage task can be found from the model library.

[0188] By applying the solution of the embodiments of this specification, through pre-defined task scenario templates, task model identifiers and model library resources, the process of obtaining resource usage models is made more flexible, efficient and standardized.

[0189] In another optional embodiment of the present specification, in addition to selecting a pre-trained resource usage model from a model library, the pre-trained resource usage model may be fine-tuned according to the model training data in the request information, that is, the request information includes a plurality of training attribute information corresponding to the resource usage task and the training resource configuration information corresponding to each training attribute information; the above-mentioned acquisition of the resource usage model based on the request information may include the following steps:

[0190] Based on multiple training attribute information and training resource configuration information, a resource usage model corresponding to the resource usage task is trained to obtain an updated resource usage model.

[0191] It should be noted that the implementation method of "training the resource usage model corresponding to the resource usage task based on multiple training attribute information and training resource configuration information to obtain an updated resource usage model" is the same as the training method of the above-mentioned "resource usage model", and will not be repeated in this specification embodiment.

[0192] By applying the solution of the embodiments of this specification, the resource usage model corresponding to the resource usage task is trained based on multiple training attribute information and training resource configuration information to obtain an updated resource usage model, thereby ensuring the accuracy of the resource usage model and making the resource usage model more in line with the task scenario.

[0193] Step 806: Generate task information based on the resource usage model, wherein the task information is used to execute the resource usage task.

[0194] Specifically, the task information includes the model configuration and processing flow required to execute the resource usage task. The terminal device or other server components can correctly use the resource usage model to process the resource usage task based on the task information.

[0195] It should be noted that when generating task information based on the resource usage model, the model parameters of the resource usage model can be directly packaged to obtain the task information. Other model information of the resource usage model can also be obtained to construct the task information based on the other model information, where the other model information includes the processing method of the model input data, the specifications of the expected output results, and the intermediate steps and other auxiliary information that may be involved.

[0196] By applying the solution of the embodiments of this specification, by generating task information of resource usage tasks, it is possible to reduce system deployment and operation and maintenance costs while ensuring the processing quality and efficiency of resource usage tasks, and provide users with convenient and efficient resource usage task processing services.

[0197] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of a task platform provided by an embodiment of the present specification is shown, and the task platform includes a request interface 902 and a processing unit 904;

[0198] A request interface 902, used to receive a task generation request, wherein the task generation request includes request information related to a resource usage task;

[0199] Processing unit 904 is used to obtain a resource usage model based on the request information, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server side for sample resource configuration, and the sample attribute information represents the attributes of the request side for the sample resource configuration; based on the resource usage model, task information is generated, wherein the task information is used to execute resource usage tasks.

[0200] In an optional embodiment of the present specification, the task platform further includes a model library, wherein the model library stores a plurality of resource usage models;

[0201] A processing unit is used to determine a target scenario template from multiple preset scenario templates based on a task scenario identifier, and to search for a resource usage model from a model library based on the target scenario template, wherein the request information includes the task scenario identifier of the resource usage task; or to search for a resource usage model from a model library based on the task model identifier, wherein the request information includes the task model identifier of the resource usage task.

[0202] By applying the solution of the embodiments of this specification, a resource utilization model is obtained by training based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, which reduces the complexity of model training and the difficulty of sample acquisition, and greatly reduces the time overhead of model training, thereby improving the performance of the task platform in facing resource utilization tasks.

[0203] The above is a schematic scheme of a task platform of this embodiment. It should be noted that the technical scheme of the task platform and the technical scheme of the information processing method based on the resource usage model mentioned above belong to the same concept. For the details not described in detail in the technical scheme of the task platform, please refer to the description of the technical scheme of the information processing method based on the resource usage model mentioned above.

[0204] Corresponding to the above resource use method embodiment, this specification also provides a resource use device embodiment, Fig.10 FIG. 1 shows a schematic diagram of a resource utilization device provided by an embodiment of the present specification. Fig.10 As shown, the device comprises:

[0205] The first receiving module 1002 is configured to receive a resource use request sent by a requesting end for a target resource, wherein the resource use request carries target attribute information of the requesting end;

[0206] The first input module 1004 is configured to input the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model, obtain the resource usage information for the target resource, and send the resource usage information to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server for configuring the sample resource, and the sample attribute information represents the attributes of the requesting end for the sample resource configuration.

[0207] Optionally, the resource usage model includes a feature extraction unit, a feature conversion unit and a decoding unit; the first input module 1004 is further configured to input the target attribute information into the feature extraction unit to obtain initial attribute features, and input the resource configuration information of the target resource configured by the server into the feature extraction unit to obtain resource configuration features; input the initial attribute features into the feature conversion unit to obtain target attribute features; input the initial attribute features, target attribute features and resource configuration features into the decoding unit to obtain resource usage information for the target resource.

[0208] Optionally, the decoding unit includes a first decoding layer, a second decoding layer, a normalization layer, an attention layer and a mapping layer; the first input module 1004 is further configured to input the target attribute features into the first decoding layer and the second decoding layer respectively to obtain the value vector output by the first decoding layer and the key vector output by the second decoding layer; input the initial attribute features and the resource configuration features into the normalization layer to obtain the query vector; input the value vector, the key vector and the query vector into the attention layer to obtain the attention features; input the attention features into the mapping layer to obtain resource usage information for the target resources.

[0209] Optionally, the device further includes: a processing module configured to discretize the target attribute information to obtain discrete attribute information; and a first input module 1004 further configured to input the discrete attribute information into a feature extraction unit to obtain initial attribute features.

[0210] Optionally, the device also includes: a third acquisition module, configured to obtain the resource usage policy of the target resource; the first input module 1004, further configured to input the resource usage policy, target attribute information and resource configuration information configured by the server for the target resource into the resource usage model to obtain resource usage information for the target resource.

[0211] Optionally, the device also includes: a first training module, configured to obtain multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information; input multiple sample attribute information and sample resource configuration information into a resource usage model to obtain sample predicted usage information corresponding to each sample attribute information; calculate the sample loss value based on the sample predicted usage information and Nash equilibrium conditions; adjust the model parameters of the resource usage model based on the sample loss value to obtain a trained resource usage model.

[0212] Optionally, the device also includes: a fourth acquisition module, configured to obtain a sample resource usage strategy; a first training module, further configured to input the sample resource usage strategy, multiple sample attribute information and sample resource configuration information into a resource usage model to obtain sample predicted usage information corresponding to each sample attribute information.

[0213] Optionally, the device also includes: a second training module, configured to obtain multiple training attribute information corresponding to the resource usage task and training resource configuration information corresponding to each training attribute information; input the multiple training attribute information and the training resource configuration information into the trained resource usage model to obtain the training predicted usage information corresponding to each training attribute information; calculate the training loss value based on the training predicted usage information and the Nash equilibrium condition; adjust the model parameters of the trained resource usage model based on the sample loss value and the training loss value to obtain an updated resource usage model, wherein the updated resource usage model is used to execute the resource usage task.

[0214] Optionally, the device also includes: a sending module, configured to receive feedback information sent by the requesting end regarding resource usage information; construct model optimization data based on the feedback information; and use the model optimization data to adjust parameters of the resource usage model.

[0215] By applying the solution of the embodiments of this specification, the target attribute information of the requesting end and the resource configuration information configured by the server are simultaneously considered during the resource utilization process, so as to avoid generating the same resource utilization information for the requesting end with the same target attribute information, thereby making resource utilization more accurate. In addition, by utilizing the generalization capability of the resource utilization model for resource utilization, the universality and efficiency of resource utilization are improved.

[0216] The above is a schematic scheme of a resource utilization device of this embodiment. It should be noted that the technical scheme of the resource utilization device and the technical scheme of the resource utilization method described above are of the same concept, and the details not described in detail in the technical scheme of the resource utilization device can be referred to the description of the technical scheme of the resource utilization method described above.

[0217] Corresponding to the above-mentioned cloud computing resource use method embodiment, this specification also provides a cloud computing resource use device embodiment, Fig.11 FIG. 1 is a schematic diagram showing a structure of a cloud computing resource utilization device provided by an embodiment of the present specification. Fig.11 As shown, the device comprises:

[0218] The second receiving module 1102 is configured to receive a resource usage request sent by a requesting end for a target cloud computing resource, wherein the resource usage request carries target attribute information of the requesting end;

[0219] The second input module 1104 is configured to input the target attribute information and the resource configuration information configured by the server for the target cloud computing resources into the resource usage model to obtain the resource usage information for the target cloud computing resources, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample cloud computing resources, and the sample attribute information represents the attributes of the requesting end for the sample cloud computing resources.

[0220] By applying the solution of the embodiments of this specification, the target attribute information of the requesting end and the resource configuration information configured by the server are simultaneously considered during the use of cloud computing resources, so as to avoid generating the same resource usage information for the requesting end with the same target attribute information, thereby making the use of cloud computing resources more accurate. In addition, by utilizing the generalization capability of the resource usage model to use cloud computing resources, the universality of cloud computing resource use and the efficiency of cloud computing resource use are improved.

[0221] The above is a schematic scheme of a cloud computing resource use device of this embodiment. It should be noted that the technical scheme of the cloud computing resource use device and the technical scheme of the cloud computing resource use method described above belong to the same concept, and the details not described in detail in the technical scheme of the cloud computing resource use device can be referred to the description of the technical scheme of the cloud computing resource use method described above.

[0222] Corresponding to the above-mentioned resource usage model training method embodiment, this specification also provides a resource usage model training device embodiment, Fig.12 FIG. 1 shows a schematic diagram of a resource usage model training device provided by an embodiment of the present specification. Fig.12 As shown, the device comprises:

[0223] A first acquisition module 1202 is configured to acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information;

[0224] The third input module 1204 is configured to input multiple sample attribute information and sample resource configuration information into the resource usage model to obtain sample predicted usage information corresponding to each sample attribute information;

[0225] The calculation module 1206 is configured to calculate the sample loss value according to the sample prediction usage information and the Nash equilibrium condition;

[0226] The adjustment module 1208 is configured to adjust the model parameters of the resource usage model according to the sample loss value to obtain a trained resource usage model.

[0227] By applying the solution of the embodiments of this specification, the sample loss value is calculated based on the sample prediction usage information and the Nash equilibrium condition, so that there is no need for ground truth comparison during the model training process. Instead, the deviation value of the demand strategy predicted by the current model from the properties of the Nash equilibrium condition is directly measured. This unlabeled loss function avoids the requirement for labeled data, and only requires multiple sample attribute information and the sample resource configuration information corresponding to each sample attribute information for training, which reduces the complexity of model training and the difficulty of sample acquisition, and greatly reduces the time overhead of model training.

[0228] The above is a schematic scheme of a resource usage model training device of this embodiment. It should be noted that the technical scheme of the resource usage model training device and the technical scheme of the resource usage model training method described above belong to the same concept, and the details not described in detail in the technical scheme of the resource usage model training device can be found in the description of the technical scheme of the resource usage model training method described above.

[0229] Corresponding to the above-mentioned information processing method embodiment based on resource usage model, this specification also provides an information processing device embodiment based on resource usage model, Fig.13 FIG. 1 shows a schematic diagram of a structure of an information processing device based on a resource usage model provided by an embodiment of the present specification. Fig.13 As shown, the device comprises:

[0230] The third receiving module 1302 is configured to receive a task generation request, wherein the task generation request includes request information related to the resource usage task;

[0231] The second acquisition module 1304 is configured to acquire a resource usage model based on the request information, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample resource, and the sample attribute information represents the attribute configured by the requester for the sample resource;

[0232] The generating module 1306 is configured to generate task information based on the resource usage model, wherein the task information is used to execute the resource usage task.

[0233] Optionally, the second acquisition module 1304 is further configured to determine a target scenario template from multiple preset scenario templates based on the task scenario identifier, and search for a resource usage model from a model library based on the target scenario template, wherein the model library stores multiple resource usage models and the request information includes the task scenario identifier of the resource usage task; or, search for a resource usage model from the model library based on the task model identifier, wherein the request information includes the task model identifier of the resource usage task.

[0234] Optionally, the request information includes multiple training attribute information corresponding to the resource usage task and training resource configuration information corresponding to each training attribute information; the second acquisition module 1304 is configured to train the resource usage model corresponding to the resource usage task based on the multiple training attribute information and the training resource configuration information to obtain an updated resource usage model.

[0235] By applying the solution of the embodiments of this specification, by generating task information of resource usage tasks, it is possible to reduce system deployment and operation and maintenance costs while ensuring the processing quality and efficiency of resource usage tasks, and provide users with convenient and efficient resource usage task processing services.

[0236] The above is a schematic scheme of an information processing device based on a resource usage model of this embodiment. It should be noted that the technical scheme of the information processing device based on a resource usage model and the technical scheme of the information processing method based on a resource usage model belong to the same concept, and the details not described in detail in the technical scheme of the information processing device based on a resource usage model can be found in the description of the technical scheme of the information processing method based on a resource usage model.

[0237] Fig.14 14 shows a block diagram of a computing device provided by an embodiment of the present specification. The components of the computing device 1400 include but are not limited to a memory 1410 and a processor 1420. The processor 1420 is connected to the memory 1410 via a bus 1430, and the database 1450 is used to store data.

[0238] The computing device 1400 also includes an access device 1440 that enables the computing device 1400 to communicate via one or more networks 1460. 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 1440 may include one or more of any type of network interface, wired or wireless (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (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 the like.

[0239] In one embodiment of the present specification, the above components of the computing device 1400 and Fig.14 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.14 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0240] The computing device 1400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 1400 may also be a mobile or stationary server.

[0241] Among them, processor 1420 is used to execute computer programs / instructions, which, when executed by the processor, implement the steps of the above-mentioned resource utilization method or cloud computing resource utilization method or resource utilization model training method or information processing method based on resource utilization model.

[0242] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the resource usage method, cloud computing resource usage method, resource usage model training method and information processing method based on resource usage model belong to the same concept. For details not described in detail in the technical scheme of the computing device, please refer to the description of the technical scheme of the resource usage method or cloud computing resource usage method or resource usage model training method or information processing method based on resource usage model.

[0243] An embodiment of the present specification also provides a computer-readable storage medium storing a computer program / instruction, which, when executed by a processor, implements the steps of the above-mentioned resource usage method or cloud computing resource usage method or resource usage model training method or information processing method based on a resource usage model.

[0244] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the resource use method, cloud computing resource use method, resource use model training method and information processing method based on resource use model belong to the same concept. For details not described in detail in the technical scheme of the storage medium, please refer to the description of the technical scheme of the resource use method or cloud computing resource use method or resource use model training method or information processing method based on resource use model.

[0245] An embodiment of the present specification also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the above-mentioned resource usage method or cloud computing resource usage method or resource usage model training method or information processing method based on a resource usage model.

[0246] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the resource usage method, cloud computing resource usage method, resource usage model training method and information processing method based on resource usage model mentioned above belong to the same concept. For details not described in detail in the technical scheme of the computer program product, please refer to the description of the technical scheme of the resource usage method or cloud computing resource usage method or resource usage model training method or information processing method based on resource usage model mentioned above.

[0247] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0248] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0249] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0250] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0251] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A method of using resources, include: Receiving a resource usage request sent by a requesting end for a target resource, wherein the resource usage request carries target attribute information of the requesting end; The target attribute information and the resource configuration information configured by the server for the target resource are input into a resource usage model to obtain resource usage information for the target resource, and the resource usage information is sent to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample resource, and the sample attribute information represents the attributes configured by the requesting end for the sample resource.

2. According to the method of claim 1, the resource usage model comprises a feature extraction unit, a feature conversion unit and a decoding unit; The target attribute information and the resource configuration information configured by the server for the target resource are input into a resource usage model to obtain resource usage information for the target resource, include: Inputting the target attribute information into the feature extraction unit to obtain initial attribute features, and inputting resource configuration information configured by the server for the target resource into the feature extraction unit to obtain resource configuration features; Inputting the initial attribute feature into the feature conversion unit to obtain the target attribute feature; The initial attribute feature, the target attribute feature and the resource configuration feature are input into the decoding unit to obtain resource usage information for the target resource.

3. The method according to claim 2, wherein the decoding unit comprises a first decoding layer, a second decoding layer, a normalization layer, an attention layer, and a mapping layer; The initial attribute feature, the target attribute feature and the resource configuration feature are input into the decoding unit to obtain resource usage information for the target resource, include: Inputting the target attribute features into the first decoding layer and the second decoding layer respectively, obtaining a value vector output by the first decoding layer and a key vector output by the second decoding layer; Inputting the initial attribute features and the resource configuration features into the normalization layer to obtain a query vector; Inputting the value vector, the key vector, and the query vector into the attention layer to obtain an attention feature; The attention feature is input into the mapping layer to obtain resource usage information for the target resource.

4. The method according to claim 2, wherein before inputting the target attribute information into the feature extraction unit to obtain the initial attribute feature, include: Discretizing the target attribute information to obtain discrete attribute information; The step of inputting the target attribute information into the feature extraction unit to obtain initial attribute features includes: The discrete attribute information is input into the feature extraction unit to obtain the initial attribute feature.

5. The method according to claim 1, wherein before inputting the target attribute information and the resource configuration information configured by the server for the target resource into the resource usage model to obtain the resource usage information for the target resource, include: Obtaining a resource usage policy for the target resource; The step of inputting the target attribute information and the resource configuration information configured by the server for the target resource into a resource usage model to obtain resource usage information for the target resource includes: The resource usage policy, the target attribute information, and the resource configuration information configured by the server for the target resource are input into a resource usage model to obtain resource usage information for the target resource.

6. The method according to any one of claims 1 to 5, wherein before inputting the target attribute information and the resource configuration information configured by the server for the target resource into a resource usage model to obtain the resource usage information for the target resource, include: Acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information; Inputting the plurality of sample attribute information and the sample resource configuration information into a resource usage model to obtain sample predicted usage information corresponding to each sample attribute information; Calculate the sample loss value according to the sample prediction usage information and the Nash equilibrium condition; According to the sample loss value, the model parameters of the resource usage model are adjusted to obtain a trained resource usage model.

7. The method according to claim 6, before inputting the plurality of sample attribute information and the sample resource configuration information into a resource usage model to obtain the sample predicted usage information corresponding to each sample attribute information, include: Get sample resource usage strategy; The step of inputting the plurality of sample attribute information and the sample resource configuration information into a resource usage model to obtain sample predicted usage information corresponding to each sample attribute information includes: The sample resource usage strategy, the multiple sample attribute information and the sample resource configuration information are input into a resource usage model to obtain sample predicted usage information corresponding to each sample attribute information.

8. The method according to claim 6, wherein the model parameters of the resource usage model are adjusted according to the sample loss value, and after obtaining the trained resource usage model, include: Acquire multiple pieces of training attribute information corresponding to the resource usage task and training resource configuration information corresponding to each piece of training attribute information; Inputting the plurality of training attribute information and the training resource configuration information into the trained resource usage model to obtain training prediction usage information corresponding to each piece of training attribute information; Calculating a training loss value according to the training prediction usage information and the Nash equilibrium condition; According to the sample loss value and the training loss value, the model parameters of the trained resource usage model are adjusted to obtain an updated resource usage model, wherein the updated resource usage model is used to execute the resource usage task.

9. The method according to claim 1, further comprising: inputting the target attribute information and the resource configuration information configured by the server for the target resource into a resource usage model to obtain resource usage information for the target resource, and sending the resource usage information to the requesting end; include: receiving feedback information sent by the requesting end in response to the resource usage information; Constructing a model to optimize data based on the feedback information; The model optimization data is used to adjust parameters of the resource usage model.

10. A method for using cloud computing resources, include: Receiving a resource usage request sent by a requesting end for a target cloud computing resource, wherein the resource usage request carries target attribute information of the requesting end; The target attribute information and the resource configuration information configured by the server for the target cloud computing resource are input into a resource usage model to obtain resource usage information for the target cloud computing resource, and the resource usage information is sent to the requesting end, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server configuring the sample cloud computing resource, and the sample attribute information represents the attributes of the requesting end for the sample cloud computing resource.

11. A resource usage model training method, include: Acquire multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information; Inputting the plurality of sample attribute information and the sample resource configuration information into a resource usage model to obtain sample predicted usage information corresponding to each sample attribute information; Calculate the sample loss value according to the sample prediction usage information and the Nash equilibrium condition; According to the sample loss value, the model parameters of the resource usage model are adjusted to obtain a trained resource usage model.

12. An information processing method based on a resource usage model, include: receiving a task generation request, wherein the task generation request includes request information related to a resource usage task; Based on the request information, a resource usage model is obtained, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by configuring the sample resource by the server, and the sample attribute information represents the attribute configured by the requesting end for the sample resource; Based on the resource usage model, task information is generated, wherein the task information is used to execute the resource usage task.

13. The method according to claim 12, wherein the resource usage model is obtained based on the request information. include: Based on the task scenario identifier, determine a target scenario template from a plurality of preset scenario templates, and based on the target scenario template, search for a resource usage model from a model library, wherein the model library stores a plurality of resource usage models, and the request information includes the task scenario identifier of the resource usage task; or Based on the task model identifier, a resource usage model is searched from the model library, wherein the request information includes the task model identifier of the resource usage task.

14. The method according to claim 12, wherein the request information includes a plurality of training attribute information corresponding to the resource usage task and training resource configuration information corresponding to each training attribute information; Based on the request information, obtaining a resource usage model, include: Based on the multiple training attribute information and the training resource configuration information, the resource usage model corresponding to the resource usage task is trained to obtain an updated resource usage model.

15. A task platform, comprising a request interface and a processing unit; The request interface is used to receive a task generation request. in, The task generation request includes request information related to the resource usage task; The processing unit is used to obtain a resource usage model based on the request information, wherein the resource usage model is trained based on multiple sample attribute information and sample resource configuration information corresponding to each sample attribute information, the sample resource configuration information is obtained by the server side configuring the sample resource, and the sample attribute information represents the attribute of the request side configured for the sample resource; based on the resource usage model, task information is generated, wherein the task information is used to execute the resource usage task.

16. The task platform according to claim 15, further comprising a model library, in, The model library stores a plurality of resource usage models; The processing unit is used to determine a target scenario template from multiple preset scenario templates based on a task scenario identifier, and to search for a resource usage model from the model library based on the target scenario template, wherein the request information includes the task scenario identifier of the resource usage task; or to search for a resource usage model from the model library based on a task model identifier, wherein the request information includes the task model identifier of the resource usage task.

17. A computing device, include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer program / instructions are executed by the processor, the steps of the method described in any one of claims 1 to 9 or claim 10 or claim 11 or any one of claims 12 to 14 are implemented.

18. A computer-readable storage medium storing a computer program / instruction, which, when executed by a processor, implements the steps of the method described in any one of claims 1 to 9 or claim 10 or claim 11 or any one of claims 12 to 14.

19. A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the method described in any one of claims 1 to 9 or claim 10 or claim 11 or any one of claims 12 to 14.