Target resource determination method and device

By determining candidate physical resources in inventory resources and selecting target resources based on delivery information, the problem of difficulty in determining cloud product delivery solutions in the existing technology is solved, and the efficiency and timeliness of cloud product resource delivery is achieved.

CN119809523AActive Publication Date: 2025-04-11BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

It is difficult for the prior art to quickly determine the delivery plan for cloud products, especially when inventory resources are varied and scattered.

Method used

By determining multiple candidate physical resources in the inventory resources based on the physical resource requirements of the cloud product to be delivered; determining the delivery information of the candidate physical resource based on the differences between the candidate physical resource and the physical resource requirements; and determining the target resources for delivering the cloud product in the multiple candidate physical resources based on the delivery information.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119809523A_ABST
    Figure CN119809523A_ABST
Patent Text Reader

Abstract

The invention provides a target resource determination method and device, and relates to the technical field of computers, in particular to the technical field of cloud data processing. According to the specific implementation scheme, the method comprises the steps of determining a plurality of candidate physical resources in inventory resources based on a physical resource demand of a to-be-delivered cloud product; determining delivery information of the candidate physical resources based on the difference between the candidate physical resources and the physical resource demand; and according to the delivery information, determining a target resource for delivering the cloud product in the plurality of candidate physical resources. According to the mode, the timeliness and effectiveness of cloud product demand resource delivery are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, specifically to the field of cloud data processing technology, and more particularly to a method and device for determining a target resource. Background Art

[0002] When the salesperson conveys the customer's cloud product needs to the person responsible for delivery, the person responsible for delivery needs to determine the delivery plan for the cloud product based on the conversion relationship between the cloud product and the physical configuration, inventory server configuration, inventory distribution, etc. Summary of the invention

[0003] Embodiments of the present disclosure provide a method, apparatus, device, and storage medium for determining a target resource.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for determining a target resource, the method comprising: determining a plurality of candidate physical resources from inventory resources based on the physical resource requirements of a cloud product to be delivered; determining delivery information of the candidate physical resources based on the difference between the candidate physical resources and the physical resource requirements; and determining a target resource for delivering the cloud product from the plurality of candidate physical resources based on the delivery information.

[0005] In a second aspect, an embodiment of the present disclosure provides 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 from inventory resources based on the physical resource requirements of the cloud product to be delivered; the second determination module is configured to determine the delivery information of the candidate physical resources based on the difference between the candidate physical resources and the physical resource requirements; the resource delivery module is configured to determine the target resource for delivering the cloud product from a plurality of candidate physical resources based on the delivery information.

[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement a target resource determination method as in any embodiment of the first aspect.

[0007] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements a target resource determination method as in any embodiment of the first aspect.

[0008] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements a target resource determination method as in any embodiment of the first aspect.

[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0011] Figure 2 is a flow chart of an embodiment of a method for determining a target resource according to the present disclosure;

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

[0013] Figure 3b is a schematic diagram of 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 an application scenario of the target resource determination method disclosed in the present invention;

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

[0017] Figure 6 It is a schematic diagram of the structure of a computer system suitable for implementing the electronic device of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0019] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0020] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of the target resource determination method of the present disclosure may be applied.

[0021] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

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

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

[0024] Server 105 can be a server that provides various services, for example, 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; based on the delivery information, the target resource for delivering the cloud product is determined from multiple 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 consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, used to provide target resource determination services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0026] It should be noted that the target resource determination method provided in 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 cooperating with each other. Accordingly, the various parts (such as various units, sub-units, modules, sub-modules) included in the target resource determination device can be all set in the server 105, or all set in the terminal devices 101, 102, 103, or respectively set in the server 105 and the terminal devices 101, 102, 103.

[0027] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0028] Figure 2 The process 200 of an embodiment of a method for determining a target resource is shown. The method for determining a target resource may specifically include the following steps:

[0029] Step 201 : Based on the physical resource requirements of the cloud product to be delivered, a plurality of candidate physical resources are determined from the inventory resources.

[0030] In this embodiment, the execution subject (for example, Figure 1 The server 105 or terminal devices 101, 102, 103) can first determine the physical resource requirements of the cloud product to be delivered according to the correspondence between the virtual resources and physical resource requirements required by the cloud product to be delivered and the preset cloud product.

[0031] Among them, cloud products refer to products based on cloud computing technology. Users can obtain the required computing resources and services at any time through the Internet. They usually include cloud terminal service products, computing cloud platforms, industry cloud platforms, social cloud platforms, storage cloud platforms, transaction cloud platforms, testing cloud platforms, etc.

[0032] Furthermore, the execution entity may directly determine all physical resources in the inventory resources as candidate physical resources, or may determine multiple candidate physical resources in the inventory resources based on the matching degree between the physical resource demand and each physical resource in the inventory resources, which is not limited in this application.

[0033] Here, the physical resource requirements may include: the required location, required configuration, required usage period, etc. of the physical resources.

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

