Process guarding method and device, electronic equipment and storage medium

A technology for electronic equipment and storage media, which is applied in multi-programming devices, program control design, inter-program communication, etc. It can solve problems such as restarting, affecting the normal operation of the client, and being unable to continue to perform guardian tasks, so as to ensure operating performance. Effect

Pending Publication Date: 2020-02-07
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, under normal circumstances, there is only one daemon process for a client. If the daemon process exits, the daemon task cannot be continued.
In this way

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Process guarding method and device, electronic equipment and storage medium
  • Process guarding method and device, electronic equipment and storage medium
  • Process guarding method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0057] like figure 1 Shown is a flow chart of a preferred embodiment of the process guarding method of the present invention. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.

[0058] The process guardian method is applied to one or more electronic devices, and the electronic device is a device that can automatically perform numerical calculation and / or information processing according to preset or stored instructions, and its hardware includes but is not limited to Microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processor (Digital Signal Process...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a process guarding method and device, electronic equipment and a storage medium. The process guarding method comprises the following steps: when detecting that a system is started, starting two daemon processes, so as to guarantee that the two daemon processes are always in a running state during startup, and then the process of each module is effectively guarded; further establishing a socket for the two daemon processes; identifying an identifier of the socket; and controlling the two daemon processes to monitor each other according to the identifier, so as to carry out timely processing when a process is abnormal; and when a signal that the second daemon process does not exist is monitored by the first daemon process in the two daemon processes is received, starting the second daemon process, so that double daemon of the system process is realized, uninterrupted daemon is realized, and software monitoring is improved, and the running performance of the systemis further effectively ensured.

Description

technical field [0001] The present invention relates to the technical field of process optimization, in particular to a process guarding method, device, electronic equipment and storage medium. Background technique [0002] In the prior art solutions, in order to provide better services for the system, the concept of a daemon process is introduced. Daemons run in the background to perform specific system tasks. [0003] However, under normal circumstances, there is only one daemon process of a client, and if this daemon process exits, the daemon task cannot be continued. In this way, each process of the client cannot be guaranteed. If a process crashes, it cannot be assisted by the daemon process to restart, which affects the normal operation of the client. Contents of the invention [0004] In view of the above, it is necessary to provide a process guarding method, device, electronic equipment and storage medium. The present invention realizes double guarding of system ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/30G06F11/07G06F9/54
CPCG06F11/302G06F11/0793G06F9/544
Inventor 芦永胜
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products