CN111338788B - Resource quota approval method and storage medium - Google Patents

Resource quota approval method and storage medium Download PDF

Info

Publication number
CN111338788B
CN111338788B CN202010081246.1A CN202010081246A CN111338788B CN 111338788 B CN111338788 B CN 111338788B CN 202010081246 A CN202010081246 A CN 202010081246A CN 111338788 B CN111338788 B CN 111338788B
Authority
CN
China
Prior art keywords
application
resource
increment
statistical
time 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.)
Active
Application number
CN202010081246.1A
Other languages
Chinese (zh)
Other versions
CN111338788A (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.)
Fujian Tianquan Educational Technology Ltd
Original Assignee
Fujian Tianquan Educational Technology 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 Fujian Tianquan Educational Technology Ltd filed Critical Fujian Tianquan Educational Technology Ltd
Priority to CN202010081246.1A priority Critical patent/CN111338788B/en
Publication of CN111338788A publication Critical patent/CN111338788A/en
Application granted granted Critical
Publication of CN111338788B publication Critical patent/CN111338788B/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/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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • 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
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a resource quota approval method and a storage medium, wherein the method comprises the following steps: periodically grabbing statistical items of each application by a monitoring system, wherein the statistical items comprise CPU occupation, memory occupation, thread number occupation and request quantity in a period; the monitoring system calculates the average value of each statistical item of each application corresponding to a preset first time period; after receiving a resource application form corresponding to an application, checking whether at least N statistical items of the application accord with checking conditions according to an average value of the application, if so, checking that N is greater than or equal to 1; the auditing conditions are as follows: at least n increment percentages of every two continuous mean values in a second time period are forward percentages, and the resource amount applied in the resource application form is within an allowable application amount corresponding to a preset increment interval where the increment percentage with the most forward is located, wherein the second time period is greater than the first time period, and n is greater than or equal to 1. The invention can realize automatic approval and has high approval result validity.

Description

Resource quota approval method and storage medium
Technical Field
The invention relates to the field of micro-service resource application and approval, in particular to a resource quota approval method and a storage medium.
Background
There are a variety of client programs in the present system, and each client program will have a corresponding server to provide the relevant service. With the expansion of the scale of users, various capabilities are also required to be provided in the service end, and in order to provide more refined functions, the service end develops various micro-service concepts, namely, each service independently provides services and makes a small scale. The micro-service architecture style is a way to develop a single application using a set of servlets, each running in its own process and communicating using lightweight mechanisms, typically HTTP APIs, that are built based on business capabilities and can be deployed independently by automated deployment mechanisms, implemented using different programming languages and different data storage technologies, and kept to a minimum for centralized management.
Because of the nature of this independent deployment of micro-services, many large systems now employ a deployment architecture of such micro-services, with individual modules deployed independently and providing services. This is problematic in terms of resource application and approval. In current systems, WEB containers such as tomcat, jboss, and resolution are used to deploy applications. In the tomcat example, after the original tomcat application of the 4G memory is rapidly increased due to the user quantity, the memory needs to be expanded, and the memory expansion application needs to be manually performed, and related data and certification files are provided to explain why the expansion needs to be performed; and then, checking the data by special personnel to confirm whether the capacity expansion is required, and agreeing to the application if the capacity expansion is definitely required, so as to finally finish the capacity expansion operation.
Under the condition that the application and approval of resources are manually interfered, a great amount of energy and time are consumed, the application of the resources under normal conditions is based on the real growth requirement of the service, so that the application can be directly approved, a small part of application is the condition that the requirement is exaggerated, the resource waste is caused, and the manual intervention is only needed under the scene to carry out manual treatment.
The present disclosure provides an automatic approval function for resource management for the above-mentioned resource application approval process. For each resource application list, according to the historical statistical data of the service, the program automatically judges, automatically approves and passes the real demand condition, and according to the historical statistical data, the program automatically blocks the application and explains the reasons and the existing problems of refusal for various resource applications with exaggerated demands, finally, the automatic processing of resource approval is realized, most of manpower and energy are saved, and the efficiency is improved.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the resource quota examination and approval method and the storage medium are provided, intelligent examination and approval are realized, manpower and material resources are saved, and meanwhile, the efficiency is improved.
In order to solve the technical problems, the invention adopts the following technical scheme:
the resource quota approval method comprises the following steps:
periodically grabbing statistical items of each application by a monitoring system, wherein the statistical items comprise CPU occupation, memory occupation, thread number occupation and request quantity in a period;
the monitoring system calculates the average value of each statistical item of each application corresponding to a preset first time period;
after receiving a resource application form corresponding to an application, checking whether at least N statistical items of the application accord with checking conditions according to the average value of the application, if so, checking that N is greater than or equal to 1;
the auditing conditions are as follows: at least n of every two continuous increment percentages of the mean value in a second time period are forward percentages, and the resource amount applied in the resource application form is within an allowable application amount corresponding to a preset increment interval in which the increment percentage with the most forward is located, wherein the second time period is greater than the first time period, and n is greater than or equal to 1.
The other technical scheme provided by the invention is as follows:
a computer readable storage medium having stored thereon a computer program which, when executed by a processor, is capable of carrying out the steps comprised in the above-described resource quota approval method.
The invention has the beneficial effects that: the invention realizes the automatic processing of resource approval, can save most of manpower and energy and remarkably improves the approval efficiency. Meanwhile, the auditing conditions formulated by the invention can be based on the historical statistical data of the application, and the auditing is carried out according to the actual requirement of the application, so that the auditing result accords with the fact, and the auditing method is more effective.
Drawings
FIG. 1 is a schematic diagram of a system architecture corresponding to a resource quota approval method of the present invention;
fig. 2 is a flow chart of a resource quota approval method according to an embodiment of the invention.
Description of the reference numerals:
1-N, application; 2. a monitoring system; 3. an automatic approval module; 4. and (5) managing the platform.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
The most critical concept of the invention is as follows: and the resource quota approval is carried out according to the historical statistical data, so that the automatic processing is realized, the efficiency is remarkably improved, and the approval result accords with the fact.
Referring to fig. 1 and fig. 2, the present invention provides a resource quota approval method, including:
periodically grabbing statistical items of each application by a monitoring system, wherein the statistical items comprise CPU occupation, memory occupation, thread number occupation and request quantity in a period;
the monitoring system calculates the average value of each statistical item of each application corresponding to a preset first time period;
after receiving a resource application form corresponding to an application, checking whether at least N statistical items of the application accord with checking conditions according to the average value of the application, if so, checking that N is greater than or equal to 1;
the auditing conditions are as follows: at least n of every two continuous increment percentages of the mean value in a second time period are forward percentages, and the resource amount applied in the resource application form is within an allowable application amount corresponding to a preset increment interval in which the increment percentage with the most forward is located, wherein the second time period is greater than the first time period, and n is greater than or equal to 1.
Further, the checking whether the at least N statistical items of the application meet the checking condition according to the average value of the application, if yes, the checking is passed, specifically:
presetting at least two increment intervals corresponding to each statistical item; presetting an allowable application amount corresponding to each increment interval;
each statistical item execution corresponding to the one application includes:
acquiring each average value in a second time period;
respectively calculating increment percentages corresponding to the two continuous mean values;
judging whether at least N forward percentages exist, if so, acquiring an increment interval corresponding to the most increment percentages, and judging whether the resource amount applied in the resource application form is within the allowable application amount corresponding to the increment interval; if yes, the verification is passed, and if not, the verification is not passed.
As can be seen from the above description, the approval process is performed on the recently counted data, and the allowable application amount meeting the fact demand, which is set in advance according to the increment interval, is referred to for judgment, so that the approval result has high accuracy and high efficiency.
Further, the first period of time is in days; the mean value is obtained by calculation after the highest value and the lowest value are removed.
As can be seen from the above description, the mean value calculation result is more accurate, and the referenceable value is higher.
Further, the method further comprises the following steps:
the monitoring system displays the average value of each statistical item of each application corresponding to a preset first time period.
From the above description, the monitoring background is provided for relevant personnel to check, so that the monitoring background can help the relevant personnel to grasp the running state of each application more timely and conveniently.
Further, the method further comprises the following steps:
and the monitoring system judges whether each statistical item of each application exceeds a preset threshold value according to the average value, if so, the monitoring system triggers an alarm and sends alarm information to the appointed terminal.
The above description shows that, by setting the alarm mechanism, the staff can be assisted to find the abnormal situation and schedule the treatment in time for the first time. And the function upgrading of the monitoring system is realized.
Further, the number of N is more than half of the number of the statistical terms.
As can be seen from the above description, by defining appropriate judgment conditions, the judgment result is made more effective.
The other technical scheme provided by the invention is as follows:
a computer readable storage medium having stored thereon a computer program which when executed by a processor is capable of performing the steps comprised by a resource quota approval method of:
periodically grabbing statistical items of each application by a monitoring system, wherein the statistical items comprise CPU occupation, memory occupation, thread number occupation and request quantity in a period;
the monitoring system calculates the average value of each statistical item of each application corresponding to a preset first time period;
after receiving a resource application form corresponding to an application, checking whether at least N statistical items of the application accord with checking conditions according to the average value of the application, if so, checking that N is greater than or equal to 1;
the auditing conditions are as follows: at least n of every two continuous increment percentages of the mean value in a second time period are forward percentages, and the resource amount applied in the resource application form is within an allowable application amount corresponding to a preset increment interval in which the increment percentage with the most forward is located, wherein the second time period is greater than the first time period, and n is greater than or equal to 1.
Further, the checking whether the at least N statistical items of the application meet the checking condition according to the average value of the application, if yes, the checking is passed, specifically:
presetting at least two increment intervals corresponding to each statistical item; presetting an allowable application amount corresponding to each increment interval;
each statistical item execution corresponding to the one application includes:
acquiring each average value in a second time period;
respectively calculating increment percentages corresponding to the two continuous mean values;
judging whether at least N forward percentages exist, if so, acquiring an increment interval corresponding to the most increment percentages, and judging whether the resource amount applied in the resource application form is within the allowable application amount corresponding to the increment interval; if yes, the verification is passed, and if not, the verification is not passed.
Further, the first period of time is in days; the mean value is obtained by calculation after the highest value and the lowest value are removed.
Further, the method further comprises the following steps:
the monitoring system displays the average value of each statistical item of each application corresponding to a preset first time period.
Further, the method further comprises the following steps:
and the monitoring system judges whether each statistical item of each application exceeds a preset threshold value according to the average value, if so, the monitoring system triggers an alarm and sends alarm information to the appointed terminal.
Further, the number of N is more than half of the number of the statistical terms.
From the foregoing description, it will be appreciated by those skilled in the art that the foregoing embodiments may be implemented, in whole or in part, by hardware, by a computer program, where the program may be stored on a computer readable storage medium, where the program, when executed, may include the steps of the methods described above. After the program is executed by the processor, the beneficial effects corresponding to the methods can be realized.
The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
Example 1
Referring to fig. 1 and 2, the present embodiment provides a resource quota approval method, which can implement automatic approval, and according to historical data, approves the fact demand, and ensures the validity of the approval result.
The method is realized based on the system architecture of FIG. 2, and the system comprises a plurality of applications 1-N, a monitoring system 2, an automatic approval module 3 and a management platform 4; the plurality of applications 1-N are connected with the monitoring system 2, and the management platform 4, the automatic approval module 3 and the monitoring system 2 are sequentially connected.
The method comprises the following steps:
s1: monitoring each application through a monitoring system, and periodically capturing each statistical item of each application, wherein the statistical items comprise CPU occupation, memory occupation, thread number occupation and request quantity in a period;
specifically, the grabbing period is set according to the requirement, such as 15s or 30s or other time. The CPU occupation, the memory occupation and the thread number occupation in the statistic item are all values of grabbing time, and the request quantity is an accumulated value in a period.
S2: the monitoring system calculates the average value of each statistical item of each application corresponding to a preset first time period.
The first period of time is preferably set in days, but may also be set in hours, specifically according to the requirements.
Preferably, the mean value is calculated by removing the highest term and the lowest term, so that the accuracy is higher.
For example, the average value per day for each individual statistical term will be counted.
The monitoring system records the statistical data corresponding to the application ID into a database, and can display the statistical data of each application to related personnel for viewing through a management platform.
In a specific example, the method further includes:
s21: and the monitoring system judges whether each statistical item of each application exceeds a preset threshold value according to the average value, if so, the monitoring system triggers an alarm, and alarm information can be sent to the appointed terminal in a mode of short messages, telephones, mails and the like.
When related personnel check data according to the alarm and definitely need to perform resource application capacity expansion, the related personnel manually submit the resource application bill.
S3: when the program receives a resource application form (generally, an expanded application document) corresponding to an application, an automatic approval module is called, and whether automatic approval can be performed or not is judged according to the qualification application form (according to the integrity judgment of the qualification application form). The application document at least needs to transmit the following data: application document ID, application ID, application resource content (mainly two options of memory and thread number), application reason, and applicant.
S4: if the automatic approval can be executed, checking whether at least N statistical items of the application accord with the checking condition according to the average value of the application, if so, checking that N is greater than or equal to 1, and preferably, N is more than half of the number of the statistical items.
The auditing conditions are as follows: at least n of every two continuous increment percentages of the mean value in a second time period are forward percentages, and the resource amount applied in the resource application form is within an allowable application amount corresponding to a preset increment interval in which the increment percentage with the most forward is located, wherein the second time period is greater than the first time period, and n is greater than or equal to 1.
Specifically, automatic approval will be achieved by:
s41: presetting at least two increment intervals (such as 0-5%, 5-10%, 10-20% increment intervals and the like) corresponding to each statistical item; presetting an allowable application quantity (for example, 0-5% of corresponding memory is doubled and threads are doubled) corresponding to each increment interval;
each statistical item corresponding to the application is executed, including:
s42: acquiring each mean value in a second time period, such as all mean values of the statistical term in the last 8 days;
s43: the increment percentages corresponding to the two continuous mean values are calculated respectively, namely, the increment percentages of the first mean value and the second mean value, the increment percentages of the second mean value and the third mean value are calculated for each statistical item, and the like.
S44: judging whether at least N forward percentages exist; judging whether at least N forward percentages exist in all increment percentages calculated in the previous step.
If yes, determining an increment interval corresponding to the maximum increment percentage, namely determining in which increment interval all the increment percentages obtained through calculation are basically distributed. Then obtaining the allowable application quantity corresponding to the determined increment interval; judging whether the resource amount applied in the resource application form is within the allowable application amount or not; if the verification is successful, if the verification is not successful, the user can be reminded to conduct the re-approval through manual intervention, so that the approval accuracy is further improved.
Example two
The first embodiment provides a specific application scenario:
for example, a UC (account center system) application is deployed on the tomcat, and the resources used are a 2-core CPU and a 4G memory.
There is a monitoring system that performs data grabbing for this tomcat application every 15 seconds. The method mainly aims at grabbing the resource situation used by the tomcat application at the moment, and comprises the following statistical items: CPU occupancy, memory occupancy, thread count occupancy, and total request volume within 15 seconds of UC application.
Meanwhile, the monitoring system also counts the average value of each application of the statistics items every day, namely, the highest item is removed, the lowest item is removed, and the average value of each resource every day is calculated.
When the monitoring system acquires the data items, the statistical data are recorded in a database, a monitoring background is provided for relevant personnel to check, and when the alarm conditions preset by the relevant personnel are met, an alarm is triggered, wherein the alarm comprises modes of short messages, telephones, mails and the like.
When the related personnel finishes processing and definitely needs to perform the capacity expansion of the resource application, the resource application document is manually submitted.
It should be noted that: the alarm conditions on this side may be service specific. For example, when the CPU occupancy rate reaches 60% for a long time, or the memory occupancy rate exceeds 60%, or the thread count is surge, the thread count ratio reaches 30%, etc., an alarm can be triggered.
When the program receives the resource application document, (the application document is generally expanded), the program calls the automatic approval module method to judge whether the automatic approval can be carried out. The application document at least needs to transmit the following data: application document ID, application ID, application resource content (mainly two options of memory and thread number), application reason, and applicant.
When the automatic approval module processes the resource application document, whether the application passes approval or not can be determined according to the following judgment rule.
Judging rules:
1. for example, for the statistics of the memory occupancy, the application ID is used to query the application for the average value of the memory occupancy of the application for the last 8 days in advance (except for the day because no statistics are performed).
2. Daily data delta percent calculations were performed. For example, the first day occupies 20%, the second day occupies 25%, the third day occupies 30%, and the fourth day occupies 24%, the increment percentage of the first time is calculated to be (25-20)%, the second time is calculated to be (30-25)%, the third time is calculated to be (24-30)%, and so on. The average value of the memory occupation for 8 days in total will count 7 increment percentages, and when at least 4 (preset) forward increment data appear in the 7 increment percentages, the passing rule of this time is reached, that is, the rule of increment of the memory occupation condition is satisfied here. Otherwise, the rule is not satisfied.
It should be noted that: this is the percentage of 7 increments calculated, where there are more than 4 forward percentages, then the rule is considered to be passed. For example, if the first increment is 5%, the second increment is 5%, the third increment is-6%, the fourth increment is 10%, the 5 th increment is 7%, etc., at least 4 increments are positive increments, this indicates that an upward trend is necessary, and the present rule is adopted.
3. When passing through the increment rule of the memory, further subdivision is needed: the incremental data passed (i.e., percent forward delta) is substantially within the order of 0-5%, or 5-10%, or 10-20%. When the 0-5% level is satisfied, the application resource is allowed to be set twice. I.e. the original 4G memory, 200 threads, can apply for doubling the resources, reaching 8G memory and 400 threads. When 5-10% of the steps are met, the application resources are allowed to be set to 2 times, and when 10-20% of the steps are met, the application resources can be set to 3 times.
4. The above 1-2 is a calculation rule of a memory statistics term, and other statistics terms are similar. When at least 50% of all statistics reach such a calculation rule and the resource applied in 3 does not exceed the upper limit of the level, the resource application document is automatically approved as passing. Otherwise, refusing approval, and setting out that the passing condition is not met, and reminding that the approval work can be carried out again through manual intervention.
Example III
The present embodiment corresponds to the first and second embodiments, and provides a computer readable storage medium having a computer program stored thereon, where the program, when executed by a processor, can implement the steps included in the resource quota approval method described in the first or second embodiment. The specific step flow is not repeated here, and please refer to the descriptions of the first embodiment and the second embodiment.
In summary, according to the resource quota approval method and the storage medium provided by the invention, the program automatically judges according to the historical statistical data of the service, the automatic approval passes under the condition of real demand, and the program automatically blocks the application and explains the reason and the existing problems of refusal according to the historical statistical data for various resource applications with exaggerated demands, thereby finally realizing the automatic processing of resource approval, saving most of manpower and energy and improving the efficiency; further, the method has the characteristics of high approval efficiency and high accuracy of approval results, and is convenient for staff to better master the running state of each application.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.

Claims (6)

1. The resource allocation approval method is characterized by comprising the following steps:
periodically grabbing statistical items of each application by a monitoring system, wherein the statistical items comprise CPU occupation, memory occupation, thread number occupation and request quantity in a period;
the monitoring system calculates the average value of each statistical item of each application corresponding to a preset first time period;
after receiving a resource application form corresponding to an application, checking whether at least N statistical items of the application accord with checking conditions according to the average value of the application, if so, checking that N is greater than or equal to 1;
the checking whether the at least N statistical items of the application accord with the checking condition according to the average value of the application, if yes, the checking is passed, specifically:
presetting at least two increment intervals corresponding to each statistical item; presetting an allowable application amount corresponding to each increment interval;
each statistical item execution corresponding to the one application includes:
acquiring each average value in a second time period;
respectively calculating increment percentages corresponding to the two continuous mean values;
judging whether at least N forward percentages exist, if so, acquiring an increment interval corresponding to the most increment percentages, and judging whether the resource amount applied in the resource application form is within the allowable application amount corresponding to the increment interval; if yes, passing the audit, if not, failing the audit;
the auditing conditions are as follows: at least n of every two continuous increment percentages of the mean value in a second time period are forward percentages, and the resource amount applied in the resource application form is within an allowable application amount corresponding to a preset increment interval in which the increment percentage with the most forward is located, wherein the second time period is greater than the first time period, and n is greater than or equal to 1.
2. The resource allocation approval method of claim 1, wherein the first period of time is in days; the mean value is obtained by calculation after the highest value and the lowest value are removed.
3. The resource configuration approval method of claim 1, further comprising:
the monitoring system displays the average value of each statistical item of each application corresponding to a preset first time period.
4. The resource configuration approval method of claim 1, further comprising:
and the monitoring system judges whether each statistical item of each application exceeds a preset threshold value according to the average value, if so, the monitoring system triggers an alarm and sends alarm information to the appointed terminal.
5. The method for approval of resource allocation of claim 1, wherein N is more than half the number of statistical terms.
6. A computer readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, is capable of performing the steps comprised in the resource allocation approval method of any of the preceding claims 1-5.
CN202010081246.1A 2020-02-06 2020-02-06 Resource quota approval method and storage medium Active CN111338788B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010081246.1A CN111338788B (en) 2020-02-06 2020-02-06 Resource quota approval method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010081246.1A CN111338788B (en) 2020-02-06 2020-02-06 Resource quota approval method and storage medium

