CN104102541B - Sign-off dynamic adjusting method and system - Google Patents
Sign-off dynamic adjusting method and system Download PDFInfo
- Publication number
- CN104102541B CN104102541B CN201310118923.2A CN201310118923A CN104102541B CN 104102541 B CN104102541 B CN 104102541B CN 201310118923 A CN201310118923 A CN 201310118923A CN 104102541 B CN104102541 B CN 104102541B
- Authority
- CN
- China
- Prior art keywords
- server
- checking
- signing task
- sign
- handling
- 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
Links
Abstract
A kind of sign-off dynamic adjusting method, the method comprising the steps of:The specified parameter for being currently used for handling each server of checking and signing task is obtained in real time;Compare acquired specified parameter and the first preset value, the size of the second preset value;Judge currently to be used for each server state in which for handling checking and signing task;According to each server state in which, adjustment is used for handling the quantity of the server of checking and signing task;Remaining checking and signing task is re-assigned to each server after adjustment.The present invention also provides a kind of sign-off dynamic debugging system.Used hardware resource when the present invention can dynamically adjust processing checking and signing task.
Description
Technical field
The present invention relates to a kind of method for managing resource and system, more particularly, to a kind of sign-off dynamic adjusting method and is
System.
Background technology
Distributed application, it is greatly improved the disposal ability of approving system.But it is not the institute for handling checking and signing task
Having time section, it is required for equal hardware resource to support.If hardware resource can be carried out to rational dynamic to adjust, make full use of
Existing hardware resource, then can effectively reduce approving system holistic cost.
The content of the invention
In view of the foregoing, it is necessary to a kind of sign-off dynamic adjusting method is provided, can dynamically adjust processing checking and signing task
When used hardware resource.
In view of the foregoing, it there is a need to and a kind of sign-off dynamic debugging system be provided, can dynamically adjust processing sign-off and appoint
Used hardware resource during business.
The sign-off dynamic adjusting method includes:Obtaining step:Obtain in real time and be currently used for handling each of checking and signing task
The specified parameter of server;Comparison step:Compare acquired specified parameter and the first preset value, the size of the second preset value;
Judgment step:According to the comparative result, judge currently to be used for each server state in which for handling checking and signing task;Adjustment
Step:According to each server state in which, adjustment is used for handling the quantity of the server of checking and signing task;And allocation step:
Remaining checking and signing task is re-assigned to each server after adjustment.
The sign-off dynamic debugging system includes:Acquisition module, currently it is used for handling checking and signing task for obtaining in real time
The specified parameter of each server;Comparison module, for relatively more acquired specified parameter and the first preset value, the second preset value
Size;Judge module, for according to the comparative result, judging currently to be used for handling residing for each server of checking and signing task
State;Adjusting module, for according to each server state in which, adjustment to be used for handling the number of the server of checking and signing task
Amount;And distribute module, for remaining checking and signing task to be re-assigned to each server after adjustment.
Compared to prior art, described sign-off dynamic adjusting method and system, can be directed to each during processing checking and signing task
The resource requirement of individual period, its used hardware resource is dynamically adjusted, reach energy-conservation, reduce the purpose of cost.
Brief description of the drawings
Fig. 1 is the running environment figure of sign-off dynamic debugging system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of sign-off dynamic debugging system preferred embodiment of the present invention.
Fig. 3 is the flow chart of sign-off dynamic adjusting method preferred embodiment of the present invention.
Main element symbol description
Server | 1 |
Sign-off dynamic debugging system | 10 |
Memory | 20 |
CPU | 30 |
Acquisition module | 100 |
Comparison module | 200 |
Judge module | 300 |
Adjusting module | 400 |
Distribute module | 500 |
Execution module | 600 |
Following embodiment will combine above-mentioned accompanying drawing and further illustrate the present invention.
Embodiment
As shown in fig.1, it is the running environment figure of sign-off dynamic debugging system preferred embodiment of the present invention.It is being distributed
During formula sign-off, it usually needs multiple servers 1(Three are shown in Fig. 1 as representative)To complete every checking and signing task, the label
Core dynamic debugging system 10 is run in wherein one or more servers 1.Also include in the server 1 by data wire or
Signal wire connected memory 20 and CPU 30.
As shown in fig.2, it is the functional block diagram of sign-off dynamic debugging system preferred embodiment of the present invention.
The sign-off dynamic debugging system 10 includes acquisition module 100, comparison module 200, judge module 300, adjustment mould
Block 400, distribute module 500 and execution module 600.
The acquisition module 100, which is used to obtain in real time, is currently used for the specified ginseng for handling each server 1 of checking and signing task
Number.The specified parameter is mainly CPU 30 state parameter, such as CPU 30 occupancy.The present embodiment is accounted for CPU's 30
Illustrated exemplified by dosage.The checking and signing task includes agent's sign-off, supervisor's sign-off etc..
The comparison module 200 is used for relatively more acquired CPU 30 occupancy and the first preset value, the second preset value
Size.In the present embodiment, first preset value is 80%, and second preset value is 20%.
The judge module 300 is used for according to the comparative result, judges currently to be used for each clothes for handling checking and signing task
The business state in which of device 1.In the present embodiment, the state of the server 1 includes overload, idle and normal condition.Work as CPU
When 30 occupancy is more than the first preset value, the server 1 is in overload.When CPU 30 occupancy is pre- less than second
If during value, the server 1 is in idle condition.When CPU 30 occupancy is between the first preset value and the second preset value
(Less than or equal to the first preset value and it is more than or equal to the second preset value)When, the server 1 is in normal condition.
The adjusting module 400 is used for according to each state in which of server 1, and adjustment is used for handling the clothes of checking and signing task
The quantity of business device 1.In the present embodiment, when server 1 is in overload, the adjusting module 400 increases by one and is used for
Handle the server 1 of checking and signing task.When server 1 is in idle condition, the adjusting module 400 reduces one and is used for handling
The server 1 of checking and signing task.When server 1 is in normal condition, the adjusting module 400 maintains to be used for handling checking and signing task
Server 1 quantity it is constant.
The distribute module 500 is used to for remaining checking and signing task to be re-assigned to each server 1 after adjustment.Example
Such as, it is assumed that there are two servers 1 to be used for handling checking and signing task before, and two servers 1 are in overload, it is then described
Adjusting module 400 increases a server 1 to handle checking and signing task, and the distribute module 500 will distribute to two services before
The remaining checking and signing task of device 1 is reassigned to three servers 1.The remaining checking and signing task be before redistributing also not
The checking and signing task of completion.
The execution module 600 is used to control each server 1 after adjustment to start to perform remaining checking and signing task.
As shown in fig.3, it is the flow chart of sign-off dynamic adjusting method preferred embodiment of the present invention.
Step S10, the acquisition module 100 obtain the finger for being currently used for handling each server 1 of checking and signing task in real time
Determine parameter.The specified parameter is mainly CPU 30 state parameter, such as CPU 30 occupancy.The present embodiment is with CPU 30
Occupancy exemplified by illustrate.
It is step S12, the relatively more acquired CPU 30 of the comparison module 200 occupancy and the first preset value, second pre-
If the size of value.In the present embodiment, first preset value is 80%, and second preset value is 20%.
Step S14, the judge module 300 judge currently to be used for handling each of checking and signing task according to the comparative result
The individual state in which of server 1.In the present embodiment, the state of the server 1 includes overload, idle and normal condition.
Step S16, according to each state in which of server 1, adjustment is used for handling checking and signing task the adjusting module 400
Server 1 quantity.In the present embodiment, when server 1 is in overload, the adjusting module 400 increases by one
For handling the server 1 of checking and signing task.When server 1 is in idle condition, the adjusting module 400 reduces one and is used for
Handle the server 1 of checking and signing task.When server 1 is in normal condition, the adjusting module 400 maintains to be used for handling sign-off
The quantity of the server 1 of task is constant.
Remaining checking and signing task is re-assigned to each server 1 after adjustment by step S18, the distribute module 500.
Step S20, each server 1 after the control of execution module 600 adjustment start to perform remaining checking and signing task.
In the sign-off dynamic adjusting method, above-mentioned flow circulation is carried out, and obtains the related ginseng of each server 1 in real time
Number, so as to entering Mobile state adjustment for handling the quantity of the server 1 of checking and signing task, increase in real time when server 1 overloads
Quantity, mitigate the pressure of current server 1, quantity is reduced when server 1 is idle, discharge resource, until being reduced to residue most
Latter server 1 handles checking and signing task.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although with reference to preferred embodiment to this hair
It is bright to be described in detail, it will be understood by those within the art that, technical scheme can be modified
Or equivalent substitution, without departing from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of sign-off dynamic adjusting method, it is characterised in that this method includes:
Obtaining step:The specified parameter for being currently used for handling each server of checking and signing task is obtained in real time;
Comparison step:Compare acquired specified parameter and the first preset value, the size of the second preset value;
Judgment step:According to comparative result, judge currently to be used for each server state in which for handling checking and signing task, its
In, the state of the server includes overload and idle condition, when specified parameter is more than the first preset value, at the server
In overload, when specified parameter is less than the second preset value, the server is in idle condition;
Set-up procedure:According to each server state in which, adjustment is used for handling the quantity of the server of checking and signing task;And
Allocation step:Remaining checking and signing task is re-assigned to each server after adjustment.
2. sign-off dynamic adjusting method as claimed in claim 1, it is characterised in that the specified parameter includes each server
CPU occupancy.
3. sign-off dynamic adjusting method as claimed in claim 1, it is characterised in that this method also includes step:
Each server after control adjustment starts to perform remaining checking and signing task.
4. sign-off dynamic adjusting method as claimed in claim 1, it is characterised in that the state of the server also includes normal
State, when specified parameter is less than or equal to the first preset value and is more than or equal to the second preset value, the server is in just
Normal state.
5. sign-off dynamic adjusting method as claimed in claim 4, it is characterised in that in the set-up procedure:
When server is in overload, increase by one is used for handling the server of checking and signing task;
When server is in idle condition, reduce by a server for being used for handling checking and signing task;And
When server is in normal condition, the quantity for the server for maintaining to handle checking and signing task is constant.
6. a kind of sign-off dynamic debugging system, it is characterised in that the system includes:
Acquisition module, currently it is used for the specified parameter for handling each server of checking and signing task for obtaining in real time;
Comparison module, for relatively more acquired specified parameter and the size of the first preset value, the second preset value;
Judge module, for foundation comparative result, judge currently to be used for each server state in which for handling checking and signing task,
Wherein, the state of the server includes overload and idle condition, when specified parameter is more than the first preset value, the server
In overload, when specified parameter is less than the second preset value, the server is in idle condition;
Adjusting module, for according to each server state in which, adjustment to be used for handling the quantity of the server of checking and signing task;
And
Distribute module, for remaining checking and signing task to be re-assigned to each server after adjustment.
7. sign-off dynamic debugging system as claimed in claim 6, it is characterised in that the specified parameter includes each server
CPU occupancy.
8. sign-off dynamic debugging system as claimed in claim 6, it is characterised in that the system also includes:
Control module, for controlling each server after adjusting to start to perform remaining checking and signing task.
9. sign-off dynamic debugging system as claimed in claim 6, it is characterised in that the state of the server also includes normal
State, when specified parameter is less than or equal to the first preset value and is more than or equal to the second preset value, the server is in just
Normal state.
10. sign-off dynamic debugging system as claimed in claim 9, it is characterised in that:
When server is in overload, the adjusting module increases a server for being used for handling checking and signing task;
When server is in idle condition, the adjusting module reduces by a server for being used for handling checking and signing task;And
When server is in normal condition, the adjusting module is maintained for handling the quantity of the server of checking and signing task not
Become.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310118923.2A CN104102541B (en) | 2013-04-08 | 2013-04-08 | Sign-off dynamic adjusting method and system |
TW102112639A TWI512485B (en) | 2013-04-08 | 2013-04-10 | Method and system for managing servers for signing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310118923.2A CN104102541B (en) | 2013-04-08 | 2013-04-08 | Sign-off dynamic adjusting method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104102541A CN104102541A (en) | 2014-10-15 |
CN104102541B true CN104102541B (en) | 2018-02-13 |
Family
ID=51670713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310118923.2A Active CN104102541B (en) | 2013-04-08 | 2013-04-08 | Sign-off dynamic adjusting method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104102541B (en) |
TW (1) | TWI512485B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106371923A (en) * | 2016-08-30 | 2017-02-01 | 江苏国泰新点软件有限公司 | Method and device for processing task |
CN109815011A (en) * | 2018-12-29 | 2019-05-28 | 东软集团股份有限公司 | A kind of method and apparatus of data processing |
CN112333172B (en) * | 2020-10-28 | 2023-06-30 | 中国农业银行股份有限公司 | Signature verification method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102236582A (en) * | 2011-07-15 | 2011-11-09 | 浙江大学 | Method for balanced distribution of virtualization cluster load in a plurality of physical machines |
CN102279771A (en) * | 2011-09-02 | 2011-12-14 | 北京航空航天大学 | Method and system for adaptively allocating resources as required in virtualization environment |
CN102427475A (en) * | 2011-12-08 | 2012-04-25 | 曙光信息产业(北京)有限公司 | Load balance scheduling system in cloud computing environment |
TW201237655A (en) * | 2010-11-22 | 2012-09-16 | Ibm | Information processing system, information processing apparatus, load balancing method, database deployment planning method, and program for realizing connection distribution for load balancing in distributed database |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1936849A (en) * | 2005-09-19 | 2007-03-28 | 国际商业机器公司 | Resource dynamic regulation method and apparatus |
JP4289436B1 (en) * | 2008-03-18 | 2009-07-01 | 日本電気株式会社 | Load balancing system and load balancing method |
US7809833B2 (en) * | 2008-07-15 | 2010-10-05 | International Business Machines Corporation | Asymmetric dynamic server clustering with inter-cluster workload balancing |
TW201128545A (en) * | 2010-02-01 | 2011-08-16 | Hon Hai Prec Ind Co Ltd | System and method for signing electronic files by distributed servers |
-
2013
- 2013-04-08 CN CN201310118923.2A patent/CN104102541B/en active Active
- 2013-04-10 TW TW102112639A patent/TWI512485B/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201237655A (en) * | 2010-11-22 | 2012-09-16 | Ibm | Information processing system, information processing apparatus, load balancing method, database deployment planning method, and program for realizing connection distribution for load balancing in distributed database |
CN102236582A (en) * | 2011-07-15 | 2011-11-09 | 浙江大学 | Method for balanced distribution of virtualization cluster load in a plurality of physical machines |
CN102279771A (en) * | 2011-09-02 | 2011-12-14 | 北京航空航天大学 | Method and system for adaptively allocating resources as required in virtualization environment |
CN102427475A (en) * | 2011-12-08 | 2012-04-25 | 曙光信息产业(北京)有限公司 | Load balance scheduling system in cloud computing environment |
Also Published As
Publication number | Publication date |
---|---|
TWI512485B (en) | 2015-12-11 |
CN104102541A (en) | 2014-10-15 |
TW201506636A (en) | 2015-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107832126B (en) | Thread adjusting method and terminal thereof | |
US9911148B2 (en) | Querying for business service processing status information | |
JP7020616B2 (en) | Methods and systems for resource scheduling | |
CN107291546B (en) | Resource scheduling method and device | |
US9336054B2 (en) | Method and apparatus for configuring resource | |
CN107124472A (en) | Load-balancing method and device, computer-readable recording medium | |
CN110196767B (en) | Service resource control method, device, equipment and storage medium | |
CN107844187B (en) | Power consumption management method and device and electronic equipment | |
US20130047158A1 (en) | Method and System for Real Time Detection of Resource Requirement and Automatic Adjustments | |
CN109284229B (en) | Dynamic adjustment method based on QPS and related equipment | |
CN104954478A (en) | System and method for realizing automatic longitudinal scaling of server in cloud computing platform | |
US9800516B2 (en) | Method and apparatus for managing allocation of communication resources | |
CN104102541B (en) | Sign-off dynamic adjusting method and system | |
CN106095047B (en) | Control method and electronic equipment | |
WO2015027935A1 (en) | Method and device for allocating computational resources | |
WO2019104974A1 (en) | Dubbo platform-based automatic server starting and stopping method , server, and storage medium | |
WO2014194704A1 (en) | A grouping processing method and system | |
CN104793982A (en) | Method and device for establishing virtual machine | |
CN112463367A (en) | Method and system for optimizing performance of storage system, electronic equipment and storage medium | |
CN107370783B (en) | Scheduling method and device for cloud computing cluster resources | |
KR20140067581A (en) | Method of power management for graphic processing unit and system thereof | |
CN106407013B (en) | Method and device for dynamically scheduling resources, resource scheduling server and system | |
CN104021046A (en) | Method and device for processing applications | |
CN107239341B (en) | Resource conversion method and system and virtual machine resource scheduling system | |
CN104111892A (en) | Internal memory dynamic distribution method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |