A visual process management method and device

Through visual process management methods, customize and monitor process configuration, listen to alarm events in real time, and display the process life cycle on the web page, solving the problem of server process management difficulty and realizing visual monitoring and management of processes.

CN119226098BActive Publication Date: 2025-06-06HANGZHOU YUNZHE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411764508.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-06-06
Estimated Expiration
2044-12-04

AI Technical Summary

Technical Problem

In the prior art, the operating status of the server process is invisible to the user, resulting in difficulty in process management, especially when the process state is abnormal, it is difficult to detect in time, which can easily lead to production failures.

Method used

It provides a visual process management method, which can dynamically monitor and load process configuration files by customizing process information configuration parameters, monitoring alarm events in real time, and displaying the entire process life cycle on the web page, supporting process start and stop operations and custom health checks.

Benefits of technology

It realizes user visual monitoring of the entire life cycle of the process from creation to end, supports page visualization to view processes started on the current server, and does not require logging into the server to perform process start and stop operations, ensuring timeliness and efficiency of process management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119226098B_ABST
    Figure CN119226098B_ABST
Patent Text Reader

Abstract

The present application discloses a visual process management method and device, which relate to the technical field of server process management, and solves the problem of difficulty in process management caused by the fact that the running status of the server process in the prior art is invisible to the user. The method comprises: registering the process information to be managed into the process management module, monitoring the changes of the process configuration information and performing the control of the actual operating system process, monitoring the alarm events occurring during the running of the process to be managed in real time, visually displaying the whole life cycle of the process to be managed on a Web page, sending the alarm information to a designated channel through a preset sending channel, enabling the parent process set by the present application to start the child process that hopes to be controlled throughout its life cycle, and receiving the event information related to the child process life cycle, and supporting the configuration of event matching alarm rules to send the process abnormality alarm information to the relevant channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of server process management, and in particular to a visual process management method and device. Background Art

[0002] A process can be simply understood as a running program. When you execute a command or start a program in the operating system, the operating system will create a new process to perform this task. A process is an execution process of a program. It has a life cycle from creation to execution and is dynamic, concurrent, independent and asynchronous. Multiple processes can be executed concurrently in the same time period. The operating system allocates CPU time reasonably through process scheduling.

[0003] In daily operation and maintenance work, the running status of the process on the server is invisible to the user, which increases the difficulty of process management. When the process becomes abnormal due to its own reasons or problems with server resource allocation, it is often impossible to detect it in time, which can easily lead to production failures. Summary of the invention

[0004] The purpose of the present application is to overcome the problem of difficulty in process management caused by the running status of the server process being invisible to the user in the prior art, and to provide a visual process management method and device.

[0005] In a first aspect, a visual process management method is provided, comprising:

[0006] Customize the parameters of process information configuration and register the process information to be managed to the process management module;

[0007] Dynamically monitor the configuration files of the processes to be managed;

[0008] Dynamically load the latest version of the configuration file of the process to be managed and control the actual operating system process;

[0009] Monitor the alarm events that occur during the operation of the managed process in real time according to the preset alarm rules;

[0010] The entire life cycle of the process to be managed is displayed visually on the web page, and the process can be started and stopped;

[0011] The alarm event is dynamically rendered into alarm information according to the preset alarm information template, and sent to the designated channel through the preset sending channel.

[0012] In some possible implementations, the configuration file is in an ini format.

[0013] In some possible implementations, the parameters of the process information configuration include at least one of the following: command, dir, stopSig, env, user, group, killGroup, and healthCheck, wherein command represents the command for starting the process, and the process cannot be exited after execution is completed; dir represents that when the program is started, the process needs to enter the directory first, and then execute the command; stopSig represents the signal sent to the process on the operating system when the process is to be stopped. The default is SIGTERM, and SIGTERM means to stop the process normally; env represents the environment variable for the process to run; user represents the user for the process to run; group represents the user group for the process to run; killGroup represents whether the process is terminated as a process group; healthCheck represents the command for detecting whether the process status is healthy, and healthCheck automatically exits immediately after execution is completed.

[0014] In some possible implementations, the configuration file of the process to be managed is dynamically monitored, including: using the file modification monitoring function provided by the fsnotify cross-platform tool to monitor the events of the process configuration file, and the types of events include: creation, deletion, writing, renaming and granting permissions.

[0015] In some possible implementations, the actual operating system process is controlled, including:

[0016] Initial creation of a configuration file: Use the corresponding user to start the process according to the process configuration file and start the health check task and process status event monitoring task of the corresponding process;

[0017] The configuration file is updated: the historical version of the process is stopped by SIGTERM, and the health check and event monitoring tasks of the corresponding process are stopped. Then, the process configuration information specified by the latest process file is loaded, and the process is started using the latest process configuration information. The health check and event monitoring tasks of the latest process are started to complete the dynamic update of the specified process.

[0018] The configuration file is deleted: Stop the corresponding process, and stop the health check and event monitoring tasks of the corresponding process to complete the process removal operation.

[0019] In some possible implementations, the types of alarm events include: successful process startup, process startup failure, normal process stop, abnormal process stop, and abnormal process occupation of resources, and the alarm information includes at least one of the following: event type, event unique ID, event occurrence time, event corresponding process name, and event corresponding process ID.

[0020] In some possible implementations, the sending channel includes at least one of the following: a SMS channel, an email channel, a DingTalk channel, an enterprise WeChat channel, and a custom channel.

[0021] In a second aspect, a visual process management device is provided, comprising:

[0022] The configuration module is used to customize the parameters of the process information configuration and register the process information to be managed to the process management module;

[0023] Monitoring module, used to dynamically monitor the configuration files of the processes to be managed;

[0024] The process management module is used to dynamically load the latest version of the configuration file of the process to be managed and to control the actual operating system process;

[0025] The event management module is used to monitor the alarm events that occur during the operation of the process to be managed in real time according to the preset alarm rules;

[0026] The visualization module is used to visualize the entire life cycle of the process to be managed on a web page and can start and stop the process;

[0027] The alarm module is used to dynamically render the alarm event into alarm information according to the preset alarm information template, and send it to the designated channel through the preset sending channel.

[0028] In a third aspect, a computer-readable storage medium is provided, wherein the computer-readable medium stores a program code for execution by a device, wherein the program code includes steps for executing the method in any one of the implementations of the first aspect described above.

[0029] In a fourth aspect, an electronic device is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements a method as in any one of the implementations in the first aspect above.

[0030] This application has the following beneficial effects:

[0031] 1. This application can visualize the user's visual monitoring of the entire life cycle of a process from creation to completion, and supports viewing the processes started on the current server in a page-based visual manner, without having to log in to the server to start and stop the process;

[0032] 2. This application can serve the non-stop hot loading of process configuration files. When it detects that a process is added, reduced, or the process configuration has changed, it can automatically start, stop, or restart the relevant process;

[0033] 3. This application can set a custom health check script for the service, which is convenient for performing specific health check operations according to the characteristics of different services;

[0034] 4. This application can send process events through multiple channels, especially supports the expansion of custom channels, so that users can infinitely expand the sending channels according to their own needs;

[0035] 5. This application defines several major parameters for managing the entire life cycle of the process through the configuration parameters of ini, supports unlimited expansion of custom processes when server resources permit, supports process management tools under cross-platform, cross-operating system, and cross-chip hardware system conditions, and supports process control under X86 / ARM architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application.

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 is a flowchart of a visual process management method according to Embodiment 1 of the present application;

[0039] Figure 2 This is a flowchart of the control of a process file after its initial creation in the visual process management method of Example 1 of the present application;

[0040] Figure 3 This is a flowchart of the control after the configuration file is updated in the visual process management method of Example 1 of the present application;

