Information collection method and fault location method, device and electronic equipment

By detecting and storing POS information during the intelligent analysis process, POS information is directly used for fault location, which solves the problem of cumbersome fault location in the existing technology, improves fault location efficiency, and achieves rapid fault location.

CN112699705BActive Publication Date: 2024-09-03HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911004815.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-22
Publication Date
2024-09-03
Estimated Expiration
2039-10-22

AI Technical Summary

Technical Problem

The fault location process in the existing technology is cumbersome, resulting in low fault location efficiency and the inability to quickly identify abnormal conditions in the intelligent analysis process.

Method used

By detecting the POS information of the object during the intelligent analysis process and storing it in association with the object, the POS information analysis tool is used to directly obtain the analysis status information of the faulty object for fault location and avoid the recurrence of the restoration analysis process.

Benefits of technology

It simplifies the fault location process, improves fault location efficiency, and enables rapid fault location of abnormal situations in the intelligent analysis process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112699705B
    Figure CN112699705B
Patent Text Reader

Abstract

The embodiments of the present invention provide an information collection method and a fault location method, device and electronic device. The information collection method includes: detecting whether to start the intelligent analysis of the object; when the detection result is yes, obtaining the POS information corresponding to the object in the intelligent analysis process of the object; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object; the object is associated with the POS information corresponding to the object and stored. The fault location method includes: determining the fault object with abnormal conditions in the intelligent analysis process; using the POS information parsing tool to obtain the POS information stored in association with the fault object; wherein the POS information is: information describing the analysis status of the intelligent analysis process; based on the POS information, the fault object is located. Compared with the prior art, the solution provided by the embodiment of the present invention can realize rapid fault location of abnormal conditions that occur in the intelligent analysis process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to an information collection method and a fault location method, device and electronic equipment. Background Art

[0002] At present, with the continuous development of artificial intelligence technology, the application of various intelligent analysis methods to intelligently analyze objects is becoming more and more widespread in various fields. Among them, the objects can be image data and / or video data. For example, the company's access control monitoring system performs face recognition on the captured images to determine whether the person is an employee of the company; the intelligent traffic monitoring system performs event detection on the monitoring video to determine the accident type, accident personnel, and cause of the accident in the traffic accident.

[0003] However, due to program failure or equipment failure, abnormal situations may occur during the intelligent analysis process. For example, the company's access control monitoring system cannot recognize the face in the captured image, and the intelligent traffic monitoring system determines the wrong type of traffic accident. In order to avoid abnormal situations from happening again, technicians need to locate the fault that caused the abnormal situation and handle the located fault.

[0004] In the related art, the method for fault location is: after acquiring an object with an abnormal situation, restore the environment when the object was photographed, reproduce the analysis process of the object, and then, during the reproduction process, perform fault location based on the analysis information generated during the intelligent analysis process and the reproduced analysis results.

[0005] However, in the above-mentioned related technologies, the process of fault location is relatively complicated, thus resulting in low efficiency of fault location. Summary of the invention

[0006] The purpose of the embodiments of the present invention is to provide an information collection method, device and electronic device, as well as a fault location method, device and electronic device, so as to realize rapid fault location of abnormal situations that occur during intelligent analysis. The specific technical solution is as follows:

[0007] In a first aspect, an embodiment of the present invention provides an information collection method, the method comprising:

[0008] Check whether intelligent analysis of the object is enabled;

[0009] When the detection result is yes, obtaining POS information corresponding to the object in the intelligent analysis process of the object; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object;

[0010] The object and the POS information corresponding to the object are associated and stored.

[0011] Optionally, in a specific implementation, the POS information includes at least one of the following types of information:

[0012] The initial configuration information when the intelligent analysis starts, the analysis status information during the intelligent analysis process, the time consumed by the intelligent analysis process and the timestamp of the object.

[0013] Optionally, in a specific implementation, the step of associating and storing the object with the POS information corresponding to the object includes:

[0014] Obtaining identification information of the object;

[0015] The identification information is associated with the POS information and stored.

[0016] Optionally, in a specific implementation, the object is a picture;

[0017] The step of associating and storing the object with the POS information corresponding to the object comprises:

[0018] The POS information is added to the head or tail of the picture data while or after the image data of the picture is stored.

[0019] Optionally, in a specific implementation, the object is a video frame;

[0020] The step of associating and storing the object with the POS information corresponding to the object comprises:

[0021] While or after storing the video code stream of the video containing the video frame, the POS information is added to the video code stream according to a specified storage rule.

[0022] In a second aspect, an embodiment of the present invention provides a fault location method, the method comprising:

[0023] Determine the fault object with abnormal conditions during the intelligent analysis process;

[0024] Using a POS information analysis tool, obtaining POS information stored in association with the fault object; wherein the POS information is: information describing the analysis status of the intelligent analysis process;

[0025] Based on the POS information, the fault location is performed on the fault object.

[0026] In a third aspect, an embodiment of the present invention provides an information collection device, the device comprising:

[0027] The analysis and detection module is used to detect whether to enable intelligent analysis of the object;

[0028] An information acquisition module, used for acquiring POS information corresponding to the object in the intelligent analysis process of the object when the detection result is yes; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object;

[0029] The information storage module is used to associate and store the object with the POS information corresponding to the object.

[0030] Optionally, in a specific implementation, the POS information includes at least one of the following types of information:

[0031] The initial configuration information when the intelligent analysis starts, the analysis status information during the intelligent analysis process, the time consumed by the intelligent analysis process and the timestamp of the object.

[0032] Optionally, in a specific implementation, the information storage module is specifically used to:

[0033] Acquire identification information of the object; and associate the identification information with the POS information for storage.

[0034] Optionally, in a specific implementation, the object is a picture;

[0035] The information storage module is specifically used to add the POS information to the head or tail of the picture data while or after storing the image data of the picture.

[0036] Optionally, in a specific implementation, the object is a video frame;

[0037] The information storage module is specifically used to add the POS information to the video code stream according to a specified storage rule while or after storing the video code stream of the video where the video frame is located.

[0038] In a fourth aspect, an embodiment of the present invention provides a fault location device, the device comprising:

[0039] The object determination module is used to determine the fault object with abnormal conditions during the intelligent analysis process;

[0040] An information analysis module, used to obtain POS information stored in association with the fault object using a POS information analysis tool; wherein the POS information is: information describing the analysis status of the intelligent analysis process;

[0041] A fault location module is used to locate the fault of the fault object based on the POS information.

[0042] In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;

[0043] Memory, used to store computer programs;

[0044] The processor is used to implement the steps of any information collection method provided in the first aspect when executing the program stored in the memory.

[0045] In a sixth aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0046] Memory, used to store computer programs;

[0047] The processor is used to implement the steps of any fault locating method provided in the second aspect when executing the program stored in the memory.

[0048] In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any information collection method provided in the first aspect are implemented.

[0049] In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any information collection method provided in the first aspect are implemented.

[0050] As can be seen from the above, by applying the solution provided by the embodiment of the present invention, when performing intelligent analysis on each object, the POS information corresponding to each object in the intelligent analysis process for each object can be obtained, and for each object, the object and the POS information corresponding to the object are associated and stored. In this way, when an abnormal situation occurs in the intelligent analysis process of each object, after determining the fault object where the abnormal situation occurs, the POS information analysis tool can be used to obtain the POS information stored in association with the fault object from the pre-stored POS information. Then, based on the POS information, the fault location of the determined fault object can be performed.

[0051] Based on this, in the solution provided by the embodiment of the present invention, since each object and the POS information of the object have been pre-associated and stored, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. In this way, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0053] Figure 1 A schematic diagram of a flow chart of an information collection method provided by an embodiment of the present invention;

[0054] Figure 2 for Figure 1 A flowchart of a specific implementation method of step S103 in the illustrated embodiment;

[0055] Figure 3 A schematic diagram of a flow chart of a fault location method provided by an embodiment of the present invention;

[0056] Figure 4 A schematic diagram of the interface of a POS information analysis tool;

[0057] Figure 5 A schematic diagram of the structure of an information collection device provided by an embodiment of the present invention;

[0058] Figure 6 A schematic diagram of the structure of a fault location device provided by an embodiment of the present invention;

[0059] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention;

[0060] Figure 8 A schematic diagram of the structure of another electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] 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.

[0062] In the related art, the method for locating the fault is: after acquiring the object with abnormal conditions, restore the environment when the object was photographed, reproduce the analysis process of the object, and then, in the reproduction process, perform fault location based on the analysis information generated in the intelligent analysis process and the analysis results obtained by the reproduction. However, in the above-mentioned related art, the process of fault location is relatively cumbersome, resulting in low efficiency of fault location. In order to solve the above-mentioned technical problems, the embodiments of the present invention provide an information collection method and a fault location method.

[0063] Below, firstly, an information collection method provided by an embodiment of the present invention is introduced.

[0064] Figure 1 A flowchart of an information collection method provided in an embodiment of the present invention. The information collection method can be applied to any electronic device that needs to collect POS (Process Information of System) information, such as a laptop computer, a desktop computer, a mobile phone, a tablet computer, etc. The embodiment of the present invention does not specifically limit this, and is hereinafter referred to as the first electronic device.

[0065] like Figure 1 As shown, an information collection method provided by an embodiment of the present invention includes the following steps:

[0066] S101: Detect whether to enable intelligent analysis of the object; if the detection result is yes, execute step S102;

[0067] In the embodiments of the present invention, the so-called object may be a picture, a video, or a picture and a video, and the so-called intelligent analysis may be any analysis method that can be provided by the prior art and can perform intelligent processing such as intelligent recognition and detection on images and / or videos and obtain intelligent processing results, such as face recognition, event detection, object feature extraction, etc.

[0068] Further, it is understandable that the first electronic device can usually obtain multiple objects, and then the first electronic device can perform intelligent analysis on at least one of the multiple objects obtained. Moreover, when the first electronic device performs intelligent analysis on multiple of the multiple objects obtained, the first electronic device can perform intelligent analysis on the multiple objects at the same time, or can perform intelligent analysis on the multiple objects in sequence according to a certain order.

[0069] The first electronic device may perform intelligent analysis on an object immediately after acquiring the object, or may perform intelligent analysis on at least one of the multiple objects after acquiring multiple objects. Both are reasonable.

[0070] Accordingly, in order to accurately obtain the POS information corresponding to the object during the intelligent analysis process of the object, the first electronic device needs to know when the intelligent analysis of the object is started.

[0071] Based on this, for each acquired object, the first electronic device can detect whether the intelligent analysis for the object is turned on. Further, when the detection result is yes, it indicates that the intelligent analysis for the object is turned on. Thus, the first electronic device can continue to perform the subsequent step S102.

[0072] S102: Acquiring POS information corresponding to the object during the intelligent analysis process of the object;

[0073] The POS information is: information describing the analysis status of the intelligent analysis process of the object;

[0074] Furthermore, when the first electronic device detects that the intelligent analysis for an object is turned on, it can obtain information describing the analysis status of the intelligent analysis process for the object during the intelligent analysis process for the object, that is, obtain the POS information corresponding to the object during the intelligent analysis process for the object.

[0075] The POS information corresponding to the object includes relevant configuration information of the first electronic device itself during the intelligent analysis process of the object, and information generated by the first electronic device based on the intelligent analysis algorithm during the intelligent analysis process of the object.

[0076] Optionally, in a specific implementation, the POS information includes at least one of the following types of information:

[0077] The initial configuration information at the start of intelligent analysis, the analysis status information during the intelligent analysis process, the duration of the intelligent analysis process, and the timestamp of the object.

[0078] The initial configuration information at the start of the intelligent analysis may be: the relevant configuration information of the first electronic device itself at the start of the intelligent analysis of the object by the first electronic device, for example, configuration information such as detection area, detection sensitivity, and target size.

[0079] The analysis status information in the intelligent analysis process may include: information generated by the first electronic device based on the intelligent analysis algorithm in the process of intelligent analysis of the object, for example, algorithm detection information such as target location, target ID (identification), target type, etc.

[0080] In addition, the analysis status information during the intelligent analysis process may also include: the first electronic device's own configuration information during the intelligent analysis of the object, for example, bitstream type, bitstream resolution, picture type, picture resolution, etc.

[0081] Of course, in addition to the above-mentioned types of information, the POS information may also include other types of information, which are not specifically limited in the embodiment of the present invention, such as processing frame rate.

[0082] S103: The object and the POS information corresponding to the object are associated and stored.

[0083] Furthermore, in the process of intelligent analysis of the object, after obtaining the POS information corresponding to the object, the first electronic device can establish a corresponding relationship between the object and the POS information corresponding to the object, thereby associating and storing the object with the POS information corresponding to the object.

[0084] The first electronic device may perform step S103 in a variety of ways, which are not specifically limited in this embodiment of the present invention.

[0085] Optionally, in a specific implementation, such as Figure 2 As shown, the first electronic device may perform step S103 as follows:

[0086] S201: Obtain identification information of the object;

[0087] S202: The identification information and the POS information are associated and stored.

[0088] For each object, after obtaining the POS information corresponding to the object during the intelligent analysis process for the object, the first electronic device can obtain the identification information of the object.

[0089] For example, when the object is a picture, the identification information can be the storage address of the picture, the name of the picture, or any other information that can uniquely represent the picture; when the object is a video frame in a video, the identification information can be the frame number of the video frame, or any other information that can uniquely represent the video frame.

[0090] Then, the first electronic device can store the identification information in association with the POS information.

[0091] Specifically, the first electronic device may establish a correspondence between the identification information of the object and the POS information corresponding to the object, and then store the established correspondence.

[0092] When the first electronic device associates and stores the identification information of the object with the POS information corresponding to the object, it can store the identification information of the object and the POS information corresponding to the object locally, or store the identification information of the object and the POS information corresponding to the object in other electronic devices. This is reasonable.

[0093] Furthermore, when an abnormal situation occurs during the intelligent analysis process and the fault causing the abnormal situation needs to be located, the first electronic device can obtain the identification information and corresponding POS information of each associated stored object from the local or other electronic devices.

[0094] Optionally, in a specific implementation, the object is a picture; the first electronic device may perform step S103 as follows:

[0095] Step 11: While or after storing the image data of the picture, add the POS information to the head or tail of the picture data.

[0096] When performing intelligent analysis on the picture, the first electronic device may add the POS information to the head or tail of the picture data while or after storing the image data of the picture.

[0097] The first electronic device can add the POS information to the head or tail of the image data according to a preset data format. Accordingly, the embodiment of the present invention does not limit the specific type of the above data format. For example, 0x12345678 is used as the start mark of the POS information data, and 0x87654321 is used as the end mark of the POS information data. In the storage space, the information stored in the storage area between the storage position corresponding to the start mark and the storage position corresponding to the end mark is the POS information.

[0098] Preferably, when the first electronic device performs intelligent analysis on the image, and the image has not been stored, after the intelligent analysis is completed, the first electronic device can add the acquired POS information corresponding to the image to the head or tail of the image data of the image, and then the first electronic device can store the POS information corresponding to the image while storing the image data. That is, the first electronic device can store the image and the POS information corresponding to the image at the same time, thereby realizing the associated storage of the object and the POS information corresponding to the object.

[0099] Preferably, when the first electronic device performs intelligent analysis on a picture, and the picture has not been stored, after the intelligent analysis is completed, the first electronic device can first store the picture data of the picture, and then add the acquired POS information corresponding to the picture to the head or tail of the picture data of the picture. That is, the first electronic device can store the POS information corresponding to the picture after storing the picture, thereby realizing the associated storage of the object and the POS information corresponding to the object.

[0100] Preferably, when the first electronic device performs intelligent analysis on a stored image, after the intelligent analysis is completed, the first electronic device can add the acquired POS information corresponding to the image to the header or tail of the image data of the image, thereby associating the stored object with the POS information corresponding to the object.

[0101] Optionally, in a specific implementation, the object is a video frame; the first electronic device may perform step S103 as follows:

[0102] Step 21: While or after storing the video code stream of the video containing the video frame, add the POS information to the video code stream according to a specified storage rule.

[0103] It is understandable that in the process of performing intelligent analysis on a video, the essence is to perform intelligent analysis on each video frame in the video. Therefore, when performing intelligent analysis on a video, the intelligent analysis object is each video frame in the video.

[0104] Based on this, when performing intelligent analysis on the video frame, the first electronic device can add the POS information to the video code stream according to the specified storage rule while or after storing the video code stream of the video containing the video frame.

[0105] The above-mentioned designated storage rule may be any data merging protocol that can realize merging the POS information with the video code stream and distinguishing the POS information from the video code stream in the merged data.

[0106] Here, adding the POS information to the video bitstream according to the specified storage rule may be referred to as adding the POS information to the video bitstream in a private protocol manner.

[0107] Preferably, when the first electronic device performs intelligent analysis on the video frame and the video frame has not been stored, after the intelligent analysis is completed, the first electronic device can add the POS information corresponding to the video frame to the video code stream of the video in which the video frame is located according to the specified storage rule, and then the first electronic device can store the POS information corresponding to the video frame while storing the video code stream. That is, the first electronic device can store the POS information corresponding to the video code stream and the video frame at the same time, so as to achieve the associated storage of the object and the POS information corresponding to the object.

[0108] Preferably, when the first electronic device performs intelligent analysis on the video frame and the video frame has not been stored, after the intelligent analysis is completed, the first electronic device can first store the video code stream of the video where the video frame is located, and then, according to the specified storage rule, add the acquired POS information corresponding to the video frame to the video code stream of the video where the video frame is located. That is, the first electronic device can store the POS information corresponding to the video frame after storing the video code stream, thereby realizing the associated storage of the object and the POS information corresponding to the object.

[0109] Preferably, when the first electronic device performs intelligent analysis on the stored video frame, after the intelligent analysis is completed, the first electronic device can add the POS information corresponding to the video frame to the video code stream of the video where the video frame is located according to the specified storage rules, thereby associating the storage object with the POS information corresponding to the object.

[0110] As can be seen from the above, by applying the information collection method provided by the embodiment of the present invention, when performing intelligent analysis on each object, the POS information corresponding to each object in the intelligent analysis process for each object can be obtained, and for each object, the object and the POS information corresponding to the object are associated and stored. In this way, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. Based on this, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0111] A fault locating method provided by an embodiment of the present invention is introduced below.

[0112] Figure 3A flow chart of a fault location method provided by an embodiment of the present invention. The fault location method can be applied to any electronic device that needs to locate a fault, such as a laptop computer, a desktop computer, a mobile phone, a tablet computer, etc., which is not specifically limited in the embodiment of the present invention and is hereinafter referred to as the second electronic device.

[0113] The second electronic device and the first electronic device may be the same electronic device or different electronic devices, which is reasonable.

[0114] like Figure 3 As shown, a fault location method provided by an embodiment of the present invention may include the following steps:

[0115] S301: Determine the fault object with abnormal situation during the intelligent analysis process;

[0116] S302: using a POS information analysis tool to obtain POS information stored in association with the fault object;

[0117] Among them, POS information is: information describing the analysis status of the intelligent analysis process;

[0118] S303: Based on the POS information, locate the fault of the fault object.

[0119] When an abnormal situation occurs during the intelligent analysis process, the second electronic device can first determine the fault object where the abnormal situation occurs. Then, the second electronic device can use the POS information analysis tool to obtain the POS information stored in association with the fault object.

[0120] For example, Figure 4 The figure shows a schematic diagram of the interface of a POS information analysis tool.

[0121] The object of intelligent analysis and the POS information stored in association with the object are stored based on an information collection method provided by the above-mentioned embodiment of the present invention.

[0122] Preferably, in one embodiment, during the intelligent analysis process, the abnormal situation that occurs occurs in the product used by the customer, that is, the intelligent analysis of the object is performed by the first electronic device used by the customer. Furthermore, the first electronic device stores the intelligent analysis object and the POS information stored in association with the object. In this way, the customer can conveniently send the stored intelligent analysis object and the POS information stored in association with the object to the second electronic device used by the product developer.

[0123] Furthermore, in this embodiment, the second electronic device can determine the fault object with abnormal conditions during the intelligent analysis process from the acquired intelligent analysis objects, and use the POS information parsing tool to obtain the POS information stored in association with the fault object.

[0124] Furthermore, the second electronic device can locate the fault of the faulty object based on the POS information.

[0125] For example, POS information is stored according to a certain protocol. Thus, a corresponding parsing tool can be developed based on the protocol for storing POS information. Thus, the POS information can be parsed into various types of corresponding information related to intelligent analysis using the parsing tool.

