CN112965806A - Method and apparatus for determining resources - Google Patents

Method and apparatus for determining resources Download PDF

Info

Publication number
CN112965806A
CN112965806A CN202110330817.5A CN202110330817A CN112965806A CN 112965806 A CN112965806 A CN 112965806A CN 202110330817 A CN202110330817 A CN 202110330817A CN 112965806 A CN112965806 A CN 112965806A
Authority
CN
China
Prior art keywords
resource
preset service
service
resource level
preset
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.)
Granted
Application number
CN202110330817.5A
Other languages
Chinese (zh)
Other versions
CN112965806B (en
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 Huijun Technology Co ltd
Original Assignee
Beijing Huijun 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 Huijun Technology Co ltd filed Critical Beijing Huijun Technology Co ltd
Priority to CN202110330817.5A priority Critical patent/CN112965806B/en
Publication of CN112965806A publication Critical patent/CN112965806A/en
Priority to PCT/CN2022/070247 priority patent/WO2022199204A1/en
Application granted granted Critical
Publication of CN112965806B publication Critical patent/CN112965806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a method and a device for determining resources, and relates to the technical field of computers. The method comprises the following steps: the method comprises the steps of obtaining a resource set, obtaining the running state of a preset service, determining a target resource level matched with the running state, and running the preset service by adopting resources belonging to the target resource level in the resource set. The method can determine the resources for operating the service based on the requirements of the service during operation.

Description

Method and apparatus for determining resources
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to a method and apparatus for determining resources.
Background
And redundant resources are allocated for the service, and the service can be continuously operated based on the redundant resources when the basic resources for operating the service have faults, so that the service is ensured to be normally processed. Redundant resources are typically pre-allocated for the service before it is on-line/running.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, and a computer-readable storage medium for determining a resource.
According to a first aspect of the present disclosure, there is provided a method for determining resources, comprising: acquiring a resource set, wherein the resource set comprises a resource level and resources belonging to the resource level; acquiring the running state of a preset service, and determining the target resource level matched with the running state; and adopting the resources belonging to the target resource level in the resource set to run the preset service.
In some embodiments, the presetting service is currently operated on a first resource matched with a first resource level, and the determining a target resource level matched with an operation state comprises: in response to the fact that the running state of the preset service is lower than the first state threshold value, determining that the second resource level is the target resource level, wherein the performance of the preset service running by the resources belonging to the second resource level is lower than the performance of the preset service running by the first resources; or, in response to determining that the running state of the preset service is higher than the second state threshold, determining that the third resource level is the target resource level, wherein the performance of the preset service running by the resource belonging to the third resource level is higher than the performance of the preset service running by the first resource.
In some embodiments, the presetting of the operation state of the service includes: and the operation parameters are used for operating the current resources of the preset service.
In some embodiments, the presetting of the operation state of the service includes: presetting the requirement of the service on continuity during operation.
In some embodiments, the requirements for continuity at runtime for the pre-set service include at least one of: the method comprises the steps of presetting tolerance of the service to service interruption time, presetting tolerance of the service to communication rate, and presetting tolerance of the service to data storage rate.
In some embodiments, the running of the preset service by using the resource belonging to the target resource level in the resource set includes: in response to the fact that the preset service has a reference operation state, adopting resources in the resource set and belonging to the first target resource level to operate the preset service; wherein the reference operating state comprises at least one of: the threshold value of the operation parameter of the resource for operating the preset service and the threshold value of the requirement of the preset service on the continuity during the operation.
In some embodiments, the set of resources includes at least one of: the system comprises a first preset resource level and multi-active equipment and/or hot equipment belonging to the first preset resource level, wherein the multi-active equipment comprises a plurality of devices which run simultaneously and provide services; a second predetermined resource level, and a cold standby belonging to the second predetermined resource level.
According to a second aspect of the present disclosure, there is provided an apparatus for determining resources, comprising: an acquisition unit configured to acquire a resource set, wherein the resource set includes a resource level and resources belonging to the resource level; the determining unit is configured to acquire the running state of the preset service and determine the target resource level matched with the running state; and the processing unit is configured to adopt the resources belonging to the target resource level in the resource set to run the preset service.
In some embodiments, the preset service is currently operated on a first resource matching the first resource level, and the determining unit includes: the first determining module is configured to determine that the second resource level is a target resource level in response to determining that the running state of the preset service is lower than a first state threshold, wherein the performance of the preset service running by the resource belonging to the second resource level is lower than the performance of the preset service running by the first resource; or, the second determining module is configured to determine that the third resource level is the target resource level in response to determining that the operation state of the preset service is higher than the second state threshold, where the performance of the preset service executed by the resource belonging to the third resource level is higher than the performance of the preset service executed by the first resource.
In some embodiments, the presetting of the operation state of the service includes: and the operation parameters are used for operating the current resources of the preset service.
In some embodiments, the presetting of the operation state of the service includes: presetting the requirement of the service on continuity during operation.
In some embodiments, the requirements for continuity at runtime for the pre-set service include at least one of: the method comprises the steps of presetting tolerance of the service to service interruption time, presetting tolerance of the service to communication rate, and presetting tolerance of the service to data storage rate.
In some embodiments, a processing unit, comprising: the processing module is configured to respond to the fact that the preset service has a reference operation state, adopt resources in the resource set and belonging to the first target resource level, and operate the preset service; wherein the reference operating state comprises at least one of: the threshold value of the operation parameter of the resource for operating the preset service and the threshold value of the requirement of the preset service on the continuity during the operation.
In some embodiments, the set of resources includes at least one of: the system comprises a first preset resource level and multi-active equipment and/or hot equipment belonging to the first preset resource level, wherein the multi-active equipment comprises a plurality of devices which run simultaneously and provide services; a second predetermined resource level, and a cold standby belonging to the second predetermined resource level.
According to a third aspect of the present disclosure, an embodiment of the present disclosure provides an electronic device, including: one or more processors: a storage device for storing one or more programs which, when executed by one or more processors, cause the one or more processors to implement the method for determining resources as provided in the first aspect.
According to a fourth aspect of the present disclosure, an embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method for determining resources provided by the first aspect.
The method and the device for determining the resources, which are provided by the disclosure, are used for acquiring the resource set and the running state of the preset service, determining the target resource level matched with the running state, and running the preset service by adopting the resources belonging to the target resource level in the resource set, and determining the resources for running the preset service based on the running state of the preset service, so that the resources for running the preset service are determined as required, the problem that the preset service cannot be processed due to insufficient redundant resources preset for the preset service is avoided, or the problem of resource waste caused by excessive redundant resources preset for the preset service is avoided.
The technology solves the problem that the resources required for operating the service are not matched with the redundant resources due to the fact that the redundant resources are determined for the service in advance.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is an exemplary system architecture diagram in which embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for determining resources according to the present application;
FIG. 3 is a flow diagram of another embodiment of a method for determining resources according to the present application;
FIG. 4 is a resource collection diagram of one example of a method for determining resources according to the present application;
FIG. 5 is a schematic diagram of an application scenario of a method for determining resources according to the present application;
FIG. 6 is a block diagram illustrating an embodiment of an apparatus for determining resources according to the present application;
fig. 7 is a block diagram of an electronic device for implementing a method for determining resources according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the present method for determining resources or apparatus for determining resources may be applied.
As shown in fig. 1, system architecture 100 may include a device 101, a network 102, and a server 103. Network 102 is the medium used to provide communication links between devices 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use device 101 to interact with server 103 over network 102 to receive or send messages and the like. Various programs such as an information input type program, an information processing type program, and the like may be installed on the device 101.
Device 101 may be a variety of electronic devices having a display screen and supporting the reception of server messages, including but not limited to smart phones, tablets, e-book readers, electronic players, laptop and desktop computers, servers, and the like.
The device 101 may be hardware or software. When the device 101 is hardware, various electronic devices may be used, and when the device 101 is software, the electronic devices may be installed in the above-listed electronic devices. It may be implemented as multiple pieces of software or software modules (e.g., multiple software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 103 may obtain a resource set through the device 101 or a local storage, where the resource set includes a resource level and a resource belonging to the resource level, obtain an operation state of a preset service, determine a target resource level matching the operation state, and then operate the preset service using the resource belonging to the target resource level in the resource set.
It should be noted that the method for determining resources provided by the embodiments of the present disclosure is generally performed by the server 105, and accordingly, the apparatus for determining resources is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for determining resources is shown, including the steps of:
step 201, acquiring a resource set, wherein the resource set includes a resource level and resources belonging to the resource level.
In this embodiment, an executing subject (e.g., the server 103 shown in fig. 1) of the method for determining resources may acquire the resource set by receiving information sent by a user using another device, or by reading a local storage or a cloud storage. The resource set includes the respective resource levels and the resources belonging to each of the respective resource levels.
In this embodiment, the resources may include various resources for processing the traffic, such as computing resources, storage resources, communication resources, power resources, and so on. The resource level is used to characterize the processing type or processing efficiency of the resource handling traffic,
for example, for the storage resource, the storage efficiency of the solid state disk storage resource is high when data is stored, the security is high, and the storage efficiency of the disk storage resource when data is stored is lower than that of the solid state disk storage resource. Therefore, the resource level of the storage resources of the solid state disk can be determined as the first level, and the resource level of the storage resources of the disk can be determined as the second level.
For another example, for a communication resource, since the coverage area of a mobile network is wider than that of a single wireless network, the stability of data transmission using the mobile network is higher than that using the wireless network. The resource level of the mobile network resources may thus be determined as a first level and the resource level of the wireless network resources as a second level.
Step 202, obtaining the operation state of the preset service, and determining the target resource level matched with the operation state.
In this embodiment, the operation state of the preset service may be acquired, and the target resource level matching the acquired operation state may be determined. The preset service may be any service specified by the user. The operation state of the preset service may be a current working state of software for operating the preset service, a current working state of hardware for operating the preset service, or an operation environment required for normal operation of the preset service. After the execution main body obtains the running state of the preset service, the execution main body can obtain the mapping relation information between the predetermined running state and the target resource level, read the target resource level corresponding to the obtained running state of the preset service from the mapping relation information, and determine the read target resource level as the target resource level matched with the obtained running state of the preset service.
In some optional embodiments, the preset service currently runs on the basic resource, and the resource set includes a first preset resource level and resources belonging to the first preset resource level, a second preset resource level and resources belonging to the second preset resource level, and a third preset resource level and resources belonging to the third preset resource level. The predetermined mapping relationship information between the running state of the preset service and the target resource level may be: the running state corresponding to the first preset resource level is that two or more monitoring indexes such as the utilization rate of a Central Processing Unit (CPU), the data reading and writing throughput rate, the transmission network reading and writing throughput rate and the like of the CPU for processing the preset service are continuously higher than a set basic running threshold value; the running state corresponding to the second preset resource level is that at most one of monitoring indexes such as the utilization rate of a CPU (central processing unit) for processing preset services, the throughput rate of data reading and writing, the reading and writing throughput rate of a transmission network and the like is higher than a set basic running threshold; the running state corresponding to the third preset resource level is that the utilization rate of a CPU for processing the preset service, the data read-write throughput rate, the transmission network read-write throughput rate and other monitoring indexes are lower than the basic running threshold value for a long time.
And 203, adopting the resources belonging to the target resource level in the resource set to run the preset service.
In this embodiment, part or all of the preset service may be migrated to a resource belonging to the target resource level in the resource set, so as to use the resource belonging to the target resource level to run the preset service.
The method for determining resources provided by this embodiment obtains a resource set, obtains an operating state of a preset service, determines a target resource level matched with the operating state, and operates the preset service by using a resource belonging to the target resource level in the resource set, and can determine a resource for operating the preset service based on the operating state of the preset service, thereby determining the resource for operating the preset service as needed, avoiding a problem that the preset service cannot be processed due to insufficient redundant resources preset for the preset service, or avoiding a problem of resource waste caused by excessive redundant resources preset for the preset service.
Optionally, the step of determining a target resource level matching the operating state includes: in response to the fact that the running state of the preset service is lower than the first state threshold value, determining that the second resource level is the target resource level, wherein the performance of the preset service running by the resources belonging to the second resource level is lower than the performance of the preset service running by the first resources; or, in response to determining that the running state of the preset service is higher than the second state threshold, determining that the third resource level is the target resource level, wherein the performance of the preset service running by the resource belonging to the third resource level is higher than the performance of the preset service running by the first resource.
In this embodiment, the preset service currently runs on the first resource matched with the first resource level, and if it is determined that the current running state of the preset service is lower than the first state threshold, the second resource level may be determined as the target resource level, where the performance of running the preset service and the resource corresponding to the second resource level is lower than that of the first resource. Or, if it is determined that the current operating state of the preset service is higher than the second state threshold, the third resource level may be determined as the target resource level, and the performance of the resource corresponding to the third resource level and the running of the preset service is higher than that of the first resource. It will be appreciated that the first condition threshold is lower than the second condition threshold for the same operating condition.
Specifically, if the preset service is currently running on the basic resource (i.e., the minimum running resource which is set for the preset service before running and can satisfy the service application) and the running state of the preset service is the fault state, it is determined that the target resource level matched with the fault state is the backup level, that is, it is determined that the preset service is run by using a resource in the resource set and belonging to the backup level, where the resource at the backup level may be another basic resource for backup which is the same as the above basic resource, and the preset service is migrated from the current basic resource to the basic resource for backup to continue running. It can be understood that the migration operation may migrate the running preset service to the backup resource to run normally when the resource fails, so as not to affect the normal processing of the service. This process may be understood as a backup resource start-up based on a device failure.
Specifically, if the preset service is currently running on the basic resource, and the workload of the software or hardware running the preset service is lower than the load threshold (for example, the utilization rate of the storage space of the storage resource for storing the data of the preset service is lower than 30%, or the bandwidth occupancy rate of the communication resource for transmitting the data of the preset service is lower than 50%, etc.), the second resource level may be determined as the target resource level, and the resource belonging to the second resource level runs the performance of the preset service, and is lower than the performance of the first resource for running the preset service. The process may be understood as a resource downgrade operation based on low resource utilization and/or may be understood as a resource release operation based on low resource utilization.
For example, the basic resource for storing the data of the preset service is a solid state disk storage resource, and after it is determined that the utilization rate of the storage space is lower than 30%, the resource for storing the data of the preset service may be degraded to release a higher-quality storage resource, so as to improve the utilization efficiency of the resource and avoid waste of the resource, for example, the second resource level is determined as the target resource level, so as to store the data of the preset service by using the disk storage resource belonging to the second resource level in the resource set.
Specifically, if the preset service is currently running on the basic resource, and the workload of the software or hardware running the preset service is higher than the load threshold (for example, the utilization rate of the storage space of the storage resource for storing the data of the preset service is higher than 95%, or the bandwidth occupancy rate of the communication resource for transmitting the data of the preset service is higher than 99%, or the requirement of the preset service for continuity in running is that the interruption time is less than 0.1 second, etc.), the third resource level may be determined as the target resource level, and the performance of running the preset service by the resource belonging to the third resource level is higher than the performance of running the preset service by the first resource. The process may be understood as a resource upgrading operation based on a full-load operating state of the resource and/or may be understood as an operation of allocating more or better resources to the preset service to prevent the preset service from going down in order to avoid long-term operation of the resource in a high-load state.
For example, the basic resource for transmitting data of the predetermined service is 4G (4)thgeneration, fourth generation mobile communication technology) mobile network, after confirming that the bandwidth utilization rate of the 4G mobile network exceeds 99%, it may upgrade the communication resource/transmission network to adopt a network with better quality/transmission performance than the current communication resource to transmit data, make up for the shortage of the current available resource to improve the data transmission efficiency, e.g., determine the third resource level as the target resource level to adopt 5G (5) belonging to the third resource level in the resource setthgeneration, fifth generation mobile communication technology) mobile networks transmit data of preset services.
For another example, the requirement of the preset service on the continuity in the initial operation stage is that the interruption time is less than 0.5 second, a higher requirement is set for the operation of the preset service in the later stage, the requirement of the preset service on the continuity is increased to the interruption time which is less than 0.1 second, and the resource for operating the preset service can be upgraded, so that the preset service can be operated by adopting a higher-quality resource, and the operation continuity of the preset service is improved.
The present embodiment may perform degradation or upgrade operations on resources running a preset service based on the running state of the preset service, so that the performance of the resources running the preset service is matched with the running state of the preset service, and avoid a problem that high-performance resources are used for wasting high-quality resources caused by running a service in a low running state (an inactive state such as a small data storage or transmission amount), or a problem that low-performance resources are used for running a service in a high running state (an active state such as a large data storage or transmission amount), which may cause a problem that the service cannot be normally processed.
Optionally, the operation state of the preset service includes: and the operation parameters are used for operating the current resources of the preset service.
In this embodiment, the running state of the preset service includes a running parameter of a current resource for running the preset service, where the running parameter may be a hardware parameter, for example, a CPU utilization of a current server that processes the preset service, a utilization of a storage space that stores the preset service, a data read-write throughput of the storage space, a data read-write rate or a bandwidth utilization of a communication link that transmits the preset service, and the like; the operation parameter may also be a software parameter, for example, an initialization duration of a program running the preset service, a configuration parameter of the program running the preset service, and the like.
In this embodiment, the operation parameter of the current resource of the preset service is used as the operation state of the preset service, so that the performance of the resource corresponding to the determined target resource level can be in accordance with the operation parameter of the preset service, and the preset service can be ensured to normally operate after being migrated from the current resource to the resource corresponding to the target resource level.
With continued reference to FIG. 3, a flow 300 of one embodiment of a method for determining resources is shown, including the steps of:
step 301, a resource set is obtained, where the resource set includes a resource level and resources belonging to the resource level.
Step 302, acquiring a requirement of the preset service for continuity during operation, and determining a target resource level matched with the requirement of the preset service for continuity during operation.
In this embodiment, the requirement of the preset service for continuity during operation is obtained, and a target resource level matching the requirement of the preset service for continuity during operation is determined. After acquiring the continuity requirement of the preset service in operation, the execution main body may acquire mapping relationship information between the predetermined service continuity requirement and the target resource level, read a target resource level corresponding to the continuity requirement of the acquired preset service in operation from the mapping relationship information, and determine the read target resource level as a target resource level matching the continuity requirement of the acquired preset service in operation.
In some optional embodiments, the requirement for continuity at runtime of the pre-set service comprises at least one of: the method comprises the steps of presetting tolerance of the service to service interruption time, presetting tolerance of the service to communication rate, and presetting tolerance of the service to data storage rate.
In this optional embodiment, the requirement for continuity at runtime of the preset service may be at least one of: the method comprises the steps of presetting tolerance of the service to service interruption time, presetting tolerance of the service to communication rate, and presetting tolerance of the service to data storage rate. The tolerance of the preset service to the service interruption time is as follows: the service can tolerate the longest time of data read-write interruption or the longest time of data transmission interruption in the operation process. The tolerance of the preset service to the communication rate refers to: the minimum communication rate required by the service while operating is to ensure continuity of the service data or to ensure timeliness of handling of the service data. The tolerance of the preset service to the data storage rate is as follows: the lowest data read-write rate required by the service when running.
In some optional embodiments, the preset service currently runs on the basic resource, and the resource set includes a first preset resource level and resources belonging to the first preset resource level, a second preset resource level and resources belonging to the second preset resource level, and a third preset resource level and resources belonging to the third preset resource level. The predetermined mapping relationship information between the running state of the preset service and the target resource level may include: the operation state corresponding to the first preset resource level is that the tolerance of the preset service to the service interruption time is a first duration, the operation state corresponding to the second preset resource level is that the tolerance of the preset service to the service interruption time is a second duration, the operation state corresponding to the third preset resource level is that the tolerance of the preset service to the service interruption time is a third duration, and the first duration is less than the second duration, and the second duration is less than the third duration, for example, the first duration is 20 minutes/month, the second duration is 40 minutes/month, and the third duration is 400 minutes/month, etc.
Step 303, running a preset service by using the resources belonging to the target resource level in the resource set.
In this embodiment, the descriptions of step 301 and step 303 are the same as the descriptions of step 201 and step 203, and are not repeated here.
The method for determining resources provided by this embodiment obtains a resource set, obtains a requirement for continuity when a preset service is running, determines a target resource level matching the requirement for continuity when the preset service is running, and runs the preset service by using a resource belonging to the target resource level in the resource set, and can determine a resource for running the preset service based on the requirement for continuity when the preset service is running, so that after the preset service is migrated from a currently running resource to a resource belonging to the target resource level in the resource set, it is ensured that the running continuity of the preset service meets the requirement, so as to ensure normal running of the preset service.
In some optional implementation manners of the embodiments described above with reference to fig. 2 and fig. 3, the running a preset service by using a resource belonging to a target resource level in the resource set includes: in response to the fact that the preset service has a reference operation state, adopting resources in the resource set and belonging to the first target resource level to operate the preset service; wherein the reference operating state comprises at least one of: the threshold value of the operation parameter of the resource for operating the preset service and the threshold value of the requirement of the preset service on the continuity during the operation.
In this embodiment, if it is determined that the preset service has the reference operation state, the preset service may be operated by using a resource belonging to the first target resource level in the resource set. Wherein, the reference running state is as follows: the threshold value of the operation parameter of the resource running the preset service, that is, the lowest operation parameter of the resource running the preset service, for example, the data read/write rate of the storage module storing the data of the service a needs to reach 500 megabytes/Second, the transmission rate of the communication resource transmitting the data of the service B needs to reach 100 megabytes/Second, or the arithmetic capability of the processor processing the service C needs to reach 1TOPS (Tera Operations Per Second), and the like. The reference operating state may also refer to: the threshold value of the requirement of the service on the continuity during the operation is preset, namely, the maximum value of the service interruption time tolerated by the service during the operation, the minimum value of the tolerated service data communication transmission rate, or the minimum value of the tolerated data storage rate is preset.
In this embodiment, the first target resource level may include one or more target resource levels, and the resource belonging to the first target resource level in the resource set is a resource that satisfies the reference operating state and is in an operating state when the preset service is operated. When the preset service has the reference state, the resource belonging to the first target resource level is adopted to run the preset service, so that the running or processing efficiency of the preset service can be ensured to meet the basic requirements of users.
In some optional implementations of the embodiments described above in connection with fig. 2 and 3, the set of resources includes at least one of: the system comprises a first preset resource level and multi-active equipment and/or hot equipment belonging to the first preset resource level, wherein the multi-active equipment comprises a plurality of devices which run simultaneously and provide services; a second predetermined resource level, and a cold standby belonging to the second predetermined resource level.
In this embodiment, the resource set may include: a first preset resource level, and a multi-active device and/or a hot-standby device belonging to the first preset resource level. The multi-active device comprises a plurality of devices, and the plurality of devices operate simultaneously and can provide services such as data processing, data storage or data transmission and the like simultaneously. The hot standby is a physical device/virtual machine which is in an operating state, temporarily does not provide service, and starts to provide service and takes over the preset service when the basic device running the preset service fails.
The set of resources may include: a second predetermined resource level, and a cold standby belonging to the second predetermined resource level. The cold backup is a physical device/virtual machine which is in an un-started/un-operated state and starts to operate when a basic device for operating the preset service fails so as to provide service and take over the preset service.
The resource set may also include: a third predetermined resource level, and a cold standby belonging to the third predetermined resource level. Wherein the performance of the cold appliances belonging to the third preset resource level is lower than the cold appliances belonging to the second preset resource level.
The resource set may also include other resource levels, and devices belonging to each of the other resource levels. The performance of the devices belonging to each resource level may be gradually decreased, so that when the operating state of the preset task is gradually changed, the target resource level may be matched according to the gradually changed operating state, that is, the resource running the preset service may be upgraded or downgraded according to the gradually changed operating state.
For example, as shown in fig. 4, fig. 4(a) shows resources for running a preset service, where the basic resource set 400 includes basic devices N1, N2, and N3 for running the preset service, and the obtained resource set includes a first preset resource level 401, a multi-active virtual machine a1, a multi-active virtual machine a2, and a hot-standby virtual machine A3 that belong to the first preset resource level, a second preset resource level 402, a cold device B1, a cold device B2, and a cold device B3 that belong to the second device resource level, a third preset resource level, a cold device C1, a cold device C2, and a cold device C3 that belong to the third preset resource level. The performance of the multi-active virtual machine a1, the multi-active virtual machine a2 and the hot standby virtual machine A3 is higher than that of the cold standby B1, the cold standby B2 and the cold standby B3, and the performance of the cold standby B1, the cold standby B2 and the cold standby B3 is higher than that of the cold standby C1, the cold standby C2 and the cold standby C3, for example, the multi-active virtual machine a1 may be a virtual machine providing 5G communication service, the cold standby B1 may be a virtual machine providing 4G communication service, the cold standby C1 may be a virtual machine providing 3G (3th generation, third generation mobile communication technology) communication service, the multi-active virtual machine a2 may be a solid state hard disk providing storage service, the cold standby B2 may be a magnetic disk providing storage service, and the cold standby C2 may be an optical storage medium (such as an optical disk) providing storage service.
Fig. 4(b) shows a process of ranking resources running a preset service. When all or part of the basic devices N1, N2, or N3 currently running the preset service in the basic resource set fail, the preset service may be migrated to a resource belonging to a first preset resource level to run, and the basic resource is released, which is a High Availability (High Availability) configuration operation on the preset service running system.
When the efficiency of processing the preset service needs to be reduced, the preset service may be migrated to a resource belonging to a second preset resource level to operate, and the resource belonging to the first preset resource level is released, at this time, when the efficiency of processing the preset service needs to be reduced again, the preset service may be migrated to a resource belonging to a third preset resource level again to operate, and the resource belonging to the second preset resource level is released, which is a degradation operation on the resource operating the preset service. On the contrary, when the efficiency or performance of processing the preset service needs to be improved, the preset service may be migrated from the resource belonging to the third preset resource level to the resource belonging to the second preset resource level/the resource belonging to the first preset resource level, and the process is the upgrade operation on the resource running the preset service. It should be noted that the upgrade/downgrade operation may be a cross-level operation, for example, the preset service may be migrated from a resource belonging to a third preset resource level to a resource belonging to a first preset resource level, or the preset service may be migrated from a base resource to a resource belonging to a third preset resource level.
The method for determining resources can improve the availability of a business system, thereby reducing the business downtime, maintaining the high availability of the service provided by the preset business, and simultaneously reducing the waste of redundant resources or avoiding the problem of insufficient architecture of the redundant resources
In some application scenarios, as shown in fig. 5, fig. 5 shows a specific flow 500 of a method for determining resources, including:
at step 501, a user may obtain or establish a set of base resources. Setting the interruption tolerance of the preset service, and establishing the operation parameters of the current resource for operating the preset service, the interruption tolerance of the preset service (namely the operation state of the preset service) and the mapping relation with the resource level.
The basic resource set for running the preset service may include basic resources required for running the preset service, and when the preset service is stateless (not running), the number of resources in the acquired or established resource set may be the maximum value among the number of virtual machines allocated to each physical device in the basic resource set, so as to ensure that the service can be quickly recovered when any physical device fails. For example, if 6 virtual machines are allocated to the physical device 1 and 12 virtual machines are allocated to the physical device 2 in the basic resource set, the number of the virtual machines or virtual images of the resources in the acquired or established resource set is 12. When the preset service is in a state (running), the number of the virtual machines or virtual machine images in the acquired or established resource set is the same as the number of the running virtual machines in the basic resource set, so that the service can be quickly recovered when any running virtual machine in the basic resource set is down.
Step 502, monitoring the running state of the preset service, and smoothing the monitored running parameters to avoid the interference of accidental events on the judgment of the running state of the preset service.
In step 503, a target resource level matching the operation status is determined, for example, whether the resource running the preset service needs to be downgraded (step 5031) or upgraded (step 5032) is determined at intervals (for example, 1 hour) based on the operation status of the preset service. If degradation or upgrade is required, the resource running the preset service is migrated to the resource belonging to the target resource level according to the migration operation of the preset service shown in fig. 4(b), and the resource occupied by the preset service before migration is recovered to release the resource (step 5033) for reuse.
With further reference to fig. 6, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an apparatus for determining resources, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2 or fig. 3, and the apparatus may be applied to various electronic devices in particular.
As shown in fig. 6, the apparatus 600 for determining resources of the present embodiment includes: an acquisition unit 601, a determination unit 602, a processing unit 603. The acquisition unit is configured to acquire a resource set, wherein the resource set comprises a resource level and resources belonging to the resource level; the determining unit is configured to acquire the running state of the preset service and determine the target resource level matched with the running state; and the processing unit is configured to adopt the resources belonging to the target resource level in the resource set to run the preset service.
In some embodiments, the preset service is currently operated on a first resource matching the first resource level, and the determining unit includes: the first determining module is configured to determine that the second resource level is a target resource level in response to determining that the running state of the preset service is lower than a first state threshold, wherein the performance of the preset service running by the resource belonging to the second resource level is lower than the performance of the preset service running by the first resource; or, the second determining module is configured to determine that the third resource level is the target resource level in response to determining that the operation state of the preset service is higher than the second state threshold, where the performance of the preset service executed by the resource belonging to the third resource level is higher than the performance of the preset service executed by the first resource.
In some embodiments, the presetting of the operation state of the service includes: and the operation parameters are used for operating the current resources of the preset service.
In some embodiments, the presetting of the operation state of the service includes: presetting the requirement of the service on continuity during operation.
In some embodiments, the requirements for continuity at runtime for the pre-set service include at least one of: the method comprises the steps of presetting tolerance of the service to service interruption time, presetting tolerance of the service to communication rate, and presetting tolerance of the service to data storage rate.
In some embodiments, a processing unit, comprising: the processing module is configured to respond to the fact that the preset service has a reference operation state, adopt resources in the resource set and belonging to the first target resource level, and operate the preset service; wherein the reference operating state comprises at least one of: the threshold value of the operation parameter of the resource for operating the preset service and the threshold value of the requirement of the preset service on the continuity during the operation.
In some embodiments, the set of resources includes at least one of: the system comprises a first preset resource level and multi-active equipment and/or hot equipment belonging to the first preset resource level, wherein the multi-active equipment comprises a plurality of devices which run simultaneously and provide services; a second predetermined resource level, and a cold standby belonging to the second predetermined resource level.
The units in the apparatus 600 described above correspond to the steps in the method described with reference to fig. 2 or 3. Thus, the operations, features and technical effects that can be achieved by the above-described method for determining resources are also applicable to the apparatus 600 and the units included therein, and are not described herein again.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 7, a block diagram of an electronic device 700 for a method for determining resources according to an embodiment of the application is shown. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may 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 meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 7, the electronic apparatus includes: one or more processors 701, a memory 702, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 7, one processor 701 is taken as an example.
The memory 702 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the method for determining resources provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method for determining resources provided herein.
The memory 702, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for determining resources in the embodiments of the present application (e.g., the obtaining unit 601, the determining unit 602, and the processing unit 603 shown in fig. 6). The processor 701 executes various functional applications of the server and data processing, i.e., implements the method for determining resources in the above-described method embodiments, by executing the non-transitory software programs, instructions, and modules stored in the memory 702.
The memory 702 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device for extracting the video clip, and the like. Further, the memory 702 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 702 may optionally include memory located remotely from the processor 701, which may be connected to an electronic device for retrieving video clips over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method for determining resources may further include: an input device 703, an output device 704, and a bus 705. The processor 701, the memory 702, the input device 703, and the output device 704 may be connected by a bus 705 or in other ways, and are exemplified by the bus 705 in fig. 7.
The input device 703 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus for extracting the video clip, such as an input device like a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointer stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 704 may include a display device, auxiliary lighting devices (e.g., LEDs), and tactile feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. A method for determining resources, comprising:
acquiring a resource set, wherein the resource set comprises a resource level and resources belonging to the resource level;
acquiring the running state of a preset service, and determining the target resource level matched with the running state;
and adopting the resources belonging to the target resource level in the resource set to operate the preset service.
2. The method of claim 1, wherein the pre-set service is currently operating on a first resource that matches a first resource level, and wherein determining a target resource level that matches the operating state comprises:
in response to determining that the running state of the preset service is lower than a first state threshold, determining that a second resource level is the target resource level, wherein the performance of running the preset service by the resource belonging to the second resource level is lower than the performance of running the preset service by the first resource; alternatively, the first and second electrodes may be,
and in response to the fact that the running state of the preset service is higher than a second state threshold value, determining that a third resource level is the target resource level, wherein the performance of the preset service running by the resource belonging to the third resource level is higher than the performance of the preset service running by the first resource.
3. The method of claim 1, wherein the operation state of the preset service comprises: and the operation parameters are used for operating the current resources of the preset service.
4. The method of claim 1, wherein the operation state of the preset service comprises: and the preset service has the requirement on continuity during operation.
5. The method of claim 4, wherein the requirements for continuity at runtime of the pre-set service include at least one of: the tolerance of the preset service to service interruption time, the tolerance of the preset service to communication rate and the tolerance of the preset service to data storage rate.
6. The method of claim 1, wherein the running the preset service using the resource belonging to the target resource level in the resource set comprises:
in response to the fact that the preset service has a reference operation state, adopting resources in the resource set and belonging to a first target resource level to operate the preset service;
wherein the baseline operating state comprises at least one of: the threshold value of the operation parameter of the resource for operating the preset service and the threshold value of the requirement of the preset service on continuity during operation.
7. The method of claim 1, wherein the set of resources includes at least one of:
the system comprises a first preset resource level and multi-active equipment and/or hot equipment belonging to the first preset resource level, wherein the multi-active equipment comprises a plurality of devices which run simultaneously and provide services;
a second predetermined resource level, and a cold standby belonging to the second predetermined resource level.
8. An apparatus for determining resources, comprising:
an obtaining unit configured to obtain a resource set, wherein the resource set includes a resource level and resources belonging to the resource level;
the system comprises a determining unit, a judging unit and a processing unit, wherein the determining unit is configured to acquire the running state of a preset service and determine a target resource level matched with the running state;
and the processing unit is configured to adopt the resources belonging to the target resource level in the resource set to run the preset service.
9. The apparatus of claim 8, wherein the predetermined service is currently operating on a first resource matching a first resource level, and the determining unit comprises:
a first determining module, configured to determine, in response to determining that the operation state of the preset service is lower than a first state threshold, that a second resource level is the target resource level, where a performance of the preset service executed by a resource belonging to the second resource level is lower than a performance of the preset service executed by the first resource; alternatively, the first and second electrodes may be,
and the second determining module is configured to determine that a third resource level is the target resource level in response to determining that the running state of the preset service is higher than a second state threshold, wherein the performance of running the preset service by the resource belonging to the third resource level is higher than the performance of running the preset service by the first resource.
10. The apparatus of claim 8, wherein the operation state of the preset service comprises: and the operation parameters are used for operating the current resources of the preset service.
11. The apparatus of claim 8, wherein the operation state of the preset service comprises: and the preset service has the requirement on continuity during operation.
12. The apparatus of claim 11, wherein the requirements for continuity at runtime of the pre-set service include at least one of: the tolerance of the preset service to service interruption time, the tolerance of the preset service to communication rate and the tolerance of the preset service to data storage rate.
13. The apparatus of claim 8, wherein the processing unit comprises:
the processing module is configured to respond to the fact that the preset service has a reference operation state, and adopt resources which belong to a first target resource level in the resource set to operate the preset service;
wherein the baseline operating state comprises at least one of: the threshold value of the operation parameter of the resource for operating the preset service and the threshold value of the requirement of the preset service on continuity during operation.
14. The apparatus of claim 8, wherein the set of resources includes at least one of:
the system comprises a first preset resource level and multi-active equipment and/or hot equipment belonging to the first preset resource level, wherein the multi-active equipment comprises a plurality of devices which run simultaneously and provide services;
a second predetermined resource level, and a cold standby belonging to the second predetermined resource level.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
CN202110330817.5A 2021-03-26 2021-03-26 Method and device for determining resources Active CN112965806B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110330817.5A CN112965806B (en) 2021-03-26 2021-03-26 Method and device for determining resources
PCT/CN2022/070247 WO2022199204A1 (en) 2021-03-26 2022-01-05 Method and apparatus for determining resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110330817.5A CN112965806B (en) 2021-03-26 2021-03-26 Method and device for determining resources