[0041] Figure 4 This is a flowchart of the control after the configuration file is deleted in the visual process management method of Example 1 of the present application;

[0042] Figure 5 It is a structural block diagram of a visual process management device according to Embodiment 2 of the present application;

[0043] Figure 6 It is a schematic diagram of the internal structure of the electronic device of Example 4 of the present application.

[0044] Reference numerals:

[0045] 100, configuration module; 200, monitoring module; 300, process management module; 400, event management module; 500, visualization module; 600, alarm module. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] Example 1

[0048] like Figure 1 As shown, a visual process management method involved in Example 1 of the present application includes:

[0049] S100, customizing parameters of process information configuration, and registering the process information to be managed into the process management module;

[0050] Specifically, the process information to be managed is configured on the server through manual configuration in the ini format, and the configuration is managed uniformly. If you want to access the management and control of multiple processes, you need to create a corresponding file for each process and write the configuration information. In step S200, the configuration directory will be dynamically detected to obtain the latest process configuration information.

[0051] Among them, multiple parameters of process information configuration can be used to represent the control method of the entire life cycle of the process, including:

[0052] command: indicates the command to start the process, which cannot be exited after execution;

[0053] dir: means that when the program is started, you need to enter the directory first and then execute the command;

[0054] stopSig: indicates the signal sent to the process on the operating system when the process is to be stopped. The default is SIGTERM, which means that the process exits gracefully.

[0055] env: represents the environment variables of the process, which is an array of key-value pairs;

[0056] User: indicates the user running the process. Different processes will be started with different users.

[0057] group: indicates the user group in which the process runs. Different processes will be started with different user groups.

[0058] killGroup: indicates whether to terminate the process as a process group;

[0059] healthCheck: A command that detects whether the process status is healthy and exits immediately after execution.

[0060] It should be noted that the configuration parameters of the ini define several major parameters for the entire life cycle of the management process, and support unlimited expansion of custom processes if server resources permit.

[0061] S200, dynamically monitoring the configuration file of the process to be managed;

[0062] In this embodiment, the file modification monitoring capability provided by the fsnotify cross-platform tool is utilized to support monitoring of events such as creation, deletion, writing, renaming, and granting of permissions for configuration files, thereby dynamically acquiring user modifications to process configurations in near real time. At the same time, it supports process management tools under cross-platform, cross-operating system, and cross-chip hardware system conditions, and supports process control under the X86 / ARM architecture.

[0063] S300, dynamically loading the configuration file of the latest version of the process to be managed and performing management and control of the actual operating system process, mainly including the following types of processing;

[0064] like Figure 2 As shown, the process file is created for the first time:

[0065] When a process file is created for the first time in the system, the process management module does not need to consider the existence of historical data. It only needs to use the corresponding user to start the process according to the process configuration information and start the health check task and process status event monitoring task of the corresponding process.

[0066] like Figure 3 The configuration file is updated as shown:

[0067] When a process file is detected as having an update operation, this means that a previous version of the process already exists in the current server and is being started. Therefore, at this time, the process management module needs to first stop the historical version of the process through SIGTERM (that is, let the process stop normally), and at the same time stop the health check and event monitoring tasks of the corresponding process to prevent the push of false alarm events due to the normal exit of the process. Then load the process configuration information specified by the latest process file, start the process using the latest configuration information, and at the same time start the health check and event monitoring tasks of the latest process to complete the dynamic update of the specified process without affecting the normal running processes on other servers, thereby realizing the hot loading operation of the process file.

[0068] like Figure 4As shown, the configuration file is deleted:

[0069] When a process file is detected as having a deletion operation, this means that a previous version of the process already exists in the current server and is being started, and the latest version needs to remove the corresponding process. Therefore, what the process management module needs to do at this time is to stop the corresponding process first, and at the same time stop the health check and event monitoring tasks of the corresponding process to complete the removal operation of the process.

[0070] In this embodiment, it is possible to support hot loading of the configuration files of the managed processes without shutting down the service. When it is detected that a process is added, reduced, or the process configuration has changed, the process management module will automatically start, stop, and restart the related processes. It can also support setting custom health check scripts for the services, which facilitates specific health check operations based on the characteristics of different services.

[0071] S400, monitoring alarm events occurring during the operation of the process to be managed in real time according to preset alarm rules;

[0072] After performing relevant operations on the operating system process, the event information occurring during the process operation is monitored in real time. The event types defined in this embodiment are as follows:

[0073] 1. Process startup success: indicates that the process is successfully started after the process management module is called to start the process;

[0074] 2. Process startup failure: indicates that after calling the process management module to start the process, the process fails to start due to its own reasons or operating system resource limitations;

[0075] 3. Normal process stop: means that the process stops successfully after calling the process management module to stop the process;

[0076] 4. Abnormal process stop: It means that the process exits abnormally due to the process itself (such as OOM, etc.) or external factors during the normal startup process;

[0077] 5. Abnormal process usage of resources: This means that the process is detected to be occupying too much system CPU and memory during normal operation.

[0078] After receiving the process-related event, the event fields are assembled into event details containing the following information and pushed to the monitoring alarm module: event type, event unique ID, event occurrence time, event corresponding process name and event corresponding process ID.

[0079] S500, the entire life cycle of the process to be managed is displayed visually on a Web page, and the process can be started and stopped;

[0080] Specifically, in this embodiment, by using a user name and password to log in to a visualized Web page, you can see the process information that is controlled after steps S200 to S400, including the process name, process number, process status, process start time, etc., and you can also configure event alarm rules on the Web page, so that you can visualize the user's monitoring of the entire life cycle of the process from its creation to its end; and it supports viewing the processes started on the current server in a visualized way on the Web page, and you do not need to log in to the server to start and stop the process.

[0081] S600. Dynamically render the alarm event into alarm information according to a preset alarm information template, and send it to a designated channel through a preset sending channel to realize timely notification of abnormal messages.

[0082] Specifically, after receiving the alarm event information related to the process in step S400, the alarm information is dynamically rendered according to the set alarm information template, wherein the alarm information can be expressed in the form of text, picture, video, voice, etc., and of course, it can also be a combination of the above-mentioned forms of expression, such as: picture + text, voice + text, etc., and is sent to a specific channel through a sending channel, and the channels included are of the following types:

[0083] SMS channel: Users can use the cloud SMS channel to send alarm information to the target mobile phone number via SMS. The information that needs to be configured is the cloud API_KEY and the mobile phone number that needs to be notified.

[0084] Email channel: Users can send alarm information to the target mailbox by email through a custom email server. The information that needs to be configured is the SMTP address of the email server, the SMTP port, whether to use SSL, the sender's email account, the sender's email password, and the email account that needs to be notified.

[0085] DingTalk channel: Users can use the DingTalk robot to send alarm information to the target DingTalk group through the DingTalk group message. The information that needs to be configured is the webhook address of the DingTalk group chat.

[0086] Enterprise WeChat channel: Users can use the enterprise WeChat robot to send alarm information to the target WeChat group through group chat. The information that needs to be configured is the webhook address of the WeChat group chat.

[0087] Custom channel: Users can implement alarm plug-ins that meet their own needs by means of custom plug-ins. In this embodiment, an abstract interface using the Java language is designed. Users only need to write Java code and implement the provided interface, and then package it into a Jar package and upload it to the platform for use. The information that needs to be configured is determined according to the configuration required by the alarm plug-in itself.

[0088] It should be noted that the alarm events of the process can be sent through multiple channels, especially supporting the extension of custom alarm plug-ins, so that users can infinitely expand the sending channels according to their own needs.

[0089] In this embodiment, a terminal program running on the server can be designed and used as a parent process to start a child process (i.e., a managed process) of the entire life cycle that is desired to be controlled, and receive event information related to the child process life cycle. It supports the configuration of event matching alarm rules to send process abnormality alarm information to relevant channels, including email, SMS, DingTalk, enterprise WeChat, etc. Secondly, a visual web page is designed to support user login and logout. After logging in, the process information running on the server can be viewed through the web page, including the process name, process startup user name, process startup user group name, process number, process startup time, etc. The operation of starting, stopping, and viewing the process log can also be sent to the server through the web page.

[0090] Example 2

[0091] like Figure 5 As shown, the processes to be managed in the server include process 1, process 2, process 3, process 4 ... process N. A visual process management device involved in Embodiment 2 of the present application includes:

[0092] Configuration module 100, used to customize parameters of process information configuration and register the process information to be managed into the process management module;

[0093] A monitoring module 200, used for dynamically monitoring the configuration files of the process to be managed;

[0094] The process management module 300 is used to dynamically load the configuration file of the latest version of the process to be managed and to control the actual operating system process;

[0095] The event management module 400 is used to monitor the alarm events occurring during the operation of the process to be managed in real time according to the preset alarm rules;

[0096] The visualization module 500 is used to visualize the entire life cycle of the process to be managed on a Web page and to start and stop the process;

[0097] The alarm module 600 is used to dynamically render the alarm event into alarm information according to a preset alarm information template, and send it to a designated channel through a preset sending channel.

[0098] It should be noted that other specific implementations of the visual process management device in this embodiment can refer to the specific implementations of the above-mentioned visual process management method, and will not be repeated here to avoid redundancy.

[0099] Example 3

[0100] A computer-readable storage medium according to Embodiment 3 of the present application, wherein the computer-readable storage medium stores a program code for execution by a device, wherein the program code includes steps for executing a method in any one of the implementations in Embodiment 1 of the present application;

[0101] Among them, the computer-readable storage medium can be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM); the computer-readable storage medium can store program code, and when the program stored in the computer-readable storage medium is executed by the processor, the processor is used to execute the steps of the method in any one of the implementation methods in Example 1 of the present application.

[0102] Example 4

[0103] like Figure 6 As shown, an electronic device involved in Embodiment 4 of the present application includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, a method in any one of the implementations in Embodiment 1 of the present application is implemented;

[0104] Among them, the processor can adopt a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the method in any one of the implementation methods in Example 1 of the present application.

[0105] The processor may also be an integrated circuit electronic device with signal processing capability. In the implementation process, each step of the method in any implementation of Embodiment 1 of the present application may be completed by an integrated logic circuit of hardware in the processor or by instructions in software form.

[0106] The above-mentioned processor may also be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the functions required to be performed by the unit included in the data processing device of the embodiment of the present application in combination with its hardware, or executes the method in any one of the implementation modes in the embodiment 1 of the present application.

[0107] The above are only preferred specific implementations of the present application; however, the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and its improved ideas of the present application within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A visual process management method, characterized in that: include: Customize the parameters of process information configuration and register the process information to be managed to the process management module; Dynamically monitor the configuration files of the processes to be managed in the server; Dynamically load the latest version of the configuration file of the process to be managed and control the actual operating system process; Monitor the alarm events that occur during the operation of the managed process in real time according to the preset alarm rules; The entire life cycle of the process to be managed is displayed visually on the web page, and the process can be started and stopped; Dynamically render the alarm event into alarm information according to the preset alarm information template, and send it to the designated channel through the preset sending channel; Among them, the actual operating system process is controlled, including: Initial creation of a configuration file: Use the corresponding user to start the process according to the process configuration file and start the health check task and process status event monitoring task of the corresponding process; The configuration file is updated: the historical version of the process is stopped by SIGTERM, and the health check and event monitoring tasks of the corresponding process are stopped. Then, the process configuration information specified by the latest process file is loaded, and the process is started using the latest process configuration information. The health check and event monitoring tasks of the latest process are started to complete the dynamic update of the specified process. The configuration file is deleted: Stop the corresponding process, and stop the health check and event monitoring tasks of the corresponding process to complete the process removal operation; The service can hot-load the configuration files of the managed processes without stopping. When it detects that a new process is added or reduced, or the process configuration has changed, the process management module will automatically start, stop, and restart the relevant processes. The health check task is implemented through a custom health check script.

2. The visual process management method according to claim 1, characterized in that: The configuration file adopts an ini format.

3. The visual process management method according to claim 2, characterized in that: The parameters of the process information configuration include at least one of the following: command, dir, stopSig, env, user, group, killGroup, and healthCheck, wherein command represents the command for starting the process, and the process cannot be exited after execution is completed; dir represents that when the program is started, the process needs to enter the directory first, and then execute the command; stopSig represents the signal sent to the process on the operating system when the process is to be stopped, and the default is SIGTERM, which means that the process is stopped normally; env represents the environment variable for the process to run; user represents the user for the process to run; group represents the user group for the process to run; killGroup represents whether the process is terminated as a process group; healthCheck represents the command for detecting whether the process status is healthy, and healthCheck automatically exits immediately after execution is completed.

4. The visual process management method according to claim 1, characterized in that: Dynamically monitor the configuration file of the process to be managed, including: using the file modification monitoring function provided by the fsnotify cross-platform tool to monitor the events of the process configuration file, the types of events include: creation, deletion, writing, renaming and granting permissions.

5. The visual process management method according to claim 1, characterized in that: The types of alarm events include: successful process startup, process startup failure, normal process stop, abnormal process stop and abnormal process occupancy of resources, and the alarm information includes at least one of the following: event type, event unique ID, event occurrence time, event corresponding process name and event corresponding process ID.

6. The visual process management method according to claim 1, characterized in that: The sending channel includes at least one of the following: a SMS channel, an email channel, a DingTalk channel, an enterprise WeChat channel, and a custom channel.

7. A visual process management device, characterized in that: include: The configuration module is used to customize the parameters of the process information configuration and register the process information to be managed to the process management module; A monitoring module, used to dynamically monitor the configuration files of the processes to be managed in the server; The process management module is used to dynamically load the latest version of the configuration file of the process to be managed and to control the actual operating system process; The event management module is used to monitor the alarm events that occur during the operation of the process to be managed in real time according to the preset alarm rules; The visualization module is used to visualize the entire life cycle of the process to be managed on a web page and can start and stop the process; The alarm module is used to dynamically render the alarm event into alarm information according to the preset alarm information template, and send it to the designated channel through the preset sending channel; Among them, the actual operating system process is controlled, including: Initial creation of a configuration file: Use the corresponding user to start the process according to the process configuration file and start the health check task and process status event monitoring task of the corresponding process; The configuration file is updated: the historical version of the process is stopped by SIGTERM, and the health check and event monitoring tasks of the corresponding process are stopped. Then, the process configuration information specified by the latest process file is loaded, and the process is started using the latest process configuration information. The health check and event monitoring tasks of the latest process are started to complete the dynamic update of the specified process. The configuration file is deleted: Stop the corresponding process, and stop the health check and event monitoring tasks of the corresponding process to complete the process removal operation; The service can hot-load the configuration files of the managed processes without stopping. When it detects that a new process is added or reduced, or the process configuration has changed, the process management module will automatically start, stop, and restart the relevant processes. The health check task is implemented through a custom health check script.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program code for execution by a device, wherein the program code includes steps for executing the method according to any one of claims 1 to 6.

9. An electronic device, characterized in that: The electronic device comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the method as claimed in any one of claims 1 to 6 when executed by the processor.

Citation Information

Patent Citations

  • Method capable of dynamically adjusting monitored android service and process and dynamically adjusting corresponding processing mechanism

    CN110413342A

  • Application updating method and device

    CN111736874A