CN109582486A - A kind of house dog monitoring method, system and equipment and storage medium - Google Patents

A kind of house dog monitoring method, system and equipment and storage medium Download PDF

Info

Publication number
CN109582486A
CN109582486A CN201811384473.0A CN201811384473A CN109582486A CN 109582486 A CN109582486 A CN 109582486A CN 201811384473 A CN201811384473 A CN 201811384473A CN 109582486 A CN109582486 A CN 109582486A
Authority
CN
China
Prior art keywords
program
abnormal
configuration information
collapse
house dog
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.)
Granted
Application number
CN201811384473.0A
Other languages
Chinese (zh)
Other versions
CN109582486B (en
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.)
XIAMEN KECAN INFORMATION TECHNOLOGY Co Ltd
Xiamen Kehua Hengsheng Co Ltd
Original Assignee
XIAMEN KECAN INFORMATION TECHNOLOGY Co Ltd
Xiamen Kehua Hengsheng 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 XIAMEN KECAN INFORMATION TECHNOLOGY Co Ltd, Xiamen Kehua Hengsheng Co Ltd filed Critical XIAMEN KECAN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201811384473.0A priority Critical patent/CN109582486B/en
Publication of CN109582486A publication Critical patent/CN109582486A/en
Application granted granted Critical
Publication of CN109582486B publication Critical patent/CN109582486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses a kind of house dog monitoring method, system and equipment and a kind of computer readable storage mediums, this method comprises: with the presence or absence of abnormal collapse program in monitoring objective system;Wherein, the goal systems includes multiple programs, and each described program includes multiple threads and/or multiple processes;If it exists, then corresponding configuration information is obtained according to the identifier of abnormal collapse program;The data of abnormal collapse program are saved according to configuration information, and judge whether abnormal collapse program needs to restart according to configuration information;If so, restarting abnormal collapse program.A kind of house dog monitoring method provided by the invention, while multiple programs are managed, and different configuration informations is set for each program, it can configure and only restart abnormal collapse program, reduce the influence to other normal procedures and whole system, reduce the consumption of resource.Data to be saved is needed when can hang dead with configurator, retains scene as far as possible, is conducive to the investigation positioning of contingency question.

Description

A kind of house dog monitoring method, system and equipment and storage medium
Technical field
The present invention relates to field of computer technology, more specifically to a kind of house dog monitoring method, system and equipment With a kind of computer readable storage medium.
Background technique
At present in embedded system, house dog generally can be all set up, common house dog generally only monitors a program, more A program will use multiple house dogs, and the resource of consumption is more.And encounter program hang it is dead when, whole system will be restarted, Some the modules that there is no problem can also restart simultaneously, cause the waste of resource.If having logical with other peripheral equipments or host computer News, also will cause of short duration communication abnormality.Even will also result in key message in addition, not restarting system is reset routine Loss, certain obstruction is produced to investigation problem in this way.
Therefore, how take appropriate measures the problem for reducing the waste of resource, and being conducive to subsequent when program hangs dead Investigation is those skilled in the art's problem to be solved.
Summary of the invention
The purpose of the present invention is to provide a kind of house dog monitoring method, system and equipment and a kind of computer-readable storage Medium takes appropriate measures when program hangs dead and reduces the waste of resource, and is conducive to subsequent problem investigation.
To achieve the above object, the present invention provides a kind of house dog monitoring methods, comprising:
With the presence or absence of abnormal collapse program in monitoring objective system;Wherein, the goal systems includes multiple programs, each Described program includes multiple threads and/or multiple processes;
If it exists, then corresponding configuration information is obtained according to the identifier of the abnormal collapse program;
The data of the abnormal collapse program are saved according to the configuration information, and according to configuration information judgement Whether abnormal collapse program needs to restart;
If so, restarting the abnormal collapse program.
Wherein, before in the monitoring objective system with the presence or absence of abnormal collapse program, further includes:
The registration information of each program in the goal systems is received, and is the unique identification of each described program distribution Number.
Wherein, with the presence or absence of abnormal collapse program in the monitoring objective system, comprising:
According to the identifier of program in the goal systems, described program corresponding hello the dog period is obtained;
Judge whether described program presses hello the dog period and remove corresponding time tag position;
If it is not, then collapsing program using described program as abnormal.
Wherein, the identifier according to the abnormal collapse program obtains corresponding configuration information, comprising:
The configuration information is obtained by information input interface according to the identifier of the abnormal collapse program.
Wherein, the identifier according to the abnormal collapse program obtains corresponding configuration information, comprising:
The configuration information is obtained by the mapping table in database according to the identifier of the abnormal collapse program.
Wherein, it is described restart the abnormal collapse program after, further includes:
Open the abnormal collapse program be corresponding and restart countdown, when it is described restart countdown at the end of, described in judgement Whether abnormal collapse program restarts success;
If it is not, then executing corresponding operation according to the configuration information.
Wherein, corresponding operate includes:
Again the abnormal collapse program is restarted until restarting success, or restart the goal systems, or restart institute again It states abnormal collapse program and reaches preset value until restarting number.
To achieve the above object, the present invention provides a kind of house dogs to monitor system, comprising:
Monitoring modular, for collapsing program with the presence or absence of abnormal in monitoring objective system;Wherein, the goal systems includes Multiple programs, each described program include multiple threads and/or multiple processes;
Module being obtained, being used for when there is abnormal collapse program in the goal systems, according to the abnormal collapse program Identifier obtain corresponding configuration information;
Preserving module for saving the data of the abnormal collapse program according to the configuration information, and is matched according to described Confidence breath judges whether the abnormal collapse program needs to restart;
Module is restarted, for restarting the abnormal collapse program when the abnormal collapse program needs to restart.
To achieve the above object, the present invention provides a kind of house dog monitoring devices, comprising:
Memory, for storing computer program;
Processor is realized when for executing the computer program such as the step of above-mentioned house dog monitoring method.
To achieve the above object, the present invention provides a kind of computer readable storage medium, the computer-readable storages It is stored with computer program on medium, such as above-mentioned house dog monitoring method is realized when the computer program is executed by processor.
By above scheme it is found that a kind of house dog monitoring method provided by the invention includes: in monitoring objective system is It is no to there is abnormal collapse program;Wherein, the goal systems includes multiple programs, each described program include multiple threads and/ Or multiple processes;If it exists, then corresponding configuration information is obtained according to the identifier of the abnormal collapse program;Matched according to described Set the data for collapsing program described in information preservation extremely, and according to the configuration information judge the abnormal collapse program whether need Restart;If so, restarting the abnormal collapse program.
A kind of house dog monitoring method provided by the invention, can be managed collectively each program of entire goal systems, make They do not interact, and can also improve house dog in the prior art by the way that different configuration informations is arranged for each program This single operation of system can only be restarted, keep system more flexible controllable.It can configure and not restart system, only restart abnormal collapse Program, it is possible to reduce the influence to other normal procedures, while reducing the consumption of resource.Secondly as individually restarting exception The speed of collapse program speed, which is far longer than, restarts whole system, and reboot time can generally be ignored not in actual use Meter, so being influenced on the normal use of system also minimum.It needs to protect when furthermore it is also possible to hang dead by configuration information configurator The data deposited retain scene as far as possible, are conducive to the investigation positioning of contingency question.The invention also discloses a kind of house dog prisons Examining system and equipment and a kind of computer readable storage medium, are equally able to achieve above-mentioned technical effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of house dog monitoring method disclosed by the embodiments of the present invention;
Fig. 2 is the flow chart of another house dog monitoring method disclosed by the embodiments of the present invention;
Fig. 3 is the flow chart of another house dog monitoring method disclosed by the embodiments of the present invention;
Fig. 4 is the structure chart that a kind of house dog disclosed by the embodiments of the present invention monitors system;
Fig. 5 is a kind of structure chart of house dog monitoring device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of house dog monitoring methods, and take appropriate measures reduction money when program hangs dead The waste in source, and be conducive to subsequent problem investigation.
Referring to Fig. 1, a kind of flow chart of house dog monitoring method disclosed by the embodiments of the present invention, as shown in Figure 1, comprising:
S101: with the presence or absence of abnormal collapse program in monitoring objective system;Wherein, the goal systems includes multiple journeys Sequence, each described program include multiple threads and/or multiple processes;If it exists, then enter S102;If it does not exist, then continue to supervise Survey goal systems;
In specific implementation, goal systems can be common embedded system, naturally it is also possible to be other systems, herein It is not especially limited.It include multiple programs in the goal systems, a process or a thread can be used as a program, house dog The dog period can be fed by the difference of distinct program, realize the unified management of multiple programs.
It is understood that all programs are registered in house dog after goal systems starting, i.e., sent out to house dog The registration information of the program is given, house dog can distribute the identifier uniquely determined for each program, this step is established all On the basis of the relationship mapped one by one that program is all established with its identification number.
It should be noted that it is a kind of timing program that house dog is practical, i.e. this step can specifically include:
According to the identifier of program in the goal systems, described program corresponding hello the dog period is obtained;
Judge whether described program presses hello the dog period and remove corresponding time tag position;
If it is not, then collapsing program using described program as abnormal.
That is, each program has one to feed the dog time in registration, the program is by dog time timing dog-feeding is fed, i.e., The corresponding time identifier position of the program in house dog is removed, shows that the program is active, if the program is not providing Dog is fed in time, then the program is determined as abnormal collapse program by house dog.
S102: corresponding configuration information is obtained according to the identifier of the abnormal collapse program;
It is understood that each program corresponds to a configuration information, it can be according to unique identifier of program Obtain this configuration information.Specifically, can obtain in several ways, for example, user, which can choose, to be needed when the program hangs dead Whether data to be saved and the program need to restart, and are manually entered configuration information by information input interface.It for another example, can be with The configuration information is set for each program in advance, and establishes the mapping table of identifier and configuration information, is hung in a certain program The configuration information is called directly when dead.For another example, the program in goal systems can be classified by preset rules, same category Program correspond to same configuration information, can inquire that its generic is corresponding to match by its identifier when a certain program hangs dead Confidence breath.Above-mentioned is to the simple examples for obtaining configuration information, any other mode is all in the protection scope of the present embodiment.
S103: the data of the abnormal collapse program are saved according to the configuration information, and are sentenced according to the configuration information Whether the abnormal collapse program of breaking needs to restart;If so, into S104;If it is not, then saving scene, does not execute and restarts behaviour Make;
In specific implementation, the configuration information of each program store the program hang it is dead when need to store which data and Whether need to restart.Wherein, which may include that database table associated with the program, system file, system are current Operating status (such as CPU usage, memory usage, global structure body variable) and equipment critical data (such as voltage, alarm amount Deng).If the program does not need reboot operation according to configuration information, reboot operation is not executed, continues monitoring objective into S101 Other programs in system are with the presence or absence of the dead phenomenon of extension.
S104: restart the abnormal collapse program.
A kind of house dog monitoring method provided in an embodiment of the present invention, can be managed collectively each journey of entire goal systems Sequence makes them not interact, and can also improve in the prior art see by the way that different configuration informations is arranged for each program Door dog can only restart this single operation of system, keep system more flexible controllable.It can configure and not restart system, only restart exception Collapse program, it is possible to reduce the influence to other normal procedures, while reducing the consumption of resource.Secondly as individually restarting The speed of abnormal collapse program speed, which is far longer than, restarts whole system, and reboot time can generally neglect in actual use Slightly disregard, so being influenced on the normal use of system also minimum.Furthermore it is also possible to be needed when hanging dead by configuration information configurator Data to be saved retains scene as far as possible, is conducive to the investigation positioning of contingency question.
The embodiment of the invention discloses a kind of house dog monitoring methods, and relative to a upper embodiment, the present embodiment is to technology Scheme has made further instruction and optimization.It is specific:
Referring to fig. 2, the flow chart of another house dog monitoring method provided in an embodiment of the present invention, as shown in Fig. 2, packet It includes:
S201: with the presence or absence of abnormal collapse program in monitoring objective system;Wherein, the goal systems includes multiple journeys Sequence, each described program include multiple threads and/or multiple processes;If it exists, then enter S202;If it does not exist, then continue to supervise Survey goal systems;
S202: corresponding configuration information is obtained according to the identifier of the abnormal collapse program;
S203: the data of the abnormal collapse program are saved according to the configuration information, and are sentenced according to the configuration information Whether the abnormal collapse program of breaking needs to restart;If so, into S204;If it is not, then saving scene, does not execute and restarts behaviour Make;
S204: restart the abnormal collapse program;
S205: opening the abnormal collapse program be corresponding and restart countdown, when it is described restart countdown at the end of, judgement Whether the abnormal collapse program restarts success;If so, into S201;If it is not, then entering S206;
S206: corresponding operation is executed according to the configuration information.
In specific implementation, countdown can also be restarted including each program in configuration information, certainly, this, which is restarted, counts When also can store in other positions, be not specifically limited herein.After restarting abnormal collapse program, house dog, which is opened, restarts down Timing, at the end of restarting countdown, abnormal collapse program, which restarts other programs successfully then continued in monitoring objective system, is It is no to there is the dead phenomenon of extension, restart failure and corresponding operation is then executed according to configuration information.
It is understood that the mode that corresponding operation again may be by above-described embodiment introduction in configuration information carries out It obtains.Corresponding operation herein may include restart the abnormal collapse program again until restart successfully, restart the target System restarts the abnormal collapse program again and reaches preset value etc. until restarting number.The above-mentioned only letter to respective operations Single example, other users optionally operate all in the protection scope of the present embodiment.
A kind of specific house dog monitoring method is described below, referring to Fig. 3, it is provided in an embodiment of the present invention another guard the gate The flow chart of dog monitoring method, as shown in Figure 3, comprising:
S311: receiving the registration information of each program in goal systems, and is the unique identification of each described program distribution Number;
S312: according to the identifier of program in the goal systems, described program corresponding hello the dog period is obtained;
S313: judge whether described program presses hello the dog period and remove corresponding time tag position;If it is not, then will be described Program enters S302 as abnormal collapse program;If so, into S312;
S302: the configuration information is obtained by information input interface according to the identifier of the abnormal collapse program;
S303: the data of the abnormal collapse program are saved according to the configuration information, and are sentenced according to the configuration information Whether the abnormal collapse program of breaking needs to restart;If so, into S304;If it is not, then saving scene, does not execute and restarts behaviour Make;
S304: restart the abnormal collapse program;
S305: opening the abnormal collapse program be corresponding and restart countdown, when it is described restart countdown at the end of, judgement Whether the abnormal collapse program restarts success;If so, into S312;If it is not, then entering S306;
S306: the abnormal collapse program is restarted according to the configuration information again and reaches preset value until restarting number.
A kind of house dog monitoring system provided in an embodiment of the present invention is introduced below, one kind described below is guarded the gate Dog monitors system can be cross-referenced with a kind of above-described house dog monitoring method.
Referring to fig. 4, the structure chart of a kind of house dog monitoring system provided in an embodiment of the present invention, as shown in Figure 4, comprising:
Monitoring modular 401, for collapsing program with the presence or absence of abnormal in monitoring objective system;Wherein, the goal systems Including multiple programs, each described program includes multiple threads and/or multiple processes;
Module 402 being obtained, being used for when there is abnormal collapse program in the goal systems, according to the abnormal collapse journey The identifier of sequence obtains corresponding configuration information;
Preserving module 403, for saving the data of the abnormal collapse program according to the configuration information, and according to described Configuration information judges whether the abnormal collapse program needs to restart;
Module 404 is restarted, for restarting the abnormal collapse program when the abnormal collapse program needs to restart.
A kind of house dog provided in an embodiment of the present invention monitors system, can be managed collectively each journey of entire goal systems Sequence makes them not interact, and can also improve in the prior art see by the way that different configuration informations is arranged for each program Door dog can only restart this single operation of system, keep system more flexible controllable.It can configure and not restart system, only restart exception Collapse program, it is possible to reduce the influence to other normal procedures, while reducing the consumption of resource.Secondly as individually restarting The speed of abnormal collapse program speed, which is far longer than, restarts whole system, and reboot time can generally neglect in actual use Slightly disregard, so being influenced on the normal use of system also minimum.Furthermore it is also possible to be needed when hanging dead by configuration information configurator Data to be saved retains scene as far as possible, is conducive to the investigation positioning of contingency question.
On the basis of the above embodiments, preferably, further includes:
Distribution module for receiving the registration information of each program in the goal systems, and is each described program point With unique identifier.
On the basis of the above embodiments, preferably, the monitoring modular 401 includes:
Acquiring unit obtains described program corresponding hello dog week for the identifier according to program in the goal systems Phase;
Judging unit removes corresponding time tag position for judging whether described program presses hello the dog period;If it is not, Then start the workflow of determination unit;
The determination unit, for collapsing program using described program as abnormal.
On the basis of the above embodiments, preferably, obtaining module 402 is specially to work as the goal systems When the middle collapse program in the presence of exception, the configuration is obtained by information input interface according to the identifier of the abnormal collapse program The module of information.
On the basis of the above embodiments, preferably, obtaining module 402 is specially to work as the goal systems When the middle collapse program in the presence of exception, the mapping table acquisition in database is passed through according to the identifier of the abnormal collapse program The module of the configuration information.
On the basis of the above embodiments, preferably, further includes:
Countdown module, program is corresponding for opening the abnormal collapse restarts countdown, restarts countdown when described At the end of, judge whether the abnormal collapse program restarts success;If it is not, then starting the workflow of execution module;
The execution module, for executing corresponding operation according to the configuration information.
On the basis of the above embodiments, preferably, the execution module is specially restarted described again Abnormal collapse program is until restart success, or restart the goal systems, or restart the abnormal collapse program again until weight Open the module that number reaches preset value.
Present invention also provides a kind of house dog monitoring devices, referring to Fig. 5, a kind of house dog provided in an embodiment of the present invention The structure chart of monitoring device, as shown in Figure 5, comprising:
Memory 501, for storing computer program;
Step provided by above-described embodiment may be implemented in processor 502 when for executing the computer program.Certainly The house dog monitoring device can also include various network interfaces, the components such as power supply.
A kind of house dog monitoring device provided in an embodiment of the present invention, can be managed collectively each journey of entire goal systems Sequence makes them not interact, and can also improve in the prior art see by the way that different configuration informations is arranged for each program Door dog can only restart this single operation of system, keep system more flexible controllable.It can configure and not restart system, only restart exception Collapse program, it is possible to reduce the influence to other normal procedures, while reducing the consumption of resource.Secondly as individually restarting The speed of abnormal collapse program speed, which is far longer than, restarts whole system, and reboot time can generally neglect in actual use Slightly disregard, so being influenced on the normal use of system also minimum.Furthermore it is also possible to be needed when hanging dead by configuration information configurator Data to be saved retains scene as far as possible, is conducive to the investigation positioning of contingency question.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer Step provided by above-described embodiment may be implemented when program is executed by processor.The storage medium may include: USB flash disk, movement Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic or disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of house dog monitoring method characterized by comprising
With the presence or absence of abnormal collapse program in monitoring objective system;Wherein, the goal systems includes multiple programs, each described Program includes multiple threads and/or multiple processes;
If it exists, then corresponding configuration information is obtained according to the identifier of the abnormal collapse program;
The data of the abnormal collapse program are saved according to the configuration information, and the exception is judged according to the configuration information Whether collapse program needs to restart;
If so, restarting the abnormal collapse program.
2. house dog monitoring method according to claim 1, which is characterized in that with the presence or absence of different in the monitoring objective system Often before collapse program, further includes:
The registration information of each program in the goal systems is received, and distributes unique identifier for each described program.
3. house dog monitoring method according to claim 1, which is characterized in that with the presence or absence of different in the monitoring objective system Often collapse program, comprising:
According to the identifier of program in the goal systems, described program corresponding hello the dog period is obtained;
Judge whether described program presses hello the dog period and remove corresponding time tag position;
If it is not, then collapsing program using described program as abnormal.
4. house dog monitoring method according to claim 1, which is characterized in that the knowledge according to the abnormal collapse program Alias obtains corresponding configuration information, comprising:
The configuration information is obtained by information input interface according to the identifier of the abnormal collapse program.
5. house dog monitoring method according to claim 1, which is characterized in that the knowledge according to the abnormal collapse program Alias obtains corresponding configuration information, comprising:
The configuration information is obtained by the mapping table in database according to the identifier of the abnormal collapse program.
6. any one of -5 house dog monitoring method according to claim 1, which is characterized in that described to restart the abnormal collapse After program, further includes:
Open the abnormal collapse program be corresponding and restart countdown, when it is described restart countdown at the end of, judge the exception Whether collapse program restarts success;
If it is not, then executing corresponding operation according to the configuration information.
7. house dog monitoring method according to claim 6, which is characterized in that it is described it is corresponding operation include:
Again the abnormal collapse program is restarted until restarting success, or restart the goal systems, or restart again described different Often collapse program reaches preset value until restarting number.
8. a kind of house dog monitors system characterized by comprising
Monitoring modular, for collapsing program with the presence or absence of abnormal in monitoring objective system;Wherein, the goal systems includes multiple Program, each described program include multiple threads and/or multiple processes;
Module being obtained, being used for when there is abnormal collapse program in the goal systems, according to the abnormal knowledge for collapsing program Alias obtains corresponding configuration information;
Preserving module for saving the data of the abnormal collapse program according to the configuration information, and matches confidence according to described Breath judges whether the abnormal collapse program needs to restart;
Module is restarted, for restarting the abnormal collapse program when the abnormal collapse program needs to restart.
9. a kind of house dog monitoring device characterized by comprising
Memory, for storing computer program;
Processor realizes the house dog monitoring method as described in any one of claim 1 to 7 when for executing the computer program The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the house dog monitoring method as described in any one of claim 1 to 7 when the computer program is executed by processor.
CN201811384473.0A 2018-11-20 2018-11-20 Watchdog monitoring method, system and device and storage medium Active CN109582486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811384473.0A CN109582486B (en) 2018-11-20 2018-11-20 Watchdog monitoring method, system and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811384473.0A CN109582486B (en) 2018-11-20 2018-11-20 Watchdog monitoring method, system and device and storage medium

