A monitoring inspection method, device, terminal and storage medium

By putting the saved data into an additional queue and resave it in the monitoring inspection, the problem of high time cost caused by data loss during the monitoring inspection is solved, and data security and efficiency are achieved.

CN114547162BActive Publication Date: 2025-01-03GENEW TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210023184.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-10
Publication Date
2025-01-03
Estimated Expiration
2042-01-10

AI Technical Summary

Technical Problem

In the prior art, when monitoring and inspection encounters situations where monitoring data cannot be saved, it is necessary to interrupt the inspection and re-execute the data storage operation in order to avoid data loss, resulting in a large amount of time cost for execution of a inspection.

Method used

By determining the to-be-customized monitoring in the target monitoring system, perform the inspection operation and obtain the monitoring data. If the saving operation fails, put the data into the preset first queue and re-execute the saving operation, and set the data to survive in the second queue. Duration: determine whether the data is finally saved successfully. If it is not successful, it will be repaired as the target monitoring data.

Benefits of technology

While avoiding data loss, it avoids inspection interruptions, reduces inspection time cost, and solves the problem of inspection interruptions caused by failure in data storage in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114547162B_ABST
    Figure CN114547162B_ABST
Patent Text Reader

Abstract

The present invention discloses a monitoring inspection method, device, terminal and storage medium. The method determines the monitoring to be inspected in the target monitoring system, performs an inspection operation on the monitoring to be inspected to obtain monitoring data; performs a save operation on the monitoring data, and when the save operation fails, puts the monitoring data into a preset first queue and re-executes the save operation; determines whether there is uninspected monitoring in the target monitoring system, and if there is uninspected monitoring in the target monitoring system, performs inspection operations on the uninspected monitoring in sequence. The present invention extracts the data that failed to be saved and puts it into an additional queue for re-save, thereby avoiding data loss and inspection interruption. This solves the problem in the prior art that when the monitoring data cannot be saved during the inspection, in order to avoid data loss, the inspection must be interrupted and the data saving operation must be re-executed, resulting in a large amount of time cost required to perform one inspection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a monitoring inspection method, device, terminal and storage medium. Background Art

[0002] With the development of the big data era, data has become indispensable information that is relied on by almost all business activities, such as production, operation, strategy, etc., whether it is data analysis or data archiving. In daily application development, saving data in the database is the most common persistence solution. However, there are many unpredictable situations in the real environment, such as network interruption that causes the database to be unable to connect, server downtime, database restart, etc., which will cause the data to be unable to be persisted to the database. As a long-term background service, monitoring inspection will inspect all monitoring in turn. If the monitoring data cannot be saved during the inspection, in order to avoid data loss, the inspection must be interrupted and the data saving operation must be re-executed, resulting in a lot of time cost for executing an inspection.

[0003] Therefore, the existing technology still needs to be improved and developed. Summary of the invention

[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a monitoring inspection method, device, terminal and storage medium are provided, aiming to solve the problem in the prior art that when the monitoring data cannot be saved during the inspection, the inspection must be interrupted and the data saving operation must be re-executed in order to avoid data loss, resulting in a large amount of time cost in performing one inspection.

[0005] The technical solution adopted by the present invention to solve the problem is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a monitoring inspection method, wherein the method includes:

[0007] Determine the monitoring to be inspected in the target monitoring system, and perform inspection operations on the monitoring to be inspected to obtain monitoring data;

[0008] Performing a saving operation on the monitoring data, and when the saving operation fails, putting the monitoring data into a preset first queue and re-performing the saving operation;

[0009] Determine whether there is any uninspected monitoring in the target monitoring system. If there is any uninspected monitoring in the target monitoring system, perform the inspection operation on the uninspected monitoring in sequence.

[0010] In one embodiment, determining the monitoring to be inspected in the target monitoring system includes:

[0011] Obtain the inspection order and inspected monitoring list corresponding to the target monitoring system;

[0012] The monitoring to be inspected is determined according to the inspection sequence and the inspected monitoring list.

[0013] In one embodiment, inspecting the monitoring data to be inspected includes:

[0014] Performing stream analysis on the monitoring device to be inspected to obtain a video stream corresponding to the monitoring device to be inspected;

[0015] The video stream is inspected to obtain the monitoring data.

[0016] In one embodiment, performing a saving operation on the monitoring data, and placing the monitoring data into a preset first queue and re-performing the saving operation when the saving operation fails, comprises:

[0017] Execute a saving operation on the monitoring data through a preset database, and calculate the operation duration of the saving operation;

[0018] When the operation duration exceeds a preset duration threshold, it is determined that the save operation has failed, and the monitoring data is put into the first queue to re-execute the save operation.

[0019] In one embodiment, the method further comprises:

[0020] Put the monitoring data into the first queue and into a preset second queue at the same time, wherein the second queue is set with a data survival time;

[0021] When the existence time of the monitoring data in the second queue reaches the data survival time, determining whether the monitoring data in the first queue is successfully saved;

[0022] If the monitoring data is still not saved successfully, the monitoring data is used as target monitoring data.

[0023] In one embodiment, the method further comprises:

[0024] A repair operation is performed on the target monitoring system according to the target monitoring data.

[0025] In one embodiment, performing a repair operation on the target monitoring system according to the target monitoring data includes:

[0026] Determine the fault information corresponding to the target monitoring system according to the target monitoring data;

[0027] The repair operation is performed according to the fault information.

[0028] In a second aspect, an embodiment of the present invention further provides a monitoring and inspection device, wherein the device comprises:

[0029] An inspection module is used to determine the monitoring to be inspected in the target monitoring system, and perform inspection operations on the monitoring to be inspected to obtain monitoring data;

[0030] A saving module, used for performing a saving operation on the monitoring data, and when the saving operation fails, putting the monitoring data into a preset first queue and re-performing the saving operation;

[0031] The judgment module is used to judge whether there is any uninspected monitoring in the target monitoring system. If the uninspected monitoring exists in the target monitoring system, the inspection operation is performed on the uninspected monitoring in sequence.

[0032] In a third aspect, an embodiment of the present invention further provides a terminal, wherein the terminal includes a memory and one or more processors; the memory stores one or more programs; the program includes instructions for executing any of the monitoring and inspection methods described above; and the processor is used to execute the program.

[0033] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a plurality of instructions are stored, wherein the instructions are suitable for being loaded and executed by a processor to implement the steps of any of the above-mentioned monitoring and inspection methods.

[0034] Beneficial effects of the present invention: The embodiment of the present invention determines the monitoring to be inspected in the target monitoring system, performs an inspection operation on the monitoring to be inspected to obtain monitoring data; performs a save operation on the monitoring data, and when the save operation fails, puts the monitoring data into a preset first queue and re-executes the save operation; determines whether there is any uninspected monitoring in the target monitoring system, and if there is any uninspected monitoring in the target monitoring system, performs the inspection operation on the uninspected monitoring in sequence. The present invention can avoid data loss and inspection interruption by extracting the data that failed to be saved and putting it into an additional queue for re-save. This solves the problem in the prior art that when the monitoring data cannot be saved during the inspection, in order to avoid data loss, the inspection must be interrupted and the data saving operation must be re-executed, resulting in a large amount of time cost for performing one inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] 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 some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Figure 1 It is a flowchart of the monitoring and inspection method provided by an embodiment of the present invention.

[0037] Figure 2 It is a flow chart of the execution algorithm of the first queue provided by an embodiment of the present invention.

[0038] Figure 3 It is a flow chart of the execution algorithm of the second queue provided by an embodiment of the present invention.

[0039] Figure 4 It is a schematic diagram of the internal modules of the monitoring and inspection device provided in an embodiment of the present invention.

[0040] Figure 5 It is a principle block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The present invention discloses a monitoring inspection method, device, terminal and storage medium. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0042] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0043] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0044] With the development of the big data era, data has become indispensable information that is relied on by almost all business activities, such as production, operation, strategy, etc., whether it is data analysis or data archiving. In daily application development, saving data in the database is the most common persistence solution. However, there are many unpredictable situations in the real environment, such as network interruption that causes the database to be unable to connect, server downtime, database restart, etc., which will cause the data to be unable to be persisted to the database. As a long-term background service, monitoring inspection will inspect all monitoring in turn. If the monitoring data cannot be saved during the inspection, in order to avoid data loss, the inspection must be interrupted and the data saving operation must be re-executed, resulting in a lot of time cost for executing an inspection.

