CN114817075B - Inter-process heartbeat detection method and device - Google Patents
Inter-process heartbeat detection method and device Download PDFInfo
- Publication number
- CN114817075B CN114817075B CN202210701643.3A CN202210701643A CN114817075B CN 114817075 B CN114817075 B CN 114817075B CN 202210701643 A CN202210701643 A CN 202210701643A CN 114817075 B CN114817075 B CN 114817075B
- Authority
- CN
- China
- Prior art keywords
- shared memory
- client process
- target client
- state detection
- exit event
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Cardiology (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- General Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention provides a method and a device for detecting inter-process heartbeat, wherein the method comprises the following steps: the method comprises the steps that a server process creates a shared memory, and an initial value of the shared memory is set to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time; the server process creates a process state detection thread, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process or not; and if the client process generating the exit event is the target client process, resetting the value of the shared memory to be 0 by the server process, returning to the process state detection thread creating step, and re-creating the process state detection thread. The method and the device detect the inter-process heartbeat state based on the Linux connector and the shared memory, are simpler than establishing a communication link, and greatly reduce the detection time and improve the reliability.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for detecting inter-process heartbeat.
Background
In the high-speed network transmission detection device, a data plane processing module for network transmission is used as an independent process to run on an operating system such as Linux. In some scenarios, the processes need to be connected in series to process network packets of the data plane. Under the condition, whether the state of the process to be connected in series is normal needs to be detected, and if the process to be connected in series is abnormal Kill or dead, some mechanisms are needed to ensure a normal transmission path of the network message.
In the prior art, when detecting an inter-process state, an inter-process communication link is established first, and the communication link connection mode includes: the TCP connection, the UDP connection and the communication mode based on the shared memory between the processes are connected. The prior art scheme has the following defects: the method of establishing the communication link by using the tcp or the udp has the problems of too long connection time consumption and even connection failure due to the limitation of link resources; the heartbeat detection has a large time delay. Whether the state of the opposite side is normal is detected through the heartbeat message of the opposite side, and a certain time delay exists. In high-speed network transmission equipment, a large delay causes a large amount of message loss and short communication link interruption.
Disclosure of Invention
The invention aims to provide an interprocess heartbeat detection method, an interprocess heartbeat detection device, electronic equipment and a storage medium, which are used for solving the problems of large time delay and message loss and link interruption caused by the time delay in the existing heartbeat detection technology.
The invention provides a method for detecting inter-process heartbeat, which is applied to a Linux system and comprises the following steps:
a shared memory creating step, wherein a shared memory is created through a server process, and an initial value of the shared memory is set to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
a process state detection thread creating step, wherein a process state detection thread is created through the server process, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process;
and an exit event processing step, wherein if the client process generating the exit event is a target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creating step, and re-creates the process state detection thread.
The invention provides a method for detecting inter-process heartbeat, which is used for judging whether a client process generating an exit event is a target client process, and specifically comprises the following steps:
judging whether the PID value of the target client process stored in the shared memory in real time is not 0; and if the PID value of the target client process stored in the shared memory in real time is 0, the target client process and the server process quit the connection.
The invention provides a method for detecting inter-process heartbeat, which further comprises the following steps:
and if the PID value of the target client process stored in the shared memory in real time is not 0, the connection between the target client process and the server process is normal.
The invention provides a method for detecting inter-process heartbeat, which comprises the following steps before the step of creating a process state detection thread:
the server process creates a Linux connector socket.
The invention provides a method for detecting inter-process heartbeat, which comprises the following steps before the step of establishing the shared memory:
and creating a server process needing state detection and a corresponding target client process.
The invention also provides an inter-process heartbeat detecting device, which comprises:
the shared memory creating module is used for creating a shared memory by a server process and setting an initial value of the shared memory to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
the system comprises a process state detection thread creating module, a process state detection thread creating module and a client process detection module, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process;
and the exit event processing module is used for resetting the value of the shared memory to be 0 by the server process if the client process generating the exit event is the target client process, returning to the process state detection thread creating step and re-creating the process state detection thread.
The invention also provides electronic equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the steps of any one of the inter-process heartbeat detection methods.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the inter-process heartbeat detection methods.
The invention also provides a computer program product comprising computer executable instructions which, when executed, are operable to implement the steps of any of the inter-process heartbeat detection methods.
The invention provides a method and a device for detecting inter-process heartbeat, which comprises a shared memory establishing step, wherein a shared memory is established through a server-side process, and the initial value of the shared memory is set to be 0, wherein the shared memory is used for storing the PID value of a target client-side process in real time; a process state detection thread creating step, wherein a process state detection thread is created through a server process, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process; and an exit event processing step, wherein if the client process generating the exit event is a target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creating step, and re-creates the process state detection thread. The inter-process heartbeat state is detected based on the Linux connector and the shared memory, the Linux kernel provides an interface, safety and reliability are realized, the time delay of inter-process heartbeat state detection is only millisecond level, compared with the time delay of inter-process heartbeat state detection, the method for detecting the inter-process heartbeat state is simpler in communication link establishment, the detection time is greatly shortened, and the reliability is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of an inter-process heartbeat detection method provided in the present invention;
FIG. 2 is a schematic structural diagram of an inter-process heartbeat detecting apparatus provided in the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The inter-process heartbeat detection method, apparatus, electronic device, and storage medium of the present invention are described below with reference to fig. 1 to 3.
Fig. 1 is a flowchart of an inter-process heartbeat detection method provided by the present invention, and as shown in fig. 1, the present invention provides an inter-process heartbeat detection method, which is applied to a Linux system, and includes:
in this embodiment, a Process (Process) is a running activity of a program in a computer on a data set, and is also a basic unit for resource allocation and scheduling by a system; shared memory (shared memory) refers to a large-capacity memory that can be accessed by different CPUs in a multiprocessor computer system; the process id (process identification) is a value used by most operating system kernels to uniquely identify a process, i.e., PID, and the PID value of the target client process is a value other than 0.
In this embodiment, the server process creates a shared memory area for storing the PID value of the target client process, and initializes the value of the shared memory to 0.
in this embodiment, a Thread (Thread) is the smallest unit that the operating system can perform operation scheduling, is included in a process, and is the actual operation unit in the process; the process exit event includes an exception exit and a normal exit.
In this embodiment, the server process creates a process state detection thread, the process state detection thread waits for the client process to run, and circularly detects the exit event of the client process, and determines whether the client process generating the exit event is the target client process.
In this embodiment, the target client process targeted by the newly created process state detection thread refers to a process having a different process ID and simultaneously implementing the same function as the previous target client process.
In this embodiment, after determining that the client process generating the exit event is the target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creation step, re-creates the process state detection thread, and continues to detect the target client process having a process ID different from that of the previous target client process and simultaneously implementing the same function.
The invention provides a method for detecting inter-process heartbeat, which detects the inter-process heartbeat state based on a Linux connector and a shared memory through a shared memory establishing step, a process state detection thread establishing step and an exit event processing step, is safe and reliable because an interface is provided by the Linux kernel, and the time delay of the inter-process heartbeat state detection is only millisecond level, so that the method is simpler than the method for establishing a communication link, greatly reduces the detection time and improves the reliability.
Based on any one of the foregoing embodiments, in this embodiment, the present invention provides an inter-process heartbeat detection method, where the determining whether a client process that generates an exit event is a target client process specifically includes:
judging whether the PID value of the target client process stored in the shared memory in real time is not 0; and if the PID value of the target client process stored in the shared memory in real time is 0, the target client process and the server process quit connection.
In this embodiment, the PID value of the target client process is a non-0 value and is uniquely determined during the entire process run.
In this embodiment, the specific implementation path for determining whether the client process generating the exit event is the target client process is determined by determining whether a PID value of the target client process stored in the shared memory in real time is 0; and if the PID value of the target client process stored in the shared memory in real time is 0, the target client process exits and the connection with the server process is interrupted.
The invention provides an inter-process heartbeat detection method, which is realized by definitely judging whether a specific path of a client process exit event is a target client process exit event or not through judging whether a PID (proportion integration differentiation) value of the target client process stored in a shared memory in real time is 0 or not, thereby powerfully supporting the reduction of heartbeat detection time and the improvement of the reliability of heartbeat detection.
Based on any one of the foregoing embodiments, in this embodiment, the present invention provides an inter-process heartbeat detection method, further including:
and if the PID value of the target client process stored in the shared memory in real time is not 0, the connection between the target client process and the server process is normal.
In this embodiment, if the PID value of the target client process stored in the shared memory in real time is a value other than 0, that is, the PID value of the target client written in the shared memory in real time is always kept unchanged, it indicates that the connection between the target client process and the server process is normal.
The invention provides a method for detecting heartbeat among processes, which particularly shows that if the PID value of a target client process stored in a shared memory in real time is not 0, the connection between the target client process and a server process is normal, further defines the judgment path for the normal connection between the target client process and the server process, and powerfully supports the reduction of heartbeat detection time and improves the reliability of heartbeat detection.
Based on any one of the above embodiments, in this embodiment, the present invention provides an inter-process heartbeat detection method, before the process state detection thread creating step, further including:
the server process creates a Linux connector socket.
In this embodiment, sockets (sockets) are abstractions of endpoints that communicate bi-directionally between application processes on different hosts in a network. The server process creates a Linux connector socket, i.e., establishes a communication tunnel, for monitoring the processing state of the client process.
The invention provides an inter-process heartbeat detection method, which strongly supports the reduction of heartbeat detection time and the improvement of the reliability of heartbeat detection by defining a Linux connector socket which is further created by a server process before a process state detection thread creation step.
Based on any of the foregoing embodiments, in this embodiment, the present invention provides an inter-process heartbeat detection method, before the step of creating a shared memory, further including:
and creating a server process needing state detection and a corresponding target client process.
In this embodiment, a server process and a corresponding target client process which need to be state-detected are created for a certain type of tasks to be completed in a network, and the server process and the target client process are interacted based on a Linux connector and a shared memory.
The invention provides an inter-process heartbeat detection method, which can be used for forcefully supporting the reduction of heartbeat detection time and the improvement of the reliability of heartbeat detection by definitely creating a server process needing state detection and a corresponding target client process before a shared memory creating step.
In the following, the inter-process heartbeat detecting apparatus provided by the present invention is described, and the inter-process heartbeat detecting apparatus described below and the inter-process heartbeat detecting method described above may be referred to in a corresponding manner.
Fig. 2 is a structural diagram of the inter-process heartbeat detection apparatus provided in the present invention, and as shown in fig. 2, the inter-process heartbeat detection apparatus provided in the present invention includes:
a shared memory creation module 210, configured to create a shared memory by a server process, and set an initial value of the shared memory to 0, where the shared memory is used to store a PID value of a target client process in real time;
a process state detection thread creating module 220, configured to create a process state detection thread by the server process, where the process state detection thread is configured to detect a client process exit event in a loop manner, and determine whether the client process that generates the exit event is a target client process;
the exit event processing module 230 is configured to, if the client process that generates the exit event is the target client process, reset the value of the shared memory to 0 by the server process, return to the process state detection thread creation step, and re-create the process state detection thread.
The invention provides an interprocess heartbeat detection device, which is characterized in that a shared memory creating module, a interprocess state detection thread creating module and an exit event processing module are arranged, the interprocess heartbeat state is detected based on a Linux connector and a shared memory, an interface is provided by a Linux kernel, the security and the reliability are high, the time delay of interprocess heartbeat state detection is only millisecond level, the establishment of a communication link is simpler, and the detection time is greatly reduced and the reliability is improved.
Based on any one of the above embodiments, in this embodiment, the present invention provides an inter-process heartbeat detecting device, where the process state detection thread creating module 220 further includes:
a target client process judgment first unit, configured to judge whether a PID value of a target client process stored in the shared memory in real time is not 0; and if the PID value of the target client process stored in the shared memory in real time is 0, the target client process and the server process quit the connection.
The invention provides an inter-process heartbeat detection device, which is realized by setting a target client process judgment first unit and definitely judging whether a client process exit event is a specific path of the target client process exit event or not by judging whether a PID (proportion integration differentiation) value of the target client process stored in a shared memory in real time is 0 or not, thereby powerfully supporting the reduction of heartbeat detection time and improving the reliability of heartbeat detection.
Based on any one of the above embodiments, in this embodiment, the present invention provides an inter-process heartbeat detecting device, further including:
and the target client process judgment second unit is used for judging that the target client process and the server process are normally connected if the PID value of the target client process stored in the shared memory in real time is not 0.
The invention provides an inter-process heartbeat detection device, which further defines a judgment path for normal connection of a target client process and a server process by setting a second unit for judging the target client process, thereby powerfully supporting the reduction of heartbeat detection time and improving the reliability of heartbeat detection.
In another aspect, the present invention further provides an electronic device, fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, the electronic device may include a processor 310, a communication bus 340, a memory 330, a communication interface 320, and a computer program stored on the memory 330 and operable on the processor 310, where the processor 310, the communication interface 320, and the memory 330 complete communication with each other through the communication bus 340, and the processor 310 may call a logic instruction in the memory 330 to perform an inter-process heartbeat detection method, where the method includes:
a shared memory creating step, wherein a shared memory is created through a server process, and an initial value of the shared memory is set to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
a process state detection thread creating step, wherein a process state detection thread is created through the server process, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process;
and an exit event processing step, wherein if the client process generating the exit event is a target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creating step, and re-creates the process state detection thread.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, may implement an inter-process heartbeat detection method, the method comprising:
a shared memory creating step, wherein a shared memory is created through a server process, and an initial value of the shared memory is set to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
a process state detection thread creating step, wherein a process state detection thread is created through the server process, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process;
and an exit event processing step, wherein if the client process generating the exit event is a target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creating step, and re-creates the process state detection thread.
Finally, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, the computer is capable of implementing an inter-process heartbeat detection method, the method comprising:
a shared memory creating step, wherein a shared memory is created through a server process, and an initial value of the shared memory is set to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
a process state detection thread creating step, wherein a process state detection thread is created through the server process, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process;
and an exit event processing step, wherein if the client process generating the exit event is a target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creating step, and re-creates the process state detection thread.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (6)
1. An inter-process heartbeat detection method is applied to a Linux system and is characterized by comprising the following steps:
a shared memory creating step, wherein a shared memory is created through a server process, and an initial value of the shared memory is set to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
a process state detection thread creating step, wherein a process state detection thread is created through the server process, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process; the determining whether the client process generating the exit event is a target client process specifically includes: judging whether the PID value of the target client process stored in the shared memory in real time is not 0; if the PID value of the target client process stored in the shared memory in real time is 0, the target client process and the server process quit connection; if the PID value of the target client process stored in the shared memory in real time is not 0, the connection between the target client process and the server process is normal;
and an exit event processing step, wherein if the client process generating the exit event is a target client process, the server process resets the value of the shared memory to 0, returns to the process state detection thread creating step, and re-creates the process state detection thread.
2. The method according to claim 1, further comprising, before the step of creating the process state detection thread:
the server process creates a Linux connector socket.
3. The method according to claim 1, further comprising, before the step of creating the shared memory:
and creating a server process needing state detection and a corresponding target client process.
4. An inter-process heartbeat detection device, comprising:
the shared memory creating module is used for creating a shared memory by a server process and setting an initial value of the shared memory to be 0, wherein the shared memory is used for storing a PID value of a target client process in real time;
the system comprises a process state detection thread creating module, a process state detection thread creating module and a client process detection module, wherein the process state detection thread is used for circularly detecting a client process exit event and judging whether the client process generating the exit event is a target client process; the determining whether the client process generating the exit event is a target client process specifically includes: judging whether the PID value of the target client process stored in the shared memory in real time is not 0; if the PID value of the target client process stored in the shared memory in real time is 0, the target client process and the server process quit connection; if the PID value of the target client process stored in the shared memory in real time is not 0, the connection between the target client process and the server process is normal;
and the exit event processing module is used for resetting the value of the shared memory to be 0 by the server process if the client process generating the exit event is the target client process, returning to the process state detection thread creating step and re-creating the process state detection thread.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the inter-process heartbeat detection method according to any of claims 1 to 3 are implemented when the program is executed by the processor.
6. A non-transitory computer readable storage medium, having stored thereon a computer program, which, when being executed by a processor, carries out the steps of the inter-process heartbeat detection method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210701643.3A CN114817075B (en) | 2022-06-21 | 2022-06-21 | Inter-process heartbeat detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210701643.3A CN114817075B (en) | 2022-06-21 | 2022-06-21 | Inter-process heartbeat detection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114817075A CN114817075A (en) | 2022-07-29 |
CN114817075B true CN114817075B (en) | 2022-09-13 |
Family
ID=82522098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210701643.3A Active CN114817075B (en) | 2022-06-21 | 2022-06-21 | Inter-process heartbeat detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114817075B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115629827B (en) * | 2022-12-22 | 2023-03-10 | 中国西安卫星测控中心 | Linux server multi-application process scheduling method based on shared memory |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996257A (en) * | 2006-12-26 | 2007-07-11 | 华为技术有限公司 | Method and system for monitoring process |
CN103763155A (en) * | 2014-01-24 | 2014-04-30 | 国家电网公司 | Multi-service heartbeat monitoring method for distributed type cloud storage system |
CN103986762A (en) * | 2014-05-15 | 2014-08-13 | 京信通信***(中国)有限公司 | Process state detection method and device |
CN106789941A (en) * | 2016-11-30 | 2017-05-31 | 国电南瑞科技股份有限公司 | A kind of database and the implementation method of system application heartbeat unified management |
CN109213684A (en) * | 2018-09-18 | 2019-01-15 | 北京工业大学 | Program detecting method and application based on OpenMP thread heartbeat detection technology |
CN110955514A (en) * | 2019-10-09 | 2020-04-03 | 烽火通信科技股份有限公司 | Method, system and computer readable medium for improving utilization rate of Linux business process |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7558986B2 (en) * | 2005-05-26 | 2009-07-07 | United Parcel Service Of America, Inc. | Software process monitor |
-
2022
- 2022-06-21 CN CN202210701643.3A patent/CN114817075B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996257A (en) * | 2006-12-26 | 2007-07-11 | 华为技术有限公司 | Method and system for monitoring process |
CN103763155A (en) * | 2014-01-24 | 2014-04-30 | 国家电网公司 | Multi-service heartbeat monitoring method for distributed type cloud storage system |
CN103986762A (en) * | 2014-05-15 | 2014-08-13 | 京信通信***(中国)有限公司 | Process state detection method and device |
CN106789941A (en) * | 2016-11-30 | 2017-05-31 | 国电南瑞科技股份有限公司 | A kind of database and the implementation method of system application heartbeat unified management |
CN109213684A (en) * | 2018-09-18 | 2019-01-15 | 北京工业大学 | Program detecting method and application based on OpenMP thread heartbeat detection technology |
CN110955514A (en) * | 2019-10-09 | 2020-04-03 | 烽火通信科技股份有限公司 | Method, system and computer readable medium for improving utilization rate of Linux business process |
Non-Patent Citations (1)
Title |
---|
基于Unix域Socket的父子进程间心跳机制的实现;何小平 等;《福建电脑》;20070731(第7期);第96-97页 * |
Also Published As
Publication number | Publication date |
---|---|
CN114817075A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10061631B2 (en) | Detecting unresponsiveness of a process | |
CN107145389B (en) | System process monitoring method and computing device | |
CN114817075B (en) | Inter-process heartbeat detection method and device | |
CN111258591B (en) | Program deployment task execution method, device, computer equipment and storage medium | |
CN109245926B (en) | Intelligent network card, intelligent network card system and control method | |
CN111416836A (en) | Nginx-based server maintenance method and device, computer equipment and storage medium | |
CN112346899A (en) | Method and device for optimizing microservice performance | |
CN113535532B (en) | Fault injection system, method and device | |
CN114884840B (en) | Application health state checking method and electronic equipment | |
CN112953769B (en) | Data transmission method, device, computer system and readable storage medium | |
CN114528350A (en) | Cluster split brain processing method, device and equipment and readable storage medium | |
CN112235300B (en) | Cloud virtual network vulnerability detection method, system, device and electronic equipment | |
US10229033B2 (en) | System, method and apparatus for debugging of reactive applications | |
CN111031123B (en) | Spark task submission method, system, client and server | |
US10922125B2 (en) | Capability liveness of containerized services | |
CN112565348A (en) | Intelligent equipment testing method and system, computer equipment and storage medium | |
CN114826886B (en) | Disaster recovery method and device for application software and electronic equipment | |
CN111158783B (en) | Environment variable modification method, device and equipment and readable storage medium | |
CN111064636B (en) | Control method, device and system for connection of front-end processor and computer equipment | |
CN113515429A (en) | Multi-core abnormity monitoring method and device for solid state disk, computer equipment and storage medium | |
CN112231170A (en) | Data interaction card supervision method, system, terminal and storage medium | |
CN114520808A (en) | Request processing method and device, electronic equipment and computer readable storage medium | |
CN115174440B (en) | Connectivity detection method, device, storage medium and equipment | |
CN116506327B (en) | Physical node monitoring method, device, computer equipment and storage medium | |
CN113472553B (en) | Fault injection system and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |