CN112529435A - Resource allocation method and device - Google Patents
Resource allocation method and device Download PDFInfo
- Publication number
- CN112529435A CN112529435A CN202011494784.XA CN202011494784A CN112529435A CN 112529435 A CN112529435 A CN 112529435A CN 202011494784 A CN202011494784 A CN 202011494784A CN 112529435 A CN112529435 A CN 112529435A
- Authority
- CN
- China
- Prior art keywords
- transaction
- amount
- target
- transaction amount
- period
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000013468 resource allocation Methods 0.000 title claims abstract description 25
- 238000012545 processing Methods 0.000 claims abstract description 36
- 230000008569 process Effects 0.000 claims description 26
- 238000012549 training Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 8
- 238000012546 transfer Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Technology Law (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the application discloses a resource allocation method and a device, wherein the method comprises the following steps: the equipment acquires the transaction information of the period; the equipment inputs the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, wherein the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions; and the equipment allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period. Therefore, the resource allocation method provided by the embodiment of the application can input the transaction information of the period by using the transaction model to obtain the transaction amount of the next period, and allocates the resources required by the transaction for the target transaction system according to the transaction amount of the next period. And obtaining the transaction amount based on the transaction model, and allocating resources corresponding to the transaction amount, so that the speed of processing the transaction request by the target transaction system is maintained at a certain level, and the efficiency of processing the transaction request is improved.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a resource allocation method and apparatus.
Background
The transaction volume of the target transaction system in the bank is greatly influenced by market conditions. When the transaction amount is large, there may be a case where resources of the target transaction system are insufficient. When the resources of the target transaction system are insufficient, the target transaction system may have a situation that the transaction speed is slow or even the target transaction system cannot respond, that is, the speed of the target transaction system processing the transaction request corresponding to the transaction amount is slow.
At present, the judgment of the transaction amount of the target transaction system and the resources matched with the transaction amount is based on manual work, but the situation that the resources of the transaction request corresponding to the transaction amount are allocated based on manual judgment can be inaccurate occurs, and the transaction request processing speed of the target transaction system is still slow, or even cannot be responded.
Disclosure of Invention
In order to solve the problem that the processing speed of a target transaction system for processing a transaction request corresponding to a transaction amount is reduced or even cannot respond in the prior art, the application provides a resource allocation method and a resource allocation device, which can allocate corresponding resources to the transaction request corresponding to the transaction amount so as to ensure a certain processing speed of the transaction request and improve the processing efficiency.
The embodiment of the application provides a resource allocation method, which comprises the following steps:
the equipment acquires the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period;
the equipment inputs the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, and the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions;
and the equipment allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period.
Optionally, the transaction information of the present period includes at least one of the following:
the number of users trading with the target trading system, the total market volume, the initial market trading value, the ending market trading value, the highest market trading value, the lowest market trading value, or the market trading value increase or decrease range.
Optionally, the allocating, by the device, resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period includes:
when the transaction amount of the next period of the target transaction system is smaller than or equal to a threshold value, the equipment allocates a first resource pool to process a transaction request corresponding to the transaction amount;
and when the transaction amount of the target transaction system in the next period is larger than the threshold value, the equipment allocates the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount.
Optionally, the allocating, by the device, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount includes:
the equipment sends a request for acquiring the resources of the second resource pool to the server;
the equipment receives a request result of the server;
and in response to the request result is that the transaction request corresponding to the transaction amount passes, the equipment processes the transaction request by using the second resource pool.
Optionally, the resource comprises a server, a processor and/or a memory.
An embodiment of the present application further provides a resource allocation apparatus, where the apparatus includes:
the acquisition unit is used for acquiring the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period;
the input unit is used for inputting the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, and the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions;
and the allocation unit is used for allocating resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period.
Optionally, the transaction information of the present period includes at least one of the following:
the number of users trading with the target trading system, the total market volume, the initial market trading value, the ending market trading value, the highest market trading value, the lowest market trading value, or the market trading value increase or decrease range.
Optionally, the allocating, by the allocating unit, resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period includes:
the first allocating subunit is used for allocating a first resource pool to process a transaction request corresponding to the transaction amount when the transaction amount of the next period of the target transaction system is smaller than or equal to a threshold value;
and the second allocating subunit is configured to, when the transaction amount of the next cycle of the target transaction system is greater than the threshold, allocate, by the device, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount.
Optionally, the allocating, by the second allocating subunit, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount includes:
a sending unit, configured to send a request for acquiring resources of the second resource pool to the server;
a receiving unit, configured to receive a request result of the server;
and the processing unit is used for responding to the request result that the transaction request corresponding to the transaction amount passes through the second resource pool and processing the transaction request corresponding to the transaction amount.
Optionally, the resource comprises a server, a processor and/or a memory.
Compared with the prior art, the method has the advantages that:
the embodiment of the application provides a resource allocation method, which comprises the following steps: the equipment acquires the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period; the equipment inputs the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, and the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions; and the equipment allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period. Therefore, the resource allocation method provided by the embodiment of the application can input the transaction information of the period by using the transaction model to obtain the transaction amount of the next period, and allocates the resources required by the transaction for the target transaction system according to the transaction amount of the next period. And obtaining the transaction amount based on the transaction model, and allocating resources corresponding to the transaction amount, so that the speed of processing the transaction request by the target transaction system is maintained at a certain level, and the efficiency of processing the transaction request is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an embodiment of a resource allocation method provided in the present application;
FIG. 2 is a graph of transaction amount for a target transaction system versus transaction response time for the target transaction system;
fig. 3 is a block diagram of a resource allocation apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, the figure is a flowchart of a resource allocation method according to an embodiment of the present application.
The resource allocation method provided by the embodiment comprises the following steps:
step S101: the equipment acquires the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period.
In the embodiment of the present application, the device may be a user terminal, a server, or the like. The trading information is information that the user trades in the market during the current period. The period may be one day, two days, one week, one month, etc. The period may also be within 12 hours from a certain time of day, etc. The transaction information of the period may be at least one of the following: the number of users trading with the target trading system, the total market transaction amount, the initial market transaction amount, the final market transaction amount, the maximum market transaction amount, the minimum market transaction amount, or the market transaction amount increase and decrease range. The target transaction system may be a bank's cash transfer system. The market may be a stock market. The device acquires the transaction information of the user in the period so as to process the transaction information later. Specifically, the device may obtain the transaction information through a crawler technique or directly from the system.
As an example, the device may obtain the following transaction information for the user in this period: the number of users who used the bank's cash transfer system the previous day, the total stock transaction volume the previous day, the stock opening price the current day, the stock closing price the previous day, the stock top price the previous day, the stock minimum price the previous day, or the rise and fall of the stock market.
Step S102: the equipment inputs the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system, and the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions.
In the embodiment of the application, the transaction information in the period acquired by the equipment is input into the transaction model, and the transaction amount of the next period of the target transaction system is obtained. The transaction amount refers to the number of transaction requests made by a user conducting transactions using the target transaction system. The transaction model is obtained by training according to the historical transaction information and the historical transaction amount of the target transaction system.
As an example, the transaction information of the period is the number of users who use the bank's bank account transfer system and the stock total transaction amount of the previous day, the transaction information of the period is input into the transaction model, the transaction amount of the bank account transfer system of the current day is obtained, and the number of transaction requests initiated by the users who use the bank account transfer system for transaction of the current day is obtained.
Step S103: and the equipment allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period.
In the embodiment of the application, after the device obtains the transaction amount of the target transaction system in the next period according to the transaction model, the device allocates the corresponding resource according to the transaction amount in the next period, and the resource is used for processing the transaction request corresponding to the transaction amount in the next period. Specifically, the corresponding relationship between the resource and the transaction amount may be a 1:1 relationship, that is, the resource just can satisfy the transaction request corresponding to the transaction amount. In order to further ensure the sufficiency of the resource, the corresponding relation between the resource and the transaction amount can be larger than 1:1 so as to deal with the sudden change of the transaction amount in a short time. For example, the resource to transaction amount correspondence may be 1.2: 1. The resource includes at least one of a server, a processor, or a memory. Specifically, if the transaction amount in the next period is large, more servers may be allocated for processing, or idle processors in the servers may be allocated for processing.
As shown in fig. 2, a graph of the transaction amount of the target transaction system and the transaction response time of the target transaction system is shown. As can be seen from the figure, the transaction response time is maintained at a smaller value before the point K; when the transaction amount rises to the point K, the transaction response time is exponentially increased. The transaction response time increases, and resources for processing the transaction request are less, so that the transaction cannot be responded to in time, which is very inconvenient for the user.
In an embodiment of the application, when the transaction amount of the target transaction system in the next period is less than or equal to the threshold, the device allocates the first resource pool to process the transaction request corresponding to the transaction amount. And when the transaction amount of the target transaction system in the next period is larger than the threshold value, the equipment allocates the first resource pool and the second resource pool to process the transaction requests corresponding to the transaction amount. In particular, the threshold may be determined based on the amount of transactions that the resources of the first resource pool are capable of handling. The first resource pool is a preset resource of the target transaction system, such as a preset server arranged offline. The second resource pool may be a preset standby resource of the target transaction system, such as a preset standby server offline, or may be a resource acquired by the target transaction system using a third-party platform, such as a server in the cloud, and the resource acquisition by using the server in the cloud may reduce resource waste, that is, the resource does not need to be preset offline, and the situation that the resource cannot be recovered when the resource is not used may not be caused.
In the embodiment of the application, when the resources of the first resource pool cannot process the transaction requests corresponding to all transaction amounts in a shorter transaction response time, the transaction requests corresponding to all transaction amounts are processed. The equipment allocates the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount together. As an implementation manner, the device sends a request for acquiring the resource of the second resource pool to the server, the server processes the request after receiving the request, and returns the request result to the device, if the request result received by the device is passed, the device is connected with the resource of the second resource pool through the interface, and the device processes the transaction request corresponding to the transaction amount by using the resource of the second resource pool.
As an example, a bank's cash-transfer system may employ a cloud server in a third party Platform as a resource of a second resource pool, such as the third party Platform-as-a-service (paas). Dynamic allocation of resources may be embodied with certain applications or clusters, such as open source applications kubernets. When the transaction amount of the system obtained by the device is greater than the threshold, the resource allocation at the timing can be realized by calling an Application Programming Interface (API) of kubernetes at the timing.
The resource allocation method provided by the embodiment of the application comprises the following steps: the equipment acquires the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period; the equipment inputs the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, and the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions; and the equipment allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period. Therefore, the resource allocation method provided by the embodiment of the application can input the transaction information of the period by using the transaction model to obtain the transaction amount of the next period, and allocates the resources required by the transaction for the target transaction system according to the transaction amount of the next period. And obtaining the transaction amount based on the transaction model, and allocating resources corresponding to the transaction amount, so that the speed of processing the transaction request by the target transaction system is maintained at a certain level, and the efficiency of processing the transaction request is improved.
Based on the resource allocation method provided by the above embodiment, the embodiment of the present application further provides a resource allocation apparatus, and the working principle of the resource allocation apparatus is described in detail below with reference to the accompanying drawings.
Referring to fig. 3, this figure is a block diagram of a resource allocation apparatus according to an embodiment of the present application.
The resource allocation apparatus 300 provided in this embodiment includes:
an obtaining unit 310, configured to obtain transaction information of the present period, where the transaction information is information of a market transaction performed by a user in the present period;
the input unit 320 is configured to input the transaction information of the current period into a transaction model to obtain a transaction amount of the target transaction system in a next period, where the transaction model is obtained by training according to historical transaction information and historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions;
the allocating unit 330 is configured to allocate, according to the transaction amount of the target transaction system in the next period, a resource for processing the transaction request corresponding to the transaction amount.
Optionally, the transaction information of the present period includes at least one of the following:
the number of users trading with the target trading system, the total market volume, the initial market trading value, the ending market trading value, the highest market trading value, the lowest market trading value, or the market trading value increase or decrease range.
Optionally, the allocating, by the allocating unit 330, resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period includes:
the first allocating subunit is used for allocating a first resource pool to process a transaction request corresponding to the transaction amount when the transaction amount of the next period of the target transaction system is smaller than or equal to a threshold value;
and the second allocating subunit is configured to, when the transaction amount of the next cycle of the target transaction system is greater than the threshold, allocate, by the device, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount.
Optionally, the allocating, by the second allocating subunit, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount includes:
a sending unit, configured to send a request for acquiring resources of the second resource pool to the server;
a receiving unit, configured to receive a request result of the server;
and the processing unit is used for responding to the request result that the transaction request corresponding to the transaction amount passes through the second resource pool and processing the transaction request corresponding to the transaction amount.
Optionally, the resource comprises a server, a processor and/or a memory.
When introducing elements of various embodiments of the present application, the articles "a," "an," "the," and "said" are intended to mean that there are one or more of the elements. The terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements other than the listed elements.
It should be noted that, as one of ordinary skill in the art would understand, all or part of the processes of the above method embodiments may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when executed, the computer program may include the processes of the above method embodiments. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus embodiment, since it is substantially similar to the method embodiment, it is relatively simple to describe, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, and the units and modules described as separate components may or may not be physically separate. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The foregoing is directed to embodiments of the present application and it is noted that numerous modifications and adaptations may be made by those skilled in the art without departing from the principles of the present application and are intended to be within the scope of the present application.
Claims (10)
1. A method for resource allocation, the method comprising:
the equipment acquires the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period;
the equipment inputs the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, and the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions;
and the equipment allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period.
2. The method of claim 1, wherein the transaction information of the present period comprises at least one of:
the number of users trading with the target trading system, the total market volume, the initial market trading value, the ending market trading value, the highest market trading value, the lowest market trading value, or the market trading value increase or decrease range.
3. The method according to claim 1 or 2, wherein the device allocates resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period comprises:
when the transaction amount of the next period of the target transaction system is smaller than or equal to a threshold value, the equipment allocates a first resource pool to process a transaction request corresponding to the transaction amount;
and when the transaction amount of the target transaction system in the next period is larger than the threshold value, the equipment allocates the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount.
4. The method of claim 3, wherein the allocating, by the device, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount comprises:
the equipment sends a request for acquiring the resources of the second resource pool to the server;
the equipment receives a request result of the server;
and in response to the request result is that the transaction request corresponding to the transaction amount passes, the equipment processes the transaction request by using the second resource pool.
5. The method of claim 1, wherein the resource comprises a server, a processor, and/or a memory.
6. An apparatus for resource allocation, the apparatus comprising:
the acquisition unit is used for acquiring the transaction information of the period, wherein the transaction information is information of market transaction of the user in the period;
the input unit is used for inputting the transaction information of the period into a transaction model to obtain the transaction amount of the target transaction system in the next period, and the transaction model is obtained by training according to historical transaction information and the historical transaction amount of the target transaction system; the transaction amount is the amount of transaction requests sent by users who utilize the target transaction system to carry out transactions;
and the allocation unit is used for allocating resources for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period.
7. The apparatus of claim 6, wherein the transaction information of the present cycle comprises at least one of:
the number of users trading with the target trading system, the total market volume, the initial market trading value, the ending market trading value, the highest market trading value, the lowest market trading value, or the market trading value increase or decrease range.
8. The apparatus according to claim 6 or 7, wherein the allocating unit allocates the resource for processing the transaction request corresponding to the transaction amount according to the transaction amount of the target transaction system in the next period comprises:
the first allocating subunit is used for allocating a first resource pool to process a transaction request corresponding to the transaction amount when the transaction amount of the next period of the target transaction system is smaller than or equal to a threshold value;
and the second allocating subunit is configured to, when the transaction amount of the next cycle of the target transaction system is greater than the threshold, allocate, by the device, the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount.
9. The apparatus of claim 8, wherein the second allocating subunit allocates the first resource pool and the second resource pool to process the transaction request corresponding to the transaction amount comprises:
a sending unit, configured to send a request for acquiring resources of the second resource pool to the server;
a receiving unit, configured to receive a request result of the server;
and the processing unit is used for responding to the request result that the transaction request corresponding to the transaction amount passes through the second resource pool and processing the transaction request corresponding to the transaction amount.
10. The apparatus of claim 6, wherein the resource comprises a server, a processor, and/or a memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011494784.XA CN112529435A (en) | 2020-12-17 | 2020-12-17 | Resource allocation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011494784.XA CN112529435A (en) | 2020-12-17 | 2020-12-17 | Resource allocation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112529435A true CN112529435A (en) | 2021-03-19 |
Family
ID=75000982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011494784.XA Pending CN112529435A (en) | 2020-12-17 | 2020-12-17 | Resource allocation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112529435A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789298A (en) * | 2016-12-29 | 2017-05-31 | 中国建设银行股份有限公司 | A kind of device of the method for dynamic expansion Web stratum servers |
CN107292741A (en) * | 2017-07-24 | 2017-10-24 | 中国银联股份有限公司 | A kind of resource allocation methods and device |
CN108681964A (en) * | 2018-04-19 | 2018-10-19 | 腾讯科技(深圳)有限公司 | A kind of business settlement system and settlement of transactions control method |
CN110198244A (en) * | 2019-06-19 | 2019-09-03 | 北京百度网讯科技有限公司 | Resource allocation method and device towards isomery cloud service |
CN110858161A (en) * | 2018-08-24 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Resource allocation method, device, system, equipment and medium |
-
2020
- 2020-12-17 CN CN202011494784.XA patent/CN112529435A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789298A (en) * | 2016-12-29 | 2017-05-31 | 中国建设银行股份有限公司 | A kind of device of the method for dynamic expansion Web stratum servers |
CN107292741A (en) * | 2017-07-24 | 2017-10-24 | 中国银联股份有限公司 | A kind of resource allocation methods and device |
CN108681964A (en) * | 2018-04-19 | 2018-10-19 | 腾讯科技(深圳)有限公司 | A kind of business settlement system and settlement of transactions control method |
CN110858161A (en) * | 2018-08-24 | 2020-03-03 | 阿里巴巴集团控股有限公司 | Resource allocation method, device, system, equipment and medium |
CN110198244A (en) * | 2019-06-19 | 2019-09-03 | 北京百度网讯科技有限公司 | Resource allocation method and device towards isomery cloud service |
Non-Patent Citations (1)
Title |
---|
石瑞生: ""网络空间安全专业规划教材 大数据安全与隐私保护"", 31 May 2019, 北京邮电大学出版社, pages: 107 - 109 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11526889B2 (en) | Resource transferring monitoring method and device | |
CN107832126B (en) | Thread adjusting method and terminal thereof | |
US20170153917A1 (en) | Account activity level based-system resource allocating method and device | |
CN110413416B (en) | Current limiting method and device for distributed server | |
CN108958939B (en) | Service resource allocation method and device and server | |
CN114548426B (en) | Asynchronous federal learning method, business service prediction method, device and system | |
CN109151512A (en) | The method and device of content is obtained in CDN network | |
CN110933136A (en) | Service node selection method, device, equipment and readable storage medium | |
CN107682391B (en) | Electronic device, server allocation control method, and computer-readable storage medium | |
CN106933673B (en) | Method and device for adjusting number of logical threads of component | |
CN105025105A (en) | Request handling method and device | |
CN109104480A (en) | A kind of processing method and processing device of network request | |
CN112615795A (en) | Flow control method and device, electronic equipment, storage medium and product | |
CN112529435A (en) | Resource allocation method and device | |
CN112463361A (en) | Method and equipment for distributing elastic resources of distributed computation | |
CN116541167A (en) | System flow control method, device, electronic equipment and computer readable medium | |
CN106648874B (en) | Processing method and device for batch tasks | |
CN115421922A (en) | Current limiting method, device, equipment, medium and product of distributed system | |
CN116170502A (en) | Message service system, method and message service platform | |
CN114489463B (en) | Method and device for dynamically adjusting QOS of storage volume and computing equipment | |
CN112559183B (en) | Computing resource management method, device, electronic equipment and storage medium | |
CN110809062B (en) | Public cloud voice recognition resource calling control method and device | |
CN109246387B (en) | Method, device and storage medium for calculating conversion of account resources of remote conference | |
CN111858015B (en) | Method, device and gateway for configuring running resources of application program | |
CN111754332B (en) | Service request processing method and device, storage medium and electronic equipment |
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 |