CN117255090A - Service resource management method, device, equipment and storage medium - Google Patents

Service resource management method, device, equipment and storage medium Download PDF

Info

Publication number
CN117255090A
CN117255090A CN202311443527.7A CN202311443527A CN117255090A CN 117255090 A CN117255090 A CN 117255090A CN 202311443527 A CN202311443527 A CN 202311443527A CN 117255090 A CN117255090 A CN 117255090A
Authority
CN
China
Prior art keywords
service
resource
information
alternative
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311443527.7A
Other languages
Chinese (zh)
Inventor
戴迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Weiling Times Technology Co Ltd
Original Assignee
Beijing Weiling Times Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Weiling Times Technology Co Ltd filed Critical Beijing Weiling Times Technology Co Ltd
Priority to CN202311443527.7A priority Critical patent/CN117255090A/en
Publication of CN117255090A publication Critical patent/CN117255090A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a service resource management method, a device, equipment and a storage medium, comprising the following steps: acquiring an initial service demand, and determining at least one alternative source service platform from the source service platforms according to the initial service demand; at least one alternative sample server is pre-constructed according to alternative service resource information provided by each alternative source service platform, and target service corresponding to the initial service requirement is operated in each alternative sample server so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process; determining actual resource demand information corresponding to the target service according to the utilization information of each alternative resource; and determining target service resource combination information according to the actual resource demand information and the candidate service resource information. The resource calculation matching and the automatic operation of resource application are realized, the workload of a resource demand party for measuring, calculating and matching service resources is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.

Description

Service resource management method, device, equipment and storage medium
Technical Field
The present invention relates to the field of cloud computing services, and in particular, to a service resource management method, device, equipment, and storage medium.
Background
With the rapid development of computer science and technology, it is gradually difficult for traditional service modes to meet the increasingly expanded user demands. Cloud computing is a service model for the addition, use and delivery of internet-based related services, typically involving the provision of dynamically scalable virtualized resources over the internet. Infrastructure-as-a-Service (IaaS) is a common Service mode of cloud computing, and can provide corresponding Service resources for resource demand clients with different demands.
However, the types of service resources provided by different service providers through the IaaS platforms are different, the offers are also different, and the service resources provided by the IaaS platforms also often adopt a specific description mode for performance presentation. When clients as resource demand side face service resource providers with different display modes, the special service resource providers are required to be distinguished, and the selected service resource providers are measured and calculated in sequence before selection, so that the workload required by the clients to select service resources required by service is increased, the service resource providers are directly selected by the clients, the price of matching is higher when the service resources meeting the service demands are purchased, and the service running cost is improved.
Disclosure of Invention
The invention provides a service resource management method, a device, equipment and a storage medium, wherein the collection of different service resource information and the matching of resource application information and service resources given by clients are completed through an independently arranged third party platform, so that the resource calculation matching and the automatic operation of resource application are realized, the workload of a resource demand party for measuring, calculating and matching the service resources is reduced, the service resource cost of the resource demand party is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.
In a first aspect, an embodiment of the present invention provides a service resource management method, including:
acquiring an initial service demand, and determining at least one alternative source service platform from the source service platforms according to the initial service demand;
at least one alternative sample server is pre-constructed according to alternative service resource information provided by each alternative source service platform, and target service corresponding to the initial service requirement is operated in each alternative sample server so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process;
determining actual resource demand information corresponding to the target service according to the utilization information of each alternative resource;
And determining target service resource combination information according to the actual resource demand information and the candidate service resource information, so that each candidate source service platform contained in the target service resource combination information provides service resources for the target service according to the target service resource combination information.
In a second aspect, an embodiment of the present invention further provides a service resource management device, including:
the alternative platform determining module is used for acquiring initial service requirements and determining at least one alternative source service platform from the source service platforms according to the initial service requirements;
the utilization information determining module is used for pre-constructing at least one alternative sample server according to the alternative service resource information provided by each alternative source service platform, and operating the target service corresponding to the initial service requirement in each alternative sample server so as to obtain the alternative resource utilization information corresponding to each alternative sample server in the operation process;
the demand information determining module is used for determining actual resource demand information corresponding to the target service according to the alternative resource utilization information;
the resource combination determining module is used for determining target service resource combination information according to the actual resource demand information and the candidate service resource information, so that the candidate source service platforms contained in the target service resource combination information provide service resources for the target service according to the target service resource combination information.
In a third aspect, an embodiment of the present invention further provides a service resource management device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the service resource management method provided by the embodiment of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the service resource management method provided by the embodiments of the present invention.
The embodiment of the invention provides a service resource management method, a device, equipment and a storage medium, wherein at least one alternative source service platform is determined from source service platforms according to initial service requirements by acquiring the initial service requirements; at least one alternative sample server is pre-constructed according to alternative service resource information provided by each alternative source service platform, and target service corresponding to the initial service requirement is operated in each alternative sample server so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process; determining actual resource demand information corresponding to the target service according to the utilization information of each alternative resource; and determining target service resource combination information according to the actual resource demand information and the candidate service resource information, so that each candidate source service platform contained in the target service resource combination information provides service resources for the target service according to the target service resource combination information. By adopting the technical scheme, the information of different source service platforms capable of providing service resources is integrated by utilizing the independently arranged third party platform, and then after receiving the initial service demand given by a client, namely a demand party, the source service platforms capable of providing service resources can be managed to select alternative source service platforms which are likely to provide service resources for the demand party. And then, a plurality of alternative sample servers can be pre-constructed by using the service resources provided by different alternative source service platforms for the client to try out, and the actual demand condition of the demand party for the service resources is determined based on the trial result. When the service resource matching is carried out on the demand party, the demand information provided by the demand party is not only relied on, but a proper service resource provider is matched on the basis of the actual demand of the required running service on the service resource, so that the demand party cannot purchase the service resource beyond the demand range, and the service resource purchase cost of the demand party is reduced. Meanwhile, after the actual resource demand of the demand party is defined, service resources which partially meet the actual resource demand can be selected for purchase in different alternative source service platforms based on service resource information which can be provided by integrated alternative source service platforms, so that the service resources after combined purchase have lower purchase cost on the basis of meeting the actual resource demand of the demand party, the automatic operation of resource calculation force matching and resource application is realized, the workload of the resource demand party for measuring, calculating and matching the service resources is reduced, the service resource cost of the resource demand party is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.
It should be understood that the description of this section is not intended to identify key or critical features of the embodiments of the application or to delineate the scope of the application. Other features of the present application will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for managing service resources according to a first embodiment of the present invention;
fig. 2 is a flowchart of a service resource management method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service resource management device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service resource management device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a service resource management method according to a first embodiment of the present invention, where the method may be performed by a service resource management device, and the service resource management device may be implemented by software and/or hardware, and the service resource management device may be configured in a service resource management apparatus. Alternatively, the service resource management device may be a notebook, a desktop computer, a smart tablet, or other devices with data computing functions, which are not limited by the embodiments of the present invention,
It should be understood that in the embodiment of the present invention, the service resource management device may be considered as a third party platform independent of the service resource demander and the service resource provider, that is, an independent device disposed between the client and the IaaS platforms capable of passing through the service resources.
As shown in fig. 1, the service resource management method provided by the embodiment of the invention specifically includes the following steps:
s101, acquiring initial business requirements, and determining at least one alternative source service platform from the source service platforms according to the initial business requirements.
In this embodiment, the initial service requirement may be specifically understood as a requirement condition required by the application to be run given by the service resource requiring party, and exemplary, the initial service requirement may include a server model required by the requiring party, geographical location information where the server should be located, and information such as calculation power that the server may provide. The source service platform can be specifically understood as a cloud service platform which is accessed into the service resource management equipment, can be uniformly managed and routed by the service resource management equipment and can be used for providing service resources. The alternative source service platform can be specifically understood as a source service platform which can provide service resources for the service resource demander in the source service platforms managed by the service resource management device.
Specifically, before or during the use, the service resource management device will be pre-accessed into a plurality of source service platforms that can be routed and used for providing different types of service resources, and acquire information related to the self information of each source service platform and information related to the available service resources of each source service platform. When the initial service requirement given by the service resource requiring party is obtained, screening each source service platform according to the requirement condition necessary for the application to be operated of the requiring party contained in the initial service requirement to obtain at least one alternative source service platform which meets the requirement of providing service resources for the service resource requiring party.
S102, pre-constructing at least one alternative sample server according to the alternative service resource information provided by each alternative source service platform, and operating the target service corresponding to the initial service requirement in each alternative sample server to obtain the alternative resource utilization information corresponding to each alternative sample server in the operation process.
In this embodiment, the alternative service resource information may be specifically understood as information describing that the alternative source service platform may provide a service resource, and exemplary service resource information may include at least geographic location information, server model information, performance parameter information, and cost information. The alternative sample server may be understood as a combination of service resources provided by different alternative source service platforms that are configured to simulate the service resources to be provided by the demander and that can provide services for the operation of the demander's business. The alternative resource utilization information may be specifically understood as information indicating the utilization of various types of resources in the alternative sample server when the target service is running in the alternative sample server.
Specifically, after service resource information of different source service platforms is obtained, the service resource management device can combine the service resource information to form a sample server with different performance parameters and different quotations. When the sample server is constructed, each source service platform can construct its own corresponding sample server, or service resources provided by different source service platforms can be combined to construct a comprehensive sample server, which is not limited in the embodiment of the present invention. In the embodiment of the invention, as a plurality of alternative source service platforms which can be adapted to the initial service requirement of the service resource demand party are determined, and the initial service requirement also contains performance parameter information such as calculation power required by the service resource demand party, the service resource management equipment can comprehensively construct at least one alternative sample server which meets the target service calculation power requirement to be developed by the service resource demand party based on the alternative service resource information of different alternative source service platforms. And then the target service is respectively and normally operated in each alternative sample server so as to simulate the operation condition of the target service in the alternative sample server after the service resource demand side purchases the corresponding service resource of the alternative sample server, and the utilization condition of the target service on various resources in the alternative sample server in the operation process of the alternative sample server is respectively obtained, and is determined as the alternative resource utilization information.
It can be understood that, due to the different service functions, the required service resource types of different services are different, for example, some services may be services with high operation requirements and low storage requirements, some services may be services with high storage requirements and low operation requirements, the candidate sample servers adapted for the different services are different, and the candidate resource utilization information generated during operation in the same candidate sample server is also different.
S103, determining the actual resource demand information corresponding to the target service according to the alternative resource utilization information.
Specifically, the utilization information of each alternative resource and the service resource information of each alternative sample server are integrated, so that the actual occupation performance of the target service when running in different alternative sample servers can be determined, after the actual occupation performance of the target service in each alternative sample server is respectively determined, the actual occupation performance of each performance can be processed in an average mode, and the service resource information required by the target service when actually put into use is comprehensively determined and taken as the actual resource demand information.
S104, determining target service resource combination information according to the actual resource demand information and the candidate service resource information, and providing service resources for the target service according to the target service resource combination information by using the candidate source service platforms contained in the target service resource combination information.
In this embodiment, the target service resource combination information may be specifically understood as a comprehensive information set obtained by combining service resources available from each alternative source service platform, which can meet the actual resource requirement of the service resource demander.
Specifically, since the offer information included in the different candidate service resource information is different, and the bias directions of the service resources corresponding to the candidate service resource information in performance are also different, the bias directions of the target service resources can be selected based on the bias directions of the resource demands of the target services in the actual resource demand information and the offer information included in the different candidate service resource information, the candidate source service platforms with higher performance and lower offers are selected for resource combination, and the candidate source service platform information included in the candidate source service platform information, the information of providing the service resources by each candidate source service platform and the integrated offer information are determined as target service resource combination information, so that the service resources are provided for the target service of the service resource demander by the corresponding candidate source service platforms according to the target service resource combination information.
According to the technical scheme, the initial service requirement is acquired, and at least one alternative source service platform is determined from the source service platforms according to the initial service requirement; at least one alternative sample server is pre-constructed according to alternative service resource information provided by each alternative source service platform, and target service corresponding to the initial service requirement is operated in each alternative sample server so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process; determining actual resource demand information corresponding to the target service according to the utilization information of each alternative resource; and determining target service resource combination information according to the actual resource demand information and the candidate service resource information, so that each candidate source service platform contained in the target service resource combination information provides service resources for the target service according to the target service resource combination information. By adopting the technical scheme, the information of different source service platforms capable of providing service resources is integrated by utilizing the independently arranged third party platform, and then after receiving the initial service demand given by a client, namely a demand party, the source service platforms capable of providing service resources can be managed to select alternative source service platforms which are likely to provide service resources for the demand party. And then, a plurality of alternative sample servers can be pre-constructed by using the service resources provided by different alternative source service platforms for the client to try out, and the actual demand condition of the demand party for the service resources is determined based on the trial result. When the service resource matching is carried out on the demand party, the demand information provided by the demand party is not only relied on, but a proper service resource provider is matched on the basis of the actual demand of the required running service on the service resource, so that the demand party cannot purchase the service resource beyond the demand range, and the service resource purchase cost of the demand party is reduced. Meanwhile, after the actual resource demand of the demand party is defined, service resources which partially meet the actual resource demand can be selected from different alternative source service platforms to purchase based on service resource information which can be provided by integrated alternative source service platforms, so that the service resources after combined purchase have lower purchase cost on the basis of meeting the actual resource demand of the demand party, the automatic operation of resource calculation force matching and resource application is realized, the workload of the resource demand party for measuring, calculating and matching the service resources is reduced, the service resource cost of the resource demand party is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.
Example two
Fig. 2 is a flowchart of a service resource management method provided by the second embodiment of the present invention, where the technical solution of the second embodiment of the present invention is further optimized based on the foregoing alternative technical solutions, and service resource information of different source service platforms is converted into a unified resource representation model form to be maintained on a service resource management device, so that when target service resource combination information is constructed based on alternative service resource information, service resource performance combinations of different source service platforms can be clearly indicated, and reliability of the combination is improved. When the initial service demand is acquired, the source service platforms are firstly screened through geographic position information, server model information and performance demand information contained in the initial service demand, so that the number of alternative source service platforms for constructing alternative sample servers is reduced, and the data calculation amount required by dynamic calculation and matching of target services corresponding to the initial service demand can be reduced. The actual resource requirements of the target service are determined through the pre-constructed alternative sample server, so that the service resource matching is performed on the demand side, the demand side is not only dependent on the demand information provided by the demand side, the demand side cannot purchase the service resource beyond the demand range, and the service resource purchasing cost of the demand side is reduced. After the actual resource demand information is defined, completing a plurality of alternative service resource combinations meeting the actual resource demand information according to the performance parameter information in the alternative service resource information, and determining the resource combination with the lowest combination cost as a target service resource combination, so that the service resource demand can acquire the service resource meeting the service demand at lower cost. Meanwhile, after the target service resource combination is put into use, the use condition of the target service resource combination can be monitored, so that the target service resource combination information is dynamically adjusted when the target service resource combination information purchases service resources next time or in an increment mode according to the actual resource utilization condition of a demand party, the service resources after combination purchase have lower purchase cost on the basis that the actual resource demands of the demand party can be met, the automatic operation of resource calculation matching and resource application is realized, the workload of the resource demand party for measuring, calculating and matching the service resources is reduced, the service resource cost of the resource demand party is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.
As shown in fig. 2, the service resource management method provided by the embodiment of the invention specifically includes the following steps:
s201, obtaining service resource information provided by different source service platforms.
The service resource information at least comprises geographic position information, server model information, performance parameter information and cost information.
S202, converting the service resource information into a uniform resource representation model form, and storing and maintaining the service resource information converted by each source service platform.
In this embodiment, the resource representation model may be specifically understood as a model which is pre-constructed according to actual situations and is used to uniformly integrate service resource information of different source service platforms, so that each performance parameter is represented in a uniform format, so as to perform performance comparison on service resources provided by different source service platforms. Optionally, according to the format of providing service resource information by different source service platforms, corresponding performance parameter conversion standards may be set for the service resource information, where the performance parameter conversion standards may be adjusted in real time according to actual situations, and the embodiment of the present invention is not limited in this way. By way of example, performance parameters may include pixel throughput per unit time, amount of data written per unit time, etc., as embodiments of the invention are not limited in this regard.
Specifically, after service resource information of each source service platform is acquired, according to a performance parameter conversion standard pre-configured in service resource management equipment, or according to a performance parameter conversion standard acquired in real time, each service resource information is correspondingly converted into a uniform resource representation model form, and each service resource information after the conversion of the completed form is used as service resource information corresponding to each source service platform to be maintained in the service resource management equipment.
By way of example, the resource representation model may be represented in the form shown in the following table:
model name
Pixel throughput per unit time
Write data amount per unit time
Service resource quotation
S203, acquiring initial service requirements, and screening service resource information provided by each source service platform according to geographic position information, server model information and performance requirement information contained in the initial service requirements.
Specifically, the geographical location information of the source service platform where the service resource requiring party expects to provide the service resource is analyzed and obtained from the initial service requirement, and the server model information and the performance requirement information required by the running service can be provided by the source service platform. And comparing and screening the geographic position information, the server model information and the performance requirement information with geographic position information, server model information and performance parameter information in service resource information provided by each source service platform respectively, and determining the screening result of the source service platform capable of meeting the initial service requirement as screening passing.
S204, determining the source service platform passing the screening as an alternative source service platform.
S205, at least one alternative sample server is pre-constructed according to the alternative service resource information provided by each alternative source service platform, and target service corresponding to the initial service requirement is operated in each alternative sample server, so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process.
S206, determining the actual resource demand information corresponding to the target service according to the alternative resource utilization information.
S207, determining at least one alternative service resource combination meeting the actual resource demand information according to the performance parameter information in the alternative service resource information.
Specifically, as the bias directions of the service resources which can be provided by different alternative source service platforms are different, that is, the bias directions of the performance parameter information in the corresponding alternative service resource information are different, after the actual resource demand information of the service resource demand party is determined, the performance demands in different directions can be determined according to the actual resource demand information, and further, the service resources provided by a plurality of alternative source service platforms are combined according to the bias directions of the different alternative source service platforms, so that one alternative service resource combination is obtained, and the service resources which can be provided by each alternative service resource combination can meet the performance demands corresponding to the actual resource demand information in each bias direction.
For example, for performance requirements in different directions, service resources can be selected from each alternative source service platform to be biased to the direction, and the alternative source service platform with the lowest cost provides service resources in the direction for the service resource requirement party, and the alternative source service platform is selected in the above manner for each direction so as to obtain at least one alternative service resource combination meeting actual resource requirement information.
S208, determining the alternative combination cost of each alternative service resource combination according to the cost information in the alternative service resource information.
Specifically, according to the cost information in the information of each alternative service resource, the cost of the service resources provided by different alternative source service platforms in the alternative service resource combination is determined, and the cost of the service resources of each alternative source service platform is added to determine the alternative combination cost of the alternative service resource combination.
S209, determining the alternative service resource combination with the lowest alternative combination cost as a target service resource combination.
Specifically, in order to reduce the resource matching cost of the service resource demand party, each candidate service resource combination can meet the service demand of the service resource demand party, and at this time, the candidate service resource combination with the lowest candidate combination cost can be determined as the target service resource combination.
S210, combining the alternative source service platforms contained in the target service resource combination and the service resource information to be provided corresponding to each alternative source service platform in the target service resource combination, and determining the combination as target service resource combination information.
Specifically, the alternative source service platforms included in the target service resource combination can be regarded as platforms which need to provide service resources for the service resource demander after the alternative source service platforms are put into use, the service resource types and the service resources which need to be provided for the service resource demander by each alternative source service platform are defined in the target service resource combination, the service resource types and the service resources are determined to be the service resource information to be provided corresponding to the alternative source service platforms, and the alternative source service platforms and the corresponding service resource information to be provided are combined to determine the target service resource combination information.
S211, providing service resources for the target business according to the target service resource combination information by each alternative source service platform contained in the target service resource combination information.
Optionally, when providing service resources for the target service according to the target service resource combination information, if a fault source service platform exists in each alternative source service platform corresponding to the target service resource combination information, determining a target alternative source service platform according to service resource information to be provided and each alternative service resource information corresponding to the fault source service platform; and providing service resources for the target service by the target alternative source service platform according to the service resource information to be provided corresponding to the fault source service platform.
Specifically, because the service resource stability of different source service platforms is different, even when the target service resource combination information is determined and the service resource is provided for the service resource demand party according to the target service resource combination information, the situation that part of the alternative source service platforms fail is still likely to occur, so when the fault source service platform exists in the alternative source service platforms corresponding to the target service resource combination information, in order to ensure the normal operation of the service resource demand party, the alternative source service platform which can provide the service resource information corresponding to the fault source service platform is selected from the alternative source service platforms except for the alternative source service platform contained in the target service resource combination information by the service resource management equipment, the alternative source service platform is determined as the target alternative source service platform, and the fault source service platform is replaced by the target alternative source service platform to provide the service resource for the target service according to the corresponding service resource information to be provided.
It can be understood that the fault compensation operation is an operation behavior occurring in the service resource management device, and the service resource demand party is not sensitive to the replacement of the service resource provider, and does not cause the increase of the cost of acquiring the service resource by the service resource demand party, thereby ensuring the stability of the service resource providing process.
S212, obtaining service resource utilization information of the target service resource combination corresponding to the target service resource combination according to a preset time period.
Specifically, a time period is preset according to the actual situation, so as to monitor the resource utilization state of the target service resource combination information after the target service resource combination information is put into use, that is, the information such as the utilization rate of the service resources provided by each alternative source service platform in the actual use process in the target service resource combination corresponding to the target service resource combination information can be periodically acquired according to the preset time period, and the information is comprehensively determined as the service resource utilization information of the inner target service resource combination.
S213, the target service resource combination information is adjusted according to the service resource utilization information and the alternative resource utilization information.
Specifically, when it is determined that the service resources provided according to the target service resource combination information are not fully utilized according to the service resource utilization information, the determination of the target service resource combination information can be completed by using the service resource utilization information as new actual resource requirement information according to the manner provided in S207-S209, that is, the adjustment of the target service resource combination information is achieved.
Optionally, when receiving the new resource application information, the method further includes:
if the service to be applied corresponding to the new resource application information is the target service, providing service resources for the service to be applied according to the target service resource combination information;
if the service to be applied corresponding to the new resource application information is not the target service, determining new initial service requirements according to the new resource application information, and returning to execute the step of determining at least one alternative source service platform from the source service platforms according to the initial service requirements.
Specifically, in the process that the service resource demand side supports the operation of the target service according to the service resource provided by the target service resource combination information, more service resources may need to be applied to support the operation of the service due to the expansion demand of the target service, and a new service may also need to be expanded. At this time, the service resource demand direction service resource management device sends new resource application information, and the service resource management device analyzes the new voluntary application information to determine whether the service to be applied is the same target service as the target service resource combination information corresponding to the previously provided service resource. If so, the incremental service resources can be provided for the service to be applied directly according to the target service resource combination information determined in advance. If not, it can be considered that there is currently no service resource combination information capable of directly adapting to the service to be applied, at this time, S203 will be executed back, and the service requirement corresponding to the service to be applied is used as a new initial service requirement, so as to redetermine the target service resource combination information corresponding to the service to be applied, so as to provide service resources for the service to be applied correspondingly.
According to the technical scheme, the service resource information of different source service platforms is converted into the uniform resource representation model form to be maintained on the service resource management equipment, so that when the target service resource combination information is constructed based on the alternative service resource information, service resource performance combinations of the different source service platforms can be clearly indicated, and the reliability of the combination is improved. When the initial service demand is acquired, the source service platforms are firstly screened through geographic position information, server model information and performance demand information contained in the initial service demand, so that the number of alternative source service platforms for constructing alternative sample servers is reduced, and the data calculation amount required by dynamic calculation and matching of target services corresponding to the initial service demand can be reduced. The actual resource requirements of the target service are determined through the pre-constructed alternative sample server, so that the service resource matching is performed on the demand side, the demand side is not only dependent on the demand information provided by the demand side, the demand side cannot purchase the service resource beyond the demand range, and the service resource purchasing cost of the demand side is reduced. After the actual resource demand information is defined, completing a plurality of alternative service resource combinations meeting the actual resource demand information according to the performance parameter information in the alternative service resource information, and determining the resource combination with the lowest combination cost as a target service resource combination, so that the service resource demand can acquire the service resource meeting the service demand at lower cost. Meanwhile, after the target service resource combination is put into use, the use condition of the target service resource combination can be monitored, so that the target service resource combination information is dynamically adjusted when the target service resource combination information purchases service resources next time or in an increment mode according to the actual resource utilization condition of a demand party, the service resources after combination purchase have lower purchase cost on the basis that the actual resource demands of the demand party can be met, the automatic operation of resource calculation matching and resource application is realized, the workload of the resource demand party for measuring, calculating and matching the service resources is reduced, the service resource cost of the resource demand party is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.
Example III
Fig. 3 is a schematic structural diagram of a service resource management device according to a third embodiment of the present invention, where, as shown in fig. 3, the service resource management device includes: an alternative platform determination module 31, a utilization information determination module 32, a demand information determination module 33, and a resource combination determination module 34.
The alternative platform determining module 31 is configured to obtain an initial service requirement, and determine at least one alternative source service platform from the source service platforms according to the initial service requirement; the utilization information determining module 32 is configured to pre-construct at least one alternative sample server according to the alternative service resource information provided by each alternative source service platform, and operate a target service corresponding to the initial service requirement in each alternative sample server, so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process; a demand information determining module 33, configured to determine actual resource demand information corresponding to the target service according to each candidate resource utilization information; the resource combination determining module 34 is configured to determine target service resource combination information according to the actual resource requirement information and each candidate service resource information, so that each candidate source service platform included in the target service resource combination information provides service resources for the target service according to the target service resource combination information.
According to the technical scheme, the information of different source service platforms capable of providing service resources is integrated by using the independently arranged third party platform, and then after receiving an initial service demand given by a client, namely a demand party, an alternative source service platform which is likely to provide service resources for the demand party is selected from managed source service platforms capable of providing service resources. And then, a plurality of alternative sample servers can be pre-constructed by using the service resources provided by different alternative source service platforms for the client to try out, and the actual demand condition of the demand party for the service resources is determined based on the trial result. When the service resource matching is carried out on the demand party, the demand information provided by the demand party is not only relied on, but a proper service resource provider is matched on the basis of the actual demand of the required running service on the service resource, so that the demand party cannot purchase the service resource beyond the demand range, and the service resource purchase cost of the demand party is reduced. Meanwhile, after the actual resource demand of the demand party is defined, service resources which partially meet the actual resource demand can be selected for purchase in different alternative source service platforms based on service resource information which can be provided by integrated alternative source service platforms, so that the service resources after combined purchase have lower purchase cost on the basis of meeting the actual resource demand of the demand party, the automatic operation of resource calculation force matching and resource application is realized, the workload of the resource demand party for measuring, calculating and matching the service resources is reduced, the service resource cost of the resource demand party is reduced, and the utilization rate of the service resources is improved on the basis of limited cost.
Optionally, the alternative platform determination module 31 includes:
the platform screening unit is used for screening service resource information provided by each source service platform according to geographic position information, server model information and performance requirement information contained in the initial service requirement;
and the alternative platform determining unit is used for determining the source service platform passing the screening as an alternative source service platform.
Optionally, the resource combination determination module 34 includes:
an alternative combination determining unit, configured to determine at least one alternative service resource combination that meets the actual resource requirement information according to the performance parameter information in each alternative service resource information;
an alternative cost determining unit, configured to determine an alternative combination cost of each alternative service resource combination according to cost information in each alternative service resource information;
a target combination determining unit, configured to determine, as a target service resource combination, an alternative service resource combination with the lowest alternative combination cost;
the resource combination determining unit is used for combining the alternative source service platforms contained in the target service resource combination and the service resource information to be provided corresponding to each alternative source service platform in the target service resource combination, and determining the combination as target service resource combination information.
Optionally, the service resource management device further includes:
the resource information conversion module is used for acquiring service resource information provided by different source service platforms before acquiring initial service requirements; converting the service resource information into a uniform resource representation model form, and storing and maintaining the service resource information converted by each source service platform; the service resource information at least comprises geographic position information, server model information, performance parameter information and cost information.
Optionally, the service resource management device further includes:
the new resource application module is used for providing service resources for the service to be applied according to the target service resource combination information if the service to be applied corresponding to the new resource application information is the target service when the new resource application information is received; if the service to be applied corresponding to the new resource application information is not the target service, determining new initial service requirements according to the new resource application information, and returning to execute the step of determining at least one alternative source service platform from the source service platforms according to the initial service requirements.
Optionally, the resource combination determining module 34 is further configured to:
when providing service resources for a target service according to the target service resource combination information, if a fault source service platform exists in each alternative source service platform corresponding to the target service resource combination information, determining a target alternative source service platform according to service resource information to be provided and each alternative service resource information corresponding to the fault source service platform; and providing service resources for the target service by the target alternative source service platform according to the service resource information to be provided corresponding to the fault source service platform.
The service resource management device provided by the embodiment of the invention can execute the service resource management method provided by any embodiment of the invention, and has the functional modules and beneficial effects of executing the corresponding method.
Example IV
Fig. 4 is a schematic structural diagram of a service resource management device according to a fourth embodiment of the present invention. The service resource management device 40 may be an electronic device intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the service resource management device 40 includes at least one processor 41, and a memory communicatively connected to the at least one processor 41, such as a Read Only Memory (ROM) 42, a Random Access Memory (RAM) 43, etc., in which the memory stores a computer program executable by the at least one processor, and the processor 41 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 42 or the computer program loaded from the storage unit 48 into the Random Access Memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the service resource management device 40 can also be stored. The processor 41, the ROM 42 and the RAM 43 are connected to each other via a bus 44. An input/output (I/O) interface 45 is also connected to bus 44.
A plurality of components in the service resource management device 40 are connected to the I/O interface 45, including: an input unit 46 such as a keyboard, a mouse, etc.; an output unit 47 such as various types of displays, speakers, and the like; a storage unit 48 such as a magnetic disk, an optical disk, or the like; and a communication unit 49 such as a network card, modem, wireless communication transceiver, etc. The communication unit 49 allows the service resource management device 40 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 41 may be various general and/or special purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 41 performs the various methods and processes described above, such as the service resource management method.
In some embodiments, the service resource management method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program may be loaded and/or installed onto the service resource management device 40 via the ROM 42 and/or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the service resource management method described above may be performed. Alternatively, in other embodiments, processor 41 may be configured to perform the service resource management method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for service resource management, comprising:
acquiring an initial service demand, and determining at least one alternative source service platform from the source service platforms according to the initial service demand;
at least one alternative sample server is pre-constructed according to the alternative service resource information provided by each alternative source service platform, and target service corresponding to the initial service requirement is operated in each alternative sample server so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process;
Determining actual resource demand information corresponding to the target service according to the alternative resource utilization information;
determining target service resource combination information according to the actual resource demand information and the candidate service resource information, so that the candidate source service platforms contained in the target service resource combination information provide service resources for the target service according to the target service resource combination information.
2. The method of claim 1, further comprising, prior to said obtaining the initial traffic demand:
acquiring service resource information provided by different source service platforms;
converting the service resource information into a uniform resource representation model form, and storing and maintaining the service resource information converted by the source service platform;
the service resource information at least comprises geographic position information, server model information, performance parameter information and cost information.
3. The method of claim 2, wherein said determining at least one alternative source service platform from among the source service platforms based on the initial business requirement comprises:
screening service resource information provided by each source service platform according to geographic position information, server model information and performance requirement information contained in the initial service requirement;
And determining the screened source service platform as an alternative source service platform.
4. The method of claim 2, wherein said determining target service resource combination information from said actual resource demand information and each of said alternative service resource information comprises:
determining at least one alternative service resource combination meeting the actual resource demand information according to the performance parameter information in each alternative service resource information;
determining an alternative combination cost of each alternative service resource combination according to cost information in the alternative service resource information;
determining the alternative service resource combination with the lowest alternative combination cost as a target service resource combination;
and combining the alternative source service platforms contained in the target service resource combination and the service resource information to be provided corresponding to each alternative source service platform in the target service resource combination, and determining the combination as target service resource combination information.
5. The method of claim 1, further comprising, after said determining target service resource combination information from said actual resource demand information and each of said alternative service resource information:
Acquiring service resource utilization information of the target service resource combination corresponding to the target service resource combination according to a preset time period;
and adjusting the target service resource combination information according to the service resource utilization information and the alternative resource utilization information.
6. The method of claim 1, wherein upon receiving the new resource application information, further comprising:
if the service to be applied corresponding to the new resource application information is the target service, providing service resources for the service to be applied according to the target service resource combination information;
if the service to be applied corresponding to the new resource application information is not the target service, determining a new initial service requirement according to the new resource application information, and returning to execute the step of determining at least one alternative source service platform from the source service platforms according to the initial service requirement.
7. The method of claim 4, wherein, when providing service resources for the target service according to the target service resource combination information, further comprising:
if a fault source service platform exists in each alternative source service platform corresponding to the target service resource combination information, determining a target alternative source service platform according to service resource information to be provided corresponding to the fault source service platform and each alternative service resource information;
And providing service resources for the target service by the target alternative source service platform according to the service resource information to be provided corresponding to the fault source service platform.
8. A service resource management apparatus, comprising:
the alternative platform determining module is used for acquiring initial service requirements and determining at least one alternative source service platform from the source service platforms according to the initial service requirements;
the utilization information determining module is used for pre-constructing at least one alternative sample server according to the alternative service resource information provided by each alternative source service platform, and operating the target service corresponding to the initial service requirement in each alternative sample server so as to obtain alternative resource utilization information corresponding to each alternative sample server in the operation process;
the demand information determining module is used for determining actual resource demand information corresponding to the target service according to the alternative resource utilization information;
and the resource combination determining module is used for determining target service resource combination information according to the actual resource demand information and the alternative service resource information so as to provide service resources for the target service according to the alternative source service platforms contained in the target service resource combination information.
9. A service resource management apparatus, characterized by comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the service resource management method of any of claims 1-7.
10. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the service resource management method of any of claims 1-7.
CN202311443527.7A 2023-11-01 2023-11-01 Service resource management method, device, equipment and storage medium Pending CN117255090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311443527.7A CN117255090A (en) 2023-11-01 2023-11-01 Service resource management method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311443527.7A CN117255090A (en) 2023-11-01 2023-11-01 Service resource management method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117255090A true CN117255090A (en) 2023-12-19

Family

ID=89137018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311443527.7A Pending CN117255090A (en) 2023-11-01 2023-11-01 Service resource management method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117255090A (en)

Similar Documents

Publication Publication Date Title
CN114095567B (en) Data access request processing method and device, computer equipment and medium
CN114500339B (en) Node bandwidth monitoring method and device, electronic equipment and storage medium
CN110706093A (en) Accounting processing method and device
CN114389969A (en) Client test method and device, electronic equipment and storage medium
CN110928594A (en) Service development method and platform
CN113205189A (en) Prediction model training method, prediction method and prediction device
CN116545905A (en) Service health detection method and device, electronic equipment and storage medium
CN112016791B (en) Resource allocation method and device and electronic equipment
CN117255090A (en) Service resource management method, device, equipment and storage medium
CN112017063B (en) Resource allocation method and device based on comprehensive risk score and electronic equipment
CN114138358A (en) Application program starting optimization method, device, equipment and storage medium
CN113961797A (en) Resource recommendation method and device, electronic equipment and readable storage medium
CN114090247A (en) Method, device, equipment and storage medium for processing data
CN114048010A (en) Method, device, equipment and storage medium for controlling service timeout time
CN113822745A (en) Article display method and device
CN113436003A (en) Duration determination method, duration determination device, electronic device, medium, and program product
CN113535020A (en) Method, apparatus, device, medium and product for generating application icons
CN114138397B (en) Page display method and device, electronic equipment and storage medium
CN115987782B (en) Cloud hostname generation method, device, equipment, storage medium and program product
CN114816758B (en) Resource allocation method and device
US10891664B2 (en) System and method for facilitating non-parametric weighted correlation analysis
CN115686862A (en) Capacity data processing method, device, equipment and storage medium
CN117873554A (en) Software release method, device and equipment
CN114840276A (en) Object calling method, device, equipment, storage medium and program product
CN116010744A (en) Page data processing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination