CN112965806B - Method and device for determining resources - Google Patents

Method and device for determining resources Download PDF

Info

Publication number
CN112965806B
CN112965806B CN202110330817.5A CN202110330817A CN112965806B CN 112965806 B CN112965806 B CN 112965806B CN 202110330817 A CN202110330817 A CN 202110330817A CN 112965806 B CN112965806 B CN 112965806B
Authority
CN
China
Prior art keywords
preset
preset service
resource
resource level
resources
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.)
Active
Application number
CN202110330817.5A
Other languages
Chinese (zh)
Other versions
CN112965806A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

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: acquiring a resource set, acquiring 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. By adopting the method, the resource for running the service can be determined based on the requirement of the service in running.

Description

Method and device 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
The redundant resources are allocated for the service, and when the basic resources for running the service fail, the service can be continuously run based on the redundant resources so as to ensure that the service is processed normally. Redundant resources are typically pre-allocated for the service before it is brought on-line/running.
Disclosure of Invention
The present disclosure provides a method, apparatus, electronic device, and computer-readable storage medium for determining resources.
According to a first aspect of the present disclosure, there is provided a method for determining a resource, comprising: acquiring a resource set, wherein the resource set comprises a resource level and resources belonging to the resource level; acquiring an operation state of a preset service, and determining a target resource level matched with the operation state; and running a preset service by adopting resources belonging to the target resource level in the resource set.
In some embodiments, the preset service is currently running on a first resource matching the first resource level, and determining the target resource level matching the running state includes: determining a second resource level as a target resource level in response to determining that the running state of the preset service is lower than the first state threshold, wherein the performance of the resource belonging to the second resource level for running the preset service is lower than the performance of the first resource for running the preset service; 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 running the preset service by the resources belonging to the third resource level is higher than the performance of running the preset service by the first resource.
In some embodiments, the preset operation state of the service includes: and the operation parameters of the current resources are used for operating the preset service.
In some embodiments, the preset operation state of the service includes: the requirements of the service for continuity in operation are preset.
In some embodiments, the requirements for continuity by the preset service at runtime include at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate.
In some embodiments, running the preset service with resources belonging to the target resource level in the resource set includes: in response to determining that the preset service has the reference running state, running the preset service by adopting resources belonging to the first target resource level in the resource set; wherein the baseline operating condition includes at least one of: a threshold value of an operation parameter of a resource for operating a preset service, and a threshold value of a requirement of the preset service for continuity in operation.
In some embodiments, the set of resources includes at least one of: a first preset resource level, and a multi-active device and/or a hot device belonging to the first preset resource level, wherein the multi-active device comprises a plurality of devices which run simultaneously and provide services; a second preset resource level, and a cold standby belonging to the second preset resource level.
According to a second aspect of the present disclosure, there is provided an apparatus for determining a resource, 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 a target resource level matched with the running state; and the processing unit is configured to run the preset service by adopting the resources belonging to the target resource level in the resource set.
In some embodiments, the preset service is currently running on a first resource matching the first resource level, and the determining unit includes: the first determining module is configured to determine the second resource level as 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 resource running the preset service belonging to the second resource level is lower than the performance of the first resource running the preset service; 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 running state of the preset service is higher than the second state threshold, wherein the performance of the resource running the preset service belonging to the third resource level is higher than the performance of the first resource running the preset service.
In some embodiments, the preset operation state of the service includes: and the operation parameters of the current resources are used for operating the preset service.
In some embodiments, the preset operation state of the service includes: the requirements of the service for continuity in operation are preset.
In some embodiments, the requirements for continuity by the preset service at runtime include at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate.
In some embodiments, a processing unit includes: a processing module configured to operate the preset service using resources belonging to the first target resource level in the resource set in response to determining that the preset service has a reference operation state; wherein the baseline operating condition includes at least one of: a threshold value of an operation parameter of a resource for operating a preset service, and a threshold value of a requirement of the preset service for continuity in operation.
In some embodiments, the set of resources includes at least one of: a first preset resource level, and a multi-active device and/or a hot device belonging to the first preset resource level, wherein the multi-active device comprises a plurality of devices which run simultaneously and provide services; a second preset resource level, and a cold standby belonging to the second preset resource level.
According to a third aspect of the present disclosure, embodiments of the present disclosure provide an electronic device comprising: one or more processors to: and storage means for storing one or more programs which, when executed by the 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, embodiments of the present disclosure provide a computer-readable storage medium having stored thereon a computer program, 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, provided by the disclosure, acquire the resource set, acquire the running state of the preset service, determine the target resource level matched with the running state, and run the preset service by adopting the resources belonging to the target resource level in the resource set, and can determine the resources for running the preset service based on the running state of the preset service, thereby realizing the determination of the resources for running the preset service according to the need, avoiding the problem that the preset service cannot be processed due to insufficient redundant resources preset for the preset service, or avoiding the problem of resource waste caused by excessive redundant resources preset for the preset service.
The technology solves the problem that resources required for running the service are not matched with redundant resources caused by the fact that the redundant resources are determined for the service in advance.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for better understanding of the present solution and do not constitute a limitation of 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 chart of one embodiment of a method for determining resources according to the present application;
FIG. 3 is a flow chart of another embodiment of a method for determining resources according to the present application;
FIG. 4 is a resource set diagram of one example of a method for determining resources according to the present application;
FIG. 5 is a schematic illustration of one application scenario of a method for determining resources according to the present application;
FIG. 6 is a schematic structural diagram of one 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
Exemplary embodiments of the present application are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as merely exemplary. Accordingly, one 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 illustrates an exemplary system architecture 100 to which embodiments of the methods for determining resources or apparatus for determining resources of the present application 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 communications links between devices 101 and servers 103. Network 102 may include various connection types such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with server 103 using device 101 over network 102 to receive or send messages, etc. The device 101 may have various programs installed thereon, such as an information input class program, an information processing class program, and the like.
The device 101 may be a variety of electronic devices having a display screen and supporting receipt of server messages including, but not limited to, smartphones, tablets, electronic 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 are possible, and when the device 101 is software, the device can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., multiple software modules for providing distributed services), or as a single software or software module. The present invention is not particularly limited herein.
The server 103 may obtain, through the device 101 or a local storage, a resource set, 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 matched with the operation state, and then operate the preset service by using a resource belonging to the target resource level in the resource set.
It should be noted that, the method for determining a resource provided by the embodiment of the present disclosure is generally performed by the server 105, and accordingly, the apparatus for determining a resource 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 according to the present disclosure is shown, comprising the steps of:
step 201, a resource set is acquired, wherein the resource set comprises a resource level and resources belonging to the resource level.
In this embodiment, the execution subject of the method for determining resources (e.g., the server 103 shown in fig. 1) may acquire a set of resources by receiving information sent by the user with other devices, or by reading a local storage or cloud storage. The resource set includes individual resource levels, and resources belonging to each of the individual resource levels.
In this embodiment, the resources may include various resources for processing traffic, such as computing resources, storage resources, communication resources, power resources, and the like. The resource level is used to characterize the processing type or processing efficiency of the resource processing traffic,
for example, for storage resources, the storage efficiency of the solid state disk storage resources is high when data storage is performed, the safety is high, and the storage efficiency of the disk storage resources is lower than that of the solid state disk storage resources when data storage is performed. Therefore, the resource level of the solid state disk storage resource can be determined as a first level, and the resource level of the disk storage resource can be determined as a second level.
For another example, as for the communication resource, the coverage area of the mobile network is wider than that of a single wireless network, the stability of data transmission by using the mobile network is higher than that of data transmission by using the wireless network. The resource level of the mobile network resource may thus be determined as a first level and the resource level of the wireless network resource as a second level.
Step 202, acquiring the running state of the preset service, and determining the target resource level matched with the running state.
In this embodiment, the running state of the preset service may be acquired, and the target resource level matched with the acquired running state may be determined. The preset service may be any service specified by the user. The running state of the preset service may be the current working state of software running the preset service, the current working state of hardware running the preset service, or the running environment required by normal running 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 of the predetermined running state and the target resource level, and reads the target resource level corresponding to the obtained running state of the preset service from the mapping relation information, and determines the read target resource level as the target resource level matched with the obtained running state of the preset service.
In some alternative embodiments, the preset service is currently running on the base resource, and the resource set includes a first preset resource level and a resource belonging to the first preset resource level, a second preset resource level and a resource belonging to the second preset resource level, and a third preset resource level and a resource belonging to the third preset resource level. The predetermined mapping relation 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 the utilization rate of a CPU (central processing unit ) for processing preset service, the data read-write throughput rate, the transmission network read-write throughput rate and other monitoring indexes are two or more than two of which 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 service, the throughput rate of data reading and writing, the throughput rate of reading and writing of a transmission network and the like is higher than a set basic running threshold value; the running state corresponding to the third preset resource level is that the monitoring indexes such as the utilization rate of a CPU (central processing unit), the data read-write throughput rate, the transmission network read-write throughput rate and the like for processing the preset service are lower than the basic running threshold value for a long time.
And 203, running a preset service by adopting resources belonging to the target resource level in the resource set.
In this embodiment, part or all of the preset service may be migrated to the resource belonging to the target resource level in the resource set, so as to operate the preset service by using the resource belonging to the target resource level.
The method for determining resources provided in this embodiment obtains a resource set, obtains an operation state of a preset service, determines a target resource level matched with the operation state, and uses a resource belonging to the target resource level in the resource set to operate the preset service, so as to determine the resource for operating the preset service based on the operation state of the preset service, thereby implementing the determination of the resource for operating the preset service according to the need, avoiding the problem that the preset service cannot be processed due to insufficient redundant resources preset for the preset service, or avoiding the problem of resource waste caused by excessive redundant resources preset for the preset service.
Optionally, the preset service is currently running on a first resource matched with the first resource level, and determining the target resource level matched with the running state includes: determining a second resource level as a target resource level in response to determining that the running state of the preset service is lower than the first state threshold, wherein the performance of the resource belonging to the second resource level for running the preset service is lower than the performance of the first resource for running the preset service; 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 running the preset service by the resources belonging to the third resource level is higher than the performance of running the preset service by the first resource.
In this embodiment, if it is determined that the current running state of the preset service is lower than the first state threshold, a second resource level may be determined as the target resource level, where the resource corresponding to the second resource level and the performance of running the preset service are lower than the first resource. Or if the current running state of the preset service is higher than the second state threshold, determining a third resource level as a target resource level, wherein the performance of the resource corresponding to the third resource level and running the preset service is higher than that of the first resource. It is understood that the first state threshold is lower than the second state threshold for the same operating state.
Specifically, if the preset service is currently running on the basic resource (i.e., the minimum running resource set for the preset service and capable of meeting the service application before the preset service is running), the running state of the preset service is a fault state, it is determined that the target resource level matched with the fault state is a backup level, that is, it is determined that the preset service is running by adopting the resource belonging to the backup level in the resource set, the resource of the backup level may be the same basic resource for another backup as the 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 can migrate the running preset service to the backup resource to normally run when the resource fails, so as not to affect the normal processing of the service. This process can be understood as a backup resource start-up based on a device failure.
Specifically, if the preset service is currently running on the base resource, the workload of 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 performance of the resource belonging to the second resource level running the preset service is lower than the performance of the first resource running the preset service. The process may be understood as a resource degrading operation based on low resource utilization and/or may be understood as a resource releasing 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 confirming that the utilization rate of the storage space is lower than 30%, the degradation processing can be performed on the resource for storing the data of the preset service to release the higher-quality storage resource, so as to improve the utilization efficiency of the resource and avoid the waste of the resource, for example, the second resource level is determined as the target resource level, so that the data of the preset service is stored by adopting the disk storage resource belonging to the second resource level in the resource set.
Specifically, if the preset service is currently running on the base resource, the workload of 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 is that the interrupt time is less than 0.1 seconds when running, etc.), the third resource level may be determined as the target resource level, and the performance of the resource belonging to the third resource level running the preset service is higher than the performance of the first resource running the preset service. The process may be understood as a resource upgrade operation based on a full-load operation state of the resource and/or may be understood as an operation of allocating more or better resources to a preset service to prevent downtime thereof 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 preset service is 4G (4 th generationFourth generation mobile communication technology), after confirming that the bandwidth utilization of the 4G mobile network has exceeded 99%, the communication resource/transmission network may be upgraded to transmit data using a network with better quality/transmission performance than the current communication resource, so as to make up for the shortage of the current available resources and thereby improve the transmission efficiency of the data, e.g., determining the third resource level as the target resource level, so as to use the 5G (5 th generation, fifth generation mobile communication technology) mobile network transmits data of a preset service.
For another example, the requirement of the preset service on the continuity at the initial stage of operation is that the interruption time is less than 0.5 seconds, and the higher requirement is set for the operation of the preset service at the later stage, so that the requirement of the preset service on the continuity is improved to the interruption time of less than 0.1 seconds, and the resource for operating the preset service can be upgraded so as to operate the preset service by adopting higher-quality resources, and the continuity of the operation of the preset service is improved.
The embodiment can perform degradation or upgrading operation on the resources running the preset service based on the running state of the preset service so as to enable the performance of the resources running the preset service to be matched with that of the preset service, thereby avoiding the problem of waste of high-quality resources caused by the fact that high-performance resources are used for running the service in a low running state (inactive state such as small data storage or transmission quantity) or the problem of incapability of normally processing the service caused by the fact that the low-performance resources are used for running the service in a high running state (active state such as large data storage or transmission quantity).
Optionally, the preset operation state of the service includes: and the operation parameters of the current resources are used for operating the preset service.
In this embodiment, the operation state of the preset service includes an operation parameter of a current resource for operating the preset service, where the operation 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 so on; the operation parameter may also be a software parameter, for example, an initialization time period of a program running the preset service, a program configuration parameter running the preset service, and the like.
The embodiment adopts the operation parameters of the current resource of the preset service 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 parameters 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 according to the present disclosure is shown, comprising the steps of:
step 301, a resource set is acquired, wherein the resource set comprises a resource level and resources belonging to the resource level.
Step 302, obtaining the requirement of the preset service for continuity in the running process, and determining a target resource level matched with the requirement of the preset service for continuity in the running process.
In this embodiment, the requirement of the preset service for continuity in the running process is obtained, and a target resource level matched with the requirement of the preset service for continuity in the running process is determined. After acquiring the requirement of the preset service for continuity in operation, the execution main body can acquire the mapping relation information of the predetermined service continuity requirement and the target resource level, read the target resource level corresponding to the acquired requirement of the preset service for continuity in operation from the mapping relation information, and determine the read target resource level as the target resource level matched with the acquired requirement of the preset service for continuity in operation.
In some alternative embodiments, the requirements for continuity by the preset service at runtime include at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate.
In this alternative embodiment, the requirement of the preset service for continuity at runtime may be at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate. The tolerance of the preset service to the service interruption time refers to: the service can tolerate the longest time of data read-write interruption or the longest time of data transmission interruption in the running process. The tolerance of the preset service to the communication rate means that: to ensure continuity of service data or to ensure timeliness of service data being processed, the minimum communication rate required by the service at run-time. The tolerance of the preset service to the data storage rate means that: the minimum data read-write rate required by the service at run-time.
In some alternative embodiments, the preset service is currently running on the base resource, and the resource set includes a first preset resource level and a resource belonging to the first preset resource level, a second preset resource level and a resource belonging to the second preset resource level, and a third preset resource level and a resource 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 running 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 running 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 running 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, the first duration is smaller than the second duration, the second duration is smaller than the third duration, for example, the first duration is 20 minutes/month, the second duration is 40 minutes/month, the third duration is 400 minutes/month, and the like.
And 303, running a preset service by adopting resources belonging to the target resource level in the resource set.
In this embodiment, descriptions of step 301 and step 303 are identical to those of step 201 and step 203, and are not repeated here.
According to the method for determining resources, provided by the embodiment, the resource set is obtained, the requirement of the preset service on continuity in operation is obtained, the target resource level matched with the requirement of the preset service on continuity in operation is determined, the preset service is operated by adopting the resources belonging to the target resource level in the resource set, and the resources for operating the preset service can be determined based on the requirement of the preset service on continuity in operation, so that after the preset service is migrated from the resources currently operated by the preset service to the resources belonging to the target resource level in the resource set, the operation continuity of the preset service is ensured to meet the requirement, and the normal operation of the preset service is ensured.
In some alternative implementations of the embodiments described above in connection with fig. 2 and 3, running the preset service using resources belonging to the target resource level in the resource set includes: in response to determining that the preset service has the reference running state, running the preset service by adopting resources belonging to the first target resource level in the resource set; wherein the baseline operating condition includes at least one of: a threshold value of an operation parameter of a resource for operating a preset service, and a threshold value of a requirement of the preset service for continuity in operation.
In this embodiment, if it is determined that the preset service has the reference running state, the preset service may be run by using the resources belonging to the first target resource level in the resource set. Wherein, the reference running state refers to: the threshold value of the operation parameter of the resource that operates the preset service, that is, the lowest operation parameter of the resource that operates the preset service, for example, the data read/write rate of the memory module that stores the data of the service a needs to reach 500 megabytes/second, the transmission rate of the communication resource that transmits the data of the service B needs to reach 100 megabits/second, or the operation capability of the processor that processes the service C needs to reach 1TOPS (Tera Operations Per Second, trillion times per second), or the like. The reference operating state may also refer to: the threshold value of the continuity requirement of the service at the time of operation is preset, namely, the maximum value of the service interruption time tolerated by the service at the time of operation is preset, and 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 resources belonging to the first target resource level in the resource set are the resources in the running state when the preset service is running and meet the reference running state. When the preset service has a reference state, the preset service is operated by adopting the resources belonging to the first target resource level, so that the operation or processing efficiency of the preset service can be ensured to meet the basic requirements of users.
In some alternative implementations of the embodiments described above in connection with fig. 2 and 3, the set of resources includes at least one of: a first preset resource level, and a multi-active device and/or a hot device belonging to the first preset resource level, wherein the multi-active device comprises a plurality of devices which run simultaneously and provide services; a second preset resource level, and a cold standby belonging to the second preset resource level.
In this embodiment, the resource set may include: a first preset resource level, and a multi-active device and/or hot-standby belonging to the first preset resource level. The multi-activity 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. The hot standby is a physical device/virtual machine which is in an operation state, does not provide service temporarily, starts to provide service when a basic device running a preset service fails, and takes over the preset service.
The set of resources may include: a second preset resource level, and a cold standby belonging to the second preset resource level. The cold equipment is physical equipment/virtual machine which is in an un-started/un-operated state and starts to operate when basic equipment for operating preset service fails so as to provide service and connect and manage the preset service.
The resource set may also include: a third preset resource level, and a cold standby belonging to the third preset resource level. Wherein the performance of the cold standby belonging to the third preset resource level is lower than the cold standby 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 can be gradually decreased, so that when the running state of the preset task is gradually changed, the target resource level can be matched according to the running state which is gradually changed, that is, the upgrading operation or the degrading operation can be performed on the resources running the preset service according to the running state which is gradually changed.
For example, as shown in fig. 4, fig. 4 (a) shows a resource running a preset service, where the basic resource set 400 includes basic devices N1, N2, and N3 running the preset service, and the acquired 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-standby B1, a cold-standby B2, and a cold-standby B3 that belong to the second device resource level, and a third preset resource level, a cold-standby C1, a cold-standby C2, and a cold-standby 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 Leng Bei B1, the cold standby B2 and the cold standby B3, the performance of the cold standby B1, the cold standby B2 and the cold standby B3 is higher than Leng Bei 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 (3 th generation) 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 ranking procedure of resources running a preset service. When all or part of the base devices N1, N2 or N3 currently running the preset service in the base resource set fail, the preset service can be migrated to the resource belonging to the first preset resource level to run, and the base resource is released, and the process is the configuration operation of the high availability (High Availability) of the preset service running system.
When the efficiency of processing the preset service needs to be reduced, the preset service can be migrated to the resources belonging to the second preset resource level to run, and the resources belonging to the first preset resource level are released, at this time, when the efficiency of processing the preset service needs to be reduced again, the preset service can be migrated to the resources belonging to the third preset resource level to run again, and the resources belonging to the second preset resource level are released, and the process is the degradation operation on the resources running the preset service. Otherwise, when the efficiency or performance of processing the preset service needs to be improved, the preset service can be migrated from the resources belonging to the third preset resource level to the resources belonging to the second preset resource level/the resources of the first preset resource level, and the process is the upgrading operation of the resources running the preset service. It should be noted that the above-mentioned upgrade/downgrade operation may be a cross-level operation, for example, the preset service may be migrated from the resource belonging to the third preset resource level to the resource belonging to the first preset resource level, or the preset service may be migrated from the base resource to the resource belonging to the third preset resource level.
The method for determining the resources can improve the availability of the service system, thereby reducing the service downtime, maintaining the high availability of the service provided by the preset service, and simultaneously reducing the waste of the redundant resources or avoiding the problem of insufficient architecture of the redundant resources
In some application scenarios, as shown in fig. 5, fig. 5 illustrates a specific flow 500 of a method for determining resources, comprising:
in step 501, a user may acquire or establish a set of base resources. Setting interrupt tolerance to preset service, and establishing operation parameters of current resources for operating the preset service, and mapping relation between interrupt tolerance (i.e. operation state of the preset service) and resource level of the preset service.
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 of the number of virtual machines allocated to each physical device in the basic resource set, so as to ensure that the service can be recovered quickly in case of any physical device failure. 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 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 virtual machines or virtual machine images in the acquired or established resource set is the same as the number of 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 operation state of the preset service, and smoothing the operation parameters obtained by monitoring to avoid the interference of accidental events on judging the operation state of the preset service.
Step 503 determines a target resource level matching the running status, e.g. at intervals (e.g. 1 hour) based on the running status of the preset service, whether the resources running the preset service need to be downgraded (step 5031) or upgraded (step 5032). If the degradation or promotion is required, the resources running the preset service are migrated to the resources belonging to the target resource level according to the migration operation of the preset service shown in fig. 4 (b), and the resources occupied by the preset service before migration are recovered to release the resources for reuse (step 5033).
With further reference to fig. 6, as an implementation of the method shown in the foregoing figures, the present disclosure provides an embodiment of an apparatus for determining resources, where the apparatus embodiment corresponds to the method embodiment shown in fig. 2 or fig. 3, and the apparatus may be specifically applied in various electronic devices.
As shown in fig. 6, the apparatus 600 for determining resources of the present embodiment includes: an acquisition unit 601, a determination unit 602, and a processing unit 603. Wherein, 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 a target resource level matched with the running state; and the processing unit is configured to run the preset service by adopting the resources belonging to the target resource level in the resource set.
In some embodiments, the preset service is currently running on a first resource matching the first resource level, and the determining unit includes: the first determining module is configured to determine the second resource level as 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 resource running the preset service belonging to the second resource level is lower than the performance of the first resource running the preset service; 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 running state of the preset service is higher than the second state threshold, wherein the performance of the resource running the preset service belonging to the third resource level is higher than the performance of the first resource running the preset service.
In some embodiments, the preset operation state of the service includes: and the operation parameters of the current resources are used for operating the preset service.
In some embodiments, the preset operation state of the service includes: the requirements of the service for continuity in operation are preset.
In some embodiments, the requirements for continuity by the preset service at runtime include at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate.
In some embodiments, a processing unit includes: a processing module configured to operate the preset service using resources belonging to the first target resource level in the resource set in response to determining that the preset service has a reference operation state; wherein the baseline operating condition includes at least one of: a threshold value of an operation parameter of a resource for operating a preset service, and a threshold value of a requirement of the preset service for continuity in operation.
In some embodiments, the set of resources includes at least one of: a first preset resource level, and a multi-active device and/or a hot device belonging to the first preset resource level, wherein the multi-active device comprises a plurality of devices which run simultaneously and provide services; a second preset resource level, and a cold standby belonging to the second preset resource level.
The units in the above-described apparatus 600 correspond to the steps in the method described with reference to fig. 2 or 3. The operations, features and technical effects achieved thereby described above with respect to the method for determining resources are equally applicable to the apparatus 600 and the units contained therein, and are not described in detail herein.
According to embodiments of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 7, is a block diagram of an electronic device 700 for determining a resource according to an embodiment of the present application. 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 telephones, smartphones, wearable devices, 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 application described and/or claimed herein.
As shown in fig. 7, the electronic device includes: one or more processors 701, memory 702, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. 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 executing within the electronic device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In other embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple electronic devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 701 is illustrated in fig. 7.
Memory 702 is a non-transitory computer-readable storage medium provided herein. Wherein the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the methods provided herein for determining resources. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the methods provided herein for determining resources.
The memory 702 is used as a non-transitory computer readable storage medium, and may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules (e.g., the acquisition unit 601, the determination unit 602, and the processing unit 603 shown in fig. 6) corresponding to the method for determining resources in the embodiments of the present application. 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 running non-transitory software programs, instructions, and modules stored in the memory 702.
Memory 702 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the electronic device for extracting video clips, and the like. In addition, 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, memory 702 optionally includes memory remotely located relative to processor 701, which may be connected to the electronic device for extracting video clips via 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 for determining the method of the resource may further include: input device 703, output device 704, and bus 705. The processor 701, memory 702, input devices 703 and output devices 704 may be connected by a bus 705 or otherwise, in fig. 7 by way of example by bus 705.
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 device used to extract the video clip, such as 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, and the like. The output device 704 may include a display apparatus, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibration 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 may be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASIC (application specific integrated circuit), 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.
These computing programs (also referred to as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. 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 pointing device (e.g., a mouse or 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 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), and the internet.
The computer system may include a client and a server. 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.
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 application may be performed in parallel, sequentially, or in a different order, provided that the desired results of the technical solutions disclosed in the present application can be achieved, and are not limited herein.
The above embodiments do not limit the scope of the application. 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 application are intended to be included within the scope of the present application.

Claims (16)

1. A method for determining resources, comprising:
obtaining a resource set, wherein the resource set comprises a resource level and resources belonging to the resource level, and the resources comprise at least one of the following: computing resources, storage resources, communication resources, and power resources;
acquiring an operation state of a preset service, and determining a target resource level matched with the operation state, wherein the method comprises the following steps: acquiring the requirement of the preset service for continuity in operation, and determining a target resource level matched with the requirement of the preset service for continuity in operation;
operating the preset service by adopting resources belonging to the target resource level in the resource set;
the mapping relation information of the running state of the preset service and the target resource level is determined in advance as follows: the operation state corresponding to the first preset resource level is that two or more monitoring indexes for processing preset services are continuously higher than a set basic operation threshold value; the running state corresponding to the second preset resource level is that at most one of monitoring indexes for processing preset services is higher than a set basic running threshold value; the operation state corresponding to the third preset resource level is that the monitoring index for processing the preset service is lower than the basic operation threshold value for a long time.
2. The method of claim 1, wherein the preset traffic is currently running on a first resource that matches a first resource level, the determining a target resource level that matches the running state comprising:
determining a second resource level as the 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 running the preset service by the resources belonging to the second resource level is lower than the performance of running the preset service by the first resource; or alternatively, the process may be performed,
and in response to determining that the running state of the preset service is higher than a second state threshold, determining that a third resource level is the target resource level, wherein the performance of running the preset service by the resources belonging to the third resource level is higher than the performance of running the preset service by the first resource.
3. The method of claim 1, wherein the operation state of the preset service comprises: and the operation parameters of the current resources are used for operating the preset service.
4. The method of claim 1, wherein the operation state of the preset service comprises: the preset service requires continuity in operation.
5. The method of claim 4, wherein the requirement for continuity by the preset service at runtime comprises at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate.
6. The method of claim 1, wherein the running the preset service with the resources belonging to the target resource level in the resource set comprises:
in response to determining that the preset service has a reference running state, running the preset service by adopting resources belonging to a first target resource level in the resource set;
wherein the reference operating state includes at least one of: a threshold value of an operation parameter of a resource for operating the preset service and a threshold value of a requirement of the preset service for continuity in operation.
7. The method of claim 1, wherein the set of resources comprises at least one of:
a first preset resource level, and a multi-active device and/or hot standby belonging to the first preset resource level, wherein the multi-active device comprises a plurality of devices which run and provide services simultaneously;
A second preset resource level, and a cold standby belonging to said second preset resource level.
8. An apparatus for determining resources, comprising:
an acquisition unit configured to acquire a set of resources, wherein the set of resources includes a resource level, and resources belonging to the resource level, wherein the resources include at least one of: computing resources, storage resources, communication resources, and power resources;
the determining unit is configured to obtain an operation state of a preset service, determine a target resource level matched with the operation state, and comprises the following steps: acquiring the requirement of the preset service for continuity in operation, and determining a target resource level matched with the requirement of the preset service for continuity in operation;
the processing unit is configured to operate the preset service by adopting resources belonging to the target resource level in the resource set;
the mapping relation information of the running state of the preset service and the target resource level is determined in advance as follows: the operation state corresponding to the first preset resource level is that two or more monitoring indexes for processing preset services are continuously higher than a set basic operation threshold value; the running state corresponding to the second preset resource level is that at most one of monitoring indexes for processing preset services is higher than a set basic running threshold value; the operation state corresponding to the third preset resource level is that the monitoring index for processing the preset service is lower than the basic operation threshold value for a long time.
9. The apparatus of claim 8, wherein the preset traffic is currently running on a first resource that matches a first resource level, the determining unit comprising:
a first determining module configured to determine, in response to determining that the running state of the preset service is lower than a first state threshold, that a second resource level is the target resource level, wherein a performance of running the preset service by a resource belonging to the second resource level is lower than a performance of running the preset service by the first resource; or alternatively, the process may be performed,
and the second determining module is configured to determine a third resource level as 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 of the resource belonging to the third resource level is higher than the performance of running the preset service of the first resource.
10. The apparatus of claim 8, wherein the operation state of the preset service comprises: and the operation parameters of the current resources are used for operating the preset service.
11. The apparatus of claim 8, wherein the operation state of the preset service comprises: the preset service requires continuity in operation.
12. The apparatus of claim 11, wherein the requirement for continuity by the preset service at runtime comprises at least one of: the tolerance of the preset service to the service interruption time, the tolerance of the preset service to the communication rate and the tolerance of the preset service to the data storage rate.
13. The apparatus of claim 8, wherein the processing unit comprises:
a processing module configured to operate the preset service using resources belonging to a first target resource level in the resource set in response to determining that the preset service has a reference operation state;
wherein the reference operating state includes at least one of: a threshold value of an operation parameter of a resource for operating the preset service and a threshold value of a requirement of the preset service for continuity in operation.
14. The apparatus of claim 8, wherein the set of resources comprises at least one of:
a first preset resource level, and a multi-active device and/or hot standby belonging to the first preset resource level, wherein the multi-active device comprises a plurality of devices which run and provide services simultaneously;
a second preset resource level, and a cold standby belonging to said second preset resource level.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
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 storing 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 CN112965806A (en) 2021-06-15
CN112965806B true 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)