[0126] As can be seen from the above, by applying the fault location method provided by the embodiment of the present invention, each object can be pre-associated and stored with the POS information corresponding to the object. In this way, when an abnormal situation occurs during the intelligent analysis of each object, after determining the fault object where the abnormal situation occurs, the POS information parsing tool can be used to obtain the POS information stored in association with the fault object from the pre-stored POS information. Furthermore, the fault location of the determined fault object can be performed based on the POS information. Based on this, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. In this way, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0127] Corresponding to a data acquisition method provided by an embodiment of the present invention, an embodiment of the present invention also provides a data acquisition device.

[0128] Figure 5 The following is a schematic diagram of the structure of a data acquisition device provided by an embodiment of the present invention. Figure 5 As shown, the data acquisition device may include the following modules:

[0129] An analysis and detection module 510 is used to detect whether intelligent analysis of an object is enabled;

[0130] The information acquisition module 520 is used to acquire POS information corresponding to the object in the intelligent analysis process of the object when the detection result is yes; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object;

[0131] The information storage module 530 is used to associate and store the object with the POS information corresponding to the object.

[0132] As can be seen from the above, by using the information collection device provided by the embodiment of the present invention, when performing intelligent analysis on each object, the POS information corresponding to each object in the intelligent analysis process for each object can be obtained, and for each object, the object and the POS information corresponding to the object are associated and stored. In this way, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. Based on this, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0133] Optionally, in a specific implementation, the POS information includes at least one of the following types of information:

[0134] The initial configuration information when the intelligent analysis starts, the analysis status information during the intelligent analysis process, the time consumed by the intelligent analysis process and the timestamp of the object.

[0135] Optionally, in a specific implementation, the information storage module 530 is specifically used to:

[0136] Acquire identification information of the object; and associate the identification information with the POS information for storage.

[0137] Optionally, in a specific implementation, the object is a picture; the information storage module 530 is specifically used to add the POS information to the head or tail of the picture data while or after storing the image data of the picture.

[0138] Optionally, in a specific implementation, the object is a video frame; the information storage module 530 is specifically used to add the POS information to the video code stream according to a specified storage rule while or after storing the video code stream of the video containing the video frame.

[0139] Corresponding to the fault location method provided by the above-mentioned embodiment of the present invention, the embodiment of the present invention also provides a fault location device.

[0140] Figure 6 A schematic diagram of the structure of a fault location device provided by an embodiment of the present invention. Figure 6 As shown, the fault location method may include the following modules:

[0141] The object determination module 610 is used to determine the fault object with abnormal conditions during the intelligent analysis process;

[0142] The information analysis module 620 is used to obtain the POS information stored in association with the fault object using a POS information analysis tool; wherein the POS information is: information describing the analysis status of the intelligent analysis process;

[0143] The fault location module 630 is used to locate the fault of the fault object based on the POS information.

[0144] As can be seen from the above, the fault location device provided by the embodiment of the present invention can be used to pre-associate and store each object with the POS information corresponding to the object. In this way, when an abnormal situation occurs during the intelligent analysis of each object, after determining the fault object where the abnormal situation occurs, the POS information parsing tool can be used to obtain the POS information stored in association with the fault object from the pre-stored POS information. Furthermore, the fault location of the determined fault object can be performed based on the POS information. Based on this, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. In this way, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0145] Corresponding to the information collection method provided by the above embodiment of the present invention, the embodiment of the present invention also provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.

[0146] Memory 703, used for storing computer programs;

[0147] The processor 701 is used to implement an information collection method provided by the above embodiment of the present invention when executing the program stored in the memory 703.

[0148] Specifically, the above information collection method includes:

[0149] Check whether intelligent analysis of the object is enabled;

[0150] When the detection result is yes, obtaining POS information corresponding to the object in the intelligent analysis process of the object; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object;

[0151] The object and the POS information corresponding to the object are associated and stored.

[0152] It should be noted that other implementations of an information collection method implemented by the processor 701 executing a program stored in the memory 703 are the same as an information collection method embodiment provided in the aforementioned method embodiment part, and will not be repeated here.

[0153] As can be seen above, Figure 7 When the electronic device shown performs intelligent analysis on each object, it can then obtain the POS information corresponding to each object in the intelligent analysis process for each object, and for each object, the object is associated and stored with the POS information corresponding to the object. In this way, when an abnormal situation occurs during the intelligent analysis process and a fault needs to be located, the POS information used for fault location can be directly obtained from the pre-stored POS information. Based on this, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0154] Corresponding to the fault location method provided by the above embodiment of the present invention, the embodiment of the present invention also provides an electronic device, such as Figure 8 As shown, it includes a processor 801, a communication interface 802, a memory 803 and a communication bus 804, wherein the processor 801, the communication interface 802, and the memory 803 communicate with each other through the communication bus 804.

