CN107193712A - A kind of method and apparatus for management of process - Google Patents
A kind of method and apparatus for management of process Download PDFInfo
- Publication number
- CN107193712A CN107193712A CN201710404215.3A CN201710404215A CN107193712A CN 107193712 A CN107193712 A CN 107193712A CN 201710404215 A CN201710404215 A CN 201710404215A CN 107193712 A CN107193712 A CN 107193712A
- Authority
- CN
- China
- Prior art keywords
- managed
- state
- subprocess
- status
- running
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 333
- 230000008569 process Effects 0.000 title claims abstract description 297
- 230000009183 running Effects 0.000 claims abstract description 119
- 238000012544 monitoring process Methods 0.000 claims abstract description 19
- 238000003860 storage Methods 0.000 claims description 16
- 238000011084 recovery Methods 0.000 claims description 13
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000006978 adaptation Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
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/3017—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is implementing multitasking
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The disclosure is directed to a kind of method and apparatus for management of process, methods described includes:Load the configuration file of process to be managed;Monitor the running state of a process to be managed;And state control is carried out to the process to be managed according to the configuration file and the running state of a process to be managed.Controlled by the monitoring to process status in software and state, different state control schemes can be provided for the different conditions of process, so as to carry out rational state control to process, improve software reliability and stability.And by combining configuration file, it can very easily extend selection process to be managed.
Description
Technical field
This disclosure relates to management of process technical field, more particularly to a kind of method and apparatus for management of process.
Background technology
In recent years, Internet technology and software engineering are fast-developing, and are widely used in every field.In routine work life
In, pass through the combination of smart machine and application software, it is possible to achieve meet the different demand of people, provided to work and living
Many facilities.In field of industrial production, it can be realized to the Automated condtrol of production equipment and monitoring etc., can subtracted by software
Few artificial work, improves production precision and efficiency.But if broken down in software running process or abnormal, can also cause all
Many problems.Therefore, stability and the requirement more and more higher of reliability now to software.The stability and reliability of software depend on
Each process in its implementation procedure.But be usually the regulation and control to process occupancy resource and excellent in existing management of process technology
Change.And when such as exception or mistake occurs in process status, it is impossible to process is timely and effectively handled.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of method and apparatus for management of process.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of method for management of process, methods described includes:Plus
Carry the configuration file of process to be managed;Monitor the running state of a process to be managed;And according to the configuration file and institute
State running state of a process to be managed and state control is carried out to the process to be managed.
Preferably, the process to be managed includes one or more than one subprocess, and the monitoring is described to be managed
Running state of a process includes:For the process to be managed, the operation shape of each subprocess in the process to be managed is monitored
State;The running state of a process to be managed is determined according to the running status of all subprocess of the process to be managed.
Preferably, methods described also includes:Status information from process status machine, on each subprocess is received,
The status information includes the process title of subprocess and the corresponding relation of running status;Store the status information;The prison
Surveying the running status of each subprocess in the process to be managed includes:The status information of the storage is traveled through, it is described to obtain
The running status of each subprocess in process to be managed.
Preferably, the running status of each subprocess includes in the monitoring process to be managed:In the storage
The process title of any one subprocess in the process to be managed is searched in status information;When finding, according to finding
Corresponding status information determine the running status of the subprocess.
Preferably, the status information of the traversal storage, to obtain each subprocess in the process to be managed
Running status includes:According to predetermined period, the status information of the storage is regularly traveled through, it is every in the process to be managed to obtain
Individual sub- running state of a process.
Preferably, the configuration file includes at least one configuration information, and the configuration information includes process to be managed
Process title and clean boot instruction, it is described to be treated according to the configuration file and the running state of a process to be managed to described
Managing process carries out status controlling packet and included:When determining the process needs to be managed according to the running state of a process to be managed
During security recovery, the configuration information for the process title for including the process to be managed is searched in configuration file;According to lookup
To configuration information in, clean boot corresponding with the process title of the process to be managed instruction start it is described it is to be managed enter
Journey.
Preferably, the configuration information includes the process title of process to be managed, clean boot instruction and overtime duration, institute
State and the process progress status controlling packet to be managed is included according to the configuration file and the running state of a process to be managed:
When determining that the process to be managed is in state in startup according to the running state of a process to be managed, pipe is treated described in record
The starting duration of reason process;If the starting duration reaches the overtime duration, searched in configuration file described in including
The configuration information of the process title of process to be managed;According to the process in the configuration information found, with the process to be managed
The corresponding clean boot instruction of title starts the process to be managed.
Preferably, methods described also includes:Described according to the configuration file and the operation shape of the process to be managed
State is carried out to the process to be managed after state control, by running state of a process and/or the state control to be managed
Operation information recorded daily record.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of device for management of process, described device includes:Plus
Carrier unit, the configuration file for loading process to be managed;Monitoring unit, the operation shape for monitoring the process to be managed
State;And status control unit, for treating pipe to described according to the configuration file and the running state of a process to be managed
Reason process carries out state control.
Preferably, described device also includes:Logging unit, for according to the configuration file and described being treated described
The running status of managing process is carried out to the process to be managed after state control, by the running state of a process to be managed
And/or the operation information of state control recorded daily record.
The technical scheme provided by this disclosed embodiment can include the following benefits:By to process status in software
Monitoring and state control, different state control schemes can be provided for the different conditions of process, so as to be carried out to process
Rational state control, improves software reliability and stability.And by combining configuration file, it can very easily extend choosing
Select process to be managed.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention
Example, and for explaining principle of the invention together with specification.
Fig. 1 is a kind of flow chart of method for management of process according to an exemplary embodiment;
Fig. 2 is a kind of flow of the method for management of process for being preferable to carry out exemplifying according to an exemplary embodiment
Figure;
Fig. 3 is a kind of flow chart of method for management of process according to another exemplary embodiment;
Fig. 4 is a kind of flow chart of method for management of process according to another exemplary embodiment;
Fig. 5 is the schematic diagram of the process to be managed including multiple subprocess according to an exemplary embodiment;
Fig. 6 is a kind of structured flowchart of device for management of process according to an exemplary embodiment;And
Fig. 7 is a kind of structured flowchart of device for management of process according to another exemplary embodiment.
Description of reference numerals:
The monitoring modular of 141 load-on module 142
The state machine of 143 control module 144
145 logger modules
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
Fig. 1 is a kind of flow chart of method for management of process according to an exemplary embodiment, such as Fig. 1 institutes
Show, according to the exemplary embodiment of the disclosure one, the method for management of process may comprise steps of:
In step s 11, the configuration file of process to be managed is loaded.
In step s 12, running state of a process to be managed is monitored.
In step s 13, managing process is treated according to configuration file and running state of a process to be managed and carries out state control
System.
Wherein, process to be managed can be multiple processes, and in order to ensure the versatility of the disclosure, it is multiple it is to be managed enter
The running status of each progress to be managed in journey can carry out unified definition, such as running state of a process to be managed can unite
One definition includes:Have been turned on, stopped, starting in and mistake.At least one configuration information can be included in configuration file, should
Configuration information writes configuration file according to certain format.Wherein, configuration information can for example include process to be managed (such as its name
Title, ID etc.), the information such as clean boot order, the time-out time of process to be managed.The configuration file type can be any reasonable
File type, and the Format Type of each configuration information can be any rational Format Type.Preferably, for the ease of to
The loading and management of confidence breath, the Format Type of the configuration information select unified Format Type.
Different state control schemes can be provided for the different conditions of process by the above method, so as to enter to process
The rational state control of row, improves software reliability and stability.And by combining configuration file, can very easily it extend
Select process to be managed.
According to the embodiment of the disclosure one, process to be managed can include one or more than one subprocess.At some
In embodiment, when process to be managed includes a subprocess, (operation for monitoring each process can be used for from process status machine
State, the not type of restriction state machine herein, those skilled in the art can realize in the disclosure using existing state machine
The function of journey state machine) running status of the subprocess is received, the running status of the subprocess is the operation of the process to be managed
State.
In further embodiments, in the embodiment that process to be managed includes more than one subprocess, Ke Yigen
Running state of a process to be managed is determined according to the running status of each subprocess.Exemplarily, it can be connect from process status machine
Receive and store the status information on each subprocess, the status information can include the correspondence pass of process title and running status
System.Can be by traveling through the status information stored, to determine the running state of a process to be managed.For example, it is to be managed enter
Journey process3, it includes two subprocess process4 and process5, when process4 and process5 running status
When being halted state, then the running status that can determine process process3 to be managed is halted state;As process4 and
Process5 running status is that can then determine process process3 to be managed running status for when having been turned on state
Starting state;When any of process4 and process5 are in just in starting state (in startup), another is in and opened
When dynamic, then during running state of a process to be managed can be determined to start.When any of process4 and process5 are in
Halted state, when another is in startup or has been turned on state, then can determine that running state of a process to be managed is
Error condition.
It is further preferable that determining the running status of each subprocess according to the status information of storage, and then determine to be managed
Running state of a process can be implemented as:Any height in the process to be managed is searched in the status information of the storage
The process title of process, when finding, the running status of the subprocess is determined according to the corresponding status information found, is entered
And running state of a process to be managed is determined according to the running status of the subprocess of determination.It is possible to further preset time
The cycle of the status information of storage is gone through, and according to predetermined period, the status information of timing traversal storage, to determine process to be managed
In each subprocess running status, and then determine the running state of a process to be managed.
Using above-described embodiment, running state of a process to be managed is determined according to the running status of multiple subprocess, is entered
And manage running state of a process to be managed, it is possible to achieve the unified management to multiple subprocess, and consider in above-described embodiment
Different to each running state of a process, adoption status machine is safeguarded, makes the control for treating managing process more safe and effective.
Fig. 2 is a kind of flow of the method for management of process for being preferable to carry out exemplifying according to an exemplary embodiment
Figure.As shown in Fig. 2 in preferred embodiment of the present disclosure, loading first and parsing configuration file, and cached according to unified form
Configuration information in configuration file.Running state of a process to be managed is exported by maintenance process state machine, and will be to be managed
Running state of a process is cached.Then process to be managed is regularly traveled through, and pipe is treated by what process name acquiring to be managed was cached
Manage running state of a process.Controlled when state of a process to be managed when having been turned on, then to continue next state of a process to be managed;
When running state of a process to be managed to have stopped or during mistake, then security recovery process to be managed, to avoid afunction;
During when running state of a process to be managed in starting, then judge whether time-out, and safety is extensive in the case where being judged as time-out
Multiple process to be managed, security recovery process to be managed, which may, for example, be, restarts the process to be managed.Finally will be to be managed
Running state of a process and the operation information of state control recorded daily record, so as to subsequently to the track and localization of problem.At some
In embodiment, one of operation note that only can be controlled running state of a process to be managed and state recorded daily record,
So as to subsequently to the track and localization of problem.
Fig. 3 is a kind of flow chart of method for management of process according to another exemplary embodiment.Such as Fig. 3 institutes
Show, configuration information can include process title and the clean boot instruction of process to be managed.And in state of a process to be managed
During to have stopped or be wrong, pass through following steps security recovery process to be managed:
In step S31, the configuration file of process to be managed is loaded, and is parsed in configuration file and cached configuration file
Configuration information.
In step s 32, running state of a process to be managed is monitored, and is monitoring running state of a process to be managed for
When stopping or be wrong, determine that process to be managed needs security recovery.
In step S33, the process to be managed of security recovery as needed is searched in configuration file and includes this and treat pipe
The configuration information of the process title of reason process.
In step S34, according to corresponding peace in the configuration information found, with the process title of the process to be managed
Full enabled instruction, which starts, needs the process to be managed of security recovery.
Using above-described embodiment, process title and clean boot instruction are configured in configuration information, and combine what is monitored
Running state of a process to be managed, can call configuration information when process to be managed is in halted state or error condition
In clean boot instruction start process to be managed in time.
Fig. 4 is a kind of flow chart of method for management of process according to another exemplary embodiment.Such as Fig. 4 institutes
Show, it is further preferable that configuration information can also include overtime duration, and in running state of a process to be managed is starts
When, judge whether time-out and in case of overtime security recovery process to be managed by following steps:
In step S41, the configuration file of process to be managed is loaded, and is parsed in configuration file and cached configuration file
Configuration information.
In step S42, running state of a process to be managed is monitored, is treated when according to running state of a process to be managed determination
When managing process is in state in startup, the starting duration of the process to be managed is recorded.
In step S43, if starting duration reaches overtime duration, searched in configuration file and include process to be managed
Process title configuration information.
In step S44, opened according to corresponding safety in the configuration information found, with the process title of process to be managed
Dynamic instruction starts process to be managed.
Carried out therewith by presetting overtime duration, and by the starting duration of the process to be managed of state in startup
Compare, it is possible to reduce when longer special processing starts between upon start up or the process sets with relation of interdependence (treat pipe
Reason process includes more than one subprocess) erroneous judgement to its running status when starting, and then reduce treat managing process carry out it is wrong
The possibility that state is controlled by mistake.
Fig. 5 is the schematic diagram of the process to be managed including multiple subprocess according to an exemplary embodiment, such as Fig. 5
It is shown, in preferred embodiment of the present disclosure, associated multiple subprocess to be managed can be encapsulated as one it is to be managed
Total process.In figure 3, including process to be managed 1,3 three processes to be managed of process to be managed 2 and process to be managed, wherein
Process 3 to be managed is by a process to be managed of the subprocess encapsulation associated with subprocess 5 two of subprocess 4.Pin
To total process, the running status of each of which subprocess, and the operation of all subprocess according to process to be managed can be monitored
State determines the running state of a process to be managed.
For example, for the process to be managed including multiple subprocess, its running status is according to the fortune of multiple subprocess
Row state is determined.For example, when total process includes two subprocess, when two sub- runnings state of a process are to have stopped
When, total running state of a process is to have stopped;When two sub- runnings state of a process are to have been turned on, the operation shape of total process
State is to have been turned on;When two sub- runnings state of a process are in startup, during total running state of a process is starts;When wherein
When one sub- running state of a process is in starting, the running status of another subprocess is the operation of total process when having been turned on
During state is starts;When the running status of one of subprocess to have stopped, the running status of another subprocess is startup
In or when having been turned on, total running state of a process is mistake.
State control is carried out to total process according to configuration file and total running state of a process, i.e., according to total process of determination
State, identical state controls are carried out to its whole subprocess.For example, when total process for stopped or mistake need progress
When security recovery for example restarts, then whole subprocess in total process are restarted.
, can be by total process by the way that multiple associated subprocess to be managed are encapsulated as into a total process to be managed
In each subprocess managed as a whole progress, and then ensure that between different subprocess and to be closed in operational rely on
System.
Preferably, it can be received from state of a process machine to be managed and store the status information on each subprocess, should
Status information can include the process title of subprocess and the corresponding relation of running status.By traveling through the status information of storage,
To obtain the running status of each subprocess in the process to be managed.It is further preferable that can believe in the state of the storage
The process title of any one subprocess in the process to be managed is searched in breath.When finding, according to the correspondence found
Status information determine the running status of the subprocess.Wherein it is possible to the cycle of the status information of traversal storage is preset, and
According to predetermined period, the status information of timing traversal storage, to obtain the operation shape of each subprocess in the process to be managed
State.
Fig. 6 is a kind of structured flowchart of device for management of process according to an exemplary embodiment.Reference picture
6, the device includes load-on module 151, monitoring modular 152 and control module 153.
The load-on module 141 is configurable for loading the configuration file of process to be managed.
The monitoring modular 142 is configurable for monitoring running state of a process to be managed.
The control module 143 be configurable for according to configuration file and running state of a process to be managed to it is to be managed enter
Cheng Jinhang states are controlled.
Different states can be carried out by said apparatus to the different conditions of process to control, so that it is reliable to improve software
Property and stability.And by combining configuration file, it can very easily extend selection process to be managed.
Wherein, process to be managed can be multiple processes, and in order to ensure the versatility of the disclosure, it is multiple it is to be managed enter
The running status of each progress to be managed in journey can carry out unified definition, such as running state of a process to be managed can unite
One is defined as including:Have been turned on, stopped, starting in and mistake.And at least one configuration can be included in configuration file
Information, the configuration information writes configuration file according to certain format.The configuration file type can be any rational files classes
Type, and the Format Type of each configuration information can be any rational Format Type.Preferably, for the ease of to configuration information
Loading and management, the Format Type of the configuration information select unified Format Type.
In the preferred embodiment of the embodiment of the disclosure one, load-on module 141 is loading the configuration file of process to be managed
Afterwards, configuration file is parsed and according to the configuration information in unified form cached configuration file, in order to configuration information
Call.The configuration information can include the process title of process to be managed, clean boot instruction and overtime duration.Monitoring modular
The 142 traversal processes, and running state of a process to be managed is obtained from corresponding state machine according to process title to be managed, and
The running status is sent to control module 143.Control module 143 can treat pipe according to current security requirement to difference
Manage running state of a process and customize different processing schemes, and the processing scheme is stored in the form of clean boot is instructed matched somebody with somebody
Put in the configuration information of file., can be by according to configuration text when control module 143 receives running state of a process to be managed
Part and running state of a process to be managed treat managing process and carry out state control.
Preferably, when the state of a process to be managed that control module 143 is received for have been turned on when, control module 143 after
Continuous next state of a process control to be managed;During when the running state of a process to be managed received to have stopped or being wrong, control
The security recovery of molding block 143 process to be managed, to avoid afunction, security recovery process to be managed can for example pass through
Again clean boot process to be managed;During when the running state of a process to be managed received in starting, control module 143
Progress judges whether time-out, and the security recovery process to be managed in the case where judging time-out.
As the preferred embodiment of the disclosure one, for associated multiple processes to be managed that will there is dependence each other
It is managed collectively, multiple processes to be managed can be encapsulated as to a total process to be managed.Control module 143 is according to always entering
The running status and configuration file of journey carry out state control to total process.
Fig. 7 is a kind of structured flowchart of device for management of process according to another exemplary embodiment.Such as Fig. 7
It is shown, further disclose and optimize as the disclosure, described device also includes state machine 144, the state machine 144 is configured as
For detecting and exporting correspondence state of a process.Ad hoc fashion is not limited yet in the disclosure or certain programmed language is treated to safeguard
The state machine of managing process, as long as state machine can normally export certain running state of a process, for safeguarding state machine
Programming language may, for example, be shell, python, c etc..
Preferably, described device also includes logger module 145, and the logger module is configurable for that pipe will be treated
Reason running state of a process and the operation information of state control recorded daily record.Alternatively, the logger module can also quilt
It is configured to that one of running state of a process to be managed and the operation information of state control only recorded into daily record.
On the device in above-described embodiment, wherein modules perform the part concrete mode operated and are somebody's turn to do relevant
It is described in detail in the embodiment of method, explanation will be not set forth in detail herein.
By the method disclosed in the present and device, different state controls can be provided for the different conditions of process
Scheme, so as to carry out rational state control to process.By multiple processes unified management with dependence, it is ensured that different
Subprocess is in operational dependence.And by combining configuration file, it is more convenient the extension of process to be managed.Consider simultaneously
Different to each running state of a process, adoption status machine is safeguarded, is easy to acquisition and monitoring to each process status to be managed.And
And timeout mechanism is introduced, make the control more accurate and effective to being managed process.
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein
Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (10)
1. a kind of method for management of process, it is characterised in that methods described includes:
Load the configuration file of process to be managed;
Monitor the running state of a process to be managed;And
State control is carried out to the process to be managed according to the configuration file and the running state of a process to be managed.
2. according to the method described in claim 1, it is characterised in that the process to be managed includes one or more than one
Subprocess,
The monitoring running state of a process to be managed includes:
For the process to be managed, the running status of each subprocess in the process to be managed is monitored;
The running state of a process to be managed is determined according to the running status of all subprocess of the process to be managed.
3. method according to claim 2, it is characterised in that methods described also includes:
Status information from process status machine, on each subprocess is received, the status information includes entering for subprocess
The corresponding relation of journey title and running status;
Store the status information;
The running status of each subprocess includes in the monitoring process to be managed:
The status information of the storage is traveled through, to obtain the running status of each subprocess in the process to be managed.
4. the method according to the claim 3, it is characterised in that enter in the monitoring process to be managed per height
The running status of journey includes:
The process title of any one subprocess in the process to be managed is searched in the status information of the storage;
When finding, the running status of the subprocess is determined according to the corresponding status information found.
5. method according to claim 3, it is characterised in that the status information of the traversal storage, to obtain
Stating the running status of each subprocess in process to be managed includes:
According to predetermined period, the status information of the storage is regularly traveled through, to obtain each subprocess in the process to be managed
Running status.
6. according to the method described in claim 1, it is characterised in that the configuration file includes at least one configuration information, institute
Process title and clean boot instruction of the configuration information including process to be managed are stated,
It is described that state control is carried out to the process to be managed according to the configuration file and the running state of a process to be managed
System includes:
When determining that the process to be managed needs security recovery according to the running state of a process to be managed, in configuration file
The middle configuration information for searching the process title for including the process to be managed;
Institute is started according to corresponding clean boot instruction in the configuration information found, with the process title of the process to be managed
State process to be managed.
7. according to the method described in claim 1, it is characterised in that the configuration information includes the process name of process to be managed
Claim, clean boot is instructed and overtime duration,
It is described that state control is carried out to the process to be managed according to the configuration file and the running state of a process to be managed
System includes:
When determining that the process to be managed is in state in startup according to the running state of a process to be managed, record is described
The starting duration of process to be managed;
If the starting duration reaches the overtime duration, searched in configuration file and include entering for the process to be managed
The configuration information of journey title;
Institute is started according to corresponding clean boot instruction in the configuration information found, with the process title of the process to be managed
State process to be managed.
8. according to the method described in claim 1, it is characterised in that methods described also includes:
State carried out to the process to be managed according to the configuration file and the running state of a process to be managed described
After control, the operation information of running state of a process and/or the state control to be managed be recorded into daily record.
9. a kind of device for management of process, it is characterised in that described device includes:
Loading unit, the configuration file for loading process to be managed;
Monitoring unit, for monitoring the running state of a process to be managed;And
Status control unit, for according to the configuration file and the running state of a process to be managed to it is described it is to be managed enter
Cheng Jinhang states are controlled.
10. device according to claim 9, it is characterised in that described device also includes:
Logging unit, for being treated described according to the configuration file and the running state of a process to be managed to described
Managing process is carried out after state control, and the operation information of running state of a process and/or the state control to be managed is remembered
Record daily record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710404215.3A CN107193712A (en) | 2017-06-01 | 2017-06-01 | A kind of method and apparatus for management of process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710404215.3A CN107193712A (en) | 2017-06-01 | 2017-06-01 | A kind of method and apparatus for management of process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107193712A true CN107193712A (en) | 2017-09-22 |
Family
ID=59876073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710404215.3A Withdrawn CN107193712A (en) | 2017-06-01 | 2017-06-01 | A kind of method and apparatus for management of process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107193712A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111506476A (en) * | 2020-04-15 | 2020-08-07 | 北京邮电大学 | Terminal authentication and process management system and control method thereof |
CN112068876A (en) * | 2020-08-14 | 2020-12-11 | 北京达佳互联信息技术有限公司 | Process management method, device and system |
CN112181544A (en) * | 2020-11-27 | 2021-01-05 | 深圳开源互联网安全技术有限公司 | Java application running method, system and device and computer readable storage medium |
CN113076130A (en) * | 2021-03-23 | 2021-07-06 | 上海金融期货信息技术有限公司 | General counter system operation and maintenance method based on SHELL script |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003233515A (en) * | 2002-02-12 | 2003-08-22 | Nec Corp | Software maintenance system and software maintenance program |
US6745350B1 (en) * | 1997-01-03 | 2004-06-01 | Ncr Corporation | Automated failure recovery service |
US20070226795A1 (en) * | 2006-02-09 | 2007-09-27 | Texas Instruments Incorporated | Virtual cores and hardware-supported hypervisor integrated circuits, systems, methods and processes of manufacture |
JP2009199213A (en) * | 2008-02-20 | 2009-09-03 | Nec Corp | Process monitoring method, information processing apparatus and program |
CN101630262A (en) * | 2009-07-17 | 2010-01-20 | 北京数帅科技有限公司 | Method for monitoring and controlling subprocess based on Linux system |
CN105045708A (en) * | 2015-09-02 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | Method and system for processing running errors of software |
CN106775712A (en) * | 2016-12-14 | 2017-05-31 | 深圳Tcl数字技术有限公司 | The response method and device of Android system start-up course |
-
2017
- 2017-06-01 CN CN201710404215.3A patent/CN107193712A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6745350B1 (en) * | 1997-01-03 | 2004-06-01 | Ncr Corporation | Automated failure recovery service |
JP2003233515A (en) * | 2002-02-12 | 2003-08-22 | Nec Corp | Software maintenance system and software maintenance program |
US20070226795A1 (en) * | 2006-02-09 | 2007-09-27 | Texas Instruments Incorporated | Virtual cores and hardware-supported hypervisor integrated circuits, systems, methods and processes of manufacture |
JP2009199213A (en) * | 2008-02-20 | 2009-09-03 | Nec Corp | Process monitoring method, information processing apparatus and program |
CN101630262A (en) * | 2009-07-17 | 2010-01-20 | 北京数帅科技有限公司 | Method for monitoring and controlling subprocess based on Linux system |
CN105045708A (en) * | 2015-09-02 | 2015-11-11 | 上海斐讯数据通信技术有限公司 | Method and system for processing running errors of software |
CN106775712A (en) * | 2016-12-14 | 2017-05-31 | 深圳Tcl数字技术有限公司 | The response method and device of Android system start-up course |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111506476A (en) * | 2020-04-15 | 2020-08-07 | 北京邮电大学 | Terminal authentication and process management system and control method thereof |
CN111506476B (en) * | 2020-04-15 | 2021-11-26 | 北京邮电大学 | Terminal authentication and process management system and control method thereof |
CN112068876A (en) * | 2020-08-14 | 2020-12-11 | 北京达佳互联信息技术有限公司 | Process management method, device and system |
CN112181544A (en) * | 2020-11-27 | 2021-01-05 | 深圳开源互联网安全技术有限公司 | Java application running method, system and device and computer readable storage medium |
CN113076130A (en) * | 2021-03-23 | 2021-07-06 | 上海金融期货信息技术有限公司 | General counter system operation and maintenance method based on SHELL script |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107193712A (en) | A kind of method and apparatus for management of process | |
KR101069237B1 (en) | Apparatus and method for receiving, storing and distributing blood bags | |
CN104331327B (en) | The optimization method of task scheduling and optimization system in large scale virtualisation environment | |
US7715930B2 (en) | Aggregating audit information with field conditions | |
CN106156353A (en) | A kind of method and system increasing multilingual on-the-flier compiler enforcement engine for data base | |
CN104011688B (en) | Control device and processing method for supervising | |
CN108928697A (en) | For generating the method and system of the maintenance data of elevator car door system | |
CN109800577A (en) | A kind of method and device of identification escape security monitoring behavior | |
WO2015100189A1 (en) | Server chassis physical security enforcement | |
CN108227646A (en) | Operator's identifying system | |
JP4557121B2 (en) | Operation monitoring system | |
CN102592334B (en) | Method and device for indicating state and analyzing fault of access control system | |
CN113886785B (en) | Active safety auxiliary method, device and medium for petroleum drilling driller control system | |
CN116503984A (en) | Unattended personnel monitoring system of transformer substation | |
CN110442078A (en) | Industrial control method and industrial control equipment based on programmable controller | |
Toguyeni et al. | A framework to design a distributed diagnosis in FMS | |
KR102536984B1 (en) | Method and System of Decision-Making for Establishing Maintenance Strategy of Power Generation Facilities | |
CN111703990B (en) | Intelligent elevator stopping implementation method and system based on big data and face recognition | |
CN110382302A (en) | Engine remote activation system and method | |
CN104820601B (en) | A kind of security protection interlock method | |
JP2011237952A (en) | Plant operation management/supporting system | |
CN104820600B (en) | A kind of security linkage system | |
CN114753742B (en) | Monitoring method and system for vault door | |
CN118230519B (en) | Abnormality alarm method and system based on intelligent lock control system | |
CN108492566A (en) | High fault-tolerant transportation card is made a slip of the tongue the method and system that car data extracts in real time |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170922 |
|
WW01 | Invention patent application withdrawn after publication |