[0045] In view of the above-mentioned defects of the prior art, the present invention provides a monitoring inspection method, the method comprising: determining the monitoring to be inspected in the target monitoring system, performing an inspection operation on the monitoring to be inspected to obtain monitoring data; performing a save operation on the monitoring data, and when the save operation fails, placing the monitoring data into a preset first queue and re-executing the save operation; judging whether there is any uninspected monitoring in the target monitoring system, and if there is any uninspected monitoring in the target monitoring system, performing the inspection operation on the uninspected monitoring in sequence. The present invention can avoid data loss and inspection interruption at the same time by extracting the data that failed to be saved and putting it into an additional queue for re-save. This solves the problem in the prior art that when the monitoring data cannot be saved during the inspection, in order to avoid data loss, the inspection must be interrupted and the data saving operation must be re-executed, resulting in a large amount of time cost for performing one inspection.

[0046] like Figure 1 As shown, the method comprises the following steps:

[0047] Step S100: determine the monitoring items to be inspected in the target monitoring system, and perform inspection operations on the monitoring items to be inspected to obtain monitoring data.

[0048] Specifically, the target monitoring system can be the internal monitoring system of any enterprise. It is understandable that the target monitoring system is connected to multiple monitoring devices, which is of great significance and role for the needs of the enterprise and personnel to conduct post-monitoring error troubleshooting and timely discovery of problems. Therefore, it is necessary to inspect the target monitoring system regularly. Due to traffic bandwidth limitations, it is impossible to inspect all monitors in the target monitoring system at the same time, and each monitor can only be inspected in turn. Therefore, the monitor to be inspected in this embodiment is the monitor that currently needs to be inspected. Performing an inspection operation on the monitor to be inspected can obtain a video stream of the monitor to be inspected, that is, monitoring data.

[0049] For example, by setting up Windows scheduled tasks or using QuartZ and other scheduled task services, the background can start monitoring and inspection at a scheduled time.

[0050] In one implementation, the step of determining the monitoring to be inspected in the target monitoring system specifically includes the following steps:

[0051] Step S101, obtaining the inspection order and inspected monitoring list corresponding to the target monitoring system;

[0052] Step S102: Determine the monitoring to be inspected according to the inspection sequence and the inspected monitoring list.

[0053] Specifically, due to traffic bandwidth limitations, it is not possible to inspect all monitors in the target monitoring system at the same time, and each monitor can only be inspected in turn. Therefore, this embodiment pre-sets an inspection order, and extracts the video streams of each monitor in turn for inspection according to the inspection order. In addition, in order to avoid repeated inspections, this embodiment also sets a list of inspected monitors. Whenever a monitor is inspected, the device number corresponding to the monitor is added to the inspected monitor list, thereby avoiding repeated inspections. According to the inspection order and the inspected monitor list, it can be determined which monitor is currently to be inspected, that is, the monitor to be inspected is obtained.

[0054] In one implementation, performing an inspection operation on the to-be-inspected monitoring to obtain monitoring data includes:

[0055] Step S103: Perform stream analysis on the monitoring object to be inspected to obtain a video stream corresponding to the monitoring object to be inspected;

[0056] Step S104: inspect the video stream to obtain the monitoring data.

[0057] Specifically, when inspecting the target monitoring system, each monitor will be analyzed to obtain the video stream corresponding to each monitor. The health, quality and other issues will be detected through the video stream, and the monitoring results will be saved as monitoring data to facilitate future troubleshooting or analysis of problems.

[0058] like Figure 1 As shown, the method further comprises the following steps:

[0059] Step S200: executing a save operation on the monitoring data, and when the save operation fails, placing the monitoring data into a preset first queue and re-executing the save operation.

