CN114860422A - Cloud service acquisition method and terminal - Google Patents

Cloud service acquisition method and terminal Download PDF

Info

Publication number
CN114860422A
CN114860422A CN202210313760.2A CN202210313760A CN114860422A CN 114860422 A CN114860422 A CN 114860422A CN 202210313760 A CN202210313760 A CN 202210313760A CN 114860422 A CN114860422 A CN 114860422A
Authority
CN
China
Prior art keywords
instance
resource pool
instances
instance resource
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210313760.2A
Other languages
Chinese (zh)
Inventor
叶小明
曾广福
潘鸿铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhiyu Zhilian Technology Co ltd
Original Assignee
Zhiyu Zhilian 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 Zhiyu Zhilian Technology Co ltd filed Critical Zhiyu Zhilian Technology Co ltd
Priority to CN202210313760.2A priority Critical patent/CN114860422A/en
Publication of CN114860422A publication Critical patent/CN114860422A/en
Pending legal-status Critical Current

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/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/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0283Price estimation or determination

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a cloud service acquisition method and a terminal, wherein instance resources are divided into a first instance resource pool and a second instance resource pool, users with different instance requirements can be distinguished to meet different requirements of the users, instances in the second instance resource pool are used for allocating preemptive instances to meet the requirements of the users on the preemptive instances, when the instance resources in the second instance resource pool are continuously reduced, the use cost of the preemptive instances is improved due to supply and demand relations, at the moment, the number of the instances in the second instance resource pool is increased by transferring the instance resources in the first instance resource pool into the second instance resource pool, the reduction of user experience caused by the over-fast improvement of the price of the preemptive instances is avoided, and the experience of the users for using and purchasing the cloud service is improved.

Description