Publications (2)

Publication Number Publication Date
CN112965806A true CN112965806A (en) 2021-06-15
CN112965806B CN112965806B (en) 2023-08-04

Family

ID=76278745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110330817.5A Active CN112965806B (en) 2021-03-26 2021-03-26 Method and device for determining resources

Country Status (2)

Country Link
CN (1) CN112965806B (en)
WO (1) WO2022199204A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535328A (en) * 2021-07-22 2021-10-22 华云数据控股集团有限公司 Application instance control method, device, equipment and storage medium
WO2022199204A1 (en) * 2021-03-26 2022-09-29 北京汇钧科技有限公司 Method and apparatus for determining resources

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002732A1 (en) * 2005-06-30 2007-01-04 Batni Ramachendra P Application load level determination
CN103595815A (en) * 2013-11-25 2014-02-19 广东电网公司汕头供电局 Method for distributing storage resources based on cloud computing
CN108519917A (en) * 2018-02-24 2018-09-11 国家计算机网络与信息安全管理中心 A kind of resource pool distribution method and device
WO2018188585A1 (en) * 2017-04-11 2018-10-18 中国移动通信有限公司研究院 V2x resource configuration method and apparatus, related device and computer storage medium
CN109995677A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Resource allocation methods, device and storage medium
CN110389710A (en) * 2018-04-20 2019-10-29 华为技术有限公司 The method and apparatus for distributing storage resource
CN111464616A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Method, server and storage medium for automatically adjusting number of application load services
CN112316437A (en) * 2020-11-23 2021-02-05 上海米哈游天命科技有限公司 Resource switching method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676968B2 (en) * 2011-08-09 2014-03-18 Hewlett-Packard Development Company, L.P. Determining information about a computing system
CN112965806B (en) * 2021-03-26 2023-08-04 北京汇钧科技有限公司 Method and device for determining resources

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070002732A1 (en) * 2005-06-30 2007-01-04 Batni Ramachendra P Application load level determination
CN103595815A (en) * 2013-11-25 2014-02-19 广东电网公司汕头供电局 Method for distributing storage resources based on cloud computing
WO2018188585A1 (en) * 2017-04-11 2018-10-18 中国移动通信有限公司研究院 V2x resource configuration method and apparatus, related device and computer storage medium
CN109995677A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Resource allocation methods, device and storage medium
CN108519917A (en) * 2018-02-24 2018-09-11 国家计算机网络与信息安全管理中心 A kind of resource pool distribution method and device
CN110389710A (en) * 2018-04-20 2019-10-29 华为技术有限公司 The method and apparatus for distributing storage resource
CN111464616A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Method, server and storage medium for automatically adjusting number of application load services
CN112316437A (en) * 2020-11-23 2021-02-05 上海米哈游天命科技有限公司 Resource switching method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199204A1 (en) * 2021-03-26 2022-09-29 北京汇钧科技有限公司 Method and apparatus for determining resources
CN113535328A (en) * 2021-07-22 2021-10-22 华云数据控股集团有限公司 Application instance control method, device, equipment and storage medium
CN113535328B (en) * 2021-07-22 2024-03-19 华云数据控股集团有限公司 Application instance control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112965806B (en) 2023-08-04
WO2022199204A1 (en) 2022-09-29

