Target resource determination method and apparatus

By identifying candidate physical resources in inventory resources and determining delivery information based on the differences, the problem of diverse and dispersed inventory resource configuration is solved, and the timeliness and effectiveness of cloud product resource delivery are achieved.

CN119809523BActive Publication Date: 2025-10-17BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411897549.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-10-17
Estimated Expiration
2044-12-20

AI Technical Summary

Technical Problem

In existing technologies, inventory resource configurations are diverse and dispersed, making it difficult to quickly determine the delivery plan for cloud products.

Method used

Based on the physical resource requirements of the cloud product to be delivered, multiple candidate physical resources are determined in the inventory resources. Based on the difference between the candidate physical resources and the physical resource requirements, the delivery information of the candidate physical resources is determined, and the target resource is determined from the multiple candidate physical resources based on the delivery information.

Benefits of technology

It achieves a reasonable and efficient match between cloud product resource requirements and physical resources, and improves the timeliness and effectiveness of the delivery of cloud product resource requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119809523B_ABST
    Figure CN119809523B_ABST
Patent Text Reader

Abstract

The disclosure provides a target resource determination method and device, relates to the technical field of computers, and in particular to the technical field of cloud data processing. A specific implementation scheme is as follows: based on physical resource requirements of a cloud product to be delivered, a plurality of candidate physical resources are determined from inventory resources; based on differences between the candidate physical resources and the physical resource requirements, delivery information of the candidate physical resources is determined; and according to the delivery information, target resources for delivering the cloud product are determined from the plurality of candidate physical resources. This way improves the timeliness and effectiveness of cloud product resource requirement delivery.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer, in particular, to the technical field of cloud data processing, and especially to a target resource determination method and device. BACKGROUND

[0002] When a salesperson conveys a customer's cloud product demand to a person responsible for delivery, the person responsible for delivery needs to determine a delivery scheme of the cloud product according to a conversion relationship between the cloud product and a physical configuration, an inventory server configuration, an inventory distribution, and the like. SUMMARY

[0003] Embodiments of the present disclosure provide a target resource determination method, device, equipment and storage medium.

[0004] In a first aspect, embodiments of the present disclosure provide a target resource determination method, which includes: determining a plurality of candidate physical resources in inventory resources based on a physical resource demand of a cloud product to be delivered; determining delivery information of the candidate physical resources based on a difference between the candidate physical resources and the physical resource demand; and determining a target resource for delivering the cloud product from the plurality of candidate physical resources according to the delivery information.

[0005] In a second aspect, embodiments of the present disclosure provide a target resource determination device, which includes: a first determination module, a second determination module and a resource delivery module, wherein the first determination module is configured to determine a plurality of candidate physical resources in inventory resources based on a physical resource demand of a cloud product to be delivered; the second determination module is configured to determine delivery information of the candidate physical resources based on a difference between the candidate physical resources and the physical resource demand; and the resource delivery module is configured to determine a target resource for delivering the cloud product from the plurality of candidate physical resources according to the delivery information.

[0006] In a third aspect, embodiments of the present disclosure provide an electronic device, which includes one or more processors; and a storage device having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement the target resource determination method according to any one of the embodiments of the first aspect.

[0007] In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, when the program is executed by a processor, the program implements the target resource determination method according to any one of the embodiments of the first aspect.

[0008] In a fifth aspect, embodiments of the present disclosure provide a computer program product, which includes a computer program, when the computer program is executed by a processor, the computer program implements the target resource determination method according to any one of the embodiments of the first aspect.

[0009] It should be understood that nothing in this section is intended to limit the scope of the embodiments of the present disclosure. Other aspects of the present disclosure will become apparent to those of ordinary skill in the art upon reviewing the description below in conjunction with the accompanying figures. BRIEF DESCRIPTION OF DRAWINGS

[0010] Figure 1 is an exemplary system architecture diagram in which the present disclosure can be applied;

[0011] Figure 2 is a flowchart of one embodiment of a target resource determination method according to the present disclosure;

[0012] Figure 3a is a flowchart of yet another embodiment of a target resource determination method according to the present disclosure;

[0013] Figure 3b is a schematic diagram of yet another embodiment of a target resource determination method according to the present disclosure;

[0014] Figure 3c is a schematic diagram of another embodiment of a target resource determination method according to the present disclosure;

[0015] Figure 4 is a schematic diagram of one application scenario of a target resource determination method according to the present disclosure;

[0016] Figure 5 is a schematic diagram of one embodiment of a target resource determination apparatus according to the present disclosure;

[0017] Figure 6 is a structural schematic diagram of a computer system of an electronic device suitable for implementing embodiments of the present disclosure. DETAILED DESCRIPTION

[0018] Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to help in understanding them. These should be considered in their context only. Thus, those of ordinary skill in the art will recognize various changes and modifications of the embodiments described herein, which do not depart from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0019] It should be noted that the embodiments in the present disclosure and the features in the embodiments can be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0020] Figure 1 An exemplary system architecture 100 in which embodiments of a target resource determination method of the present disclosure can be applied is shown.

[0021] AsFigure 1 As shown, the system architecture 100 can include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is a medium for providing a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 can include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0022] A user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc.

[0023] The terminal devices 101, 102, 103 can be hardware or software. When the terminal devices 101, 102, 103 are software, they can be installed in the above-mentioned electronic devices. They can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made herein.

[0024] The server 105 can be a server that provides various services, for example, based on a physical resource requirement of a cloud product to be delivered, determining a plurality of candidate physical resources in inventory resources; based on the difference between the candidate physical resources and the physical resource requirement, determining delivery information of the candidate physical resources; and according to the delivery information, determining a target resource for delivering the cloud product from the plurality of candidate physical resources.

[0025] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, to provide a target resource determination service), or as a single software or software module. No specific limitation is made herein.

[0026] It should be noted that the target resource determination method provided by the embodiments of the present disclosure can be executed by the server 105, or by the terminal devices 101, 102, 103, or by the server 105 and the terminal devices 101, 102, 103 in cooperation with each other. Accordingly, the target resource determination apparatus includes various parts (such as various units, sub-units, modules, sub-modules). They can all be arranged in the server 105, or all be arranged in the terminal devices 101, 102, 103, or be arranged in the server 105 and the terminal devices 101, 102, 103 respectively.

[0027] It should be understood that Figure 1 The number of terminal devices, networks, and servers in the system architecture 100 is only illustrative. According to the needs of implementation, there can be any number of terminal devices, networks, and servers.

[0028] Figure 2 Flow 200 shows an embodiment of a target resource determination method. The target resource determination method can specifically include the following steps:

[0029] Step 201, determining a plurality of candidate physical resources in the inventory resources based on the physical resource requirement of the cloud product to be delivered.

[0030] In this embodiment, the execution subject (for example, the server 105 or the terminal device 101, 102, 103 in the cloud computing system 100) can first determine the physical resource requirement of the cloud product to be delivered according to the cloud product to be delivered and the preset corresponding relationship between the virtual resource and the physical resource requirement required by the cloud product. Figure 1

[0031] The cloud product refers to a product based on cloud computing technology, and users can obtain the required computing resources and services through the Internet at any time, which can generally include cloud terminal service products, computing cloud platforms, industry cloud platforms, social cloud platforms, storage cloud platforms, transaction cloud platforms, test cloud platforms, etc.

[0032] Further, the execution subject can directly determine all physical resources in the inventory resources as candidate physical resources, or determine a plurality of candidate physical resources in the inventory resources according to the matching degree of the physical resource requirement and each physical resource in the inventory resources, which is not limited in the present application.

[0033] Here, the physical resource requirement can include the required position, required configuration, required use period of the physical resource, etc.

[0034] The inventory resources can be physical resources in a preset inventory system or physical resources maintained by a user, which is not limited in the present application.

[0035] Here, the type of the physical resource can include but is not limited to servers and switches. The physical resource can include resource position, resource configuration, resource available period, etc. The resource position can be determined according to the location of the machine room, the inventory state, etc. The resource configuration can include configuration parameters such as CPU, memory, storage, and network card bandwidth. The resource available period is used to indicate the time period during which the resource can be called.

[0036] Step 202, determining the delivery information of the candidate physical resource based on the difference between the candidate physical resource and the physical resource requirement.

[0037] In this embodiment, the execution subject can determine the delivery information of the candidate physical resource according to the difference between the candidate physical resource and the physical resource requirement.

[0038] The delivery information can include the reconfiguration complexity, which can be used to indicate the difficulty of adjusting the candidate physical resource to meet the physical resource requirement.​

[0039] Here, the reconfiguration complexity can be determined based on whether the adjustment of the candidate physical resource to meet the physical resource requirement needs to increase or decrease components (i.e., increase components or decrease components), the number of the increase or decrease components, the difficulty coefficient of the increase or decrease components, and a preset evaluation rule.

[0040] Here, the difficulty coefficient of the increase or decrease components can be determined based on the success rate, the time cost, the cost (e.g., procurement cost, labor cost, material cost, etc.) of historical increase or decrease components, and the like. The higher the success rate, the shorter the time cost, and the lower the cost, the smaller the difficulty coefficient. The lower the success rate, the longer the time cost, and the higher the cost, the larger the difficulty coefficient.

[0041] Here, the reconfiguration complexity can be represented by a reconfiguration complexity parameter. The reconfiguration complexity parameter can be positively correlated with the reconfiguration complexity. That is, the higher the reconfiguration complexity, the larger the reconfiguration complexity parameter. The lower the reconfiguration complexity, the smaller the reconfiguration complexity parameter.

[0042] Here, the preset evaluation rule can be set according to experience and actual needs.

[0043] Specifically, the execution subject can set the preset evaluation rule as: the reconfiguration complexity parameter of the increase component is greater than the reconfiguration complexity parameter of the decrease component, and the reconfiguration complexity parameter of the decrease component is greater than the reconfiguration complexity parameter of no reconfiguration.

[0044] For candidate physical resources that are both increase components, the more the number of increase components, the larger the reconfiguration complexity parameter. For candidate physical resources with the same number of increase components, the higher the difficulty coefficient of the increase component, the larger the reconfiguration complexity parameter.

[0045] For candidate physical resources that are both decrease components, the more the number of decrease components, the larger the reconfiguration complexity parameter. For candidate physical resources with the same number of decrease components, the higher the difficulty coefficient of the decrease component, the larger the reconfiguration complexity parameter.

[0046] For example, for candidate physical resource A and candidate physical resource B, if the adjustment of candidate physical resource A to meet the physical resource requirement needs to increase components, and the number of increase components is 2, the adjustment of candidate physical resource B to meet the physical resource requirement needs to increase components, and the number of increase components is 4, and the preset evaluation rule is: increase components and the number of increase components is greater than 3, the reconfiguration complexity parameter is 3, and increase components and the number of increase components is less than or equal to 3, the reconfiguration complexity parameter is 1, then the reconfiguration complexity parameter of candidate physical resource A can be determined as 1, and the reconfiguration complexity parameter of candidate physical resource B can be determined as 3.

[0047] In step 203, a target resource is determined from the plurality of candidate physical resources according to the delivery information.

[0048] In the embodiment, the execution subject can sort the plurality of candidate physical resources in ascending order according to the reconfiguration complexity of the candidate physical resources, determine one or more candidate physical resources at the front of the sorting as target resources, and recommend the target resources to the user.

[0049] The target resource determination method provided by the embodiments of the present disclosure determines a plurality of candidate physical resources in the inventory resources based on the physical resource requirement of the cloud product to be delivered, determines the delivery information of the candidate physical resources based on the difference between the candidate physical resources and the physical resource requirement, and determines the target resources for delivering the cloud product from the plurality of candidate physical resources according to the delivery information, which overcomes the problem in the prior art that the inventory resources are configured in various ways and are scattered, and the delivery scheme of the cloud product cannot be quickly determined, and realizes reasonable and efficient matching of the resource requirement of the cloud product and the physical resources, and improves the timeliness and effectiveness of the delivery of the resource requirement of the cloud product.

[0050] In some optional manners, the delivery information of the candidate physical resources is determined based on the difference between the candidate physical resources and the physical resource requirement, including: determining the reconfiguration complexity, the delivery time length, and the delivery cost based on the difference between the candidate physical resources and the physical resource requirement.

[0051] In the implementation manner, the execution subject can determine the delivery cost, the delivery time length, and the reconfiguration complexity of the candidate physical resources according to the difference between the candidate physical resources and the physical resource requirement.

[0052] The delivery cost is used to indicate the total cost required for adjusting the candidate physical resources to meet the physical resource requirement, and the delivery time length is used to indicate the total time length required for adjusting the candidate physical resources to meet the physical resource requirement.

[0053] Here, the physical resource requirement can include one or more of a requirement position and a requirement configuration, and the execution subject can determine the delivery cost and the delivery time length according to one or more of the difference between the resource position of the candidate physical resources and the requirement position and the difference between the resource configuration of the candidate physical resources and the requirement configuration.

[0054] The implementation manner determines the reconfiguration complexity, the delivery time length, and the delivery cost based on the difference between the candidate physical resources and the physical resource requirement, and determines the target resources for delivering the cloud product from the plurality of candidate physical resources according to the reconfiguration complexity, the delivery time length, and the delivery cost, which fully considers the influence of the delivery time length and the delivery cost on the determination of the target resources, and improves the accuracy and reliability of the determined target resources.

[0055] In some optional manners, the target resource for delivering the cloud product is determined from the plurality of candidate physical resources according to the delivery information, including: determining a delivery difficulty parameter of the candidate physical resource according to the delivery information of the candidate physical resource; and determining the target resource for delivering the cloud product from the plurality of candidate physical resources according to the delivery difficulty parameter.

[0056] In the implementation manner, the delivery information can include the reconfiguration complexity, the delivery time length and the delivery cost, and the execution subject can directly determine the delivery difficulty parameter of the candidate physical resource according to the reconfiguration complexity, the delivery time length and the delivery cost, and a preset evaluation rule; or determine the delivery difficulty parameter of the candidate physical resource according to a first sub-delivery difficulty parameter corresponding to the reconfiguration complexity, a second sub-delivery difficulty parameter corresponding to the delivery time length and a third sub-delivery difficulty parameter corresponding to the delivery cost, which are not limited in the application.

[0057] The delivery difficulty parameter can be used to represent the delivery difficulty, and the delivery difficulty parameter is positively correlated with the delivery difficulty, that is, the greater the delivery difficulty parameter, the greater the delivery difficulty.

[0058] Here, the execution subject can determine the delivery difficulty parameter according to the first sub-delivery difficulty parameter, the second sub-delivery difficulty parameter and the third sub-delivery difficulty parameter; or determine the delivery difficulty parameter according to the first sub-delivery difficulty parameter, a first weight of the first sub-delivery difficulty parameter, the second sub-delivery difficulty parameter, a second weight of the second sub-delivery difficulty parameter, the third sub-delivery difficulty parameter and a third weight of the third sub-delivery difficulty parameter.

[0059] The first sub-delivery difficulty parameter can be positively correlated with the reconfiguration complexity, the second sub-delivery difficulty parameter can be positively correlated with the delivery time length, and the third sub-delivery difficulty parameter can be positively correlated with the delivery cost.

[0060] Here, the first weight, the second weight and the third weight can be determined based on a preset delivery strategy, and the delivery strategy can include: cost priority, time length priority, reconfiguration complexity priority, etc.

[0061] The delivery difficulty parameter can have various forms of representation, such as numerical score, grade evaluation, descriptive evaluation, comprehensive score, etc., which are not limited in the application.

[0062] Further, the execution subject can sort the plurality of candidate physical resources according to the delivery difficulty parameter, and determine the candidate physical resource with the smallest delivery difficulty parameter as the target resource for delivering the cloud product.

[0063] This implementation method determines the delivery difficulty parameters of candidate physical resources based on the delivery information of the candidate physical resources; based on the delivery difficulty parameters, the target resources for delivering cloud products are determined from multiple candidate physical resources, thereby determining the target resources based on the delivery difficulty parameters and improving the reliability of the determined target resources.

[0064] In some optional methods, based on the delivery difficulty parameter, a target resource for delivering the cloud product is determined from multiple candidate physical resources, including: sorting the multiple candidate physical resources in ascending order according to the delivery difficulty parameter, determining the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource; in response to determining that the number of target physical resources is at least two, updating the delivery difficulty parameters of at least two target physical resources according to at least one of the following items of the candidate physical resources: inventory status, delivery time, and delivery cost; and based on the updated delivery difficulty parameter, determining the target resource for delivering the cloud product from the at least two target physical resources.

[0065] In this implementation, the execution entity may sort multiple candidate physical resources in order of delivery difficulty parameters from small to large, and determine the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource. If the number of target physical resources is at least two, for example, 3, 4, etc., that is, there are at least two target physical resources with the same delivery difficulty parameter, the execution entity may update the delivery difficulty parameters of at least two target physical resources according to at least one of the following information of the candidate physical resources: inventory status, delivery time and delivery cost.

[0066] Specifically, if the target physical resources are candidate physical resource A and candidate physical resource B, and the delivery difficulty parameters of both are 3 points, the executing entity may further compare the inventory status of candidate physical resource A and candidate physical resource B. If the inventory status of candidate physical resource A is online inventory and the inventory status of candidate physical resource B is procurement in transit, since online inventory usually has a higher priority than procurement in transit, the executing entity may update the delivery difficulty parameter of candidate physical resource A to 2 points and the delivery difficulty parameter of candidate physical resource B to 4 points based on the inventory status. The updated delivery difficulty parameter of candidate physical resource A is less than the delivery difficulty parameter of candidate physical resource B.

[0067] Furthermore, the execution entity may sort at least two target physical resources according to the updated delivery difficulty parameter, and determine the target physical resource with the smallest delivery difficulty parameter as the target resource for delivering the cloud product.

[0068] The implementation sorts the plurality of candidate physical resources in order of the delivery difficulty parameter from small to large, determines the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource, and in response to determining that the number of target physical resources is at least two, updates the delivery difficulty parameter of the at least two target physical resources according to at least one of the following of the candidate physical resources: inventory status, delivery time length, and delivery cost, and determines the target resource for delivering the cloud product from the at least two target physical resources based on the updated delivery difficulty parameter, which helps to determine the target resource when there are a plurality of candidate physical resources with the same delivery difficulty parameter.

[0069] In some optional manners, updating the delivery difficulty parameter of the at least two target physical resources according to at least one of the following of the candidate physical resources: inventory status, delivery time length, and delivery cost, includes: in response to determining that the delivery time lengths of the at least two target physical resources are the same, determining whether the inventory statuses of the at least two target physical resources are the same; in response to determining that the inventory statuses of the at least two target physical resources are the same, determining whether the delivery costs of the at least two target physical resources are the same; and in response to determining that the delivery costs of the at least two target physical resources are different, updating the delivery difficulty parameter of the at least two target physical resources based on the delivery cost.

[0070] In the implementation, the execution subject can sort the plurality of candidate physical resources according to the delivery difficulty parameter, and determine the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource. If the number of target physical resources is at least two, for example, 3, 4, etc., that is, there are at least two target physical resources with the same delivery difficulty parameter, the delivery time lengths of the at least two target physical resources can be first determined to be the same, and then the inventory statuses of the at least two target physical resources are further determined to be the same, and then the delivery costs of the at least two target physical resources are further determined to be the same, and if not, the delivery difficulty parameter of the at least two target physical resources is updated according to the delivery cost.

[0071] Here, before determining whether the delivery time lengths of the at least two target physical resources are the same, the execution subject can first determine whether the product lines corresponding to the at least two target physical resources are the same as the product line corresponding to the physical resource requirement, and if not, the delivery difficulty parameter of the at least two target physical resources is updated according to the product line corresponding to the target physical resource (preferably, the target physical resource with the same product line as the product line corresponding to the physical resource requirement is selected), and if yes, the delivery time lengths of the at least two target physical resources are further determined to be the same.

[0072] Further, the execution subject can first determine whether the product packages corresponding to the at least two target physical resources are all the same as the product package corresponding to the physical resource requirement, if not, directly update the delivery difficulty parameters of the at least two target physical resources according to the product package corresponding to the target physical resource (preferably select the target physical resource with the same product package as the product package corresponding to the physical resource requirement), and if yes, further determine whether the delivery costs of the at least two target physical resources are the same.

[0073] The implementation determines whether the inventory states of the at least two target physical resources are the same in response to determining that the delivery durations of the at least two target physical resources are the same, determines whether the delivery costs of the at least two target physical resources are the same in response to determining that the inventory states of the at least two target physical resources are the same, and updates the delivery difficulty parameters of the at least two target physical resources based on the delivery cost in response to determining that the delivery costs of the at least two target physical resources are different, thereby improving the effectiveness of the determined target resource.

[0074] In some optional manners, the delivery difficulty parameters of the at least two target physical resources are updated according to at least one of the following of the candidate physical resources: inventory state, delivery duration, and delivery cost, and the implementation further includes: the delivery difficulty parameters of the at least two target physical resources are updated based on the delivery duration in response to determining that the delivery durations of the at least two target physical resources are not the same; and the delivery difficulty parameters of the at least two target physical resources are updated based on the inventory state in response to determining that the inventory states of the at least two target physical resources are not the same.

[0075] In the implementation, the execution subject can sort the plurality of candidate physical resources according to the delivery difficulty parameters, and determine the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource. If the number of the target physical resources is at least two, for example, 3, 4, etc., that is, the delivery difficulty parameters of the at least two target physical resources are the same, the execution subject can determine whether the delivery durations of the at least two target physical resources are the same, if not, the delivery difficulty parameters of the at least two target physical resources are updated according to the delivery durations of the candidate physical resources.

[0076] If yes, the execution subject can determine whether the inventory states of the at least two target physical resources are the same, if not, the delivery difficulty parameters of the at least two target physical resources are updated according to the inventory states of the candidate physical resources.

[0077] The implementation manner updates the delivery difficulty parameters of the at least two target physical resources based on the delivery time length in response to determining that the delivery time lengths of the at least two target physical resources are different, and updates the delivery difficulty parameters of the at least two target physical resources based on the inventory states in response to determining that the inventory states of the at least two target physical resources are different, and determines the target resource based on the updated delivery difficulty parameters, thereby improving the effectiveness of the determined target resource.

[0078] In some optional manners, the determining the plurality of candidate physical resources from the inventory resources based on the physical resource requirement of the cloud product to be delivered includes: determining a plurality of initial physical resources from the inventory resources based on matching degrees of the physical resources in the inventory resources and the physical resource requirement; and in response to determining that a specified physical resource exists in the initial physical resources, excluding the specified physical resource from the plurality of initial physical resources to obtain the plurality of candidate physical resources.

[0079] In the implementation manner, the execution subject can calculate the matching degrees of the physical resources in the inventory resources and the physical resource requirement, and determine the physical resources with matching degrees meeting a preset condition (for example, the matching degrees are greater than or equal to a preset matching degree threshold) as the initial physical resources.

[0080] Specifically, the requirement position included in the physical resource requirement is A, the requirement configuration is 256G memory and 5t storage, and the execution subject can calculate the matching degrees of the physical resource requirement and the physical resources in the inventory resources according to one or more of the resource positions or the resource configurations, and determine the plurality of initial physical resources according to the matching results.

[0081] Further, the execution subject can determine whether the specified physical resource exists in the initial physical resources, and if the specified physical resource exists, the specified physical resource can be excluded from the plurality of initial physical resources to obtain the plurality of candidate physical resources.

[0082] The specified physical resource includes a physical resource that has a difference with the physical resource requirement and cannot be reconfigured, for example, the difference with the physical resource requirement includes a CPU difference, a reconfigured GPU, and the like, and a model reconfiguration evaluation fails (that is, reconfiguration is prohibited).

[0083] The implementation manner determines the plurality of initial physical resources from the inventory resources based on the matching degrees of the physical resources in the inventory resources and the physical resource requirement, and in response to determining that the specified physical resource exists in the initial physical resources, excludes the specified physical resource from the plurality of initial physical resources to obtain the plurality of candidate physical resources, thereby improving the reliability of the determined candidate physical resources.

[0084] In some optional manners, the method further includes: determining the physical resource requirement of the cloud product to be delivered based on the delivery request information.

[0085] In the implementation, the execution subject can acquire the delivery request information submitted by the user in a wired or wireless manner, and the delivery request information can include one of the following: a cloud product selling specification, a cloud product deployment label, a server label, and a physical machine configuration.

[0086] The cloud product selling specification is used to determine the cloud product deployment label, the cloud product deployment label is used to determine the server label, the server label is used to determine the physical machine configuration, and the physical machine configuration is used to determine the physical resource requirement of the cloud product to be delivered.

[0087] Here, the cloud product selling specification is used to indicate specification information of cloud product selling, the cloud product deployment label is used to indicate different products deployed to different product lines, the server label is used to indicate a service configuration set of a specified type, and the physical machine configuration is used to indicate a physical resource requirement.

[0088] Specifically, if the delivery request information submitted by the user includes the cloud product selling specification, the execution subject can determine the cloud product deployment label according to the cloud product selling specification, determine the server label according to the cloud product deployment label, determine the physical machine configuration according to the server label, and determine the physical resource requirement of the cloud product to be delivered according to the physical machine configuration.

[0089] If the delivery information submitted by the user includes the cloud product deployment label, the execution subject can determine the server label according to the cloud product deployment label, determine the physical machine configuration according to the server label, and determine the physical resource requirement of the cloud product to be delivered according to the physical machine configuration.

[0090] If the delivery information submitted by the user includes the server label, the execution subject can determine the physical machine configuration according to the server label, and determine the physical resource requirement of the cloud product to be delivered according to the physical machine configuration.

[0091] The implementation can adapt to various types of delivery request information by determining the physical resource requirement of the cloud product to be delivered based on the delivery request information.

[0092] Further reference is made to Figure 3a which shows Figure 2 Another embodiment of the target resource determination method is shown in flow 300. In this embodiment, the flow 300 of the target resource determination method can include the following steps:

[0093] In step 301, a plurality of candidate physical resources are determined from the inventory resources based on the physical resource requirement of the cloud product to be delivered.