Cloud service acquisition method and terminal
Technical Field
The invention relates to the technical field of cloud computing, in particular to a cloud service acquisition method and a terminal.
Background
Cloud services, which refer to obtaining desired services in an on-demand, easily extensible manner over a network, are an augmentation, usage, and interaction model of internet-based related services, typically involving the provision of dynamically extensible and often virtualized resources over the internet. Such services may be IT and software, internet related or other services. Meaning that computing power may also be circulated as a commodity over the internet.
And the charging of the current cloud service generally comprises two modes of prepayment and post-payment. Prepaid services such as year, season and month, which can be used for a long time after being purchased in advance; also, for example, a post-payment mode in which payment is made according to the duration of use, but the use of the user is limited because the post-payment mode is expensive. Another post-pay mode therefore occurs: preemptive instances, the market price of which may float as supply and demand change. That is, when the user bids more than the real-time market price, the user can successfully preempt the instance and use the cloud service at the ideal price. However, as the demand of the cloud service is increased, it is difficult for the user to seize the instance at an ideal price, so that the experience of the user in using and purchasing the cloud service is reduced.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the cloud service acquisition method and the terminal are provided, and the experience of a user in using and purchasing the cloud service is improved.
In order to solve the technical problems, the invention adopts the technical scheme that:
a cloud service acquisition method includes the steps:
receiving an instance allocation request;
acquiring user information, judging whether the instance allocation request is a request for preempting an instance, and if not, acquiring the instance from a first instance resource pool according to the current user information; if yes, obtaining the instance from the second instance resource pool;
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, and if so, adding the instances in the first instance resource pool to the second instance resource pool.
In order to solve the technical problem, the invention adopts another technical scheme as follows:
a cloud service acquisition terminal, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement the steps of the cloud service acquisition method as described above:
receiving an instance allocation request;
acquiring user information, judging whether the instance allocation request is a request for occupying an instance, and if not, acquiring the instance from a first instance resource pool according to the current user information; if yes, obtaining the instance from the second instance resource pool;
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, and if so, adding the instances in the first instance resource pool to the second instance resource pool.
The invention has the beneficial effects that: by dividing the instance resources into the first instance resource pool and the second instance resource pool, users with different instance requirements can be distinguished to meet different requirements of the users, the instances in the second instance resource pool are used for allocating preemptive instances to meet the requirements of the users on the preemptive instances, when the instance resources in the second instance resource pool continuously decrease, the use cost of the preemptive instances is improved due to the supply and demand relation, at the moment, the number of the instances in the second instance resource pool is increased by transferring the instance resources in the first instance resource pool to the second instance resource pool, so that the reduction of user experience caused by the over-quick improvement of the price of the preemptive instances is avoided, and the experience of using and purchasing cloud services by the users is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a cloud service acquisition method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a cloud service acquisition terminal in an embodiment of the present invention.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1, a cloud service acquisition method includes the steps of:
receiving an instance allocation request;
acquiring user information, judging whether the instance allocation request is a request for preempting an instance, and if not, acquiring the instance from a first instance resource pool according to the current user information; if yes, obtaining the instance from the second instance resource pool;
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, and if so, adding the instances in the first instance resource pool to the second instance resource pool.
As can be seen from the above description, the beneficial effects of the present invention are: by dividing the instance resources into the first instance resource pool and the second instance resource pool, users with different instance requirements can be distinguished to meet different requirements of the users, the instances in the second instance resource pool are used for allocating the preemptive instances to meet the requirements of the users on the preemptive instances, when the instance resources in the second instance resource pool are continuously reduced, the use cost of the preemptive instances is improved due to the supply and demand relation, at the moment, the number of the instances in the second instance resource pool is increased by transferring the instance resources in the first instance resource pool into the second instance resource pool, so that the reduction of user experience caused by the over-fast improvement of the price of the preemptive instances is avoided, and the experience of the users for using and purchasing the cloud service is improved.
Further, the obtaining user information and determining whether the instance allocation request is a request for preempting an instance, and if not, obtaining an instance from a first instance resource pool according to the current user information includes:
judging whether the instance is successfully acquired, if so, acquiring system time to obtain first system time;
acquiring the use information of the instance;
judging whether the example finishes the operation in real time, if so, acquiring the current system time again, and taking the current system time as second system time; generating a timestamp according to the first system time and the second system time;
obtaining user data according to the user information, the timestamp and the use information of the instance;
if so, adding the instance in the first instance resource pool to the second instance resource pool comprises:
and adding the instance in the first instance resource pool to the second instance resource pool according to the user data.
It can be known from the above description that, when an instance allocation request corresponding to user information is not a request for preempting an instance, obtaining current system time after the instance is successfully obtained to obtain first system time, and obtaining current system time again after the use of the instance is completed to obtain second system time, recording the time of the user using the instance to generate user information, and further performing reasonable allocation on an idle instance in the first instance resource pool according to the corresponding user information, so that when an idle instance exists in the first instance resource pool, it can be determined whether the instance in the first instance resource pool can be allocated to the second instance resource according to the time of the user using the instance, thereby improving the utilization rate of the instance in the first instance resource pool on the premise of ensuring the use experience of the prepaid user.
Further, the adding the instance in the first instance resource pool to the second instance resource pool according to the user data comprises:
summarizing the user data with the same user information to obtain a user data set;
analyzing the user data set to obtain a user use time table corresponding to the user information;
adding the instances in the first instance resource pool to the second instance resource pool according to the user usage schedule.
As can be seen from the above description, the information of the same user use instance is counted to obtain a user data set, a schedule of the user use instance is further obtained according to the user data set, a user use instance time period is obtained through the user use schedule, and when the user has a large possibility that the user will not use the instance within a certain period of time, the instance in the first instance resource in the corresponding amount is added to the second instance resource; the user refers to a prepaid account user, the idle instances of the prepaid account user are distributed to the postpaid user for use, and the supply quantity of the preemptive instances is increased, so that a lower price can be provided for the preemptive user on the premise of guaranteeing the normal use of the prepaid user, the number of the idle instances is reduced, and the utilization rate of the instances is increased.
Further, the second instance resource pool comprises a main resource pool and a temporary storage resource pool;
the adding the instance in the first instance resource pool to the second instance resource pool according to the user data further comprises:
adding the instances in the first instance resource pool to the scratch resource pool.
As can be seen from the above description, the second instance resource pool is divided into the main resource pool and the temporary storage resource pool, and the instance from the first instance resource pool is added to the temporary storage resource pool, so that the instance from the first resource pool can be distinguished from the original instance in the second instance resource pool, that is, the instance resource dedicated to the prepaid user and temporarily stored in the second resource pool is distinguished from the instance resource used by the postpaid user, and the problems that the instance resource dedicated to the prepaid user is used as a preemption instance for a long time, which causes disorder of the allocation of the instance resource and the like are avoided; the method and the device not only can facilitate the first instance resource pool to add the instances in the first instance resource pool to the second instance resource pool and manage the instances, but also can improve the instance allocation efficiency.
Further, still include:
judging whether the number of the instances in the first instance resource pool is smaller than a second threshold value in real time, and if so, recycling the instances in the second instance resource pool to the first instance resource pool; if not, adding the instance in the first instance resource pool to the second instance resource pool.
According to the above description, by judging the instance data in the first instance resource pool in real time, when the number of the instances in the first instance resource pool is smaller than the second threshold, the instances originally distributed from the first instance resource pool to the second instance resource pool are recycled, so that the problem that users with priority use rights, such as prepaid users, cannot obtain the instances due to the reduction of the number in the first instance resource pool is avoided, and the user experience is improved while the instance utilization rate is improved.
Further, reclaiming the instance in the second instance resource pool to the first instance resource pool comprises:
and recovering the instances meeting the recovery conditions to the first instance resource pool according to the user use time table and the use conditions of the instances in the temporary storage resource pool.
According to the above description, the recovery operation is performed on the instances in the temporary storage resource pool by combining the user usage schedule and the instance usage situation in the temporary storage resource pool, and the instances meeting the recovery condition are preferentially recovered to the first instance resource pool, for example, when a certain instance in the temporary storage resource pool is in an idle state, and it is known that the current user has a large probability of using the instances according to the corresponding user usage schedule, the instances can be timely recovered to the first instance resource pool, so that the instances in the first instance resource pool can be effectively allocated according to the actual usage requirement of the user, and the utilization rate of the idle instances is improved.
Further, the obtaining user information and determining whether the instance allocation request is a request for preempting an instance, and if so, obtaining an instance from a second instance resource pool includes:
judging whether the instance in the second instance resource pool is matched with the user information, if not, continuously inquiring and matching the instance matched with the user information within preset time;
acquiring corresponding operation information according to the user information;
and after the instance is preempted, automatically executing the operation according to the operation information.
According to the above description, when the preemptive instance matching with the user requirement cannot be acquired, the allocation request is continuously sent within the preset time period, and when the job task required by the user can be configured in advance, the corresponding information to be operated is acquired, and after the instance resource is acquired by the system, the job task can be automatically executed according to the job information configured in advance by the user, so that automatic preempting and task execution are realized, the preemptive result that the user needs to pay attention to the instance at any time is avoided, and the use efficiency of the instance is improved while the user experience is improved.
Further, the determining whether the number of instances in the first instance resource pool is smaller than a second threshold, and if not, adding the instances in the first instance resource pool to the second instance resource pool further includes:
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, if so, executing a step of judging whether the number of the instances in the first instance resource pool is smaller than a second threshold value.
From the above description, when there are more idle instances in the first instance resource pool, if there are sufficient instances in the second instance resource pool, the instances in the first instance resource pool are not supplemented to the second instance resource pool, so as to reduce the system energy consumption.
Further, the user information comprises a prepaid account and a postpaid account;
the obtaining user information and judging whether the instance allocation request is a preemption instance request comprises:
if the user information is a prepaid account, the instance allocation request is a non-preemption instance request;
and if the user information is a pay-by-volume account, the instance allocation request is a preemption instance request.
According to the description, the user is divided into the prepaid account and the pay-per-view account according to the user information, when the account is the prepaid account, the preemption instance request is not required to be provided, stable instance resources are directly provided for the user from the first instance resource pool, and when the user is the pay-per-view account, the preemption instance resources corresponding to the requirements are matched according to the requirements of the user, services with different requirements are provided for different users, and the actual requirements of different users are met.
Referring to fig. 2, another embodiment of the present invention provides a cloud service acquiring terminal, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program to implement the steps in the cloud service acquiring method as described above:
receiving an instance allocation request;
acquiring user information, judging whether the instance allocation request is a request for preempting an instance, and if not, acquiring the instance from a first instance resource pool according to the current user information; if yes, obtaining the instance from the second instance resource pool;
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, and if so, adding the instances in the first instance resource pool to the second instance resource pool.
The cloud service acquisition method and the terminal can provide various cloud services required by different users, such as computational power requirements, database requirements and the like, can save the cost of using the instance by the user when purchasing the preemptive instance according to the computational power requirements of stateless application, and are described in the following through specific implementation modes:
example one
Referring to fig. 1, a cloud service acquisition method includes the steps of:
s1, receiving an instance distribution request;
s2, obtaining user information, judging whether the instance allocation request is a request for preempting an instance, if not, obtaining an instance from a first instance resource pool according to the current user information and executing S21; if yes, obtaining the instance from the second instance resource pool; the user information comprises a prepaid account and a pay-per-view account; if the user information is a prepaid account, the instance allocation request is a non-preemption instance request; if the user information is a pay-by-volume account, the instance allocation request is a request for preempting the instance; in an alternative embodiment, the instances in the first instance resource pool may be distinguished from the instances in the second implementation resource pool by setting an instance ID, or the like; meanwhile, the instances are provided with idle and busy states, and the marked busy state is used when the instances are distributed;
the preemptive instance is suitable for stateless application scenes, such as elastically telescopic Web site service, image rendering, big data analysis, large-scale parallel computation and the like; the higher the distribution degree, expandability and fault tolerance of the application program, the more suitable the preemptive instance is to save cost and improve throughput, and the application scene mainly comprises the following steps: a. the method comprises the following steps of a real-time analysis service, a b. big data service, a c. geospatial survey analysis service, a d. image and media coding service, an e. scientific and technical service, an f. elastically telescopic service site, a g. crawler service and an h. test service;
s21, judging whether the instance is successfully acquired or not, if so, acquiring system time to obtain first system time;
s22, acquiring the use information of the example; acquiring an idle state or a busy state of the instance and the type of the used instance;
s23, judging whether the example finishes the operation in real time, if so, acquiring the current system time again, wherein the current system time is the second system time; generating a timestamp according to the first system time and the second system time; obtaining a busy time period and an idle time period corresponding to the instance;
s24, obtaining user data according to the user information, the time stamp and the use information of the instance; analyzing the condition of the user use example through the user information to obtain the time period of the user use example, and analyzing the periodic time of the user using the example, namely the probability of the user using the example in each time period;
s3, judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, if so, adding the instances in the first instance resource pool to the second instance resource pool; the number of the instances is the number of the instances in an idle state; the first threshold value can be automatically adjusted according to the current time period; obtaining the use peak period and the use valley period of the examples by obtaining the number of the examples of the idle state and the busy state in the current system, wherein the first threshold value can be adjusted in real time according to the ratio of the number of the examples of the idle state to the number of the examples of the busy state;
in an alternative embodiment, the second instance resource pool includes a primary resource pool and a scratch resource pool;
specifically, the method comprises the following steps: s31, summarizing the user data with the same user information to obtain a user data set;
s32, analyzing the user data set to obtain a user use time table corresponding to the user information;
s33, adding the instances in the first instance resource pool to the second instance resource pool according to the user use time table.
Example two
The difference between the embodiment and the first embodiment is that an example allocation method of a second example resource pool is specifically defined;
further comprising:
a1, judging whether the number of instances in the first instance resource pool is smaller than a second threshold value in real time;
if yes, executing step A2, and recycling the instance in the second instance resource pool to the first instance resource pool; specifically, the method comprises the following steps:
a21, recovering the instances meeting the recovery conditions to the first instance resource pool according to the user use schedule and the use condition of the instances in the temporary storage resource pool;
if not, executing step A3, adding the instance in the first instance resource pool to the second instance resource pool, that is, adding the instance in the first instance resource pool to the temporary storage resource pool;
in an optional embodiment, before performing step a1, the method further includes: step A0, judging whether the number of the instances in the second instance resource pool is less than a first threshold value, if yes, executing step A1; that is, only when the number of instances in the second instance resource pool is insufficient, whether the instances in the first instance resource pool can be allocated to the second instance resource pool is judged;
wherein, step S2 includes:
b21, judging whether the instance in the second instance resource pool is matched with the user information, if not, continuously inquiring and matching the instance matched with the user information within preset time; if the current expected price of the user is lower than the price of the market floating, so that the system cannot match the corresponding instance to the current expected price, continuously sending a matching request within a preset time, such as 30 minutes, and acquiring the corresponding instance when the market price of the instance is lower than or equal to the price expected by the user;
b22, acquiring corresponding job information according to the user information; if the task to be executed by the user is a task which can be set in advance, the user can set the corresponding task in the system;
and B23, after the instance is preempted, automatically executing the job according to the job information.
EXAMPLE III
Referring to fig. 2, a cloud service acquisition terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of a cloud service acquisition method according to any one of the first embodiment, the second embodiment, or the third embodiment.
In summary, the cloud service acquisition method and the terminal provided by the present invention can differentiate users with different instance requirements to meet different requirements of the users by dividing the instance resources into the first instance resource pool and the second instance resource pool, and then dividing the second resource pool into the main resource pool and the temporary storage resource pool, and use the instances in the second instance resource pool for allocating preemptive instances to meet the requirements of the users for the preemptive instances, and when the instance resources in the second instance resource pool are continuously reduced, the usage cost of the preemptive instances is increased due to the supply-demand relationship, so when the number of the available instances in the second instance resource pool is too small, the number of the instances in the first instance resource pool is increased by transferring the instance resources in the first instance resource pool into the second instance resource pool, thereby avoiding the reduction of user experience due to the too fast increase of the price of the preemptive instances, and before allocating the instances in the first instance resource pool to the second instance resource pool, judging whether enough instances exist in the first instance resource pool, and allocating the instances in the first instance resource pool to the second instance resource pool when enough instances exist, so that the experience of using and purchasing the cloud service by a user is improved.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

Claims (10)

1. A cloud service acquisition method is characterized by comprising the following steps:
receiving an instance allocation request;
acquiring user information, judging whether the instance allocation request is a request for preempting an instance, and if not, acquiring the instance from a first instance resource pool according to the current user information; if yes, obtaining the instance from the second instance resource pool;
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, and if so, adding the instances in the first instance resource pool to the second instance resource pool.
2. The method according to claim 1, wherein the acquiring user information, determining whether the instance allocation request is a request for preempting an instance, and if not, acquiring an instance from a first instance resource pool according to current user information includes:
judging whether the instance is successfully acquired, if so, acquiring system time to obtain first system time;
acquiring the use information of the instance;
judging whether the example finishes the operation in real time, if so, acquiring the current system time again, and taking the current system time as second system time; generating a timestamp according to the first system time and the second system time;
obtaining user data according to the user information, the timestamp and the use information of the instance;
if so, adding the instance in the first instance resource pool to the second instance resource pool comprises:
adding the instance in the first instance resource pool to the second instance resource pool according to the user data.
3. The cloud service acquisition method of claim 2, wherein the adding the instance in the first instance resource pool to the second instance resource pool according to the user data comprises:
summarizing the user data with the same user information to obtain a user data set;
analyzing the user data set to obtain a user use time table corresponding to the user information;
adding the instances in the first instance resource pool to the second instance resource pool according to the user usage schedule.
4. The cloud service acquisition method according to claim 2, wherein the second instance resource pool comprises a main resource pool and a scratch resource pool;
the adding the instance in the first instance resource pool to the second instance resource pool according to the user data further comprises:
adding the instances in the first instance resource pool to the scratch resource pool.
5. The cloud service acquisition method according to claim 4, further comprising:
judging whether the number of the instances in the first instance resource pool is smaller than a second threshold value in real time, and if so, recycling the instances in the second instance resource pool to the first instance resource pool; if not, adding the instance in the first instance resource pool to the second instance resource pool.
6. The cloud service acquisition method according to claim 5, wherein the reclaiming the instance in the second instance resource pool to the first instance resource pool comprises:
and recovering the instances meeting recovery conditions to the first instance resource pool according to the user use time table and the use condition of the instances in the temporary storage resource pool.
7. The method according to claim 5, wherein the obtaining of the user information and the determining whether the instance allocation request is a request for preempting an instance, and if so, obtaining an instance from a second instance resource pool includes:
judging whether the instance in the second instance resource pool is matched with the user information, if not, continuously inquiring and matching the instance matched with the user information within preset time;
acquiring corresponding operation information according to the user information;
and after the instance is preempted, automatically executing the operation according to the operation information.
8. The cloud service acquisition method according to claim 5, wherein the determining whether the number of instances in the first instance resource pool is smaller than a second threshold, and if not, before adding the instances in the first instance resource pool to the second instance resource pool, further includes:
and judging whether the number of the instances in the second instance resource pool is smaller than a first threshold value, if so, executing a step of judging whether the number of the instances in the first instance resource pool is smaller than a second threshold value.
9. The cloud service acquisition method of claim 1, wherein the user information includes a prepaid account number and a pay-per-view account number;
the obtaining user information and judging whether the instance allocation request is a preemption instance request comprises:
if the user information is a prepaid account, the instance allocation request is a non-preemption instance request;
and if the user information is a pay-by-volume account, the instance allocation request is a preemption instance request.
10. A cloud service acquisition terminal comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the steps of a cloud service acquisition method according to any one of claims 1 to 9 when executing the computer program.
CN202210313760.2A 2022-03-28 2022-03-28 Cloud service acquisition method and terminal Pending CN114860422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210313760.2A CN114860422A (en) 2022-03-28 2022-03-28 Cloud service acquisition method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210313760.2A CN114860422A (en) 2022-03-28 2022-03-28 Cloud service acquisition method and terminal

Publications (1)

Publication Number Publication Date
CN114860422A true CN114860422A (en) 2022-08-05

Family

ID=82629337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210313760.2A Pending CN114860422A (en) 2022-03-28 2022-03-28 Cloud service acquisition method and terminal

Country Status (1)

Country Link
CN (1) CN114860422A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794415A (en) * 2023-02-01 2023-03-14 知鱼智联科技股份有限公司 Intelligent sensing cloud resource instance allocation management method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115794415A (en) * 2023-02-01 2023-03-14 知鱼智联科技股份有限公司 Intelligent sensing cloud resource instance allocation management method and system

Similar Documents

Publication Publication Date Title
Liu et al. Imprecise computations
CN106911592B (en) Self-adaptive resource allocation method and device
CN106789118B (en) Cloud computing charging method based on service level agreement
CN111343436A (en) Track traffic video monitoring method and system based on cloud edge cooperation
CN108270805B (en) Resource allocation method and device for data processing
CN114860422A (en) Cloud service acquisition method and terminal
CN106095581B (en) Network storage virtualization scheduling method under private cloud condition
CN108712480A (en) Non- IT resource allocation methods in data center and system
CN110034963B (en) Application cluster self-adaptive elastic configuration method
CN105184452A (en) MapReduce operation dependence control method suitable for power information big-data calculation
CN109284190A (en) A kind of task processing method and device
CN107861820A (en) A kind of resources of virtual machine distribution method and system
CN112712440A (en) Demand response market resource allocation method and device for power spot market
CN112583609A (en) Cloud charging method and device, cloud management platform and system and storage medium
CN111813558A (en) Resource scheduling method for hybrid cloud
CN113947441A (en) Charging method for application of software as a service (SaaS) industrial Application (APP)
CN105573821A (en) Ceilometer-based dynamic charging method for cloud virtual machine
CN102904952B (en) Self-adapting system and method for efficiently processing input of mass data to database
CN112199202B (en) Development method for expanding Kafka consumption capacity
CN112702217B (en) Bandwidth flow scheduling method, device and storage medium
CN110557339A (en) flow planning method and device, computer equipment and storage medium
CN112764928A (en) Method, device and medium for dynamic management of compiling resources
CN114866563A (en) Capacity expansion method, device, system and storage medium
CN109559024B (en) Dynamic resource scheduling method under server-free architecture for power system
CN106874069A (en) A kind of resources of virtual machine distribution 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