Exception handling method, device, equipment and computer-readable storage medium

By periodically detecting and storing the plug-in installation progress in the k8s cluster, the installation uncertainty caused by the unexpected termination of the detection program is resolved, efficient recovery and progress management of the plug-in installation are achieved, and work efficiency is improved.

CN113886146BActive Publication Date: 2025-09-16ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111234687.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2025-09-16
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

During the installation of the k8s cluster plug-in, the detection program terminated unexpectedly, resulting in the inability to know the final installation result. Reinstallation is time-consuming and labor-intensive, reducing work efficiency.

Method used

By periodically detecting and storing the plug-in installation progress, it is determined whether there is an installation task after the detection program is unexpectedly terminated. If not, the target plug-in is determined and the installation task and detection program are restarted. If so, the detection program is restarted to manage the installation progress.

Benefits of technology

In the event that the detection program is terminated unexpectedly, the plug-in installation can be resumed and the progress can be monitored without reinstalling, which improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886146B_ABST
    Figure CN113886146B_ABST
Patent Text Reader

Abstract

The present invention discloses an exception handling method, apparatus, device and computer-readable storage medium for a plug-in installation process. Considering that when a detection program for periodically detecting the progress of plug-in installation is terminated unexpectedly, the plug-in installation task corresponding to the detection program may also be lost in some cases, but may not be lost in some cases, the present application can directly restart the detection program when the plug-in installation task is not lost. When the plug-in installation task is lost, the target plug-in in the k8s cluster under itself can be found in the installation state, and the plug-in installation task and the detection program of the target plug-in can be restarted so that the k8s cluster can continue to install the target plug-in. That is, the present application can resume the installation of the plug-in and monitor the installation progress when the detection program is terminated unexpectedly, without the need for reinstallation, thereby improving work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of k8s clusters, and in particular to a method for handling exceptions during a plug-in installation process. The present invention also relates to an apparatus, device, and computer-readable storage medium for handling exceptions during a plug-in installation process. Background Art

[0002] For a Kubernetes server cluster (k8s cluster for short), plug-ins can provide it with a variety of services. When a plug-in needs to be installed on a k8s cluster, the plug-in installation script can be sent to the k8s cluster through the management server so that the k8s cluster can execute the plug-in installation script to install the plug-in. During the process of installing the plug-in in the k8s cluster, the management server can periodically detect the plug-in installation progress in the k8s cluster to manage the installation progress of the plug-in. However, in some abnormal situations, the detection program used to periodically detect the plug-in installation progress may terminate unexpectedly, resulting in the server being unable to know the final installation result of the plug-in. Reinstalling it is time-consuming and labor-intensive, which reduces work efficiency.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the Invention

[0004] The purpose of the present invention is to provide an exception handling method for a plug-in installation process, which can resume the installation of the plug-in and monitor the installation progress when the detection program is unexpectedly terminated, without the need for reinstallation, thereby improving work efficiency; another purpose of the present invention is to provide an exception handling method apparatus, device and computer-readable storage medium for a plug-in installation process, which can resume the installation of the plug-in and monitor the installation progress when the detection program is unexpectedly terminated, without the need for reinstallation, thereby improving work efficiency.

[0005] To solve the above technical problems, the present invention provides a method for handling exceptions during a plug-in installation process, comprising:

[0006] In the process of controlling the installation of plug-ins in the k8s cluster managed by itself, the detection program is used to periodically detect and store the installation progress of the plug-in;

[0007] After the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program;

[0008] If it does not exist, determine the target plug-in that is in the installed state in the k8s cluster under itself;

[0009] Restart the plug-in installation task and the detection program according to the installation progress to control the k8s cluster to continue installing the target plug-in;

[0010] If so, restart the detection program to manage the installation progress of the plug-in.

[0011] Preferably, after the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program is specifically:

[0012] After an abnormal situation in a preset abnormal situation set occurs, determine the specific type of the abnormal situation that occurred;

[0013] Determining, based on a preset corresponding relationship, whether the abnormal situation of the specific type will cause the plug-in installation task corresponding to the detection program to be terminated;

[0014] If so, it is determined that there is no ongoing plug-in installation task corresponding to the detection program;

[0015] If not, it is determined that there is currently an ongoing plug-in installation task corresponding to the detection program.

[0016] Preferably, the preset abnormal situation set includes:

[0017] Unexpected restart of the system and network anomalies with the k8s cluster;

[0018] Then in the preset corresponding relationship, the unexpected restart of itself will cause the plug-in installation task corresponding to the detection program to be terminated, and the network anomaly between the k8s clusters will not cause the plug-in installation task corresponding to the detection program to be terminated.

[0019] Preferably, the target plug-in in the k8s cluster under the determination of the installation state is specifically:

[0020] According to the plug-in type and installation location corresponding to the stored installation progress, the target plug-in in the installed state in the k8s cluster is determined.

[0021] Preferably, after an abnormal situation in a preset abnormal situation set occurs, after determining the specific type of the abnormal situation that occurred, the exception handling method of the plug-in installation process further includes:

[0022] The specific type and the corresponding occurrence time are stored.

[0023] Preferably, the exception handling method of the plug-in installation process further includes:

[0024] When the detection program detects that the plug-in installation is complete or fails, the control prompter prompts the detection result.

[0025] Preferably, the prompter is a display.

[0026] To solve the above technical problems, the present invention further provides an exception handling device for a plug-in installation process, comprising:

[0027] The detection module is used to use the detection program to periodically detect and store the installation progress of the plug-in during the process of controlling the installation of the plug-in in the k8s cluster managed by itself;

[0028] a judgment module, configured to, after the detection program is unexpectedly terminated, determine whether there is an ongoing plug-in installation task corresponding to the detection program; if not, trigger the determination module; if so, trigger the restart module;

[0029] The determination module is used to determine the target plug-in in the installed state in the k8s cluster under itself;

[0030] A control module is used to restart the plug-in installation task and the detection program according to the installation progress, so as to control the k8s cluster to continue installing the target plug-in;

[0031] The restart module is used to restart the detection program so as to manage the installation progress of the plug-in.

[0032] To solve the above technical problems, the present invention further provides an exception handling device for a plug-in installation process, comprising:

[0033] memory for storing computer programs;

[0034] The processor is configured to implement the steps of the above-mentioned method for handling exceptions during the plug-in installation process when executing the computer program.

[0035] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the exception handling method of the plug-in installation process described above are implemented.

[0036] The present invention provides an exception handling method for a plug-in installation process. Taking into account that when a detection program used to periodically detect the progress of plug-in installation is terminated unexpectedly, the plug-in installation task corresponding to the detection program may also be lost in some cases, but may not be lost in some cases, the present application can directly restart the detection program when the plug-in installation task is not lost. When the plug-in installation task is lost, the target plug-in in the k8s cluster under itself can be found in the installation state, and the plug-in installation task and the detection program of the target plug-in can be restarted so that the k8s cluster can continue to install the target plug-in. That is, the present application can resume the installation of the plug-in and monitor the installation progress when the detection program is terminated unexpectedly, without the need for reinstallation, thereby improving work efficiency.

[0037] The present invention also provides an exception handling device, apparatus, and computer-readable storage medium for a plug-in installation process, which have the same beneficial effects as the above exception handling method for a plug-in installation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the prior art and the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A flowchart of a method for handling exceptions during a plug-in installation process provided by the present invention;

[0040] Figure 2 A schematic diagram of the structure of an exception handling device for a plug-in installation process provided by the present invention;

[0041] Figure 3 A schematic diagram of the structure of an exception handling device for a plug-in installation process provided by the present invention. DETAILED DESCRIPTION

[0042] The core of the present invention is to provide an exception handling method for the plug-in installation process, which can restore the installation of the plug-in and monitor the installation progress when the detection program is terminated unexpectedly, without the need for reinstallation, thereby improving work efficiency; another core of the present invention is to provide an exception handling method device, equipment and computer-readable storage medium for the plug-in installation process, which can restore the installation of the plug-in and monitor the installation progress when the detection program is terminated unexpectedly, without the need for reinstallation, thereby improving work efficiency.

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings 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 making creative efforts shall fall within the scope of protection of the present invention.

[0044] Please refer to Figure 1 , Figure 1 This is a flow chart of a method for handling exceptions during a plug-in installation process provided by the present invention. The method for handling exceptions during a plug-in installation process includes:

[0045] S101: In the process of controlling the installation of the plug-in in the k8s cluster managed by itself, the detection program is used to periodically detect and store the installation progress of the plug-in;

[0046] Specifically, taking into account the technical problems in the above background technology, and taking into account that when the detection program used to periodically detect the progress of plug-in installation is terminated unexpectedly, in some cases the plug-in installation task corresponding to the detection program will also be lost, and in some cases it will not be lost. Therefore, the design idea of ​​this application is: first determine whether the management server has lost the plug-in installation task corresponding to the detection program, and then take corresponding measures to restart the monitoring of the plug-in installation progress in the k8s cluster based on the judgment result, thereby realizing the management of the plug-in installation process without the need to reinstall the plug-in. In addition, in order to realize the management of the plug-in installation progress, this application first uses the detection program to periodically detect and store the plug-in installation progress in the process of controlling the k8s cluster managed by itself to install the plug-in.

[0047] The detection period of the detection program can be set independently, for example, it can be 2 minutes, etc., and the embodiment of the present invention does not limit this.

[0048] Specifically, the management server can manage multiple k8s clusters, and the management server can use asynchronous tasks to simultaneously start multiple plug-in installation tasks in the subordinate k8s clusters to improve work efficiency.

[0049] S102: After the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program;

[0050] Specifically, in some cases the detection program may terminate unexpectedly. When the detection program terminates unexpectedly, the plug-in installation task corresponding to the detection program may not be lost. Therefore, in order to take different recovery measures, in the embodiment of the present invention, it is necessary to first determine whether there is an ongoing plug-in installation task corresponding to the detection program. If so, it means that the plug-in installation task has not been lost, and if not, it means that the plug-in installation task has been lost.

[0051] S103: If it does not exist, determine the target plug-in in the installed state in the k8s cluster under itself;

[0052] Specifically, if the plug-in installation task is lost, it is impossible to know which plug-in installation task is being executed in which subordinate k8s cluster, and naturally it is impossible to restore the monitoring of the plug-in installation progress. Therefore, in this step, it is first necessary to determine the target plug-in in the installed state in the subordinate k8s cluster, so as to subsequently restore the detection program of the target plug-in.

[0053] Among them, it is worth mentioning that the executor of the plug-in installation task in the k8s cluster is helm, and its external status usually includes in progress, busy and failed. In progress represents the available status, failed represents the unavailable status, and busy represents the installation status. When the plug-in installation task starts and is detected by the detection program, the plug-in status corresponding to the plug-in installation task can be synchronized to the storage / database in real time for storage so that it can be viewed at any time.

[0054] S104: Restart the plug-in installation task and detection program according to the installation progress to control the k8s cluster to continue installing the target plug-in;

[0055] Specifically, since the installation progress has been recorded before, the progress of the target plug-in before the plug-in installation task is lost can be known based on the installation progress. At this time, the plug-in installation task and the detection program can be restarted according to the installation progress. In this way, the management server can continue to detect and store the installation progress of the target plug-in.

[0056] Specifically, the detection of the installation progress is actually a detection of the creation status of each component in the plug-in. Therefore, based on the installation progress, it is possible to determine which component was installed before the abnormal situation occurred. When restarting the plug-in installation task, it is only necessary to continue the plug-in installation task from the uncreated component indicated in the installation progress.

[0057] S105: If it exists, restart the detection program to manage the installation progress of the plug-in.

[0058] Specifically, if the plug-in installation task is not lost, since the plug-in installation task can reflect which cluster is executing the installation process of which plug-in, the detection program for the plug-in can be directly restarted.

[0059] It is worth mentioning that no matter whether the plug-in installation task exists or is lost, the plug-in installation task can be set to an abnormal state. After the detection program of the plug-in installation task is restored, it can be set to a busy green state (that is, an installation state).

[0060] The present invention provides an exception handling method for a plug-in installation process. Taking into account that when a detection program used to periodically detect the progress of plug-in installation is terminated unexpectedly, the plug-in installation task corresponding to the detection program may also be lost in some cases, but may not be lost in some cases, the present application can directly restart the detection program when the plug-in installation task is not lost. When the plug-in installation task is lost, the target plug-in in the k8s cluster under itself can be found in the installation state, and the plug-in installation task and the detection program of the target plug-in can be restarted so that the k8s cluster can continue to install the target plug-in. That is, the present application can resume the installation of the plug-in and monitor the installation progress when the detection program is terminated unexpectedly, without the need for reinstallation, thereby improving work efficiency.

[0061] Based on the above embodiment:

[0062] As a preferred embodiment, after the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program is specifically as follows:

[0063] After an abnormal situation in the preset abnormal situation set occurs, determine the specific type of abnormal situation that occurred;

[0064] Determine, based on the preset correspondence, whether a specific type of abnormal situation will cause the plug-in installation task corresponding to the detection program to be terminated;

[0065] If so, it is determined that there is no ongoing plug-in installation task corresponding to the detection program;

[0066] If not, it is determined that there is currently an ongoing plug-in installation task corresponding to the detection program.

[0067] Specifically, considering that the management server can infer whether the plug-in installation task corresponding to the detection program will be lost based on the specific type of abnormal situation that occurs in itself, after an abnormal situation in the preset abnormal situation set occurs in itself, the specific type of abnormal situation that occurs is determined, and then the specific type of abnormal situation is judged based on the preset corresponding relationship whether it will cause the plug-in installation task corresponding to the detection program to be terminated. This determination process is relatively efficient and accurate, and can further improve work efficiency.

[0068] Of course, in addition to this determination method, after the detection program is unexpectedly terminated, other types of determination methods can also be used to determine whether there is an ongoing plug-in installation task corresponding to the detection program. The embodiment of the present invention does not limit this.

[0069] As a preferred embodiment, the preset abnormal situation set includes:

[0070] Unexpected restart of the system and network anomalies between the system and the k8s cluster;

[0071] In the preset correspondence, an unexpected restart of the system will cause the plug-in installation task corresponding to the detection program to be terminated, and network anomalies between k8s clusters will not cause the plug-in installation task corresponding to the detection program to be terminated.

[0072] Specifically, when the network between the management server and the k8s cluster is abnormal, it is very likely that the detection program will be terminated due to the inability to execute the detection program for a long time to detect the plug-in installation progress in the k8s cluster. Therefore, this abnormal situation will only cause the detection program to terminate and will not cause the plug-in installation task to terminate. In the event of an unexpected restart of the management server itself, the plug-in installation task and the detection program therein will inevitably be lost. Therefore, in the embodiment of the present invention, the preset correspondence can be used to quickly determine whether the plug-in installation task will be lost in the above two common abnormal situations.

[0073] Of course, the preset abnormal situation set may also include other types of abnormal situations, which are not limited in the embodiment of the present invention.

[0074] As a preferred embodiment, it is determined that the target plug-in in the installed state in the subordinate k8s cluster is specifically:

[0075] According to the plug-in type and installation location corresponding to the stored installation progress, the target plug-in in the k8s cluster is determined to be in the installed state.

[0076] Specifically, during the execution of the detection program, it can detect and store the progress of the plug-in installation in the k8s cluster. When storing, the plug-in type and installation location (that is, the k8s cluster where the plug-in is located) of the plug-in installation can be stored together. In this way, the target plug-in in the k8s cluster that is in the installation state can be determined later through the stored data. Even if there are plug-ins being installed in multiple k8s clusters, they can be determined one by one through the stored data.

[0077] As a preferred embodiment, after an abnormal situation in a preset abnormal situation set occurs, after determining the specific type of the abnormal situation that occurred, the exception handling method of the plug-in installation process further includes:

[0078] Stores the specific type and the corresponding occurrence time.

[0079] Specifically, in order to facilitate the staff to analyze the abnormal situation later, the embodiment of the present invention can also store the specific type of abnormal situation and the corresponding occurrence time after the abnormal situation occurs, so that the staff can perform fault analysis, which is conducive to improving work efficiency.

[0080] As a preferred embodiment, the exception handling method of the plug-in installation process further includes:

[0081] When the detection program detects that the plug-in installation is complete or fails, the control prompter prompts the detection result.

[0082] Specifically, in order to facilitate the staff to obtain the corresponding results of the plug-in installation task in a timely manner and take corresponding measures, the embodiment of the present invention can also control the prompter to prompt the detection result when the detection program detects that the plug-in installation is completed or failed, so as to facilitate the staff to deal with it in time when the installation fails, which is conducive to further improving work efficiency.

[0083] As a preferred embodiment, the prompter is a display.

[0084] Specifically, the display has the advantages of intuitive prompting effect and high popularity.

[0085] Of course, in addition to the display, the prompter can also be of many other types, which is not limited in the embodiment of the present invention.

[0086] Please refer to Figure 2 , Figure 2 This is a schematic diagram of the structure of an exception handling device for a plug-in installation process provided by the present invention, wherein the exception handling device for a plug-in installation process comprises:

[0087] The detection module 21 is used to periodically detect and store the installation progress of the plug-in using a detection program during the process of controlling the installation of the plug-in in the k8s cluster managed by itself;

[0088] The judgment module 22 is used to judge whether there is an ongoing plug-in installation task corresponding to the detection program after the detection program is unexpectedly terminated. If not, it triggers the determination module; if so, it triggers the restart module;

[0089] Determination module 23, used to determine the target plug-in in the installed state in its own k8s cluster;

[0090] The control module 24 is used to restart the plug-in installation task and the detection program according to the installation progress, so as to control the k8s cluster to continue installing the target plug-in;

[0091] The restart module 25 is used to restart the detection program so as to manage the installation progress of the plug-in.

[0092] For an introduction to the exception handling device for the plug-in installation process in an embodiment of the present invention, please refer to the embodiment of the exception handling method for the plug-in installation process described above, and the embodiment of the present invention will not be repeated here.

[0093] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the structure of an exception handling device for a plug-in installation process provided by the present invention, wherein the exception handling device for the plug-in installation process includes:

[0094] Memory 31, for storing computer programs;

[0095] The processor 32 is configured to implement the steps of the method for handling exceptions during the plug-in installation process in the aforementioned embodiment when executing the computer program.

[0096] For an introduction to the exception handling device of the plug-in installation process in an embodiment of the present invention, please refer to the embodiment of the exception handling method of the plug-in installation process described above, and the embodiment of the present invention will not be repeated here.

[0097] To solve the above technical problems, the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the exception handling method for the plug-in installation process in the above embodiment are implemented.

[0098] For an introduction to the computer-readable storage medium in the embodiment of the present invention, please refer to the embodiment of the exception handling method in the plug-in installation process described above, and the embodiment of the present invention will not be repeated here.

