CN104503829A - Method for detecting and maintaining management process - Google Patents

Method for detecting and maintaining management process Download PDF

Info

Publication number
CN104503829A
CN104503829A CN201410815947.8A CN201410815947A CN104503829A CN 104503829 A CN104503829 A CN 104503829A CN 201410815947 A CN201410815947 A CN 201410815947A CN 104503829 A CN104503829 A CN 104503829A
Authority
CN
China
Prior art keywords
maintenance management
detection according
management process
detect
software
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
Application number
CN201410815947.8A
Other languages
Chinese (zh)
Inventor
杨永明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Original Assignee
BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by BEIJING JIKEJIKE TECHNOLOGY Co Ltd filed Critical BEIJING JIKEJIKE TECHNOLOGY Co Ltd
Priority to CN201410815947.8A priority Critical patent/CN104503829A/en
Publication of CN104503829A publication Critical patent/CN104503829A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for detecting and maintaining management process. The method can detect application software and restore the application software after the application software fails to work, and comprises the following steps: (1) starting; (2) detecting an appointed process; judging whether the process operates or not; if the process operates, executing step (4); if the process does not operate, executing step (3); (3) starting the process; skipping to the step (2); (4) judging whether the process operates normally or not; if the process operates normally, executing the step (2); if the process does not operate normally, executing step (5); (5) restoring the problem occurring in the process; skipping to the step (2).

Description

A kind of method detecting also maintenance management process
Technical field
The invention belongs to the field of computer technology, relate to a kind of detection and the method for maintenance management process particularly.
Background technology
Software (software) is a series of according to the computer data of particular order tissue and the set of instruction, is the non-physical part in computer.Tangible part in computer is called hardware, is made up of the shell of computer and each part and circuit.Computer software need have hardware to operate, and vice versa, and software and hardware all cannot carry out actual running when not working in coordination.
The mode classification of software has a variety of, can be divided into following several according to the object of software:
1. system software
System software is in charge of various independently hardware in computer system, makes them can co-ordination, provides basic function, and provides platform for the application software run.System software makes computer user and other softwares computing machine is used as an entirety and not need how to work with respect to each hardware of bottom.The details of each hardware effort is then by driver handles.
In general, system software comprises operating system (such as BeOS, BSD, DOS, Linux, MacOS, OS/2, QNX, Unix, Windows etc.) and a series of basic instrument (such as compiler, data base administration, storer formats, file system management, subscriber authentication, driven management, the instrument of the aspects such as network connection).
2. application software
Application software is the software be developed in order to certain specific purposes.It can be a specific program, such as an image viewer.Also can be that one group of functional cohesion is tight, the set of the program that can cooperate with each other, the Office software of such as Microsoft.Also can be the huge software systems be made up of numerous stand-alone program, such as data base management system (DBMS).
In application software, finger daemon (daemon) refers to the computer software performed on backstage in UNIX or other multiple task operating systems, can't accept the direct manipulation of computer user.This class method can by with the form initialization of process.The title of finger daemon program ends up with letter ' d ' usually: such as, and syslogd is exactly the finger daemon of vial reason system journal.
This kind of software of finger daemon is responsible for function important in system usually.But because be the non software of user, so once go wrong, system will be caused abnormal, can not be intact provide service for user.
Application software on an operating system bears the important duty providing various service to user, such as dns resolution software on router, be responsible for a kind of process domain address being converted to IP exactly.If this process cannot normally be run, so just cannot surf the Net, and for most user, all not know what occurs.This software particularly on router, can provide direct visual interface unlike pc computer, and what is wrong on earth to facilitate user to check system.
Summary of the invention
The technology that the present invention will solve is dealt with problems and is: overcome the deficiencies in the prior art, and provide a kind of and detect and the method for maintenance management process, it can detect application software, and can recover it after application software goes wrong.
Technical solution of the present invention is: this detection the method for maintenance management process, and the method comprises the following steps:
(1) start;
(2) detect appointment process, judge whether process is run, and is, perform step (4), otherwise perform step (3);
(3) process is started, jump procedure (2);
(4) judge whether process is normally run, and is, perform step (2), otherwise perform step (5);
(5) produced problem in reparation process, jump procedure (2).
The present invention, by cycle detection process (i.e. target software), if detect that this process exception exits, is not reruned, is restarted this process; If process is run, so whether detection procedure is normally run, if abnormal, attempts the software recovering to go wrong; If problem can not be resolved, this process can be stopped, reruning afterwards; Therefore just can detect application software, and can recover it after application software goes wrong.
Accompanying drawing explanation
Fig. 1 shows according to detection of the present invention and the process flow diagram of the method for maintenance management process.
Embodiment
As shown in Figure 1, this detection the method for maintenance management process, the method comprises the following steps:
(1) start;
(2) detect appointment process, judge whether process is run, and is, perform step (4), otherwise perform step (3);
(3) process is started, jump procedure (2);
(4) judge whether process is normally run, and is, perform step (2), otherwise perform step (5);
(5) produced problem in reparation process, jump procedure (2).
The present invention, by cycle detection process (i.e. target software), if detect that this process exception exits, is not reruned, is restarted this process; If process is run, so whether detection procedure is normally run, if abnormal, attempts the software recovering to go wrong; If problem can not be resolved, this process can be stopped, reruning afterwards; Therefore just can detect application software, and can recover it after application software goes wrong.
Preferably, the method performs on user terminal and router.
Preferably, provide api interface to obtain the information of process by system, detect and safeguard.The api interface of the acquisition state of a process that the system that the realization of the method depends on concrete terminal provides.Such as linux system has procfs to may be used for obtaining state of a process; Android system is also can obtain state of a process from procfs equally based on Linux.Like this for user provides convenience easy-to-use interface, user by the mobile phone A PP of mobile terminal, can trigger this function easily.
Preferably, in described step (2), judge whether process is run by judging whether process exists.
Preferably, in described step (4), by judging that the demand for services whether process correctly responds user judges whether process is normally run.
Preferably, described process is that domain name system DNS resolves software, judge whether process normally operates in described step (4): send dns resolution request to dns resolution software, after tolerant fail algorithm, if dns resolution request has correctly been processed, think that process is normal operation, otherwise abnormal for running.
Preferably, in described step (5), in reparation process, produced problem comprises amendment configuration, undated parameter.
The above; it is only preferred embodiment of the present invention; not any pro forma restriction is done to the present invention, every above embodiment is done according to technical spirit of the present invention any simple modification, equivalent variations and modification, all still belong to the protection domain of technical solution of the present invention.

