CN109582530A - System control method, device, computer and computer readable storage medium - Google Patents
System control method, device, computer and computer readable storage medium Download PDFInfo
- Publication number
- CN109582530A CN109582530A CN201811162029.4A CN201811162029A CN109582530A CN 109582530 A CN109582530 A CN 109582530A CN 201811162029 A CN201811162029 A CN 201811162029A CN 109582530 A CN109582530 A CN 109582530A
- Authority
- CN
- China
- Prior art keywords
- operating status
- service
- server system
- association
- service processes
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
Abstract
The present invention provides a kind of system control method, device, computer and computer readable storage medium, the system data monitoring being related in computer field.System control method of the invention is applied to server system, comprising: obtains the operating status and system time of the server system;If do not include in the operation process list of the server system with the associated association process of the operating status, and the system time with the associated preset time range of the operating status in, then start the association process in the server system.The present invention can be conducive to the service requirement for meeting server system by starting service processes in time.
Description
Technical field
The present invention relates to the monitoring of the system data of computer field more particularly to a kind of system control method, device, calculating
Machine and computer readable storage medium.
Background technique
This part intends to provides background for the embodiments of the present invention stated in claims and specific embodiment
Or context.Description herein recognizes it is the prior art not because not being included in this section.
Server would generally run more service processes, but under the action of certain influence factors, may cause to service
It is searched in device less than accidental situations such as certain service processes, in this case, it may be necessary to which control personnel carry out manually restarting clothes
Business device restarts corresponding service processes, and treatment effeciency is lower, and the timeliness of the more difficult normal operation for meeting recovery server
It is required that.
Summary of the invention
In consideration of it, it is necessary to provide a kind of system control method, device, computer and computer readable storage medium, with
Conducive to the service requirement for meeting server system by starting service processes in time.
First aspect present invention provides a kind of system control method, is applied to server system, which comprises
Obtain the operating status and system time of the server system, wherein the operating status is according to service frequency
Service request state set by rate demand;
If do not include in the operation process list of the server system with the associated association process of the operating status, and
The system time with the associated preset time range of the operating status in, then in the server system starting described in
Association process;The association process includes at least a service processes with the operating status with preset association relationship.
Preferably, the method also includes:
Obtain interim process list of schedules;
If in the operation process list not including service processes in the interim process list of schedules, and the system
The system time meets the time conditions in the interim process list of schedules, then judges the service in the interim process list of schedules
Whether process conflicts with the association process;
If the service processes in the interim process list of schedules do not conflict with the association process, in the server
Start the service processes in the association process and the interim process list of schedules in system.
Preferably, after starting the association process in the service system, the method also includes:
If receiving manual operation process instruction, the manual operation process instruction is directed toward in the association process
Service processes carry out priority judgement;
If it includes precedence information, root that the manual operation process instruction, which is directed toward the service processes in the association process,
The service processes in the association process are directed toward to the manual operation process instruction according to the precedence information and carry out priority
Adjustment.
Preferably, the progress priority of the service processes in the association process is being directed toward to the manual operation process instruction
Before judgement, the method also includes:
The processor load situation of the server system is detected using preset function;
If the numerical value of the preset function output is greater than preset threshold, according to the precedence information to the artificial behaviour
The service processes in the association process, which are directed toward, as process instruction carries out priority adjustment.
Preferably, the method also includes:
If the numerical value of the preset function output is greater than preset threshold, exports the excessive information of characterization processor load and mention
Show.
Preferably, when the operating status is low frequency service request state, the method also includes:
The handle usage amount for restarting the service processes after the association process is monitored;
If the handle usage amount is more than default usage amount, exports and execute service disconnection pointed by the association process
Indicating risk.
Preferably, before the operating status and system time for obtaining the server system, the method also includes:
Synchronization is updated to the system time using default time service link.
Second aspect of the present invention provides a kind of system control device, is applied to server system, and described device includes:
Module is obtained, for obtaining the operating status and system time of the server system, wherein the operating status
For according to service request state set by service frequency demand;
Starting module, for not including being associated with the operating status in the operation process list of the server system
Association process, and the system time with the associated preset time range of the operating status in when, in the server
Start the association process in system;The association process, which includes at least one, has preset association relationship with the operating status
Service processes.
Third aspect present invention provides a kind of computer, and the computer includes processor and memory, the processor
The step of system control method as described above is realized when for executing the computer program stored in memory.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the meter
The step of calculation machine program or instruction realize system control method as described above when being executed by processor.
System control method, device, computer and computer readable storage medium provided by the invention are serviced by obtaining
Device system running state and system time, with the service processes in the operation process list to server system carry out analysis and it is right
The system time judged, and do not include in the operation process list it is associated with the operating status be associated with into
When journey, the system time are in preset time range associated with the operating status, that is, start the server system
In association process, thus can rapidly realize the starting to association process in server system, be conducive to by time starting clothes
Business process meets the service requirement of server system, reduces server system abnormal time, improves information security.It is same with this
When, since the association process restarted is associated with the current operating status of the server system, start in time it is described be associated with into
Journey also helps the server system and meets and/or adapt to specific run requirement under current running status, and then realizes
Corresponding function.
Further, using the present invention, by obtaining the operating status and system time of server system, in the service
Do not include in the operation process list of device system with the associated association process of the operating status, and the system time with institute
When stating in the associated preset time range of operating status, interim process list of schedules is further obtained.It is described interim by judging
Service processes in schedule list whether there is with the association process to conflict, and in the interim process list of schedules
Service processes when not conflicting with the association process, start the service processes in the interim process list of schedules and the pass
Connection process.As a result, in the base rapidly realized to the starting of association process in server system that first embodiment can be achieved
On plinth, can also be conducive to the interim process list of schedules in service processes execution, while reduce because execute it is described temporarily into
Service processes in journey list of schedules cause the waste and information security hidden danger of resource in the presence of conflicting with the execution association process.
Further, using the present invention, when receiving the instruction of manual operation process, the manual operation process is carried out
The priority judgement for the service processes being directed toward is instructed, and the service processes being directed toward in the manual operation process instruction include preferential
When grade information, priority adjustment is carried out according to the precedence information service processes current to the server system, thus
The achievable allotment demand for manually rapidly being controlled corresponding association process and being met respective associated process.
Detailed description of the invention
It, below will be to required in embodiment description in order to illustrate more clearly of the technical solution of embodiment of the present invention
The attached drawing used is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is the flow chart of the system control method of first embodiment of the invention;
Fig. 2 is the flow chart of the system control method of second embodiment of the invention;
Fig. 3 is the flow chart of the system control method of third embodiment of the invention;
Fig. 4 is the illustrative functional block diagram of the system control device of an embodiment of the present invention;
Fig. 5 is the illustrative structural schematic diagram of the computer of an embodiment of the present invention.
Main element symbol description
Computer | 1 |
Processor | 10 |
Memory | 20 |
System control device | 100 |
Obtain module | 11 |
Starting module | 12 |
Judgment module | 13 |
Adjust module | 14 |
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention will be described in detail.It should be noted that in the absence of conflict, presently filed embodiment and reality
The feature applied in mode can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, described embodiment
Only some embodiments of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this field
Those of ordinary skill's every other embodiment obtained without making creative work, belongs to guarantor of the present invention
The range of shield.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Fig. 1 is the flow chart of the system control method of first embodiment of the invention.It should be noted that embodiment party of the present invention
The system control method of formula is not limited to step and sequence in flow chart shown in FIG. 1.Shown according to different requirements,
Step in flow chart can increase, remove or change sequence.
The system control method of present embodiment can be applied to server system, and the server system may include multiple clothes
The set of business device, can also be individual server.The system control method of present embodiment be applied to the server system when,
Relatively immediately the service processes for meeting specific purpose or realization specific function in server can be started.
As shown in Figure 1, the system control method of present embodiment may include following steps:
Step 101: obtaining the operating status and system time of the server system, wherein the operating status be according to
According to service request state set by service frequency demand.
In present embodiment, the operating status is that server system associated with the system time, described is full
Foot and/or the functional status for adapting to specific run requirement.As in one embodiment, the operating status may include low frequency
Service request state and non-low frequency service request state, wherein the low frequency service request state can be used to adapt to service
Device is requested the service requirement of frequency lower period, and the non-low frequency service request state then can be used to adaptation server quilt
The service requirement of request frequency relatively high period.
It is understood that the server system under different operating statuses, can pass through the operation of server system
Characterization process in process list realizes that the server system is currently located the instruction of operating status.
It is understood that the server system, under different operating statuses, performed service processes have not
Together.Such as under the low frequency service request state, performed service processes do not include performance monitoring process etc..
In present embodiment, when obtaining the system time or before obtaining the system time, awarded using default
When link synchronization is updated to the system time so that the system time is relatively accurate.
Step 102: if not including in the operation process list of the server system and the associated pass of the operating status
Connection process, and the system time with the associated preset time range of the operating status in, then in the server system
The middle starting association process;The association process includes at least a clothes with the operating status with preset association relationship
Business process.
In present embodiment, the operation process list obtains the currently running institute of the server system for basis in real time
There is information list constructed by process.
In present embodiment, the corresponding association process, which includes at least one, has default be associated with the operating status
The service processes of system: each operating status all has and meets and/or adapt to the opposite of specific run requirement needed for operating status
The service processes answered, and after obtaining the current operating status of the server, it is special with satisfaction needed for operating status and/or adaptation
The corresponding service processes for determining service requirement determine relatively, thus service processes corresponding with current operating conditions are described
Association process.
In present embodiment, the operating status is associated with system time, namely under specific system time, described
Server system corresponds to specific operating status.In present embodiment, meet fortune in the operating status of the server system
Under the conditions of row, the service processes in the operation process list of the server system are analyzed.At the same time, in the clothes
Whether the system time of business device system meets under time conditions, judge the current system time of the server system when default
Between in range.In the operation process list do not include with the associated association process of the operating status, and when the system
Between with the associated preset time range of the operating status in when, just start association process.
It is understood that when the preset time range may include the system time and the associated operating status
Between it is completely corresponding, also can be in the within a certain error range with the operating status associated time.
In present embodiment, by obtaining server system operation state and system time, with the fortune to server system
Service processes in row process list carry out analysis and judge the system time, and in the operation process list
Not comprising association process associated with the operating status, the system time associated with the operating status default
When in time range, that is, start the association process in the server system, thus can rapidly realize in server system
The starting of association process reduces server system conducive to the service requirement for meeting server system by starting service processes in time
System abnormal time, improves information security.At the same time, the association process and the current fortune of the server system due to restarting
Row state is associated, starts the association process in time and also helps the server system and meets under current running status
And/or specific run requirement is adapted to, and then realize corresponding function.
It, can also be to restarting the association when the operating status is low frequency service request state in present embodiment
The handle usage amount of service processes after process is monitored, if the handle usage amount is more than default usage amount, export
Business disruption risk prompt is led because of handle using excessive to remind control personnel to perform corresponding processing in time in time with reducing
The probability for causing service disconnection situation pointed by the association process to occur.
In present embodiment, under a concrete application example, the operating status of the server system includes low frequency service
Solicited status and non-low frequency service request state, wherein the preset time model with the low frequency service request state relation
It encloses for morning 0100 to morning 0530.Thus, when the system time of the server system is 201806100300, can recognize
For the server system system time in preset time range, thus, the server system operation process arrange
When not including the association process with low frequency service request state relation in table, i.e., start in the server system corresponding
Association process.
Fig. 2 is the flow chart of the system control method of second embodiment of the invention, the second embodiment and the
The main distinction of one embodiment is that second embodiment includes the step of obtaining interim process list of schedules.It needs
Bright, in the range of spirit or essential attributes of the invention, each concrete scheme suitable for first embodiment can also
With suitable for second embodiment, for the sake of saving space and avoiding repetition, details are not described herein again accordingly.
System control method as shown in Figure 2, applies equally in server system.As shown in Fig. 2, the system control
Method may include steps of:
Step 201: obtaining the operating status and system time of the server system, wherein the operating status be according to
According to service request state set by service frequency demand.
Step 202: if not including in the operation process list of the server system and the associated pass of the operating status
Connection process, and the system time with the associated preset time range of the operating status in, obtain interim process plan column
Table;The association process includes at least a service processes with the operating status with preset association relationship.
In present embodiment, the interim process list of schedules can be service described in control personnel maintenance or interim pre-control
It is being temporarily arranged, not comprising the service processes deploying list with the associated association process of the operating status when device system.
Step 203: if in the operation service list not including the service processes in the interim process list of schedules,
And the system time meets the time conditions in the interim process list of schedules, then judges the interim process list of schedules
In service processes whether conflict with the association process.
In present embodiment, service processes in the interim process list of schedules for stop the association process or
When opposite with the association process realization of functions is executed function, i.e., it is believed that service in the interim process list of schedules
Process conflicts with the association process.
It is understood that may include multiple service processes in the interim process list of schedules, and the operation process
It can equally include multiple service processes in list.
In present embodiment, in the starting of the system time and the service processes in the interim process list of schedules
Between it is consistent or when in the time range of operation, i.e., described practical that of system meets the time in the interim process list of schedules
Condition.
Step 204: if the service processes in the interim process list of schedules do not conflict with the association process, in institute
State the service processes started in the association process and the interim process list of schedules in server system.
In present embodiment, by obtaining the operating status and system time of server system, in the server system
Operation process list in do not include with the associated association process of the operating status, and the system time with the operation
When in the preset time range of state relation, interim process list of schedules is further obtained.By judging the interim process meter
It draws service processes and the association process in list and whether there is and conflict, and the service in the interim process list of schedules
When process does not conflict with the association process, start service processes in the interim process list of schedules and it is described be associated with into
Journey.As a result, in achievable on the basis of rapidly realization to the starting of association process in server system of first embodiment,
The execution of the service processes in the interim process list of schedules can be also conducive to, while being reduced because executing the interim process plan
Service processes in list cause the waste and information security hidden danger of resource in the presence of conflicting with the execution association process.
In present embodiment, each service processes in the interim process list of schedules with it is corresponding it is described be associated with into
When journey conflicts, the service processes in the interim process list of schedules conflict with the association, at this point, then can be according to described interim
Service processes in schedule list do not start association process, and start the service in the interim process list of schedules into
Journey, to realize interim function pointed by the service processes in the interim process list of schedules.
Conflict it is understood that there are partial service processes in the interim process list of schedules with association process
When, then can not start the association process of conflict, start service processes in the Contingency plans list and not with it is described temporarily into
The association process of service processes conflict in journey list of schedules.
Fig. 3 is the flow chart of the system control method of third embodiment of the invention, and the third embodiment is with before
The main distinction for stating embodiment is, third embodiment include the service processes that are directed toward to manual operation process instruction into
The step of row major grade judges.It should be noted that in the range of spirit or essential attributes of the invention, be suitable for first,
Each concrete scheme in second embodiment can also be accordingly suitable for third embodiment, to save space and avoiding weight
For the sake of multiple, details are not described herein again.
System control method as shown in Figure 3, applies equally in server system.As shown in figure 3, the system control
Method may include steps of:
Step 301: obtaining the operating status and system time of the server system, wherein the operating status be according to
According to service request state set by service frequency demand.
Step 302: if not including in the operation process list of the server system and the associated pass of the operating status
Connection process, and the system time with the associated preset time range of the operating status in, then in the server system
The middle starting association process;The association process includes at least a clothes with the operating status with preset association relationship
Business process.
Step 303: if receiving manual operation process instruction, the association being directed toward to the manual operation process instruction
Service processes in process carry out priority judgement.
Step 304: if it includes priority that the manual operation process instruction, which is directed toward the service processes in the association process,
Information, then according to the precedence information to the manual operation process instruction be directed toward the service processes in the association process into
The adjustment of row major grade.
In present embodiment, can on the basis of first embodiment, and when receiving the instruction of manual operation process,
The priority judgement for the service processes that the manual operation process instruction is directed toward is carried out, and is referred in the manual operation process instruction
To service processes include precedence information when, according to the precedence information service processes current to the server system
Carry out priority adjustment, thus can realize manually corresponding association process is rapidly controlled and is met respective associated into
The allotment demand of journey.
In present embodiment, carried out being directed toward the service processes in the association process to the manual operation process instruction
Before priority judgement, the processor load situation of the server system is also detected using preset function, if described default
The numerical value of function output is greater than preset threshold, then according to the precedence information to described in manual operation process instruction direction
Service processes in association process carry out priority adjustment.It is achieved in the processor load situation according to the server system
The priority adjustment for carrying out corresponding process can be conducive to rationally utilize the server system resources.
It is understood that the preset function can be that GetSysCPU function can be recognized if the numerical value of output is greater than 90
It is excessive for current processor load, then the association is directed toward to the manual operation process instruction according to the precedence information
Service processes in process carry out priority adjustment.
It is understood that when the numerical value of preset function output is greater than preset threshold, also exportable characterization processing
The information alert of device load excessive.
Fig. 4 is the illustrative functional block diagram of the system control device of an embodiment of the present invention.As shown in figure 4, being
System control device 100 can be used for by obtaining server system operation state and system time, with the operation to server system
Service processes in process list carry out analysis and judge the system time, and in the operation process list not
Comprising association process associated with the operating status, the system time when associated with the operating status default
Between in range when, that is, start the association process in the server system, thus can rapidly realize and be closed in server system
The starting of connection process reduces server system conducive to the service requirement for meeting server system by starting service processes in time
Abnormal time improves information security.At the same time, the association process and the current operation of the server system due to restarting
State is associated, starts the association process in time and also helps the server system and meets under current running status
And/or specific run requirement is adapted to, and then realize corresponding function.
System control device 100 of the invention may include one or more modules, and one or more of modules can be with
Be stored in the memory of computer and may be configured to by one or more processors (present embodiment be one processing
Device) it executes, to complete the present invention.For example, as shown in figure 4, the system control device 100 may include obtaining module 11, opening
Dynamic model block 12, judgment module 13 and adjustment module 14.The so-called module of the present invention can be the program segment for completing a specific function,
Implementation procedure than program more suitable for description software in the processor.
It should be noted that each embodiment of corresponding above system control method, system control device 100 may include
Part or all in each functional module shown in Fig. 4, the function of each module will introduced in detail below.System above control
Identical noun related terms and its specific explanation are readily applicable to following to each in each embodiment of method processed
The function introduction of module.For the sake of saving space and avoiding repetition, details are not described herein again.
Fig. 5 is the illustrative structural schematic diagram of the computer of an embodiment of the present invention.Calculating provided in this embodiment
Machine 1 includes: processor 10, memory 20 and is stored in the meter that can be run in the memory 20 and on the processor 10
Calculation machine program, such as system control program.When the processor 10 executes the computer program, above-mentioned each system control is realized
Step in method implementation, such as step 101 shown in FIG. 1 is to step 102.Alternatively, the processor 10 execute it is described
The function of each module in above-mentioned apparatus embodiment is realized when computer program, such as if the acquisition module 11 in Fig. 4 is for obtaining
The operating status of the server system and the function of system time.
The computer 1 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.
The computer 1 may include, but be not limited to, processor 10 and memory 20.It will be understood by those skilled in the art that the signal
Figure is only example of the present invention for realizing the computer 1 of system control method, does not constitute the restriction to computer 1, can
To include perhaps combining certain components or different components, such as the computer 1 than illustrating more or fewer components
It can also include input-output equipment, network access equipment, bus etc..
Alleged processor 10 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor 10 is the control centre of the computer 1, utilizes each of various interfaces and the entire computer of connection
Part.
The memory 20 can be used for storing the computer program and/or module, the processor 10 by operation or
The computer program and/or module being stored in the memory 20 are executed, and calls the data being stored in memory 20,
Realize the various functions of the computer 1.The memory 20 can mainly include storing program area and storage data area, wherein
Storing program area can application program needed for storage program area, at least one function (for example sound-playing function, image play
Function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory etc.) according to mobile phone
Deng.It can also include computer storage in addition, memory 20 may include high-speed random access memory, such as hard disk, interior
It deposits, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card,
Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
The computer 1 may also include system control device 100 as shown in Figure 4, and the system control device 100 can be with
It is stored in the memory 20.
Illustratively, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory 20, and is executed by the processor 10, to complete the present invention.One or more of modules
It can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program
Implementation procedure in the computer 1.For example, the computer program can be divided into system control as shown in Figure 3
Device 100, including obtain module 11, starting module 12, judgment module 13 and adjust module 14, each module concrete function is as follows:
Module 11 is obtained, can be used for obtaining the operating status and system time of the server system, the operating status
For according to service request state set by service frequency demand;It can also be used to obtain interim process list of schedules.
Starting module 12, can be used for do not include and the operating status in the operation process list of the server system
Associated association process, and the system time with the associated preset time range of the operating status in when, in the clothes
Start the association process in business device system;The association process, which includes at least one, has default be associated with the operating status
The service processes of relationship;The service processes that can also be used in the interim process list of schedules do not conflict with the association process
When, start the service processes in the association process and the interim process list of schedules in the server system.
Judgment module 13 can be used for not including the clothes in the interim process list of schedules in the operation service list
Business process, and when the system time meets the time conditions in the interim process list of schedules, judge the interim process
Whether the service processes in list of schedules conflict with the association process.
Module 14 is adjusted, can be used for the service processes packet being directed toward in the association process in the manual operation process instruction
When containing precedence information, the clothes manual operation process instruction being directed toward according to the precedence information in the association process
Business process carries out priority adjustment.
If the integrated module of computer 1 of the present invention is realized in the form of SFU software functional unit and as independent production
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention realizes
All or part of the process in above-described embodiment method can also instruct relevant hardware to complete by computer program,
The computer program can be stored in a computer readable storage medium, the computer program when being executed by processor,
The step of above-mentioned each embodiment of the method can be achieved.Wherein, the computer program includes computer program code, the calculating
Machine program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer
Readable medium may include: any entity or device, recording medium, USB flash disk, the movement that can carry the computer program code
Hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory
(RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate
It is that the content that the computer-readable medium includes can be fitted according to the requirement made laws in jurisdiction with patent practice
When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier wave letter
Number and telecommunication signal.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.System, device or computer installation power
Multiple units, module or the device stated in benefit requirement can also be passed through software or hard by the same unit, module or device
Part is realized.The first, the second equal words are used to indicate names, and are not indicated any particular order.
Embodiment of above is only used to illustrate the technical scheme of the present invention and not to limit it, although referring to the above preferable embodiment party
Formula describes the invention in detail, those skilled in the art should understand that, it can be to technical solution of the present invention
It modifies or equivalent replacement should not all be detached from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a kind of system control method is applied to server system, which is characterized in that the described method includes:
Obtain the operating status and system time of the server system, wherein the operating status is to need according to service frequency
Seek set service request state;
If do not include in the operation process list of the server system with the associated association process of the operating status, and it is described
System time with the associated preset time range of the operating status in, then start the association in the server system
Process;The association process includes at least a service processes with the operating status with preset association relationship.
2. the system as claimed in claim 1 control method, which is characterized in that the method also includes:
Obtain interim process list of schedules;
If not including service processes in the interim process list of schedules in the operation process list, and when the system
Between meet time conditions in the interim process list of schedules, then judge the service processes in the interim process list of schedules
Whether conflict with the association process;
If the service processes in the interim process list of schedules do not conflict with the association process, in the server system
The middle service processes started in the association process and the interim process list of schedules.
3. the system as claimed in claim 1 control method, which is characterized in that start in the service system it is described be associated with into
After journey, the method also includes:
If receiving manual operation process instruction, the service manual operation process instruction is directed toward in the association process
Process carries out priority judgement;
If it includes precedence information that the manual operation process instruction, which is directed toward the service processes in the association process, according to institute
It states the service processes that precedence information is directed toward the manual operation process instruction in the association process and carries out priority adjustment.
4. system control method as claimed in claim 3, which is characterized in that be directed toward institute to the manual operation process instruction
Before stating the service processes progress priority judgement in association process, the method also includes:
The processor load situation of the server system is detected using preset function;
If the numerical value of preset function output is greater than preset threshold, according to the precedence information to the manual operation into
Cheng Zhiling is directed toward the service processes in the association process and carries out priority adjustment.
5. system control method as claimed in claim 4, which is characterized in that the method also includes:
If the numerical value of the preset function output is greater than preset threshold, the excessive information alert of characterization processor load is exported.
6. the system as claimed in claim 1 control method, which is characterized in that the operating status be low frequency service request
When state, the method also includes:
The handle usage amount for restarting the service processes after the association process is monitored;
If the handle usage amount is more than default usage amount, exports and execute service disconnection risk pointed by the association process
Prompt.
7. the system as claimed in claim 1 control method, which is characterized in that in the operating status for obtaining the server system
And before system time, the method also includes:
Synchronization is updated to the system time using default time service link.
8. a kind of system control device, it is applied to server system, which is characterized in that described device includes:
Obtain module, for obtaining the operating status and system time of the server system, wherein the operating status be according to
According to service request state set by service frequency demand;
Starting module, for not including in the operation process list of the server system and the associated pass of the operating status
Connection process, and the system time with the associated preset time range of the operating status in when, in the server system
The middle starting association process;The association process includes at least a clothes with the operating status with preset association relationship
Business process.
9. a kind of computer, which is characterized in that the computer includes processor and memory, and the processor is deposited for executing
The step of system control method as described in any one of claim 1-7 is realized when the computer program stored in reservoir.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of system control method as described in any one of claim 1-7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811162029.4A CN109582530A (en) | 2018-09-30 | 2018-09-30 | System control method, device, computer and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811162029.4A CN109582530A (en) | 2018-09-30 | 2018-09-30 | System control method, device, computer and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109582530A true CN109582530A (en) | 2019-04-05 |
Family
ID=65920022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811162029.4A Pending CN109582530A (en) | 2018-09-30 | 2018-09-30 | System control method, device, computer and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109582530A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112925693A (en) * | 2021-02-25 | 2021-06-08 | 平安普惠企业管理有限公司 | System monitoring method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132716A1 (en) * | 2007-11-15 | 2009-05-21 | Junqueira Flavio P | Fault-tolerant distributed services methods and systems |
CN102135911A (en) * | 2011-03-23 | 2011-07-27 | 中国工商银行股份有限公司 | Method, device and system for starting and stopping server process |
CN107844341A (en) * | 2017-11-21 | 2018-03-27 | 广东欧珀移动通信有限公司 | Management-control method, device and the storage medium and mobile terminal of process initiation |
CN107861773A (en) * | 2017-11-21 | 2018-03-30 | 广东欧珀移动通信有限公司 | Associate management-control method, device, storage medium and the mobile terminal started |
-
2018
- 2018-09-30 CN CN201811162029.4A patent/CN109582530A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132716A1 (en) * | 2007-11-15 | 2009-05-21 | Junqueira Flavio P | Fault-tolerant distributed services methods and systems |
CN102135911A (en) * | 2011-03-23 | 2011-07-27 | 中国工商银行股份有限公司 | Method, device and system for starting and stopping server process |
CN107844341A (en) * | 2017-11-21 | 2018-03-27 | 广东欧珀移动通信有限公司 | Management-control method, device and the storage medium and mobile terminal of process initiation |
CN107861773A (en) * | 2017-11-21 | 2018-03-30 | 广东欧珀移动通信有限公司 | Associate management-control method, device, storage medium and the mobile terminal started |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112925693A (en) * | 2021-02-25 | 2021-06-08 | 平安普惠企业管理有限公司 | System monitoring method and device, computer equipment and storage medium |
CN112925693B (en) * | 2021-02-25 | 2023-11-03 | 新疆北斗同创信息科技有限公司 | System monitoring method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107766132A (en) | Multi-task scheduling method, application server and computer-readable recording medium | |
CN109656782A (en) | Visual scheduling monitoring method, device and server | |
CN109840142A (en) | Thread control method, device, electronic equipment and storage medium based on cloud monitoring | |
CN110096683A (en) | Report form generation method, system, computer installation and computer readable storage medium | |
CN107918558A (en) | Business Process Control method, apparatus and equipment based on state machine | |
CN109615138A (en) | A kind of work flow tuning method and device | |
CN113688026B (en) | Data simulation method, device, equipment and storage medium | |
CN109582530A (en) | System control method, device, computer and computer readable storage medium | |
CN113515369B (en) | Data processing method, system, terminal and storage medium | |
CN104967532A (en) | TOC technology operation and maintenance system and application method | |
CN109840141A (en) | Thread control method, device, electronic equipment and storage medium based on cloud monitoring | |
CN112598135A (en) | Model training processing method and device, computer equipment and medium | |
CN109039714A (en) | The management method and device of resource in cloud computing system | |
CN108170464A (en) | A kind of version upgrading method, service platform and electronic equipment | |
CN107256167A (en) | The upgrade control method and upgrading control device migrated applied to application system | |
CN110046161A (en) | Method for writing data and device, storage medium, electronic equipment | |
CN115827232A (en) | Method, device, system and equipment for determining configuration for service model | |
CN111598275B (en) | Electric vehicle credit score evaluation method, device, equipment and medium | |
CN114834373A (en) | Method and device for determining electronic and electrical architecture of vehicle, electronic equipment and medium | |
CN114637564B (en) | Data visualization method and device, electronic equipment and storage medium | |
CN115951660A (en) | Vehicle diagnosis method and device, electronic equipment and storage medium | |
CN113835706A (en) | Skeleton screen generation method and device based on artificial intelligence, electronic equipment and medium | |
CN117056832A (en) | Train operation and maintenance data processing method and device and electronic equipment | |
CN114995972A (en) | Application program management method and device, readable medium, electronic equipment and product | |
CN114546478A (en) | Method, device, equipment and medium for updating code and database version |
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 |