Families Citing this family (2)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7783294B2 (en) * 2005-06-30 2010-08-24 Alcatel-Lucent Usa Inc. Application load level determination
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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
WO2022199204A1 (en) 2022-09-29
CN112965806A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN111694646B (en) Resource scheduling method, device, electronic equipment and computer readable storage medium
US8898520B1 (en) Method of assessing restart approach to minimize recovery time
CN112965806B (en) Method and device for determining resources
CN111737127A (en) Method and apparatus for testing map service
US9143394B2 (en) System and method for graph based K-redundant resiliency for IT cloud
EP3869336A1 (en) Method and apparatus for processing development machine operation task, device and storage medium
CN111459645B (en) Task scheduling method and device and electronic equipment
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN111625195B (en) Method and device for server capacity expansion
JP7161560B2 (en) Artificial intelligence development platform management method, device, medium
KR20210040866A (en) File resource processing method and apparatus, device and medium
CN111770176B (en) Traffic scheduling method and device
CN114185734B (en) Method and device for monitoring clusters and electronic equipment
US8621260B1 (en) Site-level sub-cluster dependencies
CN111767169B (en) Data processing method, device, electronic equipment and storage medium
CN111510480B (en) Request sending method and device and first server
CN112069137A (en) Method and device for generating information, electronic equipment and computer readable storage medium
CN112073499A (en) Dynamic service method of multi-machine type cloud physical server
US9836342B1 (en) Application alerting system and method for a computing infrastructure
KR102571517B1 (en) Traffic adjustment method and apparatus
CN113641688B (en) Node updating method, related device and computer program product
CN114385537A (en) Page slot number dynamic allocation method, device, equipment and medium
JP2024506131A (en) Virtual machine memory sharing methods and devices
CN111694608A (en) System upgrading method and device for terminal equipment, electronic equipment and terminal equipment
US11740951B2 (en) Ensuring key event delivery to a host from a client during a high event rate

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