[0094] In this embodiment, the implementation details and technical effects of step 301 can be referred to the description of step 201, which will not be repeated here.

[0095] At step 302, the delivery cost and the delivery time length are determined based on the difference between the resource location of the candidate physical resource and the demand location, and the difference between the resource configuration of the candidate physical resource and the demand configuration.

[0096] In the embodiment, the physical resource demand can include the demand location and the demand configuration. For each of the candidate physical resources, the subject can determine the path (i.e. step or link) required for adjusting the candidate physical resource to meet the demand configuration according to the difference between the resource configuration of the candidate physical resource and the demand configuration, and the cost and time length required for each path, and determine the first delivery cost and the first delivery time length according to the cost and time length required for each path.

[0097] Here, the subject can determine the sum of the cost required for each path in the configuration adjustment process as the first delivery cost, and the sum of the time length required for each path as the first delivery time length.

[0098] The difference between the resource configuration and the demand configuration, i.e. the configuration difference, can include component difference, account difference, capacity expansion difference, etc. The component difference can include additional components, reduced components, additional components and reduced components, component parameter difference, memory difference, etc.

[0099] For each of the candidate physical resources, the subject can determine the path (i.e. step or link) required for adjusting the candidate physical resource to meet the demand location according to the difference between the resource location of the candidate physical resource and the demand location, and the cost and time length required for each path, and determine the second delivery cost and the second delivery time length according to the cost and time length required for each path.

[0100] Here, the subject can determine the sum of the cost required for each path in the location adjustment process as the second delivery cost, and the sum of the time length required for each path as the second delivery time length.

[0101] Further, the subject can determine the delivery cost according to the first delivery cost and the second delivery cost, and determine the delivery time length according to the first delivery time length and the second delivery time length.

[0102] The demand location can include the target machine room location, and the resource location can be determined according to the current machine room location or the inventory status of the candidate physical resource.

[0103] Specifically, if the target computer room location does not match the current computer room location of the candidate physical resource, the path to adjust the candidate physical resource to a location that meets the requirements is relocation. The duration and cost of this path can be further determined based on whether the current computer room location and the target computer room location are in the same city, the same region, or cross-border. For example, if the current computer room location and the target computer room location are in the same city, the cost can be determined to be 400 yuan and the duration can be 1 day; if the current computer room location and the target computer room location are in the same region but different cities, the cost can be determined to be 400 yuan and the duration can be 4 days; if the current computer room location and the target computer room location are across regions, the cost can be determined to be 400 yuan and the duration can be 10 days; if the current computer room location and the target computer room location are across borders, the cost can be determined to be 1,500 yuan and the duration can be 21 days.

[0104] Here, the execution entity may further determine the difference between the resource location of the candidate physical resource and the required location according to the inventory status of the candidate physical resource.

[0105] The inventory status may include multiple types, such as online inventory, purchase in transit, VMI (Vendor Managed Inventory), etc.

[0106] Specifically, if Figure 3b As shown, if the inventory status is online inventory, that is, the current computer room location of the candidate physical resource matches the target computer room location, but is in an occupied state (not used or with a low utilization rate), then the path to adjust the candidate physical resource to a location that meets the demand is to take the machine offline, that is, to release the candidate physical resource from the occupied state to meet the physical resource demand. The duration and cost of this path can be determined based on experience, for example, the duration is 1 day and the cost is 0.

[0107] If the inventory status is "Purchase in transit" and the destination computer room location matches the target computer room location, the path that adjusts the candidate physical resources to meet the location requirements is "Purchase in transit". The duration of this path can be the target difference, that is, the difference between the expected delivery time and the time to obtain the physical resource requirements (that is, the time to start searching for the target resource, that is, the matching running time). The cost can be 0.

[0108] If the inventory status is "Purchase in transit", the destination computer room location does not match the target computer room location, and the target difference is greater than or equal to the preset duration, for example, 14 days, then the path for adjusting the candidate physical resources to meet the location requirements can be determined as "Purchase in transit" or "Purchase in transit to computer room" (i.e., the destination computer room location is changed to the target computer room location). For the path "Purchase in transit to computer room", the duration and cost of the path can be determined based on experience.

[0109] If the inventory state is on the way to purchase, the destination data center location does not match the target data center location, the target difference is less than a preset time length, for example, 14 days, and the data center is VMI, it can be determined that the path for adjusting the candidate physical resource to meet the location requirement is on the way to purchase and VMI pickup. For the path VMI pickup, the time length and cost required by the path can be determined according to experience.

[0110] If the inventory state is on the way to purchase, the destination data center location does not match the target data center location, the target difference is less than a preset time length, for example, 14 days, and the data center is not VMI, it can be determined that the path for adjusting the candidate physical resource to meet the location requirement is on the way to purchase and relocation.

[0111] If the inventory state is VMI, it can be determined that the path for adjusting the candidate physical resource to meet the location requirement is VMI pickup. The time length and cost corresponding to VMI pickup can be determined according to the current data center location and the target data center location. If they are different, the path relocation can be further added.

[0112] In step 303, the adjustment complexity of the candidate physical resource to meet the demand configuration is determined based on the difference between the resource configuration and the demand configuration.

[0113] In this embodiment, the execution subject can determine the adjustment complexity of the candidate physical resource to meet the demand configuration according to the difference between the resource configuration and the demand configuration.

[0114] The difference between the resource configuration and the demand configuration, i.e., the configuration difference, can include component difference.

[0115] Specifically, the execution subject can determine whether the component difference is no adjustment or pure reduction component (i.e., only includes reduction component). If yes, it can be determined that the adjustment complexity is the first complexity. If not, it can be further determined whether there is component difference and the model adjustment evaluation result is no accessories (i.e., although there is a difference between the resource configuration and the demand configuration of the candidate physical resource, it is evaluated that no component needs to be adjusted to meet the demand configuration, i.e., no hardware needs to be adjusted to meet the demand configuration). If yes, it can be determined that the adjustment complexity is the second complexity. If not, it can be determined that the adjustment complexity is the third complexity.

[0116] The first complexity, the second complexity and the third complexity indicate the complexity in ascending order.

[0117] In step 304, the target resource for delivering the cloud product is determined from the plurality of candidate physical resources according to the delivery information.

[0118] In this embodiment, the implementation details and technical effects of step 304 can be referred to the description of step 203, which will not be repeated here.

[0119] The above-mentioned embodiments of the present disclosure determine multiple candidate physical resources from inventory resources based on the physical resource requirements of the cloud product to be delivered, and determine the delivery cost and delivery time based on the difference between the resource location of the candidate physical resources and the required location, as well as the difference between the resource configuration of the candidate physical resources and the required configuration; determine the reconfiguration complexity based on the difference between the resource configuration of the candidate physical resources and the required configuration, and determine the target resource for delivering the cloud product from multiple candidate physical resources based on the delivery information, thereby realizing the determination of delivery information by utilizing the difference between the resource location and the required location, as well as the difference between the resource configuration of the candidate physical resources and the required configuration, and further improving the timeliness and effectiveness of the delivery of cloud product required resources.

[0120] In some optional manners, the difference between the resource configuration of the candidate physical resource and the required configuration includes at least one of the following: component difference, account difference, expansion difference, and pricing difference.

[0121] In this implementation, the execution entity can determine the path (i.e., steps or links) required to adjust the selected physical resources to meet the required configuration, as well as the cost and duration required for each path based on the difference between the resource configuration of the candidate physical resources and the required configuration, and determine the first delivery cost and first delivery duration based on the cost and duration required for each path.

[0122] The difference between the resource configuration of the candidate physical resource and the required configuration, that is, the configuration difference, may include at least one of the following: component difference, account difference, expansion difference, and pricing difference.

[0123] Here, component differences may include various scenarios, such as allocation scenarios of additional components, procurement scenarios of additional components, memory scenarios of additional components, etc.

[0124] Specifically, if Figure 3c As shown, if the configuration difference includes component differences, for the allocation scenario of additional components, we can first determine whether the total inventory of the current computer room where the candidate physical resource is located is sufficient. If not, we can further determine whether the total inventory of other computer rooms and the current computer room is sufficient. If so, we can determine that the path to adjust the candidate physical resource to meet the required configuration is component allocation. The duration and cost of this path can be determined based on the distance between the current computer room and other computer rooms and the historical average duration and cost of the same distance, for example, 1 day and 20 yuan. If not, the path to adjust the candidate physical resource to meet the required configuration is component procurement. The duration and cost of this path can be determined based on the historical average duration and cost of the same component procurement, for example, 3 days and 200 yuan.

[0125] For the procurement scenario of the added component, it can be firstly judged whether the model evaluation (i.e., model refitting evaluation) has a reuse scheme (i.e., there is a historical added component scheme of the candidate physical resource), if yes, it is directly judged whether the added component is added, if yes, it can be determined that the path of adjusting the candidate physical resource to the demand configuration is component procurement.

[0126] For the memory scenario of the added component, it can be firstly judged whether the added component includes memory, if yes, it can be determined that the path of adjusting the candidate physical resource to the demand configuration is refitting, and the refitting duration and cost can be determined according to the historical average refitting duration and cost of the memory-included refitting. If it does not include memory, it can be determined that the path of adjusting the candidate physical resource to the demand configuration is refitting, and the refitting duration and cost can be determined according to the historical average refitting duration and cost of the memory-included refitting.

[0127] If the configuration difference includes an account difference, such as the resource account and node of the candidate physical resource is different from the resource account and node of the node and physical resource demand, it can be determined that the path of adjusting the candidate physical resource to the demand configuration is to purchase or transfer the right, and the duration and cost can be determined according to the historical average duration and cost of the purchase or right transfer.

[0128] If the configuration difference includes a pricing difference, such as the physical resource demand corresponds to a specified package, and the candidate physical resource does not; the physical resource demand corresponds to an EPC (Engineering, Procurement, and Construction) pricing, and the candidate physical resource does not, etc., it can be determined that the path of adjusting the candidate physical resource to the demand configuration is EPC pricing, and the duration and cost can be determined according to the historical average duration and cost of the EPC pricing.

[0129] If the configuration difference includes a capacity expansion difference, such as the physical resource demand includes an expansion demand, and the candidate physical resource does not have an expansion function, it can be determined that the path of adjusting the candidate physical resource to the demand configuration is expansion, and the duration of the expansion can be determined according to whether a historical expansion matching label can be obtained. Generally, the expansion duration of the historical expansion matching label is less than the expansion duration of the historical expansion matching label that cannot be obtained.

[0130] In addition, the configuration difference can also include a model refitting evaluation difference, that is, there is a component difference, and there is no historical record for the refitting component scheme, which needs to be re-evaluated, so the path of adjusting the candidate physical resource to the demand configuration needs to be added model evaluation. The duration and cost of the model evaluation can be determined based on the average duration and cost of the historical refitting scheme.

[0131] Specifically, the difference between the resource configuration of the candidate physical resource and the demand configuration includes component difference, account difference, capacity expansion difference, pricing difference, and model reconfiguration evaluation difference. The execution subject can calculate the sum of the time lengths of the paths corresponding to each difference to obtain the first delivery time length, and calculate the sum of the costs of the paths corresponding to each difference to obtain the first delivery cost.

[0132] The implementation improves the accuracy and reliability of the delivery information determined based on the difference between the resource configuration of the candidate physical resource and the demand configuration.

[0133] Referring back to Figure 4 , Figure 4 is a schematic diagram of an application scenario of the target resource determination method according to the embodiment.

[0134] The execution subject 401 determines the physical resource demand 402 of the cloud product to be delivered according to the cloud product selling specification in response to obtaining the delivery request information submitted by the user, such as the cloud product selling specification. The execution subject determines a plurality of candidate physical resources 404, such as two candidate physical resources, candidate physical resource A and candidate physical resource B, in the inventory resource 403 according to the physical resource demand. The physical resource demand can include demand location and demand configuration. The execution subject can determine the delivery cost and the delivery time length according to the difference between the resource location of the candidate physical resource and the demand location, and the difference between the resource configuration of the candidate physical resource and the demand configuration. The reconfiguration complexity is determined according to the difference between the resource configuration of the candidate physical resource and the demand configuration (for example, the delivery time length of the candidate physical resource A is 5 days, the delivery cost is 0, and the reconfiguration complexity is the first complexity; the delivery time length of the candidate physical resource A is 8 days, the delivery cost is 600, and the reconfiguration complexity is the second complexity).

[0135] Further, the delivery difficulty parameter 406 is determined according to the delivery information 405, i.e., the delivery cost, the delivery time length, and the reconfiguration complexity, and the preset evaluation rule. The delivery difficulty parameter can be represented by a numerical score. The smaller the delivery difficulty parameter is, the higher the score is.

[0136] The preset evaluation rule can be set according to actual needs, for example, a time length rule: if the delivery time length is less than or equal to 7 days, the delivery difficulty parameter is 3 points, if the delivery time length is greater than 7 days and less than or equal to 14 days, the delivery difficulty parameter is 2 points, and if the delivery time length is greater than 14 days, the delivery difficulty parameter is 1 point; a cost rule: if the delivery cost is 0, the delivery difficulty parameter is 3 points, if the delivery cost is greater than 0 and less than or equal to 500, the delivery difficulty parameter is 2 points, and if the delivery cost is greater than 500, the delivery difficulty parameter is 1 point; a reconfiguration complexity rule: if the first complexity, the delivery difficulty parameter is 3 points, if the second complexity, the delivery difficulty parameter is 2 points, and if the third complexity, the delivery difficulty parameter is 1 point.