Publications (2)

Publication Number Publication Date
CN111338788A CN111338788A (en) 2020-06-26
CN111338788B true CN111338788B (en) 2023-08-29

Family

ID=71181411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010081246.1A Active CN111338788B (en) 2020-02-06 2020-02-06 Resource quota approval method and storage medium

Country Status (1)

Country Link
CN (1) CN111338788B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113569137A (en) * 2021-07-06 2021-10-29 北京汇钧科技有限公司 Recommendation method and device for cloud host specification, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580524A (en) * 2015-01-30 2015-04-29 华为技术有限公司 Resource scaling method and cloud platform with same
CN105426254A (en) * 2015-12-24 2016-03-23 北京轻元科技有限公司 Graded cloud computing resource customizing method and system
CN107239928A (en) * 2017-01-03 2017-10-10 北京嘀嘀无限科技发展有限公司 The flow generation method and device of a kind of resource allocation
CN109918194A (en) * 2019-01-16 2019-06-21 深圳壹账通智能科技有限公司 Intelligent dilatation capacity reduction method, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10013237B2 (en) * 2012-05-30 2018-07-03 Ncino, Inc. Automated approval

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580524A (en) * 2015-01-30 2015-04-29 华为技术有限公司 Resource scaling method and cloud platform with same
CN105426254A (en) * 2015-12-24 2016-03-23 北京轻元科技有限公司 Graded cloud computing resource customizing method and system
CN107239928A (en) * 2017-01-03 2017-10-10 北京嘀嘀无限科技发展有限公司 The flow generation method and device of a kind of resource allocation
CN109918194A (en) * 2019-01-16 2019-06-21 深圳壹账通智能科技有限公司 Intelligent dilatation capacity reduction method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111338788A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN106293941B (en) Method for distributing database system resources
CN110928655A (en) Task processing method and device
CN110716808B (en) Service processing method, device, computer equipment and storage medium
CN112749221A (en) Data task scheduling method and device, storage medium and scheduling tool
CN111338788B (en) Resource quota approval method and storage medium
CN109359922B (en) Spare part management method and device
CN111984495A (en) Big data monitoring method and device and storage medium
CN113228574A (en) Computing resource scheduling method, scheduler, internet of things system and computer readable medium
CN104917639A (en) Cluster monitoring-based method and device for distributing data business
CN110011843A (en) Alarm information processing method, electronic equipment and storage medium
CN114500543B (en) Distributed elastic edge acquisition system and application method thereof
CN115269147A (en) Batch task processing method, device, equipment and storage medium
US10313261B1 (en) Tenant assignment system
CN109741160B (en) Funds monitoring method, funds monitoring system, terminal and readable storage medium
CN112040431B (en) Marketing short message management and control system and method thereof
CN114237857A (en) Task distribution system for big data task capture
CN108471386B (en) Flow and frequency control method based on token and transaction record
US7006885B2 (en) Method for generating a suggestive dispatch lot list that considers upstream/downstream stage requirements
CN114356515A (en) Scheduling method of data conversion task
CN112561173A (en) Optimization method for rapidly improving production capacity of welding line
CN111340368A (en) Warehouse management method and device
CN111047152A (en) Work order processing method and device
Koole et al. A note on profit maximization and monotonicity for inbound call centers
CN112712283B (en) Real-time order separating method and system
CN111144760B (en) Work order auditing platform, auditing dispatching method and device and dispatching server

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