Claims (7)

1. detect and a method for maintenance management process, it is characterized in that: the method comprises the following steps:
(1) start;
(2) detect appointment process, judge whether process is run, and is, perform step (4), otherwise perform step (3);
(3) process is started, jump procedure (2);
(4) judge whether process is normally run, and is, perform step (2), otherwise perform step (5);
(5) produced problem in reparation process, jump procedure (2).
2. detection according to claim 1 the method for maintenance management process, is characterized in that: the method performs on user terminal and router.
3. detection according to claim 2 the method for maintenance management process, is characterized in that: provide api interface to obtain the information of process by system, detect and safeguard.
4. detection according to claim 3 the method for maintenance management process, is characterized in that: in described step (2), judging whether process is run by judging whether process exists.
5. detection according to claim 4 the method for maintenance management process, is characterized in that: in described step (4), by judging that the demand for services whether process correctly responds user judges whether process is normally run.
6. detection according to claim 1 the method for maintenance management process, it is characterized in that: described process is that domain name system DNS resolves software, judge whether process normally operates in described step (4): send dns resolution request to dns resolution software, after tolerant fail algorithm, if dns resolution request has correctly been processed, think that process is normal operation, otherwise abnormal for running.It is characterized in that: described process is that Web server is as Nginx, judge whether process normally operates in described step (4): to the Web server of Nginx mono-class, send Http request, if correctly resolve, corresponding Http result can be returned, then think that Web server is normal.According to the related service type of different process, the process needing to detect and safeguard can be increased dynamically.
7. detection according to claim 6 the method for maintenance management process, is characterized in that: in described step (5), and in reparation process, produced problem comprises amendment configuration, undated parameter.
CN201410815947.8A 2014-12-23 2014-12-23 Method for detecting and maintaining management process Pending CN104503829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410815947.8A CN104503829A (en) 2014-12-23 2014-12-23 Method for detecting and maintaining management process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410815947.8A CN104503829A (en) 2014-12-23 2014-12-23 Method for detecting and maintaining management process