[0137] Further, the execution subject can sort the candidate physical resource A (9 points) and the candidate physical resource B (6 points) according to the sum of the delivery difficulty parameters corresponding to the delivery time length, the delivery cost and the reconfiguration complexity, and determine the candidate physical resource A with the highest score as the target resource 407 for delivering the cloud product.

[0138] Further reference Figure 5 , as an implementation of the method shown in the above figures, the present disclosure provides an embodiment of a target resource determination device, which corresponds to the method embodiment shown in Figure 2 .

[0139] As shown in Figure 5 , the target resource determination device 500 of the present embodiment comprises a first determination module 501, a second determination module 502 and a resource delivery module 503.

[0140] The first determination module 501 can be configured to determine a plurality of candidate physical resources in the inventory resources based on the physical resource requirement of the cloud product to be delivered.

[0141] The second determination module 502 can be configured to determine the delivery information of the candidate physical resources based on the difference between the candidate physical resources and the physical resource requirement.

[0142] The resource delivery module 503 can be configured to determine the target resource for delivering the cloud product from the plurality of candidate physical resources according to the delivery information.

[0143] In some optional manners of the present embodiment, the second determination module is further configured to determine the reconfiguration complexity, the delivery time length and the delivery cost of the candidate physical resources based on the difference between the candidate physical resources and the physical resource requirement.

[0144] In some alternative manners of the present embodiment, the second determining module further comprises: a position determining unit configured to determine the delivery cost and the delivery time length based on a difference between the resource position of the candidate physical resource and the demand position, and a difference between the resource configuration of the candidate physical resource and the demand configuration; and a configuration determining unit configured to determine the reconfiguration complexity based on the difference between the resource configuration of the candidate physical resource and the demand configuration.

[0145] In some alternative manners of the present embodiment, the difference between the resource configuration of the candidate physical resource and the demand configuration comprises at least one of a component difference, an account difference, a capacity expansion difference, and a pricing difference.

[0146] In some alternative manners of the present embodiment, the resource delivery module further comprises: a difficulty determining unit configured to determine a delivery difficulty parameter of the candidate physical resource according to the delivery information of the candidate physical resource; and a resource delivery unit configured to determine a target resource for delivering the cloud product from the plurality of candidate physical resources according to the delivery difficulty parameter.

[0147] In some alternative manners of the present embodiment, the resource delivery unit is further configured to:

[0148] sort the plurality of candidate physical resources in an order from small to large according to the delivery difficulty parameter; determine the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource; in response to determining that the number of the target physical resources is at least two, update the delivery difficulty parameter of the at least two target physical resources according to at least one of the following of the candidate physical resources: the inventory state, the delivery time length, and the delivery cost; and determine the target resource for delivering the cloud product from the at least two target physical resources based on the updated delivery difficulty parameter.

[0149] In some alternative manners of the present embodiment, the resource delivery unit is further configured to: in response to determining that the delivery time lengths of the at least two target physical resources are the same, determine whether the inventory states of the at least two target physical resources are the same; in response to determining that the inventory states of the at least two target physical resources are the same, determine whether the delivery costs of the at least two target physical resources are the same; and in response to determining that the delivery costs of the at least two target physical resources are different, update the delivery difficulty parameter of the at least two target physical resources based on the delivery cost.

[0150] In some alternative manners of the present embodiment, the resource delivery unit is further configured to: in response to determining that the delivery time lengths of the at least two target physical resources are different, update the delivery difficulty parameter of the at least two target physical resources based on the delivery time length; and in response to determining that the inventory states of the at least two target physical resources are different, update the delivery difficulty parameter of the at least two target physical resources based on the inventory state.

[0151] In some optional manners of the embodiment, the first determining module further includes: a resource matching unit, configured to determine the plurality of initial physical resources from the inventory resources based on matching degrees of each physical resource in the inventory resources and the physical resource demand; and a resource excluding unit, configured to exclude the specified physical resource from the plurality of initial physical resources to obtain the plurality of candidate physical resources, in response to determining that the specified physical resource exists in the initial physical resources.

[0152] In some optional manners of the embodiment, the apparatus further includes a third determining module configured to determine the physical resource demand of the cloud product to be delivered based on the delivery request information.

[0153] In the technical solution of the disclosure, the acquisition, storage and application of the personal information of the user comply with relevant laws and regulations and do not violate public order and good customs.

[0154] According to the embodiments of the disclosure, the disclosure further provides an electronic device, a readable storage medium and a computer program product.

[0155] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0156] As shown in Figure 6 The device 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the device 600 can also be stored in the RAM 603. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0157] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, a magneto-optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices over a computer network, such as the Internet, and / or various telecommunication networks.

[0158] The computing unit 601 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs various methods and processes described above, such as the method for target resource determination. For example, in some embodiments, the method for target resource determination can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded onto the RAM 603 and executed by the computing unit 601, one or more steps of the method for target resource determination described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the method for target resource determination by any other appropriate means, such as by means of firmware.

[0159] Various implementations of the systems and techniques described above herein can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0160] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a standalone software package, or entirely on a remote machine or server.

[0161] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disk drives, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0162] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0163] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[0164] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of large management difficulty and weak business scalability in traditional physical host and virtual private server (VPS, Virtual Private Server) services. The server can also be a server of a distributed system, or a server combined with a blockchain.

[0165] According to the technical scheme of the embodiment of the present disclosure, the rational and efficient matching of resource demand of cloud products and physical resources is achieved, and the timeliness and effectiveness of resource delivery of cloud product demand are improved.

[0166] It should be understood that various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present disclosure can be executed in parallel, sequentially or in different order, as long as the desired results of the technical scheme provided by the present disclosure can be achieved, which is not limited herein.

[0167] The above detailed description does not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent replacement and improvement within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A method for determining target resources, comprising: Based on the physical resource requirements of the cloud product to be delivered, multiple candidate physical resources are identified from the inventory resources; Determining, based on a difference between the candidate physical resource and the physical resource requirement, delivery information of the candidate physical resource, the delivery information including a reconfiguration complexity, a delivery duration, and a delivery cost, the reconfiguration complexity being used to indicate the difficulty of adjusting the candidate physical resource to meet the physical resource requirement, the delivery cost being used to indicate the total cost required to adjust the candidate physical resource to meet the physical resource requirement, and the delivery duration being used to indicate the total duration required to adjust the candidate physical resource to meet the physical resource requirement; Determining a delivery difficulty parameter of the candidate physical resource based on the delivery information of the candidate physical resource; Determine the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource; In response to determining that the number of target physical resources is at least two and the delivery durations of the at least two target physical resources are different, updating the delivery difficulty parameters of the at least two target physical resources based on the delivery durations; Based on the updated delivery difficulty parameter, a target resource for delivering the cloud product is determined from the at least two target physical resources.

2. The method according to claim 1, wherein The physical resource requirement includes a required location and a required configuration, and determining the delivery information of the candidate physical resource based on a difference between the candidate physical resource and the physical resource requirement includes: Determining a delivery cost and a delivery duration based on a difference between a resource location of the candidate physical resource and the required location, and a difference between a resource configuration of the candidate physical resource and the required configuration; Based on the difference between the resource configuration of the candidate physical resources and the required configuration, a reconfiguration complexity is determined.

3. The method according to claim 2, wherein: The difference between the resource configuration and the required configuration of the candidate physical resource includes at least one of the following: component difference, account difference, expansion difference and pricing difference.

4. The method according to claim 1, further comprising: In response to determining that the number of target physical resources is at least two and the delivery time of the at least two target physical resources is the same, determining whether the inventory status of the at least two target physical resources is the same; In response to determining that the inventory statuses of the at least two target physical resources are the same, determining whether the delivery costs of the at least two target physical resources are the same; In response to determining that the delivery costs of the at least two target physical resources are different, delivery difficulty parameters of the at least two target physical resources are updated based on the delivery costs.

5. The method according to claim 4, further comprising: In response to determining that the inventory statuses of the at least two target physical resources are different, delivery difficulty parameters of the at least two target physical resources are updated based on the inventory statuses.

6. The method according to claim 1, wherein Based on the physical resource requirements of the cloud product to be delivered, multiple candidate physical resources are determined from the inventory resources, including: Based on the matching degree between each physical resource in the inventory resources and the physical resource demand, a plurality of initial physical resources are determined in the inventory resources; In response to determining that a designated physical resource exists in the initial physical resources, the designated physical resource is removed from the multiple initial physical resources to obtain multiple candidate physical resources, The designated physical resources include physical resources that are different from the physical resource requirements and cannot be reconfigured.

7. The method according to any one of claims 1 to 6, further comprising: Based on the delivery request information, determine the physical resource requirements of the cloud product to be delivered, wherein the delivery request information includes one of the following: cloud product sales specifications, cloud product deployment tags, server tags, and physical machine configurations, wherein the cloud product sales specifications are used to determine the cloud product deployment tags, the cloud product deployment tags are used to determine the server tags, the server tags are used to determine the physical machine configurations, and the physical machine configurations are used to determine the physical resource requirements of the cloud product to be delivered.

8. A target resource determination device, comprising: A first determination module is configured to determine a plurality of candidate physical resources from inventory resources based on the physical resource requirements of the cloud product to be delivered; a second determining module configured to determine delivery information of the candidate physical resource based on a difference between the candidate physical resource and the physical resource requirement, the delivery information including a reconfiguration complexity, a delivery time, and a delivery cost, the reconfiguration complexity being used to indicate the difficulty of adjusting the candidate physical resource to meet the physical resource requirement, the delivery cost being used to indicate the total cost required to adjust the candidate physical resource to meet the physical resource requirement, and the delivery time being used to indicate the total time required to adjust the candidate physical resource to meet the physical resource requirement; The resource delivery module includes: a difficulty determination unit configured to determine a delivery difficulty parameter of the candidate physical resource based on the delivery information of the candidate physical resource, wherein the delivery difficulty parameter is positively correlated with the reconfiguration complexity; A resource delivery unit is configured to determine the candidate physical resource with the smallest delivery difficulty parameter as the target physical resource; in response to determining that the number of target physical resources is at least two and the delivery durations of at least two target physical resources are different, update the delivery difficulty parameters of the at least two target physical resources based on the delivery durations; and based on the updated delivery difficulty parameter, determine the target resource for delivering the cloud product from the at least two target physical resources.

9. The device according to claim 8, wherein The physical resource requirement includes a required location and a required configuration, and the second determining module further includes: a location determination unit configured to determine a delivery cost and a delivery duration based on a difference between a resource location of the candidate physical resource and a required location, and a difference between a resource configuration of the candidate physical resource and the required configuration; The configuration determining unit is configured to determine a reconfiguration complexity based on a difference between a resource configuration of the candidate physical resource and the required configuration.

10. The device according to claim 9, wherein The difference between the resource configuration and the required configuration of the candidate physical resource includes at least one of the following: component difference, account difference, expansion difference and pricing difference.

11. The device according to claim 8, wherein The resource delivery unit is further configured to: In response to determining that the number of target physical resources is at least two and the delivery time of the at least two target physical resources is the same, determining whether the inventory status of the at least two target physical resources is the same; In response to determining that the inventory statuses of the at least two target physical resources are the same, determining whether the delivery costs of the at least two target physical resources are the same; In response to determining that the delivery costs of the at least two target physical resources are different, delivery difficulty parameters of the at least two target physical resources are updated based on the delivery costs.

12. The device according to claim 11, wherein The resource delivery unit is further configured to: In response to determining that the inventory statuses of the at least two target physical resources are different, delivery difficulty parameters of the at least two target physical resources are updated based on the inventory statuses.

13. The device according to claim 8, wherein The first determining module further includes: a resource matching unit configured to determine a plurality of initial physical resources from the inventory resources based on a matching degree between each physical resource in the inventory resources and the physical resource demand; The resource screening unit is configured to, in response to determining that a designated physical resource exists in the initial physical resources, screen out the designated physical resource from the multiple initial physical resources to obtain multiple candidate physical resources, wherein the designated physical resource includes a physical resource that is different from the physical resource demand and cannot be reconfigured.

14. The apparatus according to any one of claims 8 to 13, further comprising: The third determination module is configured to determine the physical resource requirements of the cloud product to be delivered based on the delivery request information, wherein the delivery request information includes one of the following: cloud product sales specifications, cloud product deployment tags, server tags, and physical machine configurations, wherein the cloud product sales specifications are used to determine the cloud product deployment tags, the cloud product deployment tags are used to determine the server tags, the server tags are used to determine the physical machine configurations, and the physical machine configurations are used to determine the physical resource requirements of the cloud product to be delivered.

15. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 7.

17. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Order-based resource scheduling method and device and control system

    CN110764911A

  • Delivery method, device and equipment for proprietary cloud product, and storage medium

    CN111768129A