A snapshot task monitoring method, device, equipment and medium
By obtaining and processing user-side task execution monitoring requests, it creates and manages snapshot tasks, which solves the problem of unclear task number and unclear progress, and improves the management and control capabilities and backup efficiency of snapshot tasks.
Patent Information
- Application Number
- CN202210469658.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-30
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-04-30
Smart Images

Figure CN114817134B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a snapshot task monitoring method, device, equipment and medium. Background Art
[0002] Currently, scheduled snapshots are scenarios where data snapshots are created for storage device data volumes at set times. This scenario implements the function of creating snapshot copies on a scheduled basis, and data backup can be selected during the data read and write cool-down period. However, the scheduled snapshots of the source volumes on the storage side that are currently implemented based on the Linux Agent plug-in (the snapshot agent program in the Linux system) have problems such as unclear number of snapshot volume tasks, the names of snapshot volume creation are all named using a combination of Linux time ID and hexadecimal random ID, and there is no regularity in the naming, and the number of snapshot volume tasks cannot be counted. When there are a large number of snapshot volumes created based on the Linux Agent plug-in on the storage side, task management is extremely difficult, and snapshot tasks cannot be classified in detail.
[0003] As can be seen from the above, in the process of snapshot task monitoring, how to avoid unclear task quantity and task progress, increase the management and control capabilities of snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storage periodic snapshots are problems to be solved in this field. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a snapshot task monitoring method, device, equipment and medium, which can effectively increase the management and control capabilities of snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storing scheduled snapshots. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses a snapshot task monitoring method, comprising:
[0006] Get the task execution monitoring request initiated by the user;
[0007] Creating a target snapshot task according to the task execution monitoring request, and saving the target snapshot task to a local preset database;
[0008] After the target snapshot task is executed, status information of the target snapshot task is obtained, and target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information;
[0009] The target snapshot task monitoring information is sent to the user end, so that the user end monitors the target snapshot task based on the target snapshot task monitoring information.
[0010] Optionally, obtaining the task execution monitoring request initiated by the user terminal includes:
[0011] Establishing a secure communication protocol interface with the user terminal;
[0012] The secure communication protocol interface is utilized to obtain a task execution monitoring request sent by the user end and created based on a preset snapshot task execution plug-in.
[0013] Optionally, after the target snapshot task is executed, obtaining status information of the target snapshot task includes:
[0014] Generate a task execution instruction based on the target snapshot task, generate task execution end information after completing the target snapshot task execution according to the task execution instruction using a local preset command line interface, and send the task execution end information to a monitoring plug-in pre-built in the preset command line interface;
[0015] The target snapshot task whose task execution is completed is determined according to the task execution completion information, and the target snapshot task whose task execution is completed is monitored to obtain status information of the target snapshot task.
[0016] Optionally, the using a local preset command line interface and completing the target snapshot task execution according to the task execution instruction includes:
[0017] Using the monitoring plug-in in the preset command line interface, determining whether there is the target snapshot task matching the task execution instruction in the preset database;
[0018] If the target snapshot task matching the execution instruction exists in the preset database, the target snapshot task is sent to the preset queue in the monitoring plug-in so that the preset command line interface executes the target snapshot task according to the preset queue and the task execution instruction.
[0019] Optionally, the using the monitoring plug-in in the preset command line interface to determine whether there is the target snapshot task matching the task execution instruction in the preset database includes:
[0020] Determine the preset period by using the preset period determination method;
[0021] Based on the preset period and using the monitoring plug-in in the preset command line interface, it is determined whether there is the target snapshot task matching the task execution instruction in the preset database.
[0022] Optionally, after determining the target snapshot task monitoring information based on the target snapshot task and the target snapshot task status information, the method further includes:
[0023] Determine a unique identifier of the source snapshot based on the target snapshot task, and obtain all monitoring information of the target snapshot task corresponding to the unique identifier;
[0024] All the target snapshot task monitoring information corresponding to the unique identifier is classified using a preset classification method to obtain different types of the target snapshot task monitoring information.
[0025] Optionally, sending the target snapshot task monitoring information to the user terminal includes:
[0026] Summarizing the target snapshot task monitoring information of different types in the form of a list to obtain a target snapshot task monitoring list;
[0027] The target snapshot task monitoring list is sent to the user terminal.
[0028] In a second aspect, the present application discloses a snapshot task monitoring device, comprising:
[0029] A task execution monitoring request acquisition module is used to acquire a task execution monitoring request initiated by a user terminal;
[0030] A target snapshot task saving module, used to create a target snapshot task according to the task execution monitoring request, and save the target snapshot task to a local preset database;
[0031] A target snapshot task monitoring information determination module, configured to obtain the status information of the target snapshot task after the target snapshot task is executed, and determine the target snapshot task monitoring information based on the target snapshot task and the target snapshot task status information;
[0032] The target snapshot task monitoring information sending module is used to send the target snapshot task monitoring information to the user end, so that the user end monitors the target snapshot task based on the target snapshot task monitoring information.
[0033] In a third aspect, the present application discloses an electronic device, including:
[0034] Memory, used to store computer programs;
[0035] The processor is used to execute the computer program to implement the aforementioned snapshot task monitoring method.
[0036] In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed snapshot task monitoring method are implemented.
[0037] It can be seen that the present application provides a snapshot task monitoring method, including obtaining a task execution monitoring request initiated by a user terminal; creating a target snapshot task according to the task execution monitoring request, and saving the target snapshot task to a local preset database; after the target snapshot task is executed, obtaining the status information of the target snapshot task, and determining the target snapshot task monitoring information based on the target snapshot task and the target snapshot task status information; sending the target snapshot task monitoring information to the user terminal so that the user terminal monitors the target snapshot task based on the target snapshot task monitoring information. The present application obtains the status information of the target snapshot task to obtain the target snapshot task monitoring information after creating and executing the target snapshot task, thereby avoiding situations where the number of tasks is unclear and the progress of the task is unclear, and then sends the target snapshot task monitoring information to the user terminal, which can effectively increase the ability to manage and control snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storing timed snapshots. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0039] Figure 1 A flow chart of a snapshot task monitoring method disclosed in this application;
[0040] Figure 2 A snapshot task queue flow chart disclosed in this application;
[0041] Figure 3 A flow chart of a snapshot task monitoring method disclosed in this application;
[0042] Figure 4 A specific flow chart of a snapshot task monitoring method disclosed in this application;
[0043] Figure 5 A specific schematic diagram of a snapshot task monitoring method disclosed in this application;
[0044] Figure 6 A schematic diagram of the structure of a snapshot task monitoring device disclosed in this application;
[0045] Figure 7 A structural diagram of an electronic device provided for this application. 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] In the current context, a scheduled snapshot is a scenario in which a data snapshot is created for a storage device data volume at a set time. This scenario implements the function of creating snapshot copies on a scheduled basis, and data backup can be selected during a period of data read and write cooldown. However, the scheduled snapshot of the source volume on the storage side, which is currently implemented based on the Linux Agent plug-in (the snapshot agent in the Linux system), has the problem that the number of snapshot volume tasks is unclear, the snapshot volume creation names are all named using a combination of Linux time ID and hexadecimal random ID, the naming is irregular, and the number of snapshot volume tasks cannot be counted. When there are a large number of snapshot volumes created based on the LinuxAgent plug-in on the storage side, task management is extremely difficult, and snapshot tasks cannot be classified in detail. As can be seen from the above, in the process of snapshot task monitoring, how to avoid unclear task numbers and unclear task progress, increase the ability to control snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storage scheduled snapshots are issues to be solved in this field.
[0048] See also Figure 1 As shown, the embodiment of the present invention discloses a snapshot task monitoring method, which may specifically include:
[0049] Step S11: Obtaining a task execution monitoring request initiated by the user end.
[0050] Step S12: creating a target snapshot task according to the task execution monitoring request, and saving the target snapshot task to a local preset database.
[0051] Step S13: after the target snapshot task is executed, the status information of the target snapshot task is obtained, and the target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information.
[0052] In this embodiment, a task execution instruction is generated based on the target snapshot task. After the target snapshot task is executed using a local preset command line interface and according to the task execution instruction, task execution completion information is generated, and the task execution completion information is sent to a monitoring plug-in pre-built in the preset command line interface. Then, the target snapshot task at which task execution is completed is determined based on the task execution completion information, and the target snapshot task at which task execution is completed is monitored to obtain status information of the target snapshot task. Then, target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information.
[0053] It can be understood that after generating a task execution instruction based on the target snapshot task, the monitoring plug-in in the preset command line interface is used to determine whether there is a target snapshot task matching the task execution instruction in the preset database. If there is a target snapshot task matching the execution instruction in the preset database, the target snapshot task is sent to the preset queue in the monitoring plug-in, so that the preset command line interface executes the target snapshot task according to the preset queue and the task execution instruction.
[0054] In this embodiment, the monitoring plug-in in the preset command line interface is used to determine whether the target snapshot task matching the task execution instruction exists in the preset database, including: determining the preset period by a preset period determination method, and then based on the preset period and using the monitoring plug-in in the preset command line interface, determining whether the target snapshot task matching the task execution instruction exists in the preset database.
[0055] Step S14: sending the target snapshot task monitoring information to the user terminal, so that the user terminal monitors the target snapshot task based on the target snapshot task monitoring information.
[0056] In this embodiment, after the target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information, it also includes: determining the unique identifier of the source snapshot based on the target snapshot task, and obtaining all the target snapshot task monitoring information corresponding to the unique identifier, and then using a preset classification method to classify all the target snapshot task monitoring information corresponding to the unique identifier to obtain different types of target snapshot task monitoring information, and then summarizing the different types of target snapshot task monitoring information in the form of a list to obtain a target snapshot task monitoring list, and sending the target snapshot task monitoring list to the user end, so that the user end can monitor the target snapshot task based on the target snapshot task monitoring list.
[0057] For example, Figure 2 As shown, the preset cycle is 1 minute, that is, the monitoring plug-in in the preset command line interface will determine whether there is a target snapshot task matching the task execution instruction in the preset database every minute. For example, there are four queues. If there is a target snapshot task matching the execution instruction in the preset database, the target snapshot task is placed in the queue. The task capacity of a queue is 1024. If the number of target snapshot tasks in the first queue is 1024, the 1025th target snapshot task is placed in the second queue. Based on the target snapshot task, the unique identifier of the source snapshot (i.e., id=0) is determined. The unique identifier of the source snapshot can also be Host_id, Vdisk_id, Sys_time, etc., and then the source snapshot is classified according to its id, task progress, task quantity, time period, etc. Finally, the target snapshot task monitoring list is displayed through the GUI (Graphical User Interface) of the user end.
[0058] In this embodiment, a task execution monitoring request initiated by the user end is obtained; a target snapshot task is created according to the task execution monitoring request, and the target snapshot task is saved to a local preset database; after the target snapshot task is executed, the status information of the target snapshot task is obtained, and the target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information; the target snapshot task monitoring information is sent to the user end so that the user end can monitor the target snapshot task based on the target snapshot task monitoring information. This application obtains the status information of the target snapshot task to obtain the target snapshot task monitoring information after creating and executing the target snapshot task, thereby avoiding situations where the number of tasks is unclear and the progress of the tasks is unclear, and then sends the target snapshot task monitoring information to the user end, which can effectively increase the ability to manage and control snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storing timed snapshots.
[0059] See also Figure 3 As shown, the embodiment of the present invention discloses a snapshot task monitoring method, which may specifically include:
[0060] Step S21: establishing a secure communication protocol interface with the user terminal, and then utilizing the secure communication protocol interface to obtain a task execution monitoring request sent by the user terminal that is created based on a preset snapshot task execution plug-in.
[0061] In this embodiment, the snapshot task is sent to the user display interface through the SSH (Secure Shell) interface, and then the snapshot task sent by the user is converted through the IPMI (Intelligent Platform Management Interface) to obtain a task execution monitoring request.
[0062] Step S22: creating a target snapshot task according to the task execution monitoring request, and saving the target snapshot task to a local preset database.
[0063] Step S23: after the target snapshot task is executed, the status information of the target snapshot task is obtained, and the target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information.
[0064] Step S24: sending the target snapshot task monitoring information to the user terminal, so that the user terminal monitors the target snapshot task based on the target snapshot task monitoring information.
[0065] In this embodiment, a secure communication protocol interface is established with the user end, and then the secure communication protocol interface is used to obtain a task execution monitoring request sent by the user end that is created based on a preset snapshot task execution plug-in; a target snapshot task is created according to the task execution monitoring request, and the target snapshot task is saved to a local preset database; after the target snapshot task is executed, the status information of the target snapshot task is obtained, and the target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information; the target snapshot task monitoring information is sent to the user end so that the user end can monitor the target snapshot task based on the target snapshot task monitoring information. This application obtains the status information of the target snapshot task to obtain the target snapshot task monitoring information after creating and executing the target snapshot task, thereby avoiding situations where the number of tasks is unclear and the progress of the task is unclear, and then sends the target snapshot task monitoring information to the user end, which can effectively increase the ability to manage and control snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storing timed snapshots.
[0066] For example, Figure 4As shown, a Linux user sends a snapshot task to a GUI (Graphical User Interface) through an SSH interface, and then generates a task execution monitoring request through IPMI, and sends the task execution monitoring request to MCS (storage system in a computer) so as to create a target snapshot task according to the task execution monitoring request, and then generates a task execution instruction based on the target snapshot task, and then uses the CLI (Command-Line Interface) in the MCS to execute the target snapshot task, and then uses the MCS_LVX (a monitoring plug-in) pre-built on the CLI to monitor the target snapshot task after the execution is completed to obtain the target snapshot task monitoring information, and classifies the target snapshot task monitoring information according to the number of tasks, task progress, time period, etc. to obtain a target snapshot task monitoring list, and then allows the user to monitor the target snapshot task through the GUI.
[0067] For example, Figure 5 As shown, the specific process of determining the target snapshot task monitoring information is as follows: the MCS_LVX plug-in determines whether there is a target snapshot task matching the task execution instruction in the database every minute. If there is a target snapshot task matching the execution instruction in the preset database, the target snapshot task is sent to the preset queue in the monitoring plug-in, and then the CLI executes the target snapshot task according to the preset queue. After the execution is completed, the MCS_LVX plug-in obtains the status information of the target snapshot task after the execution is completed, and then determines the target snapshot task monitoring information based on the basic information of the target snapshot task such as the target snapshot task ID, task progress, and the status information of the target snapshot task, and then sends it to the user end through the SSH interface.
[0068] See also Figure 6 As shown, the embodiment of the present invention discloses a snapshot task monitoring device, which may specifically include:
[0069] The task execution monitoring request acquisition module 11 is used to acquire the task execution monitoring request initiated by the user end;
[0070] A target snapshot task saving module 12 is used to create a target snapshot task according to the task execution monitoring request, and save the target snapshot task to a local preset database;
[0071] A target snapshot task monitoring information determination module 13 is used to obtain the status information of the target snapshot task after the target snapshot task is executed, and determine the target snapshot task monitoring information based on the target snapshot task and the target snapshot task status information;
[0072] The target snapshot task monitoring information sending module 14 is used to send the target snapshot task monitoring information to the user end, so that the user end monitors the target snapshot task based on the target snapshot task monitoring information.
[0073] In this embodiment, a task execution monitoring request initiated by the user end is obtained; a target snapshot task is created according to the task execution monitoring request, and the target snapshot task is saved to a local preset database; after the target snapshot task is executed, the status information of the target snapshot task is obtained, and the target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information; the target snapshot task monitoring information is sent to the user end so that the user end can monitor the target snapshot task based on the target snapshot task monitoring information. This application obtains the status information of the target snapshot task to obtain the target snapshot task monitoring information after creating and executing the target snapshot task, thereby avoiding situations where the number of tasks is unclear and the progress of the tasks is unclear, and then sends the target snapshot task monitoring information to the user end, which can effectively increase the ability to manage and control snapshot tasks, improve the accuracy of snapshot task monitoring, and improve the backup efficiency of storing timed snapshots.
[0074] In some specific embodiments, the task execution monitoring request acquisition module 11 may specifically include:
[0075] A security protocol interface establishment module, used to establish a security protocol interface with the user terminal;
[0076] The task execution monitoring request acquisition module is used to utilize the security protocol interface to acquire the task execution monitoring request sent by the user end and created based on the preset snapshot task execution plug-in.
[0077] In some specific embodiments, the target snapshot task monitoring information determination module 13 may specifically include:
[0078] A task execution completion information generation module is used to generate a task execution instruction based on the target snapshot task, generate task execution completion information after the target snapshot task is executed using a local preset command line interface and according to the task execution instruction, and send the task execution completion information to a monitoring plug-in pre-built in the preset command line interface;
[0079] The status information acquisition module is used to determine the target snapshot task at the end of task execution according to the task execution end information, and monitor the target snapshot task at the end of task execution to obtain the status information of the target snapshot task.
[0080] In some specific embodiments, the target snapshot task monitoring information determination module 13 may specifically include:
[0081] A determination module, configured to use the monitoring plug-in in the preset command line interface to determine whether there is the target snapshot task matching the task execution instruction in the preset database;
[0082] The target snapshot task execution module is used to send the target snapshot task to the preset queue in the monitoring plug-in if there is a target snapshot task matching the execution instruction in the preset database, so that the preset command line interface executes the target snapshot task according to the preset queue and the task execution instruction.
[0083] In some specific embodiments, the target snapshot task monitoring information determination module 13 may specifically include:
[0084] A preset period determination module, used to determine a preset period by a preset period determination method;
[0085] Specifically, in the judgment module, the user judges whether there is the target snapshot task matching the task execution instruction in the preset database based on the preset period and by using the monitoring plug-in in the preset command line interface.
[0086] In some specific embodiments, the target snapshot task monitoring information determination module 13 may specifically include:
[0087] A unique identifier determination module, used to determine the unique identifier of the source snapshot based on the target snapshot task, and obtain all the target snapshot task monitoring information corresponding to the unique identifier;
[0088] The classification module is used to classify all the target snapshot task monitoring information corresponding to the unique identifier using a preset classification method to obtain different types of target snapshot task monitoring information.
[0089] In some specific embodiments, the target snapshot task monitoring information sending module 14 may specifically include:
[0090] A target snapshot task monitoring list determination module is used to summarize different types of target snapshot task monitoring information in the form of a list to obtain a target snapshot task monitoring list;
[0091] The target snapshot task monitoring list sending module is used to send the target snapshot task monitoring list to the user terminal.
[0092] Figure 7A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the snapshot task monitoring method performed by the electronic device disclosed in any of the aforementioned embodiments.
[0093] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0094] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.
[0095] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20 to realize the operation and processing of the data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the snapshot task monitoring method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to including data transmitted from an external device received by the snapshot task monitoring device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0096] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0097] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the snapshot task monitoring method disclosed in any of the aforementioned embodiments are implemented.
[0098] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. 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 device including the elements.
[0099] The above is a detailed introduction to a snapshot task monitoring method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A snapshot task monitoring method, characterized in that: include: Get the task execution monitoring request initiated by the user; Creating a target snapshot task according to the task execution monitoring request, and saving the target snapshot task to a local preset database; After the target snapshot task is executed, status information of the target snapshot task is obtained, and target snapshot task monitoring information is determined based on the target snapshot task and the target snapshot task status information; Sending the target snapshot task monitoring information to the user terminal so that the user terminal monitors the target snapshot task based on the target snapshot task monitoring information; After the target snapshot task is executed, obtaining the status information of the target snapshot task includes: Generate a task execution instruction based on the target snapshot task, generate task execution end information after completing the target snapshot task execution according to the task execution instruction using a local preset command line interface, and send the task execution end information to a monitoring plug-in pre-built in the preset command line interface; Determining the target snapshot task at which task execution is completed according to the task execution completion information, and monitoring the target snapshot task at which task execution is completed to obtain status information of the target snapshot task; The using a local preset command line interface and executing the target snapshot task according to the task execution instruction includes: Using the monitoring plug-in in the preset command line interface, determining whether there is the target snapshot task matching the task execution instruction in the preset database; If the target snapshot task matching the execution instruction exists in the preset database, the target snapshot task is sent to the preset queue in the monitoring plug-in, so that the preset command line interface executes the target snapshot task according to the preset queue and the task execution instruction; The using the monitoring plug-in in the preset command line interface to determine whether there is the target snapshot task matching the task execution instruction in the preset database includes: Determine the preset period by using the preset period determination method; Based on the preset period and using the monitoring plug-in in the preset command line interface, it is determined whether there is the target snapshot task matching the task execution instruction in the preset database.
2. The snapshot task monitoring method according to claim 1, characterized in that: The step of obtaining the task execution monitoring request initiated by the user terminal includes: Establishing a secure communication protocol interface with the user terminal; The secure communication protocol interface is utilized to obtain a task execution monitoring request sent by the user end and created based on a preset snapshot task execution plug-in.
3. The snapshot task monitoring method according to claim 1 or 2, characterized in that: After determining the target snapshot task monitoring information based on the target snapshot task and the target snapshot task status information, the method further includes: Determine a unique identifier of the source snapshot based on the target snapshot task, and obtain all monitoring information of the target snapshot task corresponding to the unique identifier; All the target snapshot task monitoring information corresponding to the unique identifier is classified using a preset classification method to obtain different types of the target snapshot task monitoring information.
4. The snapshot task monitoring method according to claim 3, characterized in that: The sending the target snapshot task monitoring information to the user terminal includes: Summarizing the target snapshot task monitoring information of different types in the form of a list to obtain a target snapshot task monitoring list; The target snapshot task monitoring list is sent to the user terminal.
5. A snapshot task monitoring device, characterized in that: include: A task execution monitoring request acquisition module is used to acquire a task execution monitoring request initiated by a user terminal; A target snapshot task saving module, used to create a target snapshot task according to the task execution monitoring request, and save the target snapshot task to a local preset database; A target snapshot task monitoring information determination module, configured to obtain the status information of the target snapshot task after the target snapshot task is executed, and determine the target snapshot task monitoring information based on the target snapshot task and the target snapshot task status information; A target snapshot task monitoring information sending module, used for sending the target snapshot task monitoring information to the user end, so that the user end monitors the target snapshot task based on the target snapshot task monitoring information; The target snapshot task monitoring information determination module includes: A task execution completion information generation module is used to generate a task execution instruction based on the target snapshot task, generate task execution completion information after the target snapshot task is executed using a local preset command line interface and according to the task execution instruction, and send the task execution completion information to a monitoring plug-in pre-built in the preset command line interface; A status information acquisition module, used to determine the target snapshot task at the end of task execution according to the task execution end information, and monitor the target snapshot task at the end of task execution to obtain the status information of the target snapshot task; The target snapshot task monitoring information determination module includes: A determination module, configured to use the monitoring plug-in in the preset command line interface to determine whether there is the target snapshot task matching the task execution instruction in the preset database; A target snapshot task execution module, configured to send the target snapshot task to a preset queue in the monitoring plug-in if there is a target snapshot task matching the execution instruction in the preset database, so that the preset command line interface executes the target snapshot task according to the preset queue and the task execution instruction; The target snapshot task monitoring information determination module includes: A preset period determination module, used to determine a preset period by a preset period determination method; Specifically, in the judgment module, the user judges whether there is the target snapshot task matching the task execution instruction in the preset database based on the preset period and by using the monitoring plug-in in the preset command line interface.
6. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the snapshot task monitoring method according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the snapshot task monitoring method according to any one of claims 1 to 4 is implemented.