[0155] Memory 803, used for storing computer programs;

[0156] The processor 801 is used to implement a fault location method provided by the above embodiment of the present invention when executing the program stored in the memory 803.

[0157] Specifically, the above fault location method includes:

[0158] Determine the fault object with abnormal conditions during the intelligent analysis process;

[0159] Using a POS information analysis tool, obtaining POS information stored in association with the fault object; wherein the POS information is: information describing the analysis status of the intelligent analysis process;

[0160] Based on the POS information, the fault location is performed on the fault object.

[0161] It should be noted that other implementations of a fault location method implemented by the processor 801 executing a program stored in the memory 803 are the same as a fault location method embodiment provided in the aforementioned method embodiment part, and will not be repeated here.

[0162] As can be seen from the above, when abnormal situations occur during the intelligent analysis of each object, such as Figure 8 The electronic device shown can, after determining the fault object with an abnormal situation, use the POS information analysis tool to obtain the POS information stored in association with the fault object from the pre-stored POS information. Then, the fault location of the determined fault object can be performed based on the POS information. Based on this, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. In this way, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0163] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0164] The communication interface is used for communication between the above electronic device and other devices.

[0165] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0166] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0167] Corresponding to the information collection method provided by the above embodiment of the present invention, the embodiment of the present invention further provides a computer-readable storage medium, and when the computer program is executed by a processor, the information collection method provided by the above embodiment of the present invention is implemented.

[0168] Specifically, the above information collection method includes:

[0169] Check whether intelligent analysis of the object is enabled;

[0170] When the detection result is yes, obtaining POS information corresponding to the object in the intelligent analysis process of the object; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object;

[0171] The object and the POS information corresponding to the object are associated and stored.

[0172] It should be noted that other implementations of an information collection method implemented when the above-mentioned computer program is executed by a processor are the same as an information collection method embodiment provided in the aforementioned method embodiment part, and will not be repeated here.

[0173] As can be seen from the above, when performing intelligent analysis on each object, the electronic device executes the computer program stored in the above-mentioned computer-readable storage medium, and can then obtain the POS information corresponding to each object in the intelligent analysis process for each object, and for each object, the object is associated with the POS information corresponding to the object and stored. In this way, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. Based on this, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0174] Corresponding to the fault location method provided by the above embodiment of the present invention, the embodiment of the present invention further provides a computer-readable storage medium, and when the computer program is executed by a processor, the fault location method provided by the above embodiment of the present invention is implemented.

[0175] Specifically, the above fault location method includes:

[0176] Determine the fault object with abnormal conditions during the intelligent analysis process;

[0177] Using a POS information analysis tool, obtaining POS information stored in association with the fault object; wherein the POS information is: information describing the analysis status of the intelligent analysis process;

[0178] Based on the POS information, the fault location is performed on the fault object.

[0179] It should be noted that other implementations of a fault location method implemented when the above-mentioned computer program is executed by a processor are the same as a fault location method embodiment provided in the aforementioned method embodiment part, and will not be repeated here.

[0180] As can be seen from the above, when an electronic device executes the computer program stored in the above-mentioned computer-readable storage medium, it can determine the fault object where the abnormal situation occurs when an abnormal situation occurs during the intelligent analysis of each object, and then use the POS information parsing tool to obtain the POS information stored in association with the fault object from the pre-stored POS information. Then, the fault location of the determined fault object can be performed based on the POS information. Based on this, when an abnormal situation occurs during the intelligent analysis process and fault location needs to be performed, the POS information used for fault location can be directly obtained from the pre-stored POS information. In this way, since there is no need to restore the environment when the object was photographed and reproduce the analysis process of the object, the fault location process is more concise, thereby improving the efficiency of fault location and realizing rapid fault location of abnormal situations that occur during the intelligent analysis process.

[0181] 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 existence of other identical elements in the process, method, article or device including the elements.

[0182] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, electronic device embodiment, and computer-readable storage medium embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0183] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. An information collection method, characterized in that: The method comprises: Detecting whether to start intelligent analysis of an object, the object including: an image and / or a video, the intelligent analysis including: intelligent identification and / or detection of the image and / or the video; When the detection result is yes, obtaining POS information corresponding to the object in the intelligent analysis process of the object; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object; The POS information includes at least one of the following types of information: initial configuration information at the start of intelligent analysis, analysis status information during the intelligent analysis process, the time consumed by the intelligent analysis process, and a timestamp of the object, wherein the analysis status information includes: information generated based on an intelligent analysis algorithm during the intelligent analysis of the object; storing the object in association with POS information corresponding to the object; The step of associating and storing the object with the POS information corresponding to the object comprises: If the object is a picture, while or after storing the image data of the picture, adding the POS information to the head or tail of the picture data; or If the object is a video frame, the POS information is added to the video code stream according to a specified storage rule while or after storing the video code stream of the video to which the video frame belongs.

2. A fault location method, characterized in that: The method comprises: Determine the fault object with abnormal conditions during the intelligent analysis process, the object includes: images and / or videos, and the intelligent analysis includes: intelligent identification and / or detection of the images and / or videos; Using a POS information parsing tool, obtain POS information stored in association with the fault object; wherein the POS information is: information describing the analysis status of the intelligent analysis process; the POS information includes at least one of the following types of information: initial configuration information at the start of the intelligent analysis, analysis status information during the intelligent analysis process, time consumption of the intelligent analysis process and a timestamp of the object, and the analysis status information includes: information generated based on an intelligent analysis algorithm during the intelligent analysis of the object; Based on the POS information, locating the fault of the fault object; The object and the POS information corresponding to the object are associated and stored in the following manner: If the object is a picture, while or after storing the image data of the picture, adding the POS information to the head or tail of the picture data; or If the object is a video frame, the POS information is added to the video code stream according to a specified storage rule while or after storing the video code stream of the video to which the video frame belongs.

3. An information collection device, characterized in that: The device comprises: An analysis and detection module, used to detect whether to start intelligent analysis of an object, the object includes: an image and / or a video, and the intelligent analysis includes: intelligent recognition and / or detection of the image and / or video; An information acquisition module, configured to acquire, when the detection result is yes, POS information corresponding to the object in the intelligent analysis process for the object; wherein the POS information is: information describing the analysis status of the intelligent analysis process of the object; the POS information includes at least one of the following types of information: initial configuration information at the start of the intelligent analysis, analysis status information during the intelligent analysis process, time consumption of the intelligent analysis process and a timestamp of the object, and the analysis status information includes: information generated based on the intelligent analysis algorithm during the intelligent analysis process of the object; An information storage module, used for associating and storing the object with the POS information corresponding to the object; Among them, the information storage module is specifically used to: if the object is a picture, add the POS information to the head or tail of the picture data while or after storing the image data of the picture; or if the object is a video frame, add the POS information to the video code stream according to the specified storage rules while or after storing the video code stream of the video frame.

4. A fault location device, characterized in that: The device comprises: An object determination module is used to determine the fault object with abnormal conditions during the intelligent analysis process, wherein the object includes: images and / or videos, and the intelligent analysis includes: intelligent identification and / or detection of images and / or videos; An information parsing module, used to use a POS information parsing tool to obtain POS information stored in association with the fault object; wherein the POS information is: information describing the analysis status of the intelligent analysis process; the POS information includes at least one of the following types of information: initial configuration information at the start of the intelligent analysis, analysis status information during the intelligent analysis process, time consumption of the intelligent analysis process and a timestamp of the object, and the analysis status information includes: information generated based on an intelligent analysis algorithm during the intelligent analysis of the object; A fault location module, used for locating the fault object based on the POS information; Among them, the object and the POS information corresponding to the object are associated and stored in the following manner: if the object is a picture, the POS information is added to the head or tail of the picture data while or after the image data of the picture is stored; or if the object is a video frame, the POS information is added to the video code stream while or after the video code stream of the video containing the video frame is stored, according to a specified storage rule.

5. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the method steps described in claim 1 when executing the program stored in the memory.

6. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the method steps described in claim 2 when executing the program stored in the memory.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in claim 1 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in claim 2 are implemented.