Publications (1)

Publication Number Publication Date
CN104503829A true CN104503829A (en) 2015-04-08

Family

ID=52945230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410815947.8A Pending CN104503829A (en) 2014-12-23 2014-12-23 Method for detecting and maintaining management process

Country Status (1)

Country Link
CN (1) CN104503829A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415736A (en) * 2018-02-06 2018-08-17 新浪网技术(中国)有限公司 The method, apparatus and equipment of program process are marked using process filesystem
CN109150581A (en) * 2018-06-28 2019-01-04 四川斐讯信息技术有限公司 A kind of troubleshooting methodology and router of router
CN113419916A (en) * 2021-05-25 2021-09-21 深圳壹账通智能科技有限公司 Wind control inspection program uninterrupted operation method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349167A (en) * 2001-12-04 2002-05-15 上海复旦光华信息科技股份有限公司 Automatic SOLARIS process protecting system
CN102064979A (en) * 2010-12-15 2011-05-18 刘俊 Network fault restoration system, device and method
CN103812728A (en) * 2014-02-13 2014-05-21 普联技术有限公司 Network diagnostic method, system and router

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1349167A (en) * 2001-12-04 2002-05-15 上海复旦光华信息科技股份有限公司 Automatic SOLARIS process protecting system
CN102064979A (en) * 2010-12-15 2011-05-18 刘俊 Network fault restoration system, device and method
CN103812728A (en) * 2014-02-13 2014-05-21 普联技术有限公司 Network diagnostic method, system and router

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415736A (en) * 2018-02-06 2018-08-17 新浪网技术(中国)有限公司 The method, apparatus and equipment of program process are marked using process filesystem
CN108415736B (en) * 2018-02-06 2021-03-30 新浪网技术(中国)有限公司 Method, device and equipment for marking program process by using process file system
CN109150581A (en) * 2018-06-28 2019-01-04 四川斐讯信息技术有限公司 A kind of troubleshooting methodology and router of router
CN113419916A (en) * 2021-05-25 2021-09-21 深圳壹账通智能科技有限公司 Wind control inspection program uninterrupted operation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
Costin et al. A {Large-scale} analysis of the security of embedded firmwares
US8566838B2 (en) Techniques for workload coordination
CN109684155B (en) Monitoring configuration method, device, equipment and readable storage medium
CN112685682B (en) Method, device, equipment and medium for identifying forbidden object of attack event
CN102779094A (en) Terminal and software exception test method
CN104216743A (en) Method and system for maintaining start completeness of configurable virtual machine
CN102646066B (en) Method and device for obtaining starting-up time
CN110232279A (en) A kind of leak detection method and device
CN104636678A (en) Method and system for controlling terminal device under cloud computing environment
CN105094506A (en) Screen unlocking method for intelligent terminal, intelligent terminal and operating platform
CN104503829A (en) Method for detecting and maintaining management process
CN113449298B (en) Detection method, device, equipment and medium for rebound shell process
CN105933467A (en) Client host information change periodic detection method
CN106254312A (en) A kind of method and device being realized server attack protection by virtual machine isomery
CN105718793A (en) Method and system for preventing malicious code from identifying sandbox on the basis of sandbox environment modification
CN109299116B (en) Data synchronization method, device, equipment and readable storage medium
CN107766068B (en) Application system patch installation method and device, computer equipment and storage medium
CN112528296B (en) Vulnerability detection method and device, storage medium and electronic equipment
CN105515882B (en) Website security detection method and device
CN103885863B (en) The processing method and virtual machine of the system failure
CN105354341B (en) The update method and device of file
CN109981573B (en) Security event response method and device
CN111818025A (en) User terminal detection method and device
US20180359263A1 (en) Computerized system for complying with certain critical infrastructure protection requirements
CN110618884A (en) Fault monitoring method, virtualized network function module manager and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150408