CN109144694A - Information system configuration method, device, equipment and computer readable storage medium - Google Patents
Information system configuration method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109144694A CN109144694A CN201810902080.8A CN201810902080A CN109144694A CN 109144694 A CN109144694 A CN 109144694A CN 201810902080 A CN201810902080 A CN 201810902080A CN 109144694 A CN109144694 A CN 109144694A
- Authority
- CN
- China
- Prior art keywords
- information
- query service
- information query
- service
- monitoring
- 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 104
- 238000012544 monitoring process Methods 0.000 claims description 252
- 230000004044 response Effects 0.000 claims description 77
- 238000007726 management method Methods 0.000 description 48
- 238000005094 computer simulation Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention proposes a kind of information system configuration methods, comprising: according to the quantity of the information inquiring request received, configures to system resource;Pending information query service is determined according to the preset classification of the corresponding information query service of the information inquiring request based on configured system resource;Based on the preset priority levels for having determined that pending information query service, the queue of information query service is generated, and according to preset information query service queue scheduling rule, scheduling executes the information query service in the information query service queue.The invention also discloses a kind of information system configuration device, equipment and computer readable storage mediums, by implementing above scheme, it realizes when information system receives a large amount of information inquiring request, efficiently and rapidly the corresponding information query service of execution information inquiry request.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of information system configuration method, device, equipment and calculating
Machine readable storage medium storing program for executing.
Background technique
With the fast development of computer equipment, information system is (for example, CRM (Customer relationship
Management, customer relation management) system or ERP (Enterprise Resource Planning, Enterprise Resources Plan)
System) also it is rapidly developed therewith.But when information system faces a large amount of information inquiring request, due to computer device resources
Limitation, the information query service delay for causing information system to provide, information can not be provided and look by even resulting in information system collapse
Ask service;Simultaneously when information system faces a large amount of information inquiring request, since information system configures not system resource
Rationally, the information query service delay for causing information system to provide or Caton, letter can not be provided by even resulting in information system collapse
Cease query service.
Summary of the invention
The invention proposes a kind of information system configuration method, device, equipment and computer readable storage mediums, to solve
Certainly in the prior art when information system receives a large amount of information inquiring request, information system can not quick feedback information inquiry
The problem of service.
The technical solution adopted by the present invention is that providing a kind of information system configuration method, comprising:
According to the quantity of the information inquiring request received, system resource is configured;
Based on configured system resource, according to preset point of the corresponding information query service of the information inquiring request
Class determines pending information query service;
Based on the preset priority levels for having determined that pending information query service, the queue of information query service, and root are generated
According to preset information query service queue scheduling rule, scheduling executes the information in the information query service queue and inquires clothes
Business.
Optionally, the quantity of the information inquiring request received in the basis, after being configured to system resource, institute
State method further include:
To set the system monitoring period, configured system resource is monitored, obtains system monitoring information;
It when the system monitoring information reaches preset system early warning value, alarms, and by the system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Optionally, it is inquired based on configured system resource according to the corresponding information of the information inquiring request described
The preset classification of service, before determining pending information query service, the method also includes:
Based on type, priority and/or the response time of the information query service, the information query service is carried out
Classification.
Optionally, it is inquired based on configured system resource according to the corresponding information of the information inquiring request described
The preset classification of service, after determining pending information query service, the method also includes:
To set the service monitoring period, the information query service for having determined that pending is monitored, service monitoring is obtained
Information;
It when the service monitoring information reaches preset service early warning value, alarms, and by the service monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Optionally, described after being alarmed described when the service monitoring information reaches preset service early warning value
Method further include:
Based on configured system resource, by all one or more letters having determined that in pending information query service
Breath query service is set as stopping executing;
Alternatively, based on configured system resource, by all one had determined that in pending information query service or
Multiple information query services for having stopped executing are set as starting and execute;
Alternatively, setting all one or more information query services having determined that in pending information query service to
Stop executing, and has determined that pending one or more of information query service has stopped the information executing and inquired for all
Service is set as starting and executes.
Optionally, described according to preset information query service queue scheduling rule, scheduling executes the information inquiry
After information query service in service queue, the method also includes:
The period is monitored with configuration scheduling, the information query service in the information query service queue is executed to scheduling and is carried out
Monitoring, obtains dispatching and monitoring information;
Based on the dispatching and monitoring information, dispatching log is generated;
It when the dispatching and monitoring information reaches preset scheduling early warning value, alarms, and by the dispatching and monitoring information
One or many sending methods of set information are sent to setting monitoring management user.
Optionally, described according to preset information query service queue scheduling rule, scheduling executes the information inquiry clothes
The information query service being engaged in queue, comprising:
It is rung when the response time of any information query service in the information query service queue is greater than or equal to setting
It when answering threshold value, abandons executing any information query service, and returns to the time-out response letter of any information query service
Breath;Wherein, the response time is current time, until adding any information query service to information query service team
Duration between the time of column;
Based on the overtime response message, the dispatching log of any information query service is generated.
Optionally, described according to preset information query service queue scheduling rule, scheduling executes the information inquiry clothes
The information query service being engaged in queue, comprising:
Judge whether the execution duration for executing any information query service in the information query service queue is greater than to set
Surely threshold value is executed;
It is set if the execution duration for executing any information query service in the information query service queue is greater than or equal to
Surely threshold value is executed, then returns to the overtime execution information of any information query service, and based on the overtime execution information, it is raw
At the dispatching log of any information query service;
It is executed if the execution duration for executing any information query service in the information query service queue is less than setting
Threshold value then returns to the execution information of any information query service, and is based on the execution information, generates any information
The dispatching log of query service.
The present invention also provides a kind of information system configuration devices, comprising:
Configuration module configures system resource for the quantity according to the information inquiring request received;
Determining module, for being inquired according to the corresponding information of the information inquiring request based on configured system resource
The preset classification of service, determines pending information query service;
Scheduler module, for generating information inquiry based on the preset priority levels for having determined that pending information query service
Service queue, and according to preset information query service queue scheduling rule, scheduling executes in the information query service queue
Information query service.
Optionally, described device further include:
System-monitoring module, the quantity of the information inquiring request for receiving in the basis carry out system resource
After configuration, to set the system monitoring period, configured system resource is monitored, obtains system monitoring information;
System early warning module, for alarming when the system monitoring information reaches preset system early warning value, and will
The system monitoring information is one or many to be sent to setting monitoring management user with set information sending method.
Optionally, described device further include:
Categorization module, for described based on configured system resource, according to the corresponding letter of the information inquiring request
The preset classification for ceasing query service, before determining pending information query service, type based on the information query service,
Priority and/or response time classify to the information query service.
Optionally, described device further include:
Service monitoring module, for, based on configured system resource, being corresponded to according to the information inquiring request described
Information query service preset classification, after determining pending information query service, to set the service monitoring period, to
It determines that pending information query service is monitored, obtains service monitoring information;
Warning module is serviced, for alarming when the service monitoring information reaches preset service early warning value, and will
The service monitoring information is one or many to be sent to setting monitoring management user with set information sending method.
Optionally, described device further include:
Start and stop module, for, when the service monitoring information reaches preset service early warning value, carrying out alarming it described
Afterwards, based on configured system resource, have determined that one or more information in pending information query service are looked into for all
The service of inquiry is set as stopping executing;
Alternatively, based on configured system resource, by all one had determined that in pending information query service or
Multiple information query services for having stopped executing are set as starting and execute;
Alternatively, setting all one or more information query services having determined that in pending information query service to
Stop executing, and has determined that pending one or more of information query service has stopped the information executing and inquired for all
Service is set as starting and executes.
Optionally, described device further include:
Dispatching and monitoring module, for, according to preset information query service queue scheduling rule, scheduling to execute institute described
After stating the information query service in information query service queue, the period is monitored with configuration scheduling, the information is executed to scheduling
Information query service in query service queue is monitored, and obtains dispatching and monitoring information;
Dispatching log module generates dispatching log for being based on the dispatching and monitoring information;
Warning module is dispatched, for alarming when the dispatching and monitoring information reaches preset scheduling early warning value, and will
The one or many sending methods of set information of dispatching and monitoring information are sent to setting monitoring management user.
Optionally, the scheduler module, is specifically used for:
It is rung when the response time of any information query service in the information query service queue is greater than or equal to setting
It when answering threshold value, abandons executing any information query service, and returns to the time-out response letter of any information query service
Breath;Wherein, the response time is current time, until adding any information query service to information query service team
Duration between the time of column;
Based on the overtime response message, the dispatching log of any information query service is generated.
Optionally, the scheduler module, is specifically used for:
Judge whether the execution duration for executing any information query service in the information query service queue is greater than to set
Surely threshold value is executed;
It is set if the execution duration for executing any information query service in the information query service queue is greater than or equal to
Surely threshold value is executed, then returns to the overtime execution information of any information query service, and based on the overtime execution information, it is raw
At the dispatching log of any information query service;
It is executed if the execution duration for executing any information query service in the information query service queue is less than setting
Threshold value then returns to the execution information of any information query service, and is based on the execution information, generates any information
The dispatching log of query service.
The present invention also provides a kind of information systems to configure equipment, and the information system configuration equipment includes processor and storage
Device;The processor is for executing the information system configurator stored in memory, to realize above-mentioned information system configuration
The step of method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or
The multiple programs of person, one or more of programs can be executed by one or more processor, to realize above-mentioned information system
The step of configuration method of uniting.
By adopting the above technical scheme, the present invention at least has the advantage that
A kind of information system configuration method, device, equipment and computer readable storage medium of the present invention, realize
When information system receives a large amount of information inquiring request, the efficiently and rapidly corresponding information inquiry of execution information inquiry request is taken
Business.
Detailed description of the invention
Fig. 1 is information system configuration method flow chart described in first embodiment of the invention;
Fig. 2 is information system configuration method flow chart described in second embodiment of the invention;
Fig. 3 is information system configuration method flow chart described in third embodiment of the invention;
Fig. 4 is information system configuration method flow chart described in fourth embodiment of the invention;
Fig. 5 is information system configuration method flow chart described in fifth embodiment of the invention;
Fig. 6 is information system configuration method flow chart described in the 6th to the 8th embodiment of the invention;
Fig. 7 is information system configuration device composed structure schematic diagram described in ninth embodiment of the invention;
Fig. 8 is information system configuration device composed structure schematic diagram described in tenth embodiment of the invention;
Fig. 9 is that information system described in eleventh embodiment of the invention configures equipment composition structural schematic diagram.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing
And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of information system configuration method, as shown in Figure 1, comprising the following specific steps
Step S101 configures system resource according to the quantity of the information inquiring request received.
In the present embodiment, system resource includes but is not limited to: CPU (Central Processing Unit, centre
Manage device) system resources such as resource and/or memory source;Wherein, cpu resource includes but is not limited to CPU quantity and/or core cpu
Quantity;Memory source includes but is not limited to amount of memory.
By the quantity according to the information inquiring request received, system resource is configured, has been effectively ensured and has connect
In the case where receiving a large amount of information inquiring request, effective allocating system resource, to guarantee the corresponding information of information inquiring request
The quickly and efficiently execution of query service.
Step S102, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
In the present embodiment, the mode classification of information query service includes but is not limited to according to believing below information query service
One or more in breath is classified: the type of information query service, and the priority and information of information query service inquire clothes
The information such as the response time of business.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority.
In the present embodiment, the response time of information query service is the maximum duration of response message query service;Work as letter
The response time for ceasing query service is more than when setting response lag, then to abandon executing the information query service.
For example, setting 43 for the preferential level of enforcement of high priority kernel service;By the excellent of middle priority kernel service
The degree of first carrying out is set as 42;41 are set by the preferential level of enforcement of low priority kernel service;High priority basis is taken
The preferential level of enforcement of business is set as 33;The preferential level of enforcement that middle priority basis is serviced is set as 32;By low priority
The preferential level of enforcement of infrastructure service is set as 31;According to the preferential level of enforcement of information query service, pending letter is determined
Cease query service.
Based on configured system resource, according to the preset classification of the corresponding information query service of information inquiring request, really
Fixed pending information query service, can effectively determine pending important information query service, abandon secondary information inquiry
Service effectively increases the fast execution efficiency of information query service and executes speed.
Step S103 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
In the present embodiment, based on the preset priority levels for having determined that pending information query service, information inquiry is generated
Service queue specifically includes:
From high to low based on the preset priority levels for having determined that pending information query service, information query service team is generated
Column;Wherein, the length of information query service queue is default queue value.
In the present embodiment, information query service queue scheduling rule, including following information query service queue scheduling side
One of formula or a variety of combinations:
Mode one is rung when the response time of any information query service in information query service queue is greater than or equal to setting
When answering threshold value, abandon executing any information query service, and return to the overtime response message of any information query service;Its
In, response time is current time, until addition any information query service between the time of information query service queue when
It is long;
Mode two, in the case that information query service has expired in information query service queue, when information query service team
When column receive information query service again, the information query service that priority is minimum in information query service queue is abandoned, and
According to the priority of the information query service received, the information query service received is inserted into the queue of information query service.
Based on the preset priority levels for having determined that pending information query service, the queue of information query service, and root are generated
According to preset information query service queue scheduling rule, the information query service in the queue of execution information query service is dispatched, it is real
Showed the queue of information query service efficiently and fast dispatch, effectively preventing bulk information query service leads to information query system
Caton, or even the defect of collapse.
Information system configuration method described in first embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Second embodiment of the invention, a kind of information system configuration method, as shown in Fig. 2, comprising the following specific steps
Step S201 configures system resource according to the quantity of the information inquiring request received.
Step S202 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
In the present embodiment, the setting system monitoring period is not specifically limited, can be set by setting monitoring management user
The system monitoring period is set, can also be tested according to limited times to obtain the system monitoring period of optimizer system monitoring resource;It can also
To obtain the system monitoring period of optimizer system monitoring resource according to limited times Computer Simulation.
Step S203 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
In the present embodiment, step S203 is specifically included: when system monitoring information reaches preset system early warning value, into
Row alarm, and one or many be sent to set information sending method of system monitoring information is set into monitoring management user, with
It is based on system monitoring information for setting monitoring management user system resource is monitored and/or is managed.
In the present embodiment, preset system early warning value is not specifically limited, it can be by setting monitoring management user setting
Preset system early warning value can also be tested according to limited times to obtain the preset system early warning value of optimizer system monitoring resource;?
The preset system early warning value of optimizer system monitoring resource can be obtained according to limited times Computer Simulation.
In the present embodiment, set information sending method, including one of following manner or a variety of combinations: Instant Messenger
The modes such as news software message (for example, wechat), short message, mail and phone.
In the present embodiment, system monitoring information repeatedly setting monitoring management is sent to set information sending method to use
Family mode includes but is not limited to:
System monitoring information is repeatedly sent to setting monitoring pipe to set sending cycle by set information sending method
Manage user.
By being monitored to configured system resource, and when system monitoring information reaches preset system early warning value,
It alarms, and one or many be sent to set information sending method of system monitoring information is set into monitoring management user,
Can effectively ensure that information query service efficiently and quick execution, effectively preventing system resource deficiency causes execution information to be inquired
The Caton of service, or even collapse.
Step S204, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
Step S205 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Information system configuration method described in second embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Third embodiment of the invention, a kind of information system configuration method, as shown in figure 3, comprising the following specific steps
Step S301 configures system resource according to the quantity of the information inquiring request received.
Step S302 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
Step S303 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S304, type, priority and/or response time based on information query service, to information query service into
Row classification.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Step S305, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
By the preset classification according to the corresponding information query service of information inquiring request, pending information inquiry is determined
Service, can be effectively ensured important information query service and preferentially execute in the case where limited system resources, secondary information inquiry
Serve future executes, and unessential information query service abandons executing, it is ensured that information query service execution efficiency and executes speed
Degree.
Step S306 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Information system configuration method described in third embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Fourth embodiment of the invention, a kind of information system configuration method, as shown in figure 4, comprising the following specific steps
Step S401 configures system resource according to the quantity of the information inquiring request received.
Step S402 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
Step S403 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S404, type, priority and/or response time based on information query service, to information query service into
Row classification.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Step S405, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
Step S406 is monitored the information query service for having determined that pending, obtains to set the service monitoring period
Service monitoring information.
In the present embodiment, the setting service monitoring period is not specifically limited, can be set by setting monitoring management user
The service monitoring period is set, can also be tested according to limited times to obtain the service monitoring period of optimal service monitoring;It can also root
According to limited times Computer Simulation to obtain the service monitoring period of optimal service monitoring.
Step S407 alarms when service monitoring information reaches preset service early warning value, and by service monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
In the present embodiment, step S407 is specifically included: when service monitoring information reaches preset service early warning value, into
Row alarm, and one or many be sent to set information sending method of service monitoring information is set into monitoring management user, with
Pending information query service is monitored and/or is managed based on service monitoring information for setting monitoring management user.
In the present embodiment, preset service early warning value is not specifically limited, it can be by setting monitoring management user setting
Early warning value is serviced, can also be tested according to limited times to obtain the service early warning value of optimal service monitoring;It can also be according to limited
Secondary Computer Simulation is to obtain the service early warning value of optimal service monitoring.
In the present embodiment, set information sending method, including one of following manner or a variety of combinations: Instant Messenger
The modes such as news software message (for example, wechat), short message, mail and phone.
In the present embodiment, service monitoring information repeatedly setting monitoring management is sent to set information sending method to use
Family mode includes but is not limited to:
Service monitoring information is repeatedly sent to setting monitoring pipe to set sending cycle by set information sending method
Manage user.
By to having determined that pending information query service is monitored, and when service monitoring information reaches preset service
It when early warning value, alarms, and one or many be sent to set information sending method of service monitoring information is set into monitoring
Manage user, can effectively ensure that information query service efficiently and quick execution.
Step S408 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Information system configuration method described in fourth embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Fifth embodiment of the invention, a kind of information system configuration method, as shown in figure 5, comprising the following specific steps
Step S501 configures system resource according to the quantity of the information inquiring request received.
Step S502 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
Step S503 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S504, type, priority and/or response time based on information query service, to information query service into
Row classification.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Step S505, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
Step S506 is monitored the information query service for having determined that pending, obtains to set the service monitoring period
Service monitoring information.
Step S507 alarms when service monitoring information reaches preset service early warning value, and by service monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S508, based on configured system resource, by all one had determined that in pending information query service
A or multiple information query services are set as stopping executing;Alternatively, being had determined that all wait hold based on configured system resource
The information query service that one or more of capable information query service has stopped executing is set as starting and executes;Alternatively, will
All one or more information query services having determined that in pending information query service are set as stopping executing, and by institute
There is the information query service for having determined that pending one or more of information query service has stopped executing to be set as starting
It executes.
By being set as stopping to the one or more information query services having determined that in pending information query service
It executes, it can be in the case where avoiding limited system resources, effectively avoiding executing excessive information query service leads to system card
Pause and even collapses;Simultaneously in the case where system resource is loose, by all one had determined that in pending information query service
A or multiple information query services for having stopped executing are set as starting and execute, it is ensured that information query service is orderly and quickly holds
Row.
Step S509 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Information system configuration method described in fifth embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Sixth embodiment of the invention, a kind of information system configuration method, as shown in fig. 6, comprising the following specific steps
Step S601 configures system resource according to the quantity of the information inquiring request received.
Step S602 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
Step S603 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S604, type, priority and/or response time based on information query service, to information query service into
Row classification.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Step S605, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
Step S606 is monitored the information query service for having determined that pending, obtains to set the service monitoring period
Service monitoring information.
Step S607 alarms when service monitoring information reaches preset service early warning value, and by service monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S608, based on configured system resource, by all one had determined that in pending information query service
A or multiple information query services are set as stopping executing;Alternatively, being had determined that all wait hold based on configured system resource
The information query service that one or more of capable information query service has stopped executing is set as starting and executes;Alternatively, will
All one or more information query services having determined that in pending information query service are set as stopping executing, and by institute
There is the information query service for having determined that pending one or more of information query service has stopped executing to be set as starting
It executes.
Step S609 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Step S610 monitors the period with configuration scheduling, inquires clothes to the information in scheduling execution information query service queue
Business is monitored, and obtains dispatching and monitoring information.
In the present embodiment, the configuration scheduling monitoring period is not specifically limited, can be set by setting monitoring management user
The dispatching and monitoring period is set, can also be tested according to limited times to obtain the dispatching and monitoring period of optimal scheduling monitoring;It can also root
According to limited times Computer Simulation to obtain the dispatching and monitoring period of optimal scheduling monitoring.
Step S611 is based on dispatching and monitoring information, generates dispatching log.
In the present embodiment, it is based on dispatching and monitoring information, the mode of dispatching log is generated, specifically includes: by dispatching and monitoring
Information is recorded to dispatching log.
Step S612 alarms when dispatching and monitoring information reaches preset scheduling early warning value, and by dispatching and monitoring information
One or many sending methods of set information are sent to setting monitoring management user.
In the present embodiment, step S612 is specifically included: when dispatching and monitoring information reaches preset scheduling early warning value, into
Row alarm, and the one or many sending methods of set information of dispatching and monitoring information are sent to setting monitoring management user, with
The information query service in information query service queue is monitored based on dispatching and monitoring information for setting monitoring management user
And/or management.
In the present embodiment, preset scheduling early warning value is not specifically limited, it can be by setting monitoring management user setting
Preset scheduling early warning value can also be tested according to limited times to obtain the scheduling early warning value of optimal scheduling monitoring;It can also basis
Limited times Computer Simulation is to obtain the scheduling early warning value of optimal scheduling monitoring.
In the present embodiment, set information sending method, including one of following manner or a variety of combinations: Instant Messenger
The modes such as news software message (for example, wechat), short message, mail and phone.
In the present embodiment, dispatching and monitoring information repeatedly setting monitoring management is sent to set information sending method to use
Family mode includes but is not limited to:
Dispatching and monitoring information is repeatedly sent to setting monitoring pipe to set sending cycle by set information sending method
Manage user.
By being monitored to scheduling monitoring information to the information query service in information query service queue, and when scheduling
It when monitoring information reaches preset scheduling early warning value, alarms, and sent out with set information by dispatching and monitoring information is one or many
It send mode to be sent to setting monitoring management user, can effectively ensure that the information query service in information query service queue is efficient
And quick execution.
Information system configuration method described in sixth embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Seventh embodiment of the invention, a kind of information system configuration method, as shown in fig. 6, comprising the following specific steps
Step S601 configures system resource according to the quantity of the information inquiring request received.
Step S602 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
Step S603 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S604, type, priority and/or response time based on information query service, to information query service into
Row classification.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Step S605, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
Step S606 is monitored the information query service for having determined that pending, obtains to set the service monitoring period
Service monitoring information.
Step S607 alarms when service monitoring information reaches preset service early warning value, and by service monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S608, based on configured system resource, by all one had determined that in pending information query service
A or multiple information query services are set as stopping executing;Alternatively, being had determined that all wait hold based on configured system resource
The information query service that one or more of capable information query service has stopped executing is set as starting and executes;Alternatively, will
All one or more information query services having determined that in pending information query service are set as stopping executing, and by institute
There is the information query service for having determined that pending one or more of information query service has stopped executing to be set as starting
It executes.
Step S609 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Wherein, it according to preset information query service queue scheduling rule, dispatches in the queue of execution information query service
The mode of information query service, including but not limited to:
When the response time of any information query service in information query service queue is greater than or equal to setting threshold of response
When value, abandon executing any information query service, and return to the overtime response message of any information query service;Wherein, it responds
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue;It is based on
Overtime response message generates the dispatching log of any information query service.
In the present embodiment, setting response lag is not specifically limited, is can be by setting monitoring management user setting
Response lag can also be tested according to limited times to obtain the response lag of optimal service response;It can also be according to limited times meter
The emulation of calculation machine is to obtain the response lag of optimal service response.
It abandons executing by the information query service to response timeout in information query service queue, is effective to ensure that letter
Cease query service efficiently and quick execution.
Step S610 monitors the period with configuration scheduling, inquires clothes to the information in scheduling execution information query service queue
Business is monitored, and obtains dispatching and monitoring information.
In the present embodiment, the configuration scheduling monitoring period is not specifically limited, can be set by setting monitoring management user
The dispatching and monitoring period is set, can also be tested according to limited times to obtain the dispatching and monitoring period of optimal scheduling monitoring;It can also root
According to limited times Computer Simulation to obtain the dispatching and monitoring period of optimal scheduling monitoring.
Step S611 is based on dispatching and monitoring information, generates dispatching log.
In the present embodiment, it is based on dispatching and monitoring information, the mode of dispatching log is generated, specifically includes: by dispatching and monitoring
Information is recorded to dispatching log.
Step S612 alarms when dispatching and monitoring information reaches preset scheduling early warning value, and by dispatching and monitoring information
One or many sending methods of set information are sent to setting monitoring management user.
Information system configuration method described in seventh embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Eighth embodiment of the invention, a kind of information system configuration method, as shown in fig. 6, comprising the following specific steps
Step S601 configures system resource according to the quantity of the information inquiring request received.
Step S602 is monitored configured system resource with setting the system monitoring period, obtains system monitoring letter
Breath.
Step S603 alarms when system monitoring information reaches preset system early warning value, and by system monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S604, type, priority and/or response time based on information query service, to information query service into
Row classification.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Step S605, based on configured system resource, according to the pre- of the corresponding information query service of information inquiring request
Classification is set, determines pending information query service.
Step S606 is monitored the information query service for having determined that pending, obtains to set the service monitoring period
Service monitoring information.
Step S607 alarms when service monitoring information reaches preset service early warning value, and by service monitoring information
It is one or many that setting monitoring management user is sent to set information sending method.
Step S608, based on configured system resource, by all one had determined that in pending information query service
A or multiple information query services are set as stopping executing;Alternatively, being had determined that all wait hold based on configured system resource
The information query service that one or more of capable information query service has stopped executing is set as starting and executes;Alternatively, will
All one or more information query services having determined that in pending information query service are set as stopping executing, and by institute
There is the information query service for having determined that pending one or more of information query service has stopped executing to be set as starting
It executes.
Step S609 generates information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, the information dispatched in the queue of execution information query service is looked into
Ask service.
Wherein, it according to preset information query service queue scheduling rule, dispatches in the queue of execution information query service
The mode of information query service, including one of following manner or a variety of combinations:
Mode one, when the response time of any information query service in information query service queue is greater than or equal to setting
When response lag, abandon executing any information query service, and return to the overtime response message of any information query service;Its
In, response time is current time, until addition any information query service between the time of information query service queue when
It is long;Based on overtime response message, the dispatching log of any information query service is generated;
Mode two, judges whether the execution duration of any information query service in execution information query service queue is greater than
Setting executes threshold value;It is set if the execution duration of any information query service in execution information query service queue is greater than or equal to
Surely threshold value is executed, then returns to the overtime execution information of any information query service, and based on overtime execution information, generates any letter
Cease the dispatching log of query service;If the execution duration of any information query service in execution information query service queue is less than
Setting executes threshold value, then returns to the execution information of any information query service, and be based on execution information, generates any information inquiry
The dispatching log of service.
It abandons executing by the information query service to response timeout in information query service queue and/or execution time-out,
Be effective to ensure that information query service efficiently and quick execution.
Step S610 monitors the period with configuration scheduling, inquires clothes to the information in scheduling execution information query service queue
Business is monitored, and obtains dispatching and monitoring information.
Step S611 is based on dispatching and monitoring information, generates dispatching log.
Step S612 alarms when dispatching and monitoring information reaches preset scheduling early warning value, and by dispatching and monitoring information
One or many sending methods of set information are sent to setting monitoring management user.
Information system configuration method described in eighth embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Ninth embodiment of the invention, a kind of information system configuration device, as shown in fig. 7, comprises consisting of part:
Configuration module 10 configures system resource for the quantity according to the information inquiring request received.
In the present embodiment, system resource includes but is not limited to: CPU (Central Processing Unit, centre
Manage device) system resources such as resource and/or memory source;Wherein, cpu resource includes but is not limited to CPU quantity and/or core cpu
Quantity;Memory source includes but is not limited to amount of memory.
By the quantity according to the information inquiring request received, system resource is configured, has been effectively ensured and has connect
In the case where receiving a large amount of information inquiring request, effective allocating system resource, to guarantee the corresponding information of information inquiring request
The quickly and efficiently execution of query service.
Determining module 20, is used for, based on configured system resource, according to the corresponding information inquiry clothes of information inquiring request
The preset classification of business, determines pending information query service.
In the present embodiment, the mode classification of information query service includes but is not limited to according to believing below information query service
One or more in breath is classified: the type of information query service, and the priority and information of information query service inquire clothes
The information such as the response time of business.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority.
In the present embodiment, the response time of information query service is the maximum duration of response message query service;Work as letter
The response time for ceasing query service is more than when setting response lag, then to abandon executing the information query service.
For example, setting 43 for the preferential level of enforcement of high priority kernel service;By the excellent of middle priority kernel service
The degree of first carrying out is set as 42;41 are set by the preferential level of enforcement of low priority kernel service;High priority basis is taken
The preferential level of enforcement of business is set as 33;The preferential level of enforcement that middle priority basis is serviced is set as 32;By low priority
The preferential level of enforcement of infrastructure service is set as 31;According to the preferential level of enforcement of information query service, pending letter is determined
Cease query service.
Based on configured system resource, according to the preset classification of the corresponding information query service of information inquiring request, really
Fixed pending information query service, can effectively determine pending important information query service, abandon secondary information inquiry
Service effectively increases the fast execution efficiency of information query service and executes speed.
Scheduler module 30, for generating information and looking into based on the preset priority levels for having determined that pending information query service
Service queue is ask, and according to preset information query service queue scheduling rule, is dispatched in the queue of execution information query service
Information query service.
In the present embodiment, based on the preset priority levels for having determined that pending information query service, information inquiry is generated
Service queue specifically includes:
From high to low based on the preset priority levels for having determined that pending information query service, information query service team is generated
Column;Wherein, the length of information query service queue is default queue value.
In the present embodiment, information query service queue scheduling rule, including following information query service queue scheduling side
One of formula or a variety of combinations:
Mode 1 is rung when the response time of any information query service in information query service queue is greater than or equal to setting
When answering threshold value, abandon executing any information query service, and return to the overtime response message of any information query service;Its
In, response time is current time, until addition any information query service between the time of information query service queue when
It is long;
Mode 2, in the case that information query service has expired in information query service queue, when information query service queue
When receiving information query service again, the information query service that priority is minimum in information query service queue, and root are abandoned
According to the priority of the information query service received, the information query service received is inserted into the queue of information query service.
Based on the preset priority levels for having determined that pending information query service, the queue of information query service, and root are generated
According to preset information query service queue scheduling rule, the information query service in the queue of execution information query service is dispatched, it is real
Showed the queue of information query service efficiently and fast dispatch, effectively preventing bulk information query service leads to information query system
Caton, or even the defect of collapse.
Information system configuration device described in ninth embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Tenth embodiment of the invention, a kind of information system configuration device, as shown in figure 8, including consisting of part:
Configuration module 100 configures system resource for the quantity according to the information inquiring request received.
System-monitoring module 101, for being monitored, obtaining to configured system resource to set the system monitoring period
To system monitoring information.
System early warning module 102, for alarming when system monitoring information reaches preset system early warning value, and will
System monitoring information is one or many to be sent to setting monitoring management user with set information sending method.
Categorization module 103 inquires information for type, priority and/or response time based on information query service
Service is classified.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Determining module 200, for being taken according to the corresponding information inquiry of information inquiring request based on configured system resource
The preset classification of business, determines pending information query service.
Wherein, the mode classification of information query service, including but not limited to:
Type, priority and/or response time based on information query service, classify to information query service.
Wherein, the type of information query service includes but is not limited to: kernel service, infrastructure service, value-added service and can abandon
The types such as service;The priority of information query service includes but is not limited to: high priority, middle priority and low priority;Response
Shi Changwei current time, until adding any information query service to the duration between the time of information query service queue.
Service monitoring module 201, for set the service monitoring period, to have determined that pending information query service into
Row monitoring, obtains service monitoring information.
Warning module 202 is serviced, for alarming when service monitoring information reaches preset service early warning value, and will
Service monitoring information is one or many to be sent to setting monitoring management user with set information sending method.
Start and stop module 203, for having determined that pending information query service for all based on configured system resource
In one or more information query services be set as stop execute;Alternatively, based on configured system resource, by it is all really
The information query service that fixed pending one or more of information query service has stopped executing is set as starting and executes;Or
All one or more information query services having determined that in pending information query service are set as stopping executing by person,
And have determined that pending one or more of information query service has stopped the information query service executed and has been arranged for all
It is executed for starting.
Scheduler module 300, for generating information and looking into based on the preset priority levels for having determined that pending information query service
Service queue is ask, and according to preset information query service queue scheduling rule, is dispatched in the queue of execution information query service
Information query service.
In the present embodiment, scheduler module 300 are specifically used for: when any information inquiry in information query service queue
When the response time of service is greater than or equal to setting response lag, abandon executing any information query service, and return to any letter
Cease the overtime response message of query service;Wherein, response time is current time, until adding any information query service to information
Duration between the time of query service queue;Based on overtime response message, the dispatching log of any information query service is generated;
In the present embodiment, scheduler module 300 are specifically used for: judging any letter in execution information query service queue
Whether the execution duration of breath query service, which is greater than setting, executes threshold value;If any information in execution information query service queue is looked into
The execution duration for asking service is greater than or equal to setting and executes threshold value, then returns to the overtime execution information of any information query service,
And based on overtime execution information, the dispatching log of any information query service is generated;If in execution information query service queue
The execution duration of any information query service is less than setting and executes threshold value, then returns to the execution information of any information query service,
And it is based on execution information, generate the dispatching log of any information query service.
It abandons executing by the information query service to response timeout in information query service queue and/or execution time-out,
Be effective to ensure that information query service efficiently and quick execution.
Dispatching and monitoring module 301, for monitoring the period with configuration scheduling, in scheduling execution information query service queue
Information query service is monitored, and obtains dispatching and monitoring information.
In the present embodiment, the configuration scheduling monitoring period is not specifically limited, can be set by setting monitoring management user
The dispatching and monitoring period is set, can also be tested according to limited times to obtain the dispatching and monitoring period of optimal scheduling monitoring;It can also root
According to limited times Computer Simulation to obtain the dispatching and monitoring period of optimal scheduling monitoring.
Dispatching log module 302 generates dispatching log for being based on dispatching and monitoring information.
Warning module 303 is dispatched, for alarming when dispatching and monitoring information reaches preset scheduling early warning value, and will
The one or many sending methods of set information of dispatching and monitoring information are sent to setting monitoring management user.
Information system configuration device described in tenth embodiment of the invention, realizes and receives a large amount of letter in information system
When ceasing inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Eleventh embodiment of the invention, a kind of information system configuration equipment, as shown in figure 9, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to
Cross bus or other way connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit,
CPU), it can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), or be arranged to implement the embodiment of the present invention
One or more integrated circuits.Wherein, memory 502 is used for the executable instruction of storage processor 501;
Memory 502 is transferred to processor 501 for storing program code, and by the program code.Memory 502 can
To include volatile memory (Volatile Memory), such as random access memory (Random Access Memory,
RAM);Memory 502 also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory
(Read-Only Memory, ROM), flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid
State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, the program code management code that processor 501 is used to that memory 502 to be called to store executes the present invention first
Embodiment into eighth embodiment of the invention in any embodiment part or Overall Steps.
Information system described in eleventh embodiment of the invention configures equipment, realizes and receives largely in information system
When information inquiring request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
Twelveth embodiment of the invention, a kind of computer readable storage medium.
Computer storage medium can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storage
Device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art storage medium.
Computer-readable recording medium storage has one or more program, one or more program can by one or
The multiple processors of person execute, with realize first embodiment of the invention into eighth embodiment of the invention in any embodiment part or
Overall Steps.
Computer readable storage medium described in twelveth embodiment of the invention is stored with one or more program, should
One or more program can be executed by one or more processor, be can be realized and received a large amount of information in information system
When inquiry request, the efficiently and rapidly corresponding information query service of execution information inquiry request.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (18)
1. a kind of information system configuration method characterized by comprising
According to the quantity of the information inquiring request received, system resource is configured;
Based on configured system resource, according to the preset classification of the corresponding information query service of the information inquiring request, really
Fixed pending information query service;
Based on the preset priority levels for having determined that pending information query service, the queue of information query service is generated, and according to pre-
The information query service queue scheduling rule set, scheduling execute the information query service in the information query service queue.
2. the method according to claim 1, wherein the number of the information inquiring request received in the basis
Amount, after being configured to system resource, the method also includes:
To set the system monitoring period, configured system resource is monitored, obtains system monitoring information;
It when the system monitoring information reaches preset system early warning value, alarms, and the system monitoring information is primary
Or setting monitoring management user is repeatedly sent to set information sending method.
3. the method according to claim 1, wherein described based on configured system resource, according to described
The preset classification of the corresponding information query service of information inquiring request, before determining pending information query service, the side
Method further include:
Based on type, priority and/or the response time of the information query service, the information query service is divided
Class.
4. the method according to claim 1, wherein described based on configured system resource, according to described
The preset classification of the corresponding information query service of information inquiring request, after determining pending information query service, the side
Method further include:
To set the service monitoring period, the information query service for having determined that pending is monitored, service monitoring information is obtained;
It when the service monitoring information reaches preset service early warning value, alarms, and the service monitoring information is primary
Or setting monitoring management user is repeatedly sent to set information sending method.
5. according to the method described in claim 4, it is characterized in that, described when the service monitoring information reaches preset service
When early warning value, after being alarmed, the method also includes:
Based on configured system resource, have determined that one or more information in pending information query service are looked into for all
The service of inquiry is set as stopping executing;
Alternatively, having determined that pending one or more of information query service for all based on configured system resource
The information query service for having stopped executing is set as starting and executes;
Alternatively, all one or more information query services having determined that in pending information query service are set as stopping
Execute, and by it is all have determined that pending one or more of information query service stopped execute information query services
Starting is set as to execute.
6. the method according to claim 1, wherein described according to preset information query service queue scheduling
Rule, after scheduling executes the information query service in the information query service queue, the method also includes:
The period is monitored with configuration scheduling, the information query service in the information query service queue is executed to scheduling and is supervised
Control, obtains dispatching and monitoring information;
Based on the dispatching and monitoring information, dispatching log is generated;
It when the dispatching and monitoring information reaches preset scheduling early warning value, alarms, and the dispatching and monitoring information is primary
Or repeatedly set information sending method has been sent to setting monitoring management user.
7. the method according to claim 1, wherein described advise according to preset information query service queue scheduling
Then, scheduling executes the information query service in the information query service queue, comprising:
When the response time of any information query service in the information query service queue is greater than or equal to setting threshold of response
When value, abandon executing any information query service, and return to the overtime response message of any information query service;Its
In, the response time is current time, until adding any information query service to the information query service queue
Duration between time;
Based on the overtime response message, the dispatching log of any information query service is generated.
8. the method according to claim 1, wherein described advise according to preset information query service queue scheduling
Then, scheduling executes the information query service in the information query service queue, comprising:
Judge whether the execution duration for executing any information query service in the information query service queue is greater than setting and holds
Row threshold value;
It is held if the execution duration for executing any information query service in the information query service queue is greater than or equal to setting
Row threshold value then returns to the overtime execution information of any information query service, and based on the overtime execution information, generates institute
State the dispatching log of any information query service;
If the execution duration for executing any information query service in the information query service queue, which is less than setting, executes threshold value,
The execution information of any information query service is then returned, and is based on the execution information, generates any information inquiry
The dispatching log of service.
9. a kind of information system configuration device characterized by comprising
Configuration module configures system resource for the quantity according to the information inquiring request received;
Determining module, for based on configured system resource, according to the corresponding information query service of the information inquiring request
Preset classification, determine pending information query service;
Scheduler module, for generating information query service based on the preset priority levels for having determined that pending information query service
Queue, and according to preset information query service queue scheduling rule, scheduling executes the letter in the information query service queue
Cease query service.
10. device according to claim 9, which is characterized in that described device further include:
System-monitoring module, the quantity of the information inquiring request for receiving in the basis, configures system resource
Later, to set the system monitoring period, configured system resource is monitored, obtains system monitoring information;
System early warning module, for alarming when the system monitoring information reaches preset system early warning value, and will be described
System monitoring information is one or many to be sent to setting monitoring management user with set information sending method.
11. device according to claim 9, which is characterized in that described device further include:
Categorization module, for, based on configured system resource, being looked into according to the corresponding information of the information inquiring request described
The preset classification for asking service, it is type based on the information query service, preferential before determining pending information query service
Grade and/or response time, classify to the information query service.
12. device according to claim 9, which is characterized in that described device further include:
Service monitoring module, for described based on configured system resource, according to the corresponding letter of the information inquiring request
The preset classification for ceasing query service, after determining pending information query service, to set the service monitoring period, to having determined that
Pending information query service is monitored, and obtains service monitoring information;
Warning module is serviced, for alarming when the service monitoring information reaches preset service early warning value, and will be described
Service monitoring information is one or many to be sent to setting monitoring management user with set information sending method.
13. device according to claim 9, which is characterized in that described device further include:
Start and stop module, for described when the service monitoring information reaches preset service early warning value, after being alarmed, base
In configured system resource, by all one or more information query services having determined that in pending information query service
It is set as stopping executing;
Alternatively, having determined that pending one or more of information query service for all based on configured system resource
The information query service for having stopped executing is set as starting and executes;
Alternatively, all one or more information query services having determined that in pending information query service are set as stopping
Execute, and by it is all have determined that pending one or more of information query service stopped execute information query services
Starting is set as to execute.
14. device according to claim 9, which is characterized in that described device further include:
Dispatching and monitoring module, for, according to preset information query service queue scheduling rule, scheduling to execute the letter described
After ceasing the information query service in query service queue, the period is monitored with configuration scheduling, the information is executed to scheduling and is inquired
Information query service in service queue is monitored, and obtains dispatching and monitoring information;
Dispatching log module generates dispatching log for being based on the dispatching and monitoring information;
Warning module is dispatched, for alarming when the dispatching and monitoring information reaches preset scheduling early warning value, and will be described
The one or many sending methods of set information of dispatching and monitoring information are sent to setting monitoring management user.
15. device according to claim 9, which is characterized in that the scheduler module is specifically used for:
When the response time of any information query service in the information query service queue is greater than or equal to setting threshold of response
When value, abandon executing any information query service, and return to the overtime response message of any information query service;Its
In, the response time is current time, until adding any information query service to the information query service queue
Duration between time;
Based on the overtime response message, the dispatching log of any information query service is generated.
16. device according to claim 9, which is characterized in that the scheduler module is specifically used for:
Judge whether the execution duration for executing any information query service in the information query service queue is greater than setting and holds
Row threshold value;
It is held if the execution duration for executing any information query service in the information query service queue is greater than or equal to setting
Row threshold value then returns to the overtime execution information of any information query service, and based on the overtime execution information, generates institute
State the dispatching log of any information query service;
If the execution duration for executing any information query service in the information query service queue, which is less than setting, executes threshold value,
The execution information of any information query service is then returned, and is based on the execution information, generates any information inquiry
The dispatching log of service.
17. a kind of information system configures equipment, which is characterized in that the information system configuration equipment includes processor and storage
Device;The processor is for executing the information system configurator stored in memory, to realize according to claim 1~8
The step of described in any item information system configuration methods.
18. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, with realize according to claim 1~
Described in any one of 8 the step of information system configuration method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810902080.8A CN109144694A (en) | 2018-08-09 | 2018-08-09 | Information system configuration method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810902080.8A CN109144694A (en) | 2018-08-09 | 2018-08-09 | Information system configuration method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109144694A true CN109144694A (en) | 2019-01-04 |
Family
ID=64792525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810902080.8A Pending CN109144694A (en) | 2018-08-09 | 2018-08-09 | Information system configuration method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109144694A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489447A (en) * | 2019-07-16 | 2019-11-22 | 招联消费金融有限公司 | Data query method, apparatus, computer equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635678A (en) * | 2009-06-15 | 2010-01-27 | 中兴通讯股份有限公司 | Method and system for controlling P2P terminal flow |
CN106326003A (en) * | 2016-08-11 | 2017-01-11 | 中国科学院重庆绿色智能技术研究院 | Operation scheduling and computing resource allocation method |
CN107391268A (en) * | 2016-05-17 | 2017-11-24 | 阿里巴巴集团控股有限公司 | service request processing method and device |
CN107391243A (en) * | 2017-06-30 | 2017-11-24 | 广东神马搜索科技有限公司 | Thread task processing equipment, device and method |
CN107423918A (en) * | 2017-08-16 | 2017-12-01 | 广州环球梦电子商务股份有限公司 | One kind is borrowed and sells platform commodity method for scheduling task and system |
CN107590002A (en) * | 2017-09-15 | 2018-01-16 | 东软集团股份有限公司 | Method for allocating tasks, device, storage medium, equipment and distributed task scheduling system |
CN107741882A (en) * | 2017-11-22 | 2018-02-27 | 阿里巴巴集团控股有限公司 | The method and device and electronic equipment of distribution task |
CN107766144A (en) * | 2016-08-17 | 2018-03-06 | 中兴通讯股份有限公司 | A kind of method for scheduling task, apparatus and system |
CN107943854A (en) * | 2017-11-03 | 2018-04-20 | 深圳前海微众银行股份有限公司 | Reference service inquiry method, apparatus and computer-readable recording medium |
-
2018
- 2018-08-09 CN CN201810902080.8A patent/CN109144694A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635678A (en) * | 2009-06-15 | 2010-01-27 | 中兴通讯股份有限公司 | Method and system for controlling P2P terminal flow |
CN107391268A (en) * | 2016-05-17 | 2017-11-24 | 阿里巴巴集团控股有限公司 | service request processing method and device |
CN106326003A (en) * | 2016-08-11 | 2017-01-11 | 中国科学院重庆绿色智能技术研究院 | Operation scheduling and computing resource allocation method |
CN107766144A (en) * | 2016-08-17 | 2018-03-06 | 中兴通讯股份有限公司 | A kind of method for scheduling task, apparatus and system |
CN107391243A (en) * | 2017-06-30 | 2017-11-24 | 广东神马搜索科技有限公司 | Thread task processing equipment, device and method |
CN107423918A (en) * | 2017-08-16 | 2017-12-01 | 广州环球梦电子商务股份有限公司 | One kind is borrowed and sells platform commodity method for scheduling task and system |
CN107590002A (en) * | 2017-09-15 | 2018-01-16 | 东软集团股份有限公司 | Method for allocating tasks, device, storage medium, equipment and distributed task scheduling system |
CN107943854A (en) * | 2017-11-03 | 2018-04-20 | 深圳前海微众银行股份有限公司 | Reference service inquiry method, apparatus and computer-readable recording medium |
CN107741882A (en) * | 2017-11-22 | 2018-02-27 | 阿里巴巴集团控股有限公司 | The method and device and electronic equipment of distribution task |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489447A (en) * | 2019-07-16 | 2019-11-22 | 招联消费金融有限公司 | Data query method, apparatus, computer equipment and storage medium |
CN110489447B (en) * | 2019-07-16 | 2022-05-27 | 招联消费金融有限公司 | Data query method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3349397B1 (en) | Scaling out method, device and system | |
CN109634730B (en) | Task scheduling method, device, computer equipment and storage medium | |
CN110659123B (en) | Distributed task distribution scheduling method and device based on message | |
US11922213B2 (en) | Techniques for behavioral pairing in a task assignment system | |
CN109766172B (en) | Asynchronous task scheduling method and device | |
US10305974B2 (en) | Ranking system | |
CN109617750A (en) | A kind of service method for early warning and gateway | |
CN109144694A (en) | Information system configuration method, device, equipment and computer readable storage medium | |
CN110072199B (en) | Method and system for monitoring short message sending abnormity | |
CN111835797A (en) | Data processing method, device and equipment | |
CN111949421B (en) | SDK calling method, device, electronic equipment and computer readable storage medium | |
JP2020072446A (en) | Monitoring and maintenance method, monitoring and maintenance device, and monitoring and maintenance program | |
CN112748990A (en) | Quartz-based data quality task execution method and device and computer equipment | |
CN108156086B (en) | Policy rule issuing method and device | |
CN110968420A (en) | Scheduling method and device for multi-crawler platform, storage medium and processor | |
CN109495544A (en) | A kind of message data treating method and apparatus and computer equipment | |
CN109286610A (en) | Service blocking apparatus, method, equipment and storage medium | |
CN105607953B (en) | The method and device of process recovery processing is carried out in the application | |
CN112988405B (en) | Automatic degradation method and device for micro-service and computing equipment | |
CN104956328B (en) | One kind can reentry resource regulating method, equipment and system | |
CN110012053B (en) | System calling method, device and equipment under SOA system architecture and SOA system architecture | |
CN110895464B (en) | Application deployment method, device and system | |
CN108572870B (en) | Data acquisition method, device, electronic equipment, storage medium and system | |
CN117271277A (en) | Alarming method, device, equipment and storage medium for abnormal service | |
CN107770038B (en) | Message sending method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |
|
RJ01 | Rejection of invention patent application after publication |