[0099] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should also be noted that in this specification, the term "comprise", "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise a..." do not exclude the presence of other identical elements in the process, method, article or equipment including the element.

[0100] The above description of the disclosed embodiments is intended to enable one 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, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for handling exceptions during a plug-in installation process, characterized in that: include: In the process of controlling the installation of plug-ins in the k8s cluster managed by itself, the detection program is used to periodically detect and store the installation progress of the plug-in; After the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program; If it does not exist, determine the target plug-in that is in the installed state in the k8s cluster under itself; Restart the plug-in installation task and the detection program according to the installation progress to control the k8s cluster to continue installing the target plug-in; If so, restart the detection program to manage the installation progress of the plug-in; After the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program is specifically as follows: After an abnormal situation in a preset abnormal situation set occurs, determine the specific type of the abnormal situation that occurred; Determining, based on a preset corresponding relationship, whether the abnormal situation of the specific type will cause the plug-in installation task corresponding to the detection program to be terminated; If so, it is determined that there is no ongoing plug-in installation task corresponding to the detection program; If not, it is determined that there is currently an ongoing plug-in installation task corresponding to the detection program.

2. The method for handling exceptions during the plug-in installation process according to claim 1, wherein: The preset abnormal situation set includes: Unexpected restart of the system and network anomalies with the k8s cluster; Then in the preset corresponding relationship, the unexpected restart of itself will cause the plug-in installation task corresponding to the detection program to be terminated, and the network anomaly between the k8s clusters will not cause the plug-in installation task corresponding to the detection program to be terminated.

3. The method for handling exceptions during the plug-in installation process according to claim 2, wherein: The target plug-in in the k8s cluster under the said determination that is in the installed state is specifically: According to the plug-in type and installation location corresponding to the stored installation progress, the target plug-in in the installed state in the k8s cluster is determined.

4. The method for handling exceptions during the plug-in installation process according to claim 1, wherein: After an abnormality in a preset abnormality set occurs, after determining the specific type of the abnormality, the exception handling method of the plug-in installation process further includes: The specific type and the corresponding occurrence time are stored.

5. The method for handling exceptions during the plug-in installation process according to any one of claims 1 to 4, characterized in that: The exception handling method of the plug-in installation process also includes: When the detection program detects that the plug-in installation is complete or fails, the control prompter prompts the detection result.

6. The method for handling exceptions during the plug-in installation process according to claim 5, characterized in that: The prompter is a display.

7. A device for handling exceptions during a plug-in installation process, characterized in that: include: The detection module is used to use the detection program to periodically detect and store the installation progress of the plug-in during the process of controlling the installation of the plug-in in the k8s cluster managed by itself; a judgment module, configured to, after the detection program is unexpectedly terminated, determine whether there is an ongoing plug-in installation task corresponding to the detection program; if not, trigger the determination module; if so, trigger the restart module; The determination module is used to determine the target plug-in in the installed state in the k8s cluster under itself; A control module is used to restart the plug-in installation task and the detection program according to the installation progress, so as to control the k8s cluster to continue installing the target plug-in; The restart module is used to restart the detection program so as to manage the installation progress of the plug-in; After the detection program is unexpectedly terminated, determining whether there is an ongoing plug-in installation task corresponding to the detection program is specifically as follows: After an abnormal situation in a preset abnormal situation set occurs, determine the specific type of the abnormal situation that occurred; Determining, based on a preset corresponding relationship, whether the abnormal situation of the specific type will cause the plug-in installation task corresponding to the detection program to be terminated; If so, it is determined that there is no ongoing plug-in installation task corresponding to the detection program; If not, it is determined that there is currently an ongoing plug-in installation task corresponding to the detection program.

8. A device for handling exceptions during a plug-in installation process, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for handling exceptions in the plug-in installation process according to any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for handling exceptions in the plug-in installation process according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method and apparatus for processing plug-in installation process

    CN106406942A

  • Plug-in processing method and related device

    CN109753293A