Similar Documents

Publication Publication Date Title
CN111694646B (en) Resource scheduling method, device, electronic equipment and computer readable storage medium
US9934098B2 (en) Automatic serial order starting of resource groups on failover systems based on resource group usage prediction
US8595364B2 (en) System and method for automatic storage load balancing in virtual server environments
US8479202B2 (en) Method and system for autonomic application program spawning in a computing environment
US8898520B1 (en) Method of assessing restart approach to minimize recovery time
US8065560B1 (en) Method and apparatus for achieving high availability for applications and optimizing power consumption within a datacenter
CN111737127A (en) Method and apparatus for testing map service
WO2022199204A1 (en) Method and apparatus for determining resources
CN109245908B (en) Method and device for switching master cluster and slave cluster
CN111459645B (en) Task scheduling method and device and electronic equipment
CN111880914A (en) Resource scheduling method, resource scheduling apparatus, electronic device, and storage medium
CN115277566B (en) Load balancing method and device for data access, computer equipment and medium
US9317269B2 (en) Systems and methods for installing, managing, and provisioning applications
CN111625195B (en) Method and device for server capacity expansion
US20210224121A1 (en) Virtual machine-initiated workload management
CN114356547B (en) Low-priority blocking method and device based on processor virtualization environment
KR20150007698A (en) Load distribution system for virtual desktop service
CN114185734A (en) Cluster monitoring method and device and electronic equipment
US8621260B1 (en) Site-level sub-cluster dependencies
Zhu et al. Limitations of load balancing mechanisms for n-tier systems in the presence of millibottlenecks
US9836342B1 (en) Application alerting system and method for a computing infrastructure
CN111858030A (en) Job resource processing method and device, electronic equipment and readable storage medium
CN111782357A (en) Label control method and device, electronic equipment and readable storage medium
JP7307766B2 (en) Traffic adjustment method, apparatus, electronic equipment, computer readable recording medium and computer program
CN113760469A (en) Distributed computing method and device

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
GR01 Patent grant
GR01 Patent grant