[0035] Here, the types of physical resources may include but are not limited to servers and switches. Physical resources may include resource location, resource configuration, resource availability period, etc. The resource location may be determined based on the location of the computer room, inventory status, etc.; resource configuration may include configuration parameters such as CPU, memory, storage, network card bandwidth, etc.; resource availability period is used to indicate the time period during which the resource can be called.

[0036] Step 202: Determine delivery information of the candidate physical resources based on the difference between the candidate physical resources and the physical resource demand.

[0037] In this embodiment, the execution entity may determine the delivery information of the candidate physical resources according to the difference between the candidate physical resources and the physical resource demand.

[0038] The delivery information may include reconfiguration complexity, and the reconfiguration complexity may be used to indicate the difficulty of adjusting the candidate physical resources to meet the physical resource requirements.

[0039] Here, the reconfiguration complexity can be determined based on whether it is necessary to increase or decrease components (i.e., add or reduce components) to adjust the candidate physical resources to meet the physical resource requirements, the number of increased or decreased components, the difficulty coefficient of increasing or decreasing components, etc., as well as preset evaluation rules.

[0040] Among them, the difficulty coefficient of adding or reducing components can be determined based on the historical success rate of adding or reducing components, the time consumed, the cost (for example, procurement cost, labor cost, material cost, etc.), etc. The higher the success rate, the shorter the time consumed, and the lower the cost consumed, the smaller the difficulty coefficient; the lower the success rate, the longer the time consumed, and the higher the cost consumed, the greater the difficulty coefficient.

[0041] Here, the reconfiguration complexity may be characterized by a reconfiguration complexity parameter, and the reconfiguration complexity parameter may be positively correlated with the reconfiguration complexity, that is, the higher the reconfiguration complexity, the larger the reconfiguration complexity parameter, and the lower the reconfiguration complexity, the smaller the reconfiguration complexity parameter.

[0042] Among them, the preset evaluation rules can be set according to experience and actual needs.

[0043] Specifically, the execution entity may set a preset evaluation rule as follows: the reconfiguration complexity parameter of an added component is greater than the reconfiguration complexity parameter of a reduced component, and the reconfiguration complexity parameter of a reduced component is greater than the reconfiguration complexity parameter of no reconfiguration.

[0044] For candidate physical resources with the same number of additional components, the more the additional components are, the greater the reconfiguration complexity parameter is; for candidate physical resources with the same number of additional components, the higher the difficulty coefficient of the additional components is, the greater the reconfiguration complexity parameter is.

[0045] For candidate physical resources with the same reduced-configuration components, the more reduced-configuration components there are, the greater the reconfiguration complexity parameter is; for candidate physical resources with the same number of reduced-configuration components, the higher the difficulty coefficient of reduced-configuration components is, the greater the reconfiguration complexity parameter is.

[0046] For example, for candidate physical resource A and candidate physical resource B, if candidate physical resource A is adjusted to meet the physical resource requirements and additional components are required, and the number of additional components is 2, and candidate physical resource B is adjusted to meet the physical resource requirements and additional components are required, and the number of additional components is 4, the preset evaluation rule is: if additional components are added and the number of additional components is greater than 3, then the reconfiguration complexity parameter is 3; if additional components are added and the number of additional components is less than or equal to 3, then the reconfiguration complexity parameter is 1, then it can be determined that the reconfiguration complexity parameter of candidate physical resource A is 1, and the reconfiguration complexity parameter of candidate physical resource B is 3.

[0047] Step 203: Determine a target resource from a plurality of candidate physical resources according to the delivery information.

[0048] In this embodiment, the execution entity may sort multiple candidate physical resources in ascending order according to the reconfiguration complexity of the candidate physical resources, determine one or more candidate physical resources with the highest 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 multiple candidate physical resources in the inventory resources based on the physical resource requirements of the cloud products to be delivered; determines the delivery information of the candidate physical resources based on the differences between the candidate physical resources and the physical resource requirements; and determines the target resources for delivering the cloud products from the multiple candidate physical resources based on the delivery information. This overcomes the problems in the prior art of diverse inventory resource configurations, scattered inventories, and inability to quickly determine the delivery plan for cloud products, achieves reasonable and efficient matching of the resource requirements of cloud products with physical resources, and improves the timeliness and effectiveness of the delivery of cloud product demand resources.

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

[0051] In this implementation, the execution entity may determine the delivery cost, delivery time, and reconfiguration complexity of the candidate physical resources based on the difference between the candidate physical resources and the physical resource requirements.

[0052] The delivery cost is used to indicate the total cost required to adjust the candidate physical resources to meet the physical resource requirements, and the delivery duration is used to indicate the total duration required to adjust the candidate physical resources to meet the physical resource requirements.

[0053] Here, the physical resource requirements may include one or more of the required location and the required configuration. The executor may determine the delivery cost and delivery time based on one or more of the difference between the resource location of the candidate physical resource and the required location, and the difference between the resource configuration of the candidate physical resource and the required configuration.

[0054] This implementation method determines the reconfiguration complexity, delivery time and delivery cost based on the differences between candidate physical resources and physical resource requirements, and determines the target resources for delivering cloud products from multiple candidate physical resources based on the reconfiguration complexity, delivery time and delivery cost. It fully considers the impact of delivery time and delivery cost on the determination of target resources, and improves the accuracy and reliability of the determined target resources.

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

[0056] In this implementation, the delivery information may include reconfiguration complexity, delivery time and delivery cost. The execution entity may directly determine the delivery difficulty parameters of the candidate physical resources based on the reconfiguration complexity, delivery time and delivery cost, and preset evaluation rules; or it may determine the delivery difficulty parameters of the candidate physical resources based on the first sub-delivery difficulty parameter corresponding to the reconfiguration complexity, the second sub-delivery difficulty parameter corresponding to the delivery time and the third sub-delivery difficulty parameter corresponding to the delivery cost. This application does not limit this.

[0057] Among them, the delivery difficulty parameter can be used to characterize the delivery difficulty. The delivery difficulty parameter is positively correlated with the delivery difficulty, that is, the larger the delivery difficulty parameter, the greater the delivery difficulty.

[0058] Here, the executing entity may determine the delivery difficulty parameter based on the first sub-delivery difficulty parameter, the second sub-delivery difficulty parameter and the third sub-delivery difficulty parameter; or may determine the delivery difficulty parameter based on the first sub-delivery difficulty parameter, the first weight of the first sub-delivery difficulty parameter, the second sub-delivery difficulty parameter, the second weight of the second sub-delivery difficulty parameter, the third sub-delivery difficulty parameter and the third weight of the third sub-delivery difficulty parameter.

[0059] Among them, the first sub-delivery difficulty parameter may be positively correlated with the reconfiguration complexity, the second sub-delivery difficulty parameter may be positively correlated with the delivery time, and the third sub-delivery difficulty parameter may be positively correlated with the delivery cost.

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

[0061] Among them, the delivery difficulty parameter may be expressed in multiple forms, such as numerical score, grade rating, descriptive evaluation, comprehensive score, etc., which is not limited in this application.

[0062] Furthermore, the execution entity may sort multiple 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, a target resource for delivering the cloud product is determined from multiple candidate physical resources based on a delivery difficulty parameter, including: sorting the multiple candidate physical resources in ascending order of 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 of the candidate physical resources: inventory status, delivery time, and delivery cost; and determining the target resource for delivering the cloud product from at least two target physical resources based on the updated delivery difficulty parameter.

[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, if the delivery difficulty parameters are both 3 points, the execution 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 in transit for purchase, since online inventory usually has a higher priority than in transit for purchase, the execution 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] This implementation method sorts multiple candidate physical resources in order of delivery difficulty parameters 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 parameters of at least two target physical resources according to at least one of the following of the candidate physical resources: inventory status, delivery time, and delivery cost; based on the updated delivery difficulty parameters, determines the target resource for delivering the cloud product from at least two target physical resources, which helps to determine the target resource when there are multiple candidate physical resources with the same delivery difficulty parameters.

[0069] In some optional methods, the delivery difficulty parameters of at least two target physical resources are updated according to at least one of the following items of the candidate physical resources: inventory status, delivery time, and delivery cost, including: in response to determining that the delivery time of at least two target physical resources is the same, judging whether the inventory status of at least two target physical resources is the same; in response to determining that the inventory status of at least two target physical resources is the same, judging whether the delivery costs of at least two target physical resources are the same; in response to determining that the delivery costs of at least two target physical resources are different, updating the delivery difficulty parameters of at least two target physical resources based on the delivery costs.

[0070] In this implementation, the execution entity may sort multiple 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, it may be first determined whether the delivery time of the at least two target physical resources is the same. If so, it may be further determined whether the inventory status of the at least two target physical resources is the same. If so, it may be further determined whether the delivery cost of the at least two target physical resources is the same. If not, the delivery difficulty parameters of the at least two target physical resources are updated according to the delivery cost.

[0071] Here, before determining whether the delivery times of at least two target physical resources are the same, the executing entity may first determine whether the product lines corresponding to the at least two target physical resources are the same as the product lines corresponding to the physical resource requirements. If not, the delivery difficulty parameters of the at least two target physical resources are directly updated according to the product lines corresponding to the target physical resources (the target physical resources with the same product line as the product line corresponding to the physical resource requirements are preferentially selected). If so, further determine whether the delivery times of the at least two target physical resources are the same.

[0072] In addition, before determining whether the delivery costs of at least two target physical resources are the same, the executing entity may first determine whether the product packages corresponding to the at least two target physical resources are the same as the product packages corresponding to the physical resource requirements. If not, the delivery difficulty parameters of the at least two target physical resources are directly updated according to the product packages corresponding to the target physical resources (preferentially selecting the target physical resources with the same product packages as the corresponding physical resource requirements). If so, further determine whether the delivery costs of the at least two target physical resources are the same.

[0073] This implementation method determines whether the inventory status of at least two target physical resources is the same in response to determining that the delivery times of at least two target physical resources are the same; determines whether the delivery costs of at least two target physical resources are the same in response to determining that the inventory status of at least two target physical resources are the same; in response to determining that the delivery costs of at least two target physical resources are different, updates the delivery difficulty parameters of the at least two target physical resources based on the delivery costs, determines the target resources based on the updated delivery difficulty parameters, and improves the effectiveness of the determined target resources.

[0074] In some optional methods, the delivery difficulty parameters of at least two target physical resources are updated according to at least one of the following items of the candidate physical resources: inventory status, delivery time, and delivery cost, and also include: in response to determining that the delivery time of at least two target physical resources is different, the delivery difficulty parameters of at least two target physical resources are updated based on the delivery time; in response to determining that the inventory status of at least two target physical resources is different, the delivery difficulty parameters of at least two target physical resources are updated based on the inventory status.

[0075] In this implementation, the execution entity may sort multiple 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, it can be determined 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 can be updated according to the delivery durations of the candidate physical resources.

[0076] If so, the execution entity may determine whether the inventory status of the at least two target physical resources is the same. If not, the delivery difficulty parameters of the at least two target physical resources may be updated according to the inventory status of the candidate physical resources.

[0077] This implementation method, in response to determining that the delivery times of at least two target physical resources are different, updates the delivery difficulty parameters of at least two target physical resources based on the delivery times; in response to determining that the inventory statuses of at least two target physical resources are different, updates the delivery difficulty parameters of at least two target physical resources based on the inventory status, and determines the target resources based on the updated delivery difficulty parameters, thereby improving the effectiveness of the determined target resources.

[0078] In some optional methods, based on the physical resource requirements of the cloud product to be delivered, multiple candidate physical resources are determined in the inventory resources, including: based on the matching degree between each physical resource in the inventory resources and the physical resource requirements, multiple initial physical resources are determined in the inventory resources; in response to determining that a specified physical resource exists in the initial physical resources, the specified physical resource is screened out from the multiple initial physical resources to obtain multiple candidate physical resources.

[0079] In this implementation, the execution entity may calculate the matching degree between each physical resource in the inventory resources and the physical resource demand, and determine the physical resources whose matching degree meets the preset conditions (for example, the matching degree is greater than or equal to the preset matching degree threshold) as the initial physical resources.

[0080] Specifically, the physical resource demand includes a demand location of A and a demand configuration of 256G memory and 5T storage. The execution entity can calculate the matching degree between the physical resource demand and the physical resources in the inventory resources according to one or more of the resource location or resource configuration, and determine multiple initial physical resources based on the matching results.

[0081] Furthermore, the execution entity may determine whether the designated physical resource exists in the initial physical resources. If so, the designated physical resource may be screened out from the multiple initial physical resources to obtain multiple candidate physical resources.

[0082] The designated physical resources include physical resources that differ from the physical resource requirements and cannot be reconfigured. For example, the differences from the physical resource requirements include CPU differences, reduced GPU configuration, etc., and the model reconfiguration evaluation fails (i.e., reconfiguration is prohibited).

[0083] This implementation method determines multiple initial physical resources in the inventory resources based on the matching degree between each physical resource in the inventory resources and the physical resource requirements; in response to determining that there is a specified physical resource in the initial physical resources, the specified physical resource is screened out from the multiple initial physical resources to obtain multiple candidate physical resources, thereby improving the reliability of the determined candidate physical resources.

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

[0085] In this implementation, the execution entity may obtain the delivery request information submitted by the user by wired or wireless means, and the delivery request information may include one of the following: cloud product sales specifications, cloud product deployment tags, server tags, and physical machine configurations.

[0086] 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 configuration, and the physical machine configuration is used to determine the physical resource requirements of the cloud product to be delivered.

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

[0088] Specifically, if the delivery request information submitted by the user includes cloud product sales specifications, the execution entity can determine the cloud product deployment tag based on the cloud product sales specifications, determine the server tag based on the cloud product deployment tag, determine the physical machine configuration based on the server tag, and determine the physical resource requirements of the cloud product to be delivered based on the physical machine configuration.

[0089] If the delivery information submitted by the user includes cloud product deployment tags, the execution entity can determine the server tags based on the cloud product deployment tags, determine the physical machine configuration based on the server tags, and determine the physical resource requirements of the cloud product to be delivered based on the physical machine configuration.

[0090] If the delivery information submitted by the user includes server tags, the execution entity can determine the physical machine configuration based on the server tags, and determine the physical resource requirements of the cloud product to be delivered based on the physical machine configuration.

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