[0060] Specifically, in order to facilitate future troubleshooting or problem analysis, this embodiment needs to save the monitoring data of each monitoring. When the save fails, in order to avoid interrupting the inspection process and increasing the time cost of the inspection, this embodiment pre-sets a first queue. In order to avoid data loss, this embodiment puts the monitoring data that failed to be saved into the first queue for re-saving, and the inspection continues without interruption, thereby greatly reducing the time cost of the inspection. For example, if a monitoring inspection is completed and the database persistence fails, it should be placed in the RabbitMq specified error queue.

[0061] In one implementation, step S200 specifically includes the following steps:

[0062] Step S201: performing a saving operation on the monitoring data through a preset database, and calculating the operation duration of the saving operation;

[0063] Step S202: When the operation duration exceeds a preset duration threshold, it is determined that the save operation has failed, and the monitoring data is placed in the first queue to re-execute the save operation.

[0064] Specifically, the saving operation in this embodiment is executed through a preset database. If the monitoring data is saved in the database, it means that the saving operation is successfully executed; if the monitoring data cannot be saved in the database, it means that the saving operation fails. In order to avoid wasting too much time on the saving operation of a single monitoring data, this embodiment also pre-sets a time threshold. When the operation time of the saving operation of a certain monitoring data is greater than the time threshold, it is determined that the saving of the monitoring data has failed, and it is placed in the first queue to re-execute the saving operation.

[0065] For example, there will be an error retry service in the background, which is mainly used to save the inspection results in the first queue to the database to prevent data loss, and this service will not have any impact on the original inspection process. It is understandable that if there is no data in the first queue, the error retry service will not perform IO operations on the database.

[0066] To clearly explain how the first queue works, Figure 2 As shown, this embodiment provides the following process algorithm:

[0067] Step 1. The background starts monitoring inspection and goes to step 2;

[0068] Step 2. Wait for the inspection to complete and proceed to step 3;

[0069] Step 3. After the inspection is completed, the result is returned and the process goes to step 4;

[0070] Step 4. The inspection results are stored in the database and go to step 5;

[0071] Step 5. Check whether an unpredictable abnormality occurs. If yes, proceed to step 6. If no, proceed to step 10.

[0072] Step 6. Publish the inspection results to the RabbitMq exception queue and proceed to step 7;

[0073] Step 7. The abnormal retry service receives the abnormal inspection result and proceeds to step 8;

[0074] Step 8. Check whether an unpredictable abnormality occurs. If yes, proceed to step 6. If no, proceed to step 9.

[0075] Step 9. Abnormal retry ends;

[0076] Step 10. Is there anything else to be inspected and monitored? If yes, go to step 11; if not, go to step 12;

[0077] Step 11. Continue to the next monitoring inspection;

[0078] Step 12: Inspection is complete.

[0079] like Figure 1 As shown, the method further comprises the following steps:

[0080] Step S10: putting the monitoring data into the first queue and into a preset second queue at the same time, wherein the second queue is set with a data survival time;

[0081] Step S11: when the existence time of the monitoring data in the second queue reaches the data survival time, determining whether the monitoring data in the first queue is successfully saved;

[0082] Step S12: If the monitoring data is still not saved successfully, the monitoring data is used as target monitoring data.

[0083] Simply put, if the monitoring data cannot be saved successfully for a long time, the monitoring data is abnormal data, and relevant personnel should be notified to handle it. Therefore, in this embodiment, while putting the monitoring data into the first queue and re-executing the save operation, it is also necessary to put the monitoring data into the second queue with a data survival time, so as to find out the abnormal data that cannot be saved successfully for a long time. Specifically, if the monitoring data still fails to be saved successfully in the first queue when the existence time of the monitoring data in the second queue reaches the data survival time, it means that the monitoring data is abnormal data that cannot be saved, and it is used as the target monitoring data and the relevant personnel are notified to handle it. In one implementation method, RabbitMq's TTL feature, this embodiment can use RabbitMq as the second queue.

[0084] To clearly explain how the second queue works, Figure 3 As shown, this embodiment provides the following process algorithm:

[0085] Step 1. The background starts monitoring inspection and goes to step 2;

[0086] Step 2. Wait for the inspection to complete and proceed to step 3;

[0087] Step 3. After the inspection is completed, the result is returned and the process goes to step 4;

[0088] Step 4. The inspection results are stored in the database and go to step 5;

[0089] Step 5. Check whether an unpredictable abnormality occurs. If so, proceed to step 6 and step 10 at the same time. If not, proceed to step 10.

[0090] Step 6. Publish the inspection results to the RabbitMq exception queue and proceed to step 7;

[0091] Step 7. The abnormal retry service receives the abnormal inspection result and proceeds to step 8;

[0092] Step 8. Check whether an unpredictable abnormality occurs. If yes, proceed to step 6. If no, proceed to step 16.

[0093] Step 9. Abnormal retry ends;

[0094] Step 10. Publish the inspection results to the RabbitMq dead letter queue with a TTL of 15 minutes, and proceed to step 11;

[0095] Step 11. The inspection results that expire after 15 minutes enter the abnormal notification queue and go to step 12;

[0096] Step 12. The abnormal notification service detects the inspection results in the database and proceeds to step 13;

[0097] Step 13. Check whether the inspection result is written normally. If yes, go to step 14. If no, go to step 15.

[0098] Step 14. No processing;

[0099] Step 15. Notify relevant personnel to troubleshoot environmental issues and handle the environment;

[0100] Step 16: Is there anything else to be inspected and monitored? If yes, go to step 17; if not, go to step 18;

[0101] Step 17. Continue to the next monitoring inspection;

[0102] Step 18: Inspection is complete.

[0103] In one implementation, the method further includes the following steps:

[0104] Step S20: performing a repair operation on the target monitoring system according to the target monitoring data.

[0105] In order to avoid data loss, for target monitoring data that cannot be saved successfully, relevant personnel should be notified to repair the environment of the target monitoring system. After the repair, the target monitoring data should be saved again until it is saved in the database.

[0106] In one implementation, step S20 specifically includes the following steps:

[0107] Step S21, determining fault information corresponding to the target monitoring system according to the target monitoring data;

[0108] Step S21: Execute the repair operation according to the fault information.

[0109] Specifically, since the target monitoring data is abnormal data that cannot be saved normally, by analyzing the target monitoring data, the fault information in the target monitoring system can be found out. The environment of the target monitoring system can be repaired through the fault information, and the fault in the target monitoring system can be eliminated. After the repair, the save operation can be performed again on the target monitoring data.

[0110] Based on the above embodiments, the present invention also provides a monitoring and inspection device, such as Figure 4 As shown, the device comprises:

[0111] Inspection module 01, used to determine the monitoring to be inspected in the target monitoring system, and perform inspection operations on the monitoring to be inspected to obtain monitoring data;

[0112] A saving module 02, configured to execute a saving operation on the monitoring data, and when the saving operation fails, put the monitoring data into a preset first queue and execute the saving operation again;

[0113] The judgment module 03 is used to judge whether there is any uninspected monitoring in the target monitoring system. If there is any uninspected monitoring in the target monitoring system, the inspection operation is performed on the uninspected monitoring in sequence.

[0114] Based on the above embodiment, the present invention further provides a terminal, whose principle block diagram can be shown as follows: Figure 5 As shown. The terminal includes a processor, a memory, a network interface, and a display screen connected through a system bus. Among them, the processor of the terminal is used to provide computing and control capabilities. The memory of the terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a monitoring and inspection method is implemented. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen.

[0115] Those skilled in the art will understand that Figure 5 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0116] In one implementation, one or more programs are stored in the memory of the terminal, and the one or more programs are configured to be executed by one or more processors, and the one or more programs include instructions for performing the monitoring inspection method.

[0117] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0118] In summary, the present invention discloses a monitoring inspection method, device, terminal and storage medium. The method determines the monitoring to be inspected in the target monitoring system, performs an inspection operation on the monitoring to be inspected to obtain monitoring data; performs a save operation on the monitoring data, and when the save operation fails, puts the monitoring data into a preset first queue and re-executes the save operation; determines whether there is any uninspected monitoring in the target monitoring system, and if there is any uninspected monitoring in the target monitoring system, performs the inspection operation on the uninspected monitoring in sequence. The present invention can avoid data loss and inspection interruption at the same time by extracting the data that failed to be saved and putting it into an additional queue for re-saving. This solves the problem in the prior art that when the monitoring data cannot be saved during the inspection, in order to avoid data loss, the inspection must be interrupted and the data saving operation must be re-executed, resulting in a large amount of time cost for performing one inspection.

[0119] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.

Claims

1. A monitoring inspection method, characterized in that: The method comprises: Determine the monitoring to be inspected in the target monitoring system, and perform inspection operations on the monitoring to be inspected to obtain monitoring data; Performing a saving operation on the monitoring data, and when the saving operation fails, putting the monitoring data into a preset first queue and re-performing the saving operation; Determine whether there is any uninspected monitoring in the target monitoring system, and if there is any uninspected monitoring in the target monitoring system, perform the inspection operation on the uninspected monitoring in sequence; The method further comprises: Put the monitoring data into the first queue and into a preset second queue at the same time, wherein the second queue is set with a data survival time; When the existence time of the monitoring data in the second queue reaches the data survival time, determining whether the monitoring data in the first queue is successfully saved; If the monitoring data is still not saved successfully, the monitoring data is used as target monitoring data.

2. The monitoring inspection method according to claim 1, characterized in that: The step of determining the monitoring to be inspected in the target monitoring system includes: Obtain the inspection order and inspected monitoring list corresponding to the target monitoring system; The monitoring to be inspected is determined according to the inspection sequence and the inspected monitoring list.

3. The monitoring inspection method according to claim 1, characterized in that: The step of inspecting the monitoring data to be inspected includes: Performing stream analysis on the monitoring device to be inspected to obtain a video stream corresponding to the monitoring device to be inspected; The video stream is inspected to obtain the monitoring data.

4. The monitoring inspection method according to claim 1, characterized in that: The performing a saving operation on the monitoring data, and when the saving operation fails, placing the monitoring data into a preset first queue and re-performing the saving operation, comprises: Execute a saving operation on the monitoring data through a preset database, and calculate the operation duration of the saving operation; When the operation duration exceeds a preset duration threshold, it is determined that the save operation has failed, and the monitoring data is put into the first queue to re-execute the save operation.

5. The monitoring inspection method according to claim 1, characterized in that: The method further comprises: A repair operation is performed on the target monitoring system according to the target monitoring data.

6. The monitoring inspection method according to claim 5, characterized in that: The performing a repair operation on the target monitoring system according to the target monitoring data includes: Determine the fault information corresponding to the target monitoring system according to the target monitoring data; The repair operation is performed according to the fault information.

7. A monitoring and inspection device, characterized in that: The device comprises: An inspection module is used to determine the monitoring to be inspected in the target monitoring system, and perform inspection operations on the monitoring to be inspected to obtain monitoring data; A saving module, used for performing a saving operation on the monitoring data, and when the saving operation fails, putting the monitoring data into a preset first queue and re-performing the saving operation; A judgment module, used for judging whether there is any uninspected monitoring in the target monitoring system, and if there is any uninspected monitoring in the target monitoring system, performing the inspection operation on the uninspected monitoring in sequence; The device is also used for: Put the monitoring data into the first queue and into a preset second queue at the same time, wherein the second queue is set with a data survival time; When the existence time of the monitoring data in the second queue reaches the data survival time, determining whether the monitoring data in the first queue is successfully saved; If the monitoring data is still not saved successfully, the monitoring data is used as target monitoring data.

8. A terminal, characterized in that: The terminal includes a memory and one or more processors; the memory stores one or more programs; the program contains instructions for executing the monitoring and inspection method as described in any one of claims 1-6; and the processor is used to execute the program.

9. A computer-readable storage medium having a plurality of instructions stored thereon, characterized in that: The instructions are suitable for being loaded and executed by a processor to implement the steps of the monitoring and inspection method described in any one of claims 1 to 6 above.