Publications (2)

Publication Number Publication Date
CN109582486A true CN109582486A (en) 2019-04-05
CN109582486B CN109582486B (en) 2023-04-28

Family

ID=65923092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811384473.0A Active CN109582486B (en) 2018-11-20 2018-11-20 Watchdog monitoring method, system and device and storage medium

Country Status (1)

Country Link
CN (1) CN109582486B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532178A (en) * 2019-08-09 2019-12-03 四川虹美智能科技有限公司 A kind of Android system library file collapse location positioning method and device
CN110795264A (en) * 2019-10-14 2020-02-14 杭州海兴电力科技股份有限公司 Monitoring management method and system and intelligent management terminal
CN111367769A (en) * 2020-03-30 2020-07-03 浙江大华技术股份有限公司 Application fault processing method and electronic equipment
CN112579616A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Task processing method and device, storage medium and electronic equipment
CN113220535A (en) * 2021-05-31 2021-08-06 北京马赫谷科技有限公司 Method, device and equipment for processing program exception and storage medium
CN113407414A (en) * 2021-06-24 2021-09-17 厦门科灿信息技术有限公司 Program operation monitoring method, device, terminal and storage medium
WO2021248836A1 (en) * 2020-06-11 2021-12-16 深圳创维-Rgb电子有限公司 Smart device startup method and apparatus, smart device, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736967A (en) * 2011-04-13 2012-10-17 鸿富锦精密工业(深圳)有限公司 Test system and method of watchdog timer
CN104679606A (en) * 2015-03-18 2015-06-03 北京全路通信信号研究设计院有限公司 Method and device for detecting watchdog circuit
CN105468478A (en) * 2015-11-26 2016-04-06 北京京东尚科信息技术有限公司 Recovery method and apparatus for business data after application crash
CN108170609A (en) * 2018-01-11 2018-06-15 五八有限公司 Localization method, device, computer equipment and the readable storage medium storing program for executing of program bug
US20180231948A1 (en) * 2017-02-15 2018-08-16 Denso Ten Limited Controller and control program updating method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736967A (en) * 2011-04-13 2012-10-17 鸿富锦精密工业(深圳)有限公司 Test system and method of watchdog timer
CN104679606A (en) * 2015-03-18 2015-06-03 北京全路通信信号研究设计院有限公司 Method and device for detecting watchdog circuit
CN105468478A (en) * 2015-11-26 2016-04-06 北京京东尚科信息技术有限公司 Recovery method and apparatus for business data after application crash
US20180231948A1 (en) * 2017-02-15 2018-08-16 Denso Ten Limited Controller and control program updating method
CN108170609A (en) * 2018-01-11 2018-06-15 五八有限公司 Localization method, device, computer equipment and the readable storage medium storing program for executing of program bug

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532178A (en) * 2019-08-09 2019-12-03 四川虹美智能科技有限公司 A kind of Android system library file collapse location positioning method and device
CN112579616A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Task processing method and device, storage medium and electronic equipment
CN110795264A (en) * 2019-10-14 2020-02-14 杭州海兴电力科技股份有限公司 Monitoring management method and system and intelligent management terminal
CN111367769A (en) * 2020-03-30 2020-07-03 浙江大华技术股份有限公司 Application fault processing method and electronic equipment
WO2021248836A1 (en) * 2020-06-11 2021-12-16 深圳创维-Rgb电子有限公司 Smart device startup method and apparatus, smart device, and readable storage medium
CN113220535A (en) * 2021-05-31 2021-08-06 北京马赫谷科技有限公司 Method, device and equipment for processing program exception and storage medium
CN113407414A (en) * 2021-06-24 2021-09-17 厦门科灿信息技术有限公司 Program operation monitoring method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN109582486B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN109582486A (en) A kind of house dog monitoring method, system and equipment and storage medium
CN104360878B (en) A kind of method and device of application software deployment
CN107783829B (en) Task processing method and device, storage medium and computer equipment
WO2017075940A1 (en) Method and system for monitoring electric quantity of intelligent lock
CN103744723B (en) A kind of management method and management system of thread pool
CN104331327A (en) Optimization method and optimization system for task scheduling in large-scale virtualization environment
CN102521101B (en) Illegal job monitor method based on process scanning
CN105049268A (en) Distributed computing resource allocation system and task processing method
CN109920137B (en) Networking card-swiping type public toilet paper supply system
US9658667B2 (en) Power supply system for an information handling system
CN109861878A (en) The monitoring method and relevant device of the topic data of kafka cluster
CN109240876A (en) Example monitoring method, computer readable storage medium and terminal device
CN106886450A (en) Method for scheduling task and system
CN105955850A (en) Abnormal reset processing method and system for vehicle control unit
CN105553803B (en) Electric vehicle network management method and system
CN103186603A (en) Method, system and equipment for determining influence of SQL statements on performance of key businesses
CN111953809B (en) Method, device, equipment and system for managing resource address
CN107562571B (en) Intelligent express cabinet operating system capable of being automatically restarted, intelligent express cabinet and equipment
CN111813497A (en) Container environment anomaly detection method, device, medium and computer equipment
CN109634802A (en) Process monitoring method and terminal device
CN109933465A (en) Abnormality eliminating method, device, server and storage medium
CN113949652A (en) User abnormal behavior detection method and device based on artificial intelligence and related equipment
CN110278101A (en) A kind of method for managing resource and equipment
CN102622291A (en) Method and system for monitoring processes
CN104778041A (en) Management method and management system for multi-program shared speech equipment

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
CB02 Change of applicant information

Address after: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province

Applicant after: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd.

Applicant after: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd.

Address before: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province

Applicant before: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: XIAMEN KEHUA HENGSHENG Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province

Applicant after: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd.

Applicant after: Kehua Data Co.,Ltd.

Address before: 361000 Skirt Building, North Building, 65 Wanghai Road, Xiamen Software Park, Fujian Province

Applicant before: XIAMEN KECAN INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: XIAMEN KEHUAHENGSHENG LIMITED BY SHARE Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant