CN101739327A - Method and system for monitoring and repairing service process - Google Patents
Method and system for monitoring and repairing service process Download PDFInfo
- Publication number
- CN101739327A CN101739327A CN200810225721A CN200810225721A CN101739327A CN 101739327 A CN101739327 A CN 101739327A CN 200810225721 A CN200810225721 A CN 200810225721A CN 200810225721 A CN200810225721 A CN 200810225721A CN 101739327 A CN101739327 A CN 101739327A
- Authority
- CN
- China
- Prior art keywords
- service processes
- reparation
- monitored
- described service
- abnormal conditions
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method and a system for monitoring and repairing service process, and relates to the computer field, in particular to the method and the system for monitoring and repairing the service process. The method and the system solve the problem that the prior art cannot solve problems generated in the service process in real time. The method comprises the following steps: scanning the service process at regular intervals; and repairing the service process when finding out that the service process is in an abnormal situation. The system comprises a scanning unit and a repair unit, wherein the scanning unit is used for scanning the service process at regular intervals; and the repair unit is used for repairing the service process when the scanning unit finds out that the service process is in an abnormal situation. The method and the system are suitable for maintaining the service process of application program under a Windows platform or a Unix platform.
Description
Technical field
The present invention relates to computer realm, relate in particular to a kind of method and system of service processes being monitored reparation.
Background technology
Along with popularizing and development of infotech, increasing business realizes by computer system.The various application and service programs of moving on the computer system can be finished a lot of work.Thereby the stable operation of program process, it is very important providing operate as normal, production and life in the service range to it.
But in daily use, the service processes of application program is because of long-play, or because of certain defective, can occur abort inevitably, stops response, phenomenon such as closed by the people for maloperation.If accident occurs in the night of unattended duty or unusual time period, or the system manager can not carry out manual intervention in the scene of arriving in the very nick of time, will certainly causing damage to production unusually of service, operate as normal and life are made troubles, may cause the paralysis of system service, have influence on whole information service flow process, even make the whole communication system paralysis.
The processing of the abnormal conditions that occur in the service processes at application program under Windows and the Unix platform, prior art adopts the method for manual intervention to eliminate the abnormal conditions that occur in the service processes more, as restarting application program by craft, the service processes that activation has stopped etc.But manual intervention can't be handled in real time to the problem that occurs in the service processes usually.
Summary of the invention
One object of the present invention is to provide a kind of service processes is monitored the method for reparation, can solve the problem that prior art can't be handled in real time to the problem that occurs in the service processes.
For achieving the above object, the present invention adopts following technical scheme:
A kind of service processes is monitored the method for reparation, comprising:
Service processes is carried out periodic scanning;
When finding that abnormal conditions appear in described service processes, described service processes is repaired.
The present invention is by carrying out periodic scanning to service processes, and when finding that abnormal conditions appear in described service processes, described service processes repaired, and can realize the problem that occurs in the service processes is handled in real time.
Another object of the present invention is to also to provide a kind of service processes is monitored the system of reparation, can solve the problem that prior art can't be handled in real time to the problem that occurs in the service processes.
For achieving the above object, the present invention adopts following technical scheme:
A kind of service processes is monitored the system of reparation, comprising:
Scanning element is used for service processes is carried out periodic scanning;
Repair the unit, be used for when described scanning element finds that abnormal conditions appear in described service processes, described service processes being repaired.
The system that service processes is monitored reparation provided by the invention carries out periodic scanning by scanning element is set to service processes, and reparation unit, when described scanning element finds that abnormal conditions appear in described service processes, described service processes is repaired, can be realized the problem that occurs in the service processes is handled in real time.
Description of drawings
Fig. 1 monitors the process flow diagram of the method for reparation to service processes for the present invention;
Fig. 2 is for monitoring the process flow diagram of the method for reparation to service processes under the embodiment of the invention Windows;
Fig. 3 monitors the synoptic diagram of the system of reparation to service processes for the present invention;
Fig. 4 is for monitoring the synoptic diagram of the system of reparation to service processes under the embodiment of the invention Windows;
Fig. 5 is the synoptic diagram of middle alarm unit embodiment illustrated in fig. 4.
Embodiment
Below in conjunction with accompanying drawing a kind of method and system that service processes is monitored reparation of the embodiment of the invention is described in detail.
As shown in Figure 1, the embodiment of the invention is monitored the method for reparation to service processes, comprising:
S100, service processes is carried out periodic scanning;
S200, when finding that abnormal conditions appear in described service processes, described service processes is repaired.
The present invention is by carrying out periodic scanning to service processes, and when finding that abnormal conditions appear in described service processes, described service processes repaired, and can realize the problem that occurs in the service processes is handled in real time.
Embodiment one
Present embodiment is an example with the method for under the Windows service processes being monitored reparation, and the present invention is described in detail.
As shown in Figure 2, the method that the service processes of application programs is monitored reparation under the present embodiment Windows comprises:
S110, the service processes of application program under the Windows is scanned.This step comprises carries out periodic scanning to the port of service and the health indicator of service processes etc.Per hour for example can set every index of service processes is carried out single pass.Abnormal conditions occur if find the service processes of application program, then trigger alarm mechanism.
S210, when abnormal conditions appear in the service processes of finding application program, described service processes is handled.
Particularly, the service processes of application programs is handled the processing that comprises the following aspects:
(1) when abnormal conditions appear in the service processes of finding application program, for example port flow occurs unusually, stagnating appears in the process of service etc., then triggers alarm mechanism.Carry out manual intervention for serious unusually can the notification technique personnel showing up, the abnormal conditions of proceeding with program for response can be by lighting warning lamp or other method notification technique personnel.
(2) when abnormal conditions appearred in the service processes of finding application program, the service processes of application programs carried out selfreparing.For example: can be for some abnormal conditions by the service processes of safety shutdown application program, and restart application program reparation; Can be for some abnormal conditions by the service processes of hard closing application program, and restart application program reparation; And can also or ignore wrong parameter reparation by the reprogramming parameter for some abnormal conditions.After the service processes selfreparing of application programs is finished, also trigger alarm mechanism and report to the police.
After reparation was finished, periodic scanning still continued.If selfreparing is then carried out in unusual circumstance once again once more.
Also set the maximum times that service processes is repaired in the present embodiment, for example N time.If the number of times that described service processes is repaired is greater than N time, and find still that when periodic scanning abnormal conditions appear in service processes, then stop reparation, and triggering alarm mechanism notification technique personnel carry out manual intervention service processes.
310, record and output are monitored the daily record of reparation to described service processes, with the result that certain abnormal conditions have taken place the reminding technology personnel at a time and system carries out selfreparing.
The present invention is by carrying out periodic scanning to service processes, and when finding that abnormal conditions appear in described service processes, described service processes repaired, and can realize the problem that occurs in the service processes is handled in real time; And when unusual circumstance, trigger alarm mechanism, notification technique personnel carry out manual intervention, the present invention simultaneously preferably also writes down and exports the daily record of described service processes being monitored reparation, with the result that certain abnormal conditions have taken place the reminding technology personnel at a time and system carries out selfreparing, thereby make the technician under situation about being absent from the scene, also can learn all service processes situations and the result who monitors certainly and repair, and the corresponding subsequent treatment of carrying out.
Need to prove that the present invention is not only applicable to the monitoring certainly and the selfreparing of the service processes under the windows platform, also be applicable to the monitoring certainly and the selfreparing of the service processes under the Unix platform simultaneously.
The present invention also provides a kind of service processes has been monitored the system of reparation, can solve the problem that prior art can't be handled in real time to the problem that occurs in the service processes.
As shown in Figure 3, the present invention monitors the system of reparation to service processes, comprising:
The system that service processes is monitored reparation provided by the invention carries out periodic scanning by scanning element is set to service processes, and repair the unit when described scanning element finds that abnormal conditions appear in described service processes, described service processes is repaired, can be realized the problem that occurs in the service processes is handled in real time.
Implement two
The system that this enforcement is monitored reparation with the service processes of application programs under the Windows is an example, and the present invention is described in detail.
As shown in Figure 4, the system that the service processes of application programs is monitored reparation under the Windows of the present invention comprises: scanning element 100, repair unit 200, alarm unit 300 and log record unit 400.
Described scanning element 100 is used for service processes is carried out periodic scanning.Particularly, scanning element 100 comprises:
Time block 110 is used to be provided with the time of service processes being carried out periodic scanning, per hour for example can set each index of service processes is carried out single pass;
Described reparation unit 200 is used for when described scanning element 100 finds that abnormal conditions appear in described service processes described service processes being repaired.Under the situations such as for example port flow occurs unusually, stagnation appears in the process of service, then should repair service processes.Concrete repair mode is: when unusual circumstance, with the service processes safety shutdown, restart again; Or, restart again the service processes hard closing.
Described alarm unit 300, be used in described scanning element 100 unusual circumstances, or the number of times repaired of the service processes of described reparation unit 200 application programs triggers alarm mechanism when described scanning element 100 finds that still abnormal conditions appear in described service processes greater than pre-determined number.Particularly, as shown in Figure 5, comprise in the alarm unit that first alarm unit 310, reparation number of times are provided with the unit 320 and second alarm unit 330.
First alarm unit 310 is used in scanning element 100 unusual circumstances and when repairing unit 200 and also described service processes not being repaired, or repairs and trigger alarm mechanism when the 200 pairs of service processes reparations in unit are finished.
Repair number of times unit 320 is set, be used to be provided with the maximum times that service processes is repaired.
Second alarm unit 330 is used for repairing number of times that the 320 pairs of service processess in unit repair greater than repairing that number of times is provided with the maximum times set unit 320 and scanning element 100 when still finding that abnormal conditions appear in service processes triggers alarm mechanism.
For serious unusual, the embodiment of the invention can be shown up by alarm unit 300 notification technique personnel and be carried out manual intervention, for the problem that the service processes that does not influence application program is proceeded, then can be by lighting warning lamp or other method notification technique personnel.
Described log record unit 400 is used to write down and export the daily record of described service processes being monitored reparation.Described log record unit 400 can be write down the some time result of certain abnormal conditions and system's selfreparing has taken place, with the result that certain abnormal conditions have taken place the reminding technology personnel at a time and system carries out selfreparing.
The system that service processes is monitored reparation provided by the invention carries out periodic scanning by scanning element to service processes, and repair the unit when described scanning element finds that abnormal conditions appear in described service processes, described service processes is repaired, can be realized the problem that occurs in the service processes is handled in real time.And the present invention preferably also is provided with alarm unit and log record unit, can trigger alarm mechanism when unusual circumstance, and notification technique personnel carry out manual intervention; The daily record of reparation is monitored in record and output to described service processes, with the result that certain abnormal conditions have taken place the reminding technology personnel at a time and system carries out selfreparing, thereby make the technician under situation about being absent from the scene, also can learn all service processes situations and the result who monitors certainly and repair, and the corresponding subsequent treatment of carrying out.
Need to prove that the present invention is not only applicable to the monitoring certainly and the selfreparing of the service processes under the windows platform, also be applicable to the monitoring certainly and the selfreparing of the service processes under the Unix platform simultaneously.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by described protection domain with claim.
Claims (12)
1. one kind service processes monitored the method for reparation, it is characterized in that, comprising:
Service processes is carried out periodic scanning;
When finding that abnormal conditions appear in described service processes, described service processes is repaired.
2. according to claim 1 service processes is monitored the method for reparation, it is characterized in that, describedly service processes is carried out periodic scanning comprise:
The port of service and the health indicator of service processes are carried out periodic scanning, and when the described service processes of discovery abnormal conditions occur and also described service processes do not repaired, trigger alarm mechanism.
3. according to claim 1 service processes is monitored the method for reparation, it is characterized in that, describedly service processes is carried out periodic scanning comprise:
The port of service and the health indicator of service processes are carried out periodic scanning, and when finding that abnormal conditions appear in described service processes and described service processes reparation finished, trigger alarm mechanism.
4. according to claim 1 service processes is monitored the method for reparation, it is characterized in that, described when finding that abnormal conditions appear in described service processes, described service processes reparation is comprised:
When finding that abnormal conditions appear in described service processes,, restart again described service processes safety shutdown; Or
When finding that abnormal conditions appear in described service processes,, restart again described service processes hard closing.
5. according to claim 1 service processes is monitored the method for reparation, it is characterized in that, also comprise:
The maximum times that setting is repaired described service processes;
If the number of times that described service processes is repaired is greater than described maximum times, and find that still abnormal conditions appear in service processes during periodic scanning, then stop reparation, and trigger alarm mechanism service processes.
6. according to claim 1 service processes is monitored the method for reparation, it is characterized in that, described when finding that abnormal conditions appear in described service processes, after described service processes repaired, also comprise:
The daily record of reparation is monitored in record and output to described service processes.
7. each describedly monitors the method for reparation to service processes according to claim 1 to 6, it is characterized in that described service processes comprises the service processes of application program under Windows and the Unix platform.
8. one kind service processes monitored the system of reparation, it is characterized in that, comprising:
Scanning element is used for service processes is carried out periodic scanning;
Repair the unit, be used for when described scanning element finds that abnormal conditions appear in described service processes, described service processes being repaired.
9. according to claim 8 service processes is monitored the system of reparation, it is characterized in that described scanning element comprises:
Time block is used to be provided with the time of service processes being carried out periodic scanning;
The periodic scanning module is used for according to the time of described time block setting described service processes being scanned.
10. according to claim 8 service processes is monitored the system of reparation, it is characterized in that, also comprise:
First alarm unit is used for when described scanning element unusual circumstance and described reparation unit are not also repaired described service processes, or described reparation unit triggers alarm mechanism when reparation is finished to service processes; And/or
Repair number of times the unit is set, be used to be provided with the maximum times that described service processes is repaired, and second alarm unit, when being used for the number of times service processes repaired in described reparation unit described scanning element still finding that abnormal conditions appear in service processes greater than described maximum times, trigger alarm mechanism.
11. according to claim 8 service processes is monitored the system of reparation, it is characterized in that, also comprise:
The log record unit is used to write down and export the daily record of described service processes being monitored reparation.
12. according to Claim 8 to 11 each described service processes is monitored the system of reparation, it is characterized in that described service processes comprises the service processes of application program under Windows and the Unix platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810225721A CN101739327A (en) | 2008-11-07 | 2008-11-07 | Method and system for monitoring and repairing service process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810225721A CN101739327A (en) | 2008-11-07 | 2008-11-07 | Method and system for monitoring and repairing service process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101739327A true CN101739327A (en) | 2010-06-16 |
Family
ID=42462843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810225721A Pending CN101739327A (en) | 2008-11-07 | 2008-11-07 | Method and system for monitoring and repairing service process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101739327A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063287A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Process management method and device |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
CN105573854A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Terminal application processing method and device |
CN106254158A (en) * | 2016-09-22 | 2016-12-21 | 安徽云图信息技术有限公司 | Information system intelligent monitoring management platform |
CN106909574A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | Speed up to method and browser that browser is rendered |
CN106909329A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | Speed up to method and browser that browser is rendered |
CN107515796A (en) * | 2017-07-31 | 2017-12-26 | 北京奇安信科技有限公司 | A kind of unit exception monitor processing method and device |
CN107577494A (en) * | 2017-08-30 | 2018-01-12 | 微梦创科网络科技(中国)有限公司 | A kind of method and device based on multi-process race live broadcast in both illustration and text |
CN107885588A (en) * | 2017-11-21 | 2018-04-06 | 广东欧珀移动通信有限公司 | Control method, device and the storage medium and mobile terminal of application service |
CN108874618A (en) * | 2018-05-04 | 2018-11-23 | 平安科技(深圳)有限公司 | Monitoring method, device, computer equipment and the storage medium of Cognos process |
CN109033819A (en) * | 2018-05-23 | 2018-12-18 | 福建天晴数码有限公司 | Protect method, the computer readable storage medium of application process continuous service |
CN109614323A (en) * | 2018-11-30 | 2019-04-12 | 河南职业技术学院 | The maintaining method and maintenance device of computer system |
CN111324423A (en) * | 2020-03-03 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Method and device for monitoring processes in container, storage medium and computer equipment |
CN111651322A (en) * | 2020-05-29 | 2020-09-11 | 山东中创软件商用中间件股份有限公司 | Process monitoring alarm method, system and device |
CN112350840A (en) * | 2019-08-08 | 2021-02-09 | 中移物联网有限公司 | Fault monitoring and repairing method and related equipment |
-
2008
- 2008-11-07 CN CN200810225721A patent/CN101739327A/en active Pending
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063287A (en) * | 2013-03-22 | 2014-09-24 | 腾讯科技(深圳)有限公司 | Process management method and device |
CN105573854A (en) * | 2014-10-17 | 2016-05-11 | 中兴通讯股份有限公司 | Terminal application processing method and device |
CN105354131A (en) * | 2015-12-11 | 2016-02-24 | 北京慧眼智行科技有限公司 | Monitoring method for running of service program and device |
CN106909329B (en) * | 2015-12-23 | 2020-02-21 | 北京奇虎科技有限公司 | Method for accelerating browser rendering and browser |
CN106909329A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | Speed up to method and browser that browser is rendered |
CN106909574A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | Speed up to method and browser that browser is rendered |
CN106254158A (en) * | 2016-09-22 | 2016-12-21 | 安徽云图信息技术有限公司 | Information system intelligent monitoring management platform |
CN107515796B (en) * | 2017-07-31 | 2020-08-25 | 奇安信科技集团股份有限公司 | Equipment abnormity monitoring processing method and device |
CN107515796A (en) * | 2017-07-31 | 2017-12-26 | 北京奇安信科技有限公司 | A kind of unit exception monitor processing method and device |
CN107577494A (en) * | 2017-08-30 | 2018-01-12 | 微梦创科网络科技(中国)有限公司 | A kind of method and device based on multi-process race live broadcast in both illustration and text |
CN107577494B (en) * | 2017-08-30 | 2020-12-22 | 微梦创科网络科技(中国)有限公司 | Method and device for image-text live broadcast based on multi-process competition |
CN107885588A (en) * | 2017-11-21 | 2018-04-06 | 广东欧珀移动通信有限公司 | Control method, device and the storage medium and mobile terminal of application service |
CN108874618A (en) * | 2018-05-04 | 2018-11-23 | 平安科技(深圳)有限公司 | Monitoring method, device, computer equipment and the storage medium of Cognos process |
CN108874618B (en) * | 2018-05-04 | 2022-03-18 | 平安科技(深圳)有限公司 | Cognos process monitoring method and device, computer equipment and storage medium |
CN109033819A (en) * | 2018-05-23 | 2018-12-18 | 福建天晴数码有限公司 | Protect method, the computer readable storage medium of application process continuous service |
CN109614323A (en) * | 2018-11-30 | 2019-04-12 | 河南职业技术学院 | The maintaining method and maintenance device of computer system |
CN112350840A (en) * | 2019-08-08 | 2021-02-09 | 中移物联网有限公司 | Fault monitoring and repairing method and related equipment |
CN111324423A (en) * | 2020-03-03 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Method and device for monitoring processes in container, storage medium and computer equipment |
CN111651322A (en) * | 2020-05-29 | 2020-09-11 | 山东中创软件商用中间件股份有限公司 | Process monitoring alarm method, system and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101739327A (en) | Method and system for monitoring and repairing service process | |
CN101201786B (en) | Method and device for monitoring fault log | |
CN107483268A (en) | A kind of alert processing method and system | |
CN104218676B (en) | The intelligent warning system of power dispatching automation main website and method | |
CN102195813A (en) | Method and device for intelligently creating operation and maintenance worksheet | |
CN107104848B (en) | Information technology system monitoring method and device | |
CN104038373B (en) | information early warning and self-repairing system and method | |
CN1217265C (en) | Process automatic restoring method | |
CN103529707A (en) | Design method for full object-oriented intelligent alarm model in integrated supervisory control system of metro | |
CN110784352B (en) | Data synchronous monitoring and alarming method and device based on Oracle golden gate | |
CN100586202C (en) | Fault positioning method and device | |
CN103490917A (en) | Method and device for detecting fault processing conditions | |
CN104753700A (en) | Alarm storm processing method and alarm storm processing system | |
CN101916499A (en) | Intelligent alarm device and intelligent alarm method | |
CN104104542B (en) | RS 485-based real-time intelligent obstacle removing method | |
CN111865680A (en) | Factory production and processing equipment fault early warning system | |
CN109685399A (en) | Electric system log confluence analysis method and system | |
CN111932216A (en) | Ann lamp system control method, ann lamp system and computer storage medium | |
CN111222582B (en) | Method and system for extracting defect mode of relay protection device | |
CN109410013B (en) | Vehicle-mounted equipment based VIN (vehicle identification number) identification matching alarm method and system | |
CN112734175B (en) | Comprehensive energy management and control system for industrial enterprises | |
CN104268080A (en) | Software exception handling method and device | |
CN101389112A (en) | Alarm processing method, device and system | |
KR101973728B1 (en) | Integration security anomaly symptom monitoring system | |
CN101830242B (en) | Track traffic multi-functional alarm display device and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20100616 |