[0092] Further references Figure 3a , which shows Figure 2 The process 300 of another embodiment of the target resource determination method is shown. In this embodiment, the process 300 of the target resource determination method may include the following steps:

[0093] Step 301 : Based on the physical resource requirements of the cloud product to be delivered, a plurality of candidate physical resources are determined from the inventory resources.

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

[0095] Step 302 : Determine the delivery cost and delivery time based on the difference between the resource location and the required location of the candidate physical resource, and the difference between the resource configuration and the required configuration.

[0096] In this embodiment, the physical resource requirements may include the required location and the required configuration. For each candidate physical resource among multiple candidate physical resources, the execution entity may determine the path (i.e., steps or links) required to adjust the candidate physical resource 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 resource and the required configuration, and determine the first delivery cost and the first delivery duration based on the cost and duration required for each path.

[0097] Here, the execution entity may determine the sum of the costs required for each path during the configuration adjustment process as the first delivery cost, and determine the sum of the duration required for each path as the first delivery duration.

[0098] The difference between resource configuration and demand configuration, i.e., configuration difference, can include component difference, account difference, expansion difference, etc. Component difference can also include adding components, reducing components, adding components and reducing components, component parameter difference, memory difference, etc.

[0099] For each candidate physical resource among multiple candidate physical resources, the execution entity can determine the path (i.e., steps or links) required to adjust the candidate physical resource to meet the required position, as well as the cost and duration required for each path, based on the difference between the resource location of the candidate physical resource and the required location, and determine the second delivery cost and second delivery duration based on the cost and duration required for each path.

[0100] Here, the execution entity may determine the sum of the costs required for each path in the position adjustment process as the second delivery cost, and determine the sum of the time required for each path as the second delivery time.

[0101] Furthermore, the executing entity may determine the delivery cost according to the first delivery cost and the second delivery cost, and determine the delivery duration according to the first delivery duration and the second delivery duration.

[0102] The demand location may include a target computer room location, and the resource location may be determined according to a current computer room location or 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 the required location is relocation, and the time and cost required for 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 is 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 is 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 is 10 days; if the current computer room location and the target computer room location are across countries, the cost can be determined to be 1,500 yuan and the duration is 21 days.

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

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

[0106] Specifically, 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 procurement in transit, and the location of the destination computer room matches the location of the target computer room, the path that adjusts the candidate physical resources to meet the location requirements is procurement 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 resources, that is, the matching running time), and the cost can be 0.

[0108] If the inventory status is procurement 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 it can be determined that the path for adjusting the candidate physical resources to meet the location requirements is procurement in transit and procurement in transit to change the computer room (i.e., change the destination computer room location to the target computer room location), among which, for the path procurement in transit to change the computer room, the duration and cost of the path can be determined based on experience.

[0109] If the inventory status is procurement in transit, the destination computer room location does not match the target computer room location, the target difference is less than the preset duration, for example, 14 days, and the computer room is VMI, then it can be determined that the path for adjusting the candidate physical resources to meet the location requirements is procurement in transit, VMI pickup, where for the path VMI pickup, the duration and cost of the path can be determined based on experience.

[0110] If the inventory status is Purchase in transit, the destination computer room location does not match the target computer room location, the target difference is less than the preset duration, for example, 14 days, and the computer room is not VMI, then the path for adjusting the candidate physical resources to meet the location requirements can be determined as Purchase in transit and relocation.

[0111] If the inventory status is VMI, the path for adjusting the candidate physical resources to meet the location requirements can be determined as VMI pickup. The duration and cost corresponding to VMI pickup can be determined based on the current computer room location and the target computer room location. If the two are different, path relocation can be further increased.

[0112] Step 303: Determine the reconfiguration complexity based on the difference between the resource configuration of the candidate physical resources and the required configuration.

[0113] In this embodiment, the execution subject may determine the complexity of adjusting the candidate physical resources to meet the required configuration according to the difference between the resource configuration and the required configuration.

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

[0115] Specifically, the executing entity can determine whether the component difference is non-reconfiguration or pure reduction of components (i.e., only reduced components). If so, the reconfiguration complexity can be determined to be the first complexity; if not, it can be further determined whether there is a component difference and the model reconfiguration evaluation result is that no accessories are required (i.e., although there is a difference between the resource configuration of the candidate physical resources and the required configuration, after evaluation, the required configuration can be met without reconfiguring components, that is, the required configuration can be met without reconfiguring hardware). If so, the reconfiguration complexity can be determined to be the second complexity; if not, the reconfiguration complexity can be determined to be the third complexity.

[0116] Among them, the complexity indicated by the first complexity, the second complexity and the third complexity increases in sequence.

[0117] Step 304: Determine a target resource for delivering the cloud product from among multiple candidate physical resources based on the delivery information.

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

[0119] The above-mentioned embodiments of the present disclosure determine multiple candidate physical resources in the inventory resources based on the physical resource requirements of the cloud products to be delivered, and determine the delivery cost and delivery time based on the difference between the resource location and the required location of the candidate physical resources, and the difference between the resource configuration and the required configuration of the candidate physical resources; determine the reconfiguration complexity based on the difference between the resource configuration and the required configuration of the candidate physical resources, and determine the target resources for delivering the cloud products 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, and the difference between the resource configuration and the required configuration of the candidate physical resources, and further improving the timeliness and effectiveness of the delivery of cloud product demand resources.

[0120] In some optional ways, the difference between the resource configuration of the candidate physical resource and the demand configuration includes at least one of the following: component difference, account difference, capacity 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 multiple scenarios, for example, allocation scenarios of additional components, procurement scenarios of additional components, memory scenarios of additional components, etc.

[0124] Specifically, Figure 3c As shown, if the configuration difference includes component differences, for the allocation scenario of additional components, it is possible to first determine whether the total inventory of the current computer room where the candidate physical resources are located is sufficient. If not, it is further determined whether the total inventory of other computer rooms and the current computer room is sufficient. If so, it can be determined that the path to adjust the candidate physical resources 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, cost 20 yuan, etc. If not, the path to adjust the candidate physical resources 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, cost 200 yuan.

[0125] For the procurement scenario of additional components, we can first determine whether the model evaluation (i.e., model modification evaluation) has a reuse plan (i.e., the candidate physical resources have a historical additional component plan). If so, we can directly determine whether to add components. If so, we can determine that the path of adjusting the candidate physical resources to meet the required configuration is component procurement.

[0126] For the memory scenario of adding components, it can be determined first whether the added components include memory. If so, it can be determined that the path of adjusting the candidate physical resources to meet the required configuration is reconfiguration, and the reconfiguration duration and cost can be determined based on the historical average reconfiguration duration and cost that include memory. If memory is not included, it can be determined that the path of adjusting the candidate physical resources to meet the required configuration is reconfiguration, and the reconfiguration duration and cost can be determined based on the historical average reconfiguration duration and cost that include memory.

[0127] If the configuration difference includes account differences, for example, there are differences between the resource account and node where the candidate physical resource is located and the resource account and node of the physical resource requirement, then it can be determined that the path to adjust the candidate physical resource to meet the required configuration is to purchase or transfer permissions, and the duration and cost can be determined based on the average duration and cost of historical purchases or transfers of permissions.

[0128] If the configuration difference includes pricing difference, for example, the physical resource demand corresponds to a specified package, but the candidate physical resource does not; the physical resource demand corresponds to EPC (Engineering, Procurement, and Construction) pricing, but the candidate physical resource does not, etc., then it can be determined that the candidate physical resource is adjusted to the EPC pricing path that meets the demand configuration path, and the duration and cost can be determined based on the average duration and cost of historical EPC pricing.

[0129] If the configuration difference includes expansion difference, such as the physical resource demand includes expansion demand, and the candidate physical resource does not have the expansion function, then the path of adjusting the candidate physical resource to meet the required configuration can be determined as expansion. The expansion duration can be determined based on whether a historical expansion matching tag can be obtained. Usually, the expansion duration when a historical expansion matching tag can be obtained is shorter than the expansion duration when a historical expansion matching tag cannot be obtained.

[0130] In addition, configuration differences can also include differences in model reconfiguration evaluations, that is, there are component differences, and there is no historical record of plans for reconfiguring components, and re-evaluation is required. Therefore, adjusting the candidate physical resources to meet the required configuration requires adding path model evaluations. The duration and cost of the model evaluation can be determined based on the average of the duration and cost required for the same historical reconfiguration plans.

[0131] Specifically, the differences between the resource configuration and the demand configuration of the candidate physical resources include: component differences, account differences, capacity expansion differences, pricing differences and model reconfiguration evaluation differences. The executor can calculate the sum of the durations of the paths corresponding to the differences to obtain the first delivery duration, and calculate the sum of the costs of the paths corresponding to the differences to obtain the first delivery cost.

[0132] This implementation method improves the accuracy and reliability of delivery information determined based on the difference between the resource configuration and the demand configuration of the candidate physical resources by setting the difference between the resource configuration and the demand configuration of the candidate physical resources to include at least one of the following: component difference, account difference, capacity expansion difference and pricing difference.

[0133] Continue to see Figure 4 , Figure 4 It is a schematic diagram of an application scenario of the target resource determination method according to this embodiment.

[0134] In response to obtaining the delivery request information submitted by the user, for example, the cloud product sales specification, the execution subject 401 may determine the physical resource requirements 402 of the cloud product to be delivered according to the cloud product sales specification, and determine multiple candidate physical resources 404 in the inventory resources 403 according to the physical resource requirements, for example, two candidate physical resources, namely, candidate physical resource A and candidate physical resource B. The physical resource requirements may include the required location and required configuration, and the execution subject may determine the delivery cost and delivery time according to the difference between the resource location and the required location of the candidate physical resource, and the difference between the resource configuration of the candidate physical resource and the required configuration; and determine the reconfiguration complexity according to the difference between the resource configuration of the candidate physical resource and the required configuration (for example, the delivery time of candidate physical resource A is 5 days, the delivery cost is 0, and the reconfiguration complexity is the first complexity; the delivery time of candidate physical resource A is 8 days, the delivery cost is 600, and the reconfiguration complexity is the second complexity).

[0135] Furthermore, based on the delivery information 405, namely the delivery cost, delivery time and reconfiguration complexity, and the preset evaluation rules, the delivery difficulty parameter 406 is determined. The delivery difficulty parameter can be represented by a numerical score. The smaller the delivery difficulty parameter, the higher the score.

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

[0137] Furthermore, the execution entity may rank candidate physical resource A (9 points) and candidate physical resource B (6 points) according to the sum of the delivery difficulty parameters corresponding to the delivery time, delivery cost, and reconfiguration complexity, and determine the candidate physical resource with the highest score, i.e., candidate physical resource A, as the target resource 407 for delivering the cloud product.

[0138] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a target resource determination device. Figure 2 The method embodiments shown correspond.

[0139] like Figure 5 As shown, the target resource determination device 500 of this embodiment includes: a first determination module 501 , a second determination module 502 and a resource delivery module 503 .

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

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

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

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

[0144] In some optional embodiments of this embodiment, the second determination module further includes: a location determination unit, configured to determine the delivery cost and delivery time based on the difference between the resource location of the candidate physical resource and the required location, and the difference between the resource configuration of the candidate physical resource and the required configuration; a configuration determination unit, configured to determine the reconfiguration complexity based on the difference between the resource configuration of the candidate physical resource and the required configuration.

[0145] In some optional aspects of this embodiment, the difference between the resource configuration of the candidate physical resource and the demand configuration includes at least one of the following: component difference, account difference, capacity expansion difference and pricing difference.

[0146] In some optional embodiments of this embodiment, the resource delivery module further includes: a difficulty determination unit, configured to determine the delivery difficulty parameters of the candidate physical resources based on the delivery information of the candidate physical resources; and a resource delivery unit, configured to determine the target resources for delivering the cloud product from multiple candidate physical resources based on the delivery difficulty parameters.

[0147] In some optional aspects of this embodiment, the resource delivery unit is further configured to:

[0148] Sorting multiple candidate physical resources in order of delivery difficulty parameters from small to large; 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 of the candidate physical resources: inventory status, delivery duration, and delivery cost; determining 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 optional modes of this embodiment, the resource delivery unit is further configured to: in response to determining that the delivery durations of at least two target physical resources are the same, determine whether the inventory status of at least two target physical resources is the same; in response to determining that the inventory status of at least two target physical resources is the same, determine whether the delivery costs of at least two target physical resources are the same; in response to determining that the delivery costs 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 costs.

[0150] In some optional modes of this embodiment, the resource delivery unit is further configured to: in response to determining that 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; in response to determining that the inventory statuses 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 inventory statuses.

[0151] In some optional embodiments of this embodiment, the first determination module further includes: a resource matching unit, configured to determine multiple initial physical resources in the inventory resources based on the matching degree between each physical resource in the inventory resources and the physical resource requirements; a resource screening unit, configured to screen out the specified physical resources from the multiple initial physical resources in response to determining that there are specified physical resources in the initial physical resources, so as to obtain multiple candidate physical resources.

[0152] In some optional aspects of this embodiment, the device further includes a third determination module configured to determine the physical resource requirements of the cloud product to be delivered based on the delivery request information.

[0153] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0154] According to an embodiment of the present disclosure, the present disclosure also 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 an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0156] like Figure 6 As shown, the device 600 includes a computing unit 601, which 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. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via 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 disk, an 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 through a computer network such as the Internet and / or various telecommunication networks.

[0158] The computing unit 601 may be a variety of general and / or special 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 dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as methods for determining target resources. For example, in some embodiments, the method for determining target resources may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the method for determining target resources described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the method for determining target resources in any other appropriate manner (e.g., by means of firmware).

[0159] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0160] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0161] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0162] To provide interaction with a user, the systems and techniques described herein 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the 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 input, voice input, or tactile input).

[0163] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may 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] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and virtual private servers (VPS) services. The server can also be divided into a server of a distributed system, or a server combined with a blockchain.

[0165] According to the technical solution of the embodiment of the present disclosure, reasonable and efficient matching of the resource requirements of cloud products with physical resources is achieved, thereby improving the timeliness and effectiveness of the delivery of the resources required by cloud products.

[0166] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and this document does not limit this.

[0167] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for determining a target resource, comprising: Based on the physical resource requirements of the cloud product to be delivered, multiple candidate physical resources are determined from the inventory resources; Determining 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, the reconfiguration complexity being used to indicate the difficulty of adjusting the candidate physical resource to meet the physical resource requirement; According to the delivery information, a target resource for delivering the cloud product is determined from the multiple candidate physical resources.

2. The method according to claim 1, wherein: The delivery information also includes a delivery cost and a delivery duration, and the determining of the delivery information of the candidate physical resource based on the difference between the candidate physical resource and the physical resource demand includes: Based on the difference between the candidate physical resources and the physical resource requirements, the reconfiguration complexity, delivery time and delivery cost of the candidate physical resources are determined.

3. The method according to claim 2, 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 the 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, the reconfiguration complexity is determined.

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

5. The method according to claim 1, wherein: The step of determining, according to the delivery information, a target resource for delivering the cloud product from among the plurality of candidate physical resources includes: Determining a delivery difficulty parameter of the candidate physical resource according to the delivery information of the candidate physical resource; According to the delivery difficulty parameter, a target resource for delivering the cloud product is determined from the multiple candidate physical resources.

6. The method according to claim 5, wherein: The step of determining, according to the delivery difficulty parameter, a target resource for delivering the cloud product from among the plurality of candidate physical resources includes: Sorting the multiple candidate physical resources in order of delivery difficulty parameters from small to large; 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, updating the delivery difficulty parameters of the at least two target physical resources according to at least one of the following items of the candidate physical resources: inventory status, delivery duration, and delivery cost; 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.

7. The method according to claim 6, wherein: The updating of the delivery difficulty parameters of the 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, includes: In response to determining that the delivery durations of the at least two target physical resources are the same, determining whether the inventory states 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; 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.

8. The method according to claim 7, wherein: The updating of the delivery difficulty parameters of the 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, further includes: In response to determining that 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; In response to determining that the inventory statuses of the at least two target physical resources are different, the delivery difficulty parameters of the at least two target physical resources are updated based on the inventory statuses.

9. The method according to claim 1, wherein: The physical resource requirements of the cloud product to be delivered are used to determine multiple candidate physical resources 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 there are designated physical resources in the initial physical resources, the designated physical resources are screened out from the multiple initial physical resources to obtain multiple candidate physical resources, wherein the designated physical resources include physical resources that differ from physical resource requirements and cannot be reconfigured.

10. The method according to any one of claims 1 to 9, 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 selling specifications, cloud product deployment tags, server tags, and physical machine configurations, wherein the cloud product selling 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.

11. 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 determination module is configured to determine delivery information of the candidate physical resource based on a difference between the candidate physical resource and the physical resource requirement, wherein the delivery information includes a reconfiguration complexity, and the reconfiguration complexity is used to indicate the difficulty of adjusting the candidate physical resource to meet the physical resource requirement; The resource delivery module is configured to determine a target resource for delivering the cloud product from among the plurality of candidate physical resources according to the delivery information.

12. The device according to claim 11, wherein The delivery information also includes delivery cost and delivery time, and the second determination module is further configured to: Based on the difference between the candidate physical resources and the physical resource requirements, the reconfiguration complexity, delivery time and delivery cost of the candidate physical resources are determined.

13. The device according to claim 12, wherein: The physical resource requirement includes a requirement location and a requirement 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 determination unit is configured to determine the reconfiguration complexity based on the difference between the resource configuration of the candidate physical resource and the required configuration.

14. The device according to claim 13, wherein: The difference between the resource configuration and the demand configuration of the candidate physical resource includes at least one of the following: component difference, account difference, capacity expansion difference and pricing difference.

15. The device according to claim 11, wherein The resource delivery module further includes: a difficulty determination unit configured to determine a delivery difficulty parameter of the candidate physical resource according to the delivery information of the candidate physical resource; The resource delivery unit is configured to determine a target resource for delivering the cloud product from among the multiple candidate physical resources according to the delivery difficulty parameter.

16. The device according to claim 15, wherein: The resource delivery unit is further configured to: Sorting the multiple candidate physical resources in order of delivery difficulty parameters from small to large; 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, updating the delivery difficulty parameters of the at least two target physical resources according to at least one of the following items of the candidate physical resources: inventory status, delivery duration, and delivery cost; 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.

17. The device according to claim 16, wherein: The resource delivery unit is further configured to: In response to determining that the delivery durations of the at least two target physical resources are the same, determining whether the inventory states 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; 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.

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

19. The device according to claim 11, wherein: The first determining module further comprises: A resource matching unit is configured to determine a plurality of initial physical resources in 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.

20. The device according to any one of claims 11 to 19, 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 selling specifications, cloud product deployment tags, server tags, and physical machine configurations, wherein the cloud product selling 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.

21. 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 10.

22. 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 10.

23. 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 10.

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

  • Bare metal service delivery method and device, computer equipment and storage medium

    CN112286537A

  • Resource processing method and device

    CN113986527A

  • Target machine management method of airborne embedded continuous delivery platform

    CN116302308A