CN112699705A - Information acquisition method, fault positioning method and device and electronic equipment - Google Patents

Information acquisition method, fault positioning method and device and electronic equipment Download PDF

Info

Publication number
CN112699705A
CN112699705A CN201911004815.6A CN201911004815A CN112699705A CN 112699705 A CN112699705 A CN 112699705A CN 201911004815 A CN201911004815 A CN 201911004815A CN 112699705 A CN112699705 A CN 112699705A
Authority
CN
China
Prior art keywords
information
pos
pos information
intelligent analysis
fault
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911004815.6A
Other languages
Chinese (zh)
Inventor
董茂飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201911004815.6A priority Critical patent/CN112699705A/en
Publication of CN112699705A publication Critical patent/CN112699705A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The embodiment of the invention provides an information acquisition method, a fault positioning device and electronic equipment. The information acquisition method comprises the following steps: detecting whether to start intelligent analysis of the object; if the detection result is yes, POS information corresponding to the object in the intelligent analysis process of the object is obtained; wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to an object; and storing the object and POS information corresponding to the object in a correlation mode. The fault positioning method comprises the following steps: determining a fault object with an abnormal condition in the intelligent analysis process; using a POS information analysis tool to acquire POS information stored in association with a fault object; wherein, the POS information is: information describing an analysis state of the intelligent analysis process; and fault positioning is carried out on the fault object based on the POS information. Compared with the prior art, the scheme provided by the embodiment of the invention can realize rapid fault location of abnormal conditions in the intelligent analysis process.

Description

Information acquisition method, fault positioning method and device and electronic equipment
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to an information acquisition method, a fault positioning device and electronic equipment.
Background
Currently, with the continuous development of artificial intelligence technology, the application of intelligent analysis on objects by using various intelligent analysis methods is more and more extensive in various fields. Wherein the object may be image data and/or video data. For example, an access monitoring system of a company performs face recognition on a captured image to determine whether a person is a worker of the company; the intelligent traffic monitoring system performs event detection on the monitoring video so as to determine the accident type, the accident personnel, the accident reason and the like in the traffic accident.
However, due to a program failure or an equipment failure, an abnormal situation may occur during the intelligent analysis, for example, the entrance guard monitoring system of the company cannot recognize a human face in the captured image, the type of the traffic accident determined by the intelligent traffic monitoring system is wrong, and the like. Furthermore, in order to avoid the occurrence of the abnormal situation again, the technician needs to locate the fault causing the abnormal situation and process the located fault.
In the related art, the method for fault location is as follows: after the object with the abnormal condition is obtained, the environment when the object is shot is restored, the analysis process of the object is reproduced, and further, in the reproduction process, fault location is carried out according to analysis information generated in the intelligent analysis process and an analysis result obtained by reproduction.
However, in the above-described related art, the process of fault location is cumbersome, resulting in a low efficiency of fault location.
Disclosure of Invention
The embodiment of the invention aims to provide an information acquisition method, an information acquisition device and electronic equipment, and a fault positioning method, a fault positioning device and electronic equipment, so as to realize rapid fault positioning of abnormal conditions in an intelligent analysis process. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an information acquisition method, where the method includes:
detecting whether to start intelligent analysis of the object;
when the detection result is yes, POS information corresponding to the object in the intelligent analysis process of the object is obtained; wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to the object;
and storing the object and POS information corresponding to the object in a correlation manner.
Optionally, in a specific implementation manner, the POS information includes at least one of the following types of information:
initial configuration information at the start of the intelligent analysis, analysis state information during the intelligent analysis, time consumed during the intelligent analysis, and a timestamp of the object.
Optionally, in a specific implementation manner, the step of performing associated storage on the object and the POS information corresponding to the object includes:
acquiring identification information of the object;
and storing the identification information and the POS information in an associated manner.
Optionally, in a specific implementation manner, the object is a picture;
the step of storing the object and the POS information corresponding to the object in a correlated manner includes:
adding the POS information to a head or a tail of the picture data at the same time of or after storing the image data of the picture.
Optionally, in a specific implementation manner, the object is a video frame;
the step of storing the object and the POS information corresponding to the object in a correlated manner includes:
and adding the POS information into 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.
In a second aspect, an embodiment of the present invention provides a fault location method, where the method includes:
determining a fault object with an abnormal condition in the intelligent analysis process;
using a POS information analysis tool to acquire POS information stored in association with the fault object; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and fault positioning is carried out on the fault object based on the POS information.
In a third aspect, an embodiment of the present invention provides an information acquisition apparatus, where the apparatus includes:
the analysis detection module is used for detecting whether intelligent analysis on the object is started or not;
the information acquisition module is 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 an analysis state of an intelligent analysis process with respect to the object;
and the information storage module is used for storing the object and POS information corresponding to the object in a correlation manner.
Optionally, in a specific implementation manner, the POS information includes at least one of the following types of information:
initial configuration information at the start of the intelligent analysis, analysis state information during the intelligent analysis, time consumed during the intelligent analysis, and a timestamp of the object.
Optionally, in a specific implementation manner, the information storage module is specifically configured to:
acquiring identification information of the object; and storing the identification information and the POS information in an associated manner.
Optionally, in a specific implementation manner, the object is a picture;
the information storage module is specifically configured to add the POS information to a head or a tail of the picture data while or after storing the image data of the picture.
Optionally, in a specific implementation manner, the object is a video frame;
the information storage module is specifically configured 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.
In a fourth aspect, an embodiment of the present invention provides a fault location apparatus, where the apparatus includes:
the object determination module is used for determining a fault object with an abnormal condition in the intelligent analysis process;
the information analysis module is used for acquiring POS information which is stored in association with the fault object by using a POS information analysis tool; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and the fault positioning module is used for positioning the fault of the fault object based on the POS information.
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, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of any information acquisition method provided by the first aspect when executing the program stored in the memory.
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, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of any fault positioning method provided by the second aspect when executing the program stored in the memory.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the information acquisition methods provided in the first aspect are implemented.
In an eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the information acquisition methods provided in the first aspect.
As can be seen from the above, by applying the scheme provided by the embodiment of the present invention, when performing intelligent analysis on each object, 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 stored in an associated manner. Therefore, when abnormal conditions occur in the intelligent analysis process of each object, after the fault object with the abnormal conditions is determined, POS information stored in association with the fault object can be obtained from each POS information stored in advance by using a POS information analysis tool. Further, the determined fault object can be fault-located based on the POS information.
Based on this, in the scheme provided by the embodiment of the present invention, because the POS information of each object and the object is stored in advance in a correlated manner, when an abnormal condition occurs in the intelligent analysis process and fault location is required, the POS information for fault location can be directly acquired from the POS information stored in advance. Therefore, the environment when the shot object is not required to be restored, the analysis process of the object is reproduced, and therefore the fault location process is simpler, the fault location efficiency can be improved, and the fault location can be quickly carried out on the abnormal conditions in the intelligent analysis process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an information acquisition method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an implementation manner of step S103 in the embodiment shown in FIG. 1;
fig. 3 is a schematic flow chart of a fault location method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface of a POS information parsing tool;
fig. 5 is a schematic structural diagram of an information acquisition device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a fault location device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, the method for fault location is as follows: after the object with the abnormal condition is obtained, the environment when the object is shot is restored, the analysis process of the object is reproduced, and further, in the reproduction process, fault location is carried out according to analysis information generated in the intelligent analysis process and an analysis result obtained by reproduction. However, in the above-described related art, the process of fault location is cumbersome, resulting in a low efficiency of fault location. In order to solve the above technical problem, embodiments of the present invention provide an information acquisition method and a fault location method.
First, an information collecting method provided in an embodiment of the present invention is described below.
Fig. 1 is a schematic flow chart of an information acquisition method according to an embodiment of the present invention. The information collecting method may be applied to any electronic device that needs to collect POS (system information) information, such as a notebook computer, a desktop computer, a mobile phone, a tablet computer, and the like, for which the embodiments of the present invention are not limited specifically, and hereinafter referred to as a first electronic device.
As shown in fig. 1, an information acquisition method provided in an embodiment of the present invention includes the following steps:
s101: detecting whether to start intelligent analysis of the object; when the detection result is yes, executing step S102;
in the embodiment of the present invention, the object may be a picture, a video, or a picture and a video, and the intelligent analysis may be any analysis method that can perform intelligent processing such as intelligent recognition and detection on an image and/or a video and obtain an intelligent processing result, which is provided by the prior art. Such as face recognition, event detection, object feature extraction, etc.
Further, it can be understood that the first electronic device may generally acquire a plurality of objects, and further, the first electronic device may perform intelligent analysis on at least one of the acquired plurality of objects. When the first electronic device intelligently analyzes a plurality of acquired objects, the first electronic device may simultaneously perform intelligent analysis on the plurality of objects, or may sequentially perform intelligent analysis on the plurality of objects in a certain order.
The first electronic device may perform intelligent analysis on an object immediately after the object is acquired, or may perform intelligent analysis on at least one object of the objects after the objects are acquired. This is all reasonable.
Accordingly, in order to accurately obtain POS information corresponding to an object in an intelligent analysis process for the object, the first electronic device needs to know when intelligent analysis for the object is started.
Based on this, for each object acquired, the first electronic device may detect whether to turn on intelligent analysis for the object. And when the detection result is yes, indicating that the intelligent analysis of the object is started. Thus, the first electronic device may continue to perform the subsequent step S102.
S102: the method comprises the steps of obtaining POS information corresponding to an object in the intelligent analysis process of the object;
wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to an object;
furthermore, when it is detected that the intelligent analysis for an object is started, the first electronic device may acquire information describing an analysis state of the intelligent analysis process for the object in the intelligent analysis process for the object. Namely, the POS information corresponding to the object is acquired in the intelligent analysis process for the object.
The POS information corresponding to the object comprises relevant configuration information of the first electronic device during the intelligent analysis process of the object and information generated by the first electronic device based on an intelligent analysis algorithm during the intelligent analysis process of the object.
Optionally, in a specific implementation manner, the POS information includes at least one of the following types of information:
initial configuration information at the start of the intelligent analysis, analysis state information during the intelligent analysis, time consumption of the intelligent analysis process, and a timestamp of the object.
Wherein, the initial configuration information at the beginning of the intelligent analysis may be: and at the starting moment when the first electronic equipment intelligently analyzes the object, the first electronic equipment has the relevant configuration information of the first electronic equipment. For example, configuration information such as detection area, detection sensitivity, target size, and the like.
The analysis state information in the intelligent analysis process may include: the first electronic device generates information based on an intelligent analysis algorithm during intelligent analysis of the object. For example, algorithm detection information such as a target position, a target ID (identification), a target type, and the like.
In addition, the analysis state information in the intelligent analysis process may further include: the first electronic equipment carries out intelligent analysis on the object and relevant configuration information of the first electronic equipment. Such as codestream type, codestream resolution, picture type, picture resolution, etc.
Of course, in addition to the above-mentioned various types of information, the POS information may also include other types of information, and thus, the embodiment of the present invention is not particularly limited. For example, a processing frame rate, etc.
S103: and storing the object and POS information corresponding to the object in a correlation mode.
Furthermore, in the process of acquiring the intelligent analysis of the object, after the POS information corresponding to the object is acquired, the first electronic device may establish a correspondence between the object and the POS information corresponding to the object, so that the object and the POS information corresponding to the object are stored in an associated manner.
The first electronic device may perform step S103 in various ways, and the embodiment of the present invention is not limited in detail.
Optionally, in a specific implementation manner, as shown in fig. 2, the manner in which the first electronic device executes step S103 may include the following steps:
s201: acquiring identification information of an object;
s202: and storing the identification information and the POS information in an associated manner.
For each object, after acquiring the POS information corresponding to the object in the process of acquiring the intelligent analysis for the object, the first electronic device may acquire the identification information of the object.
For example, when the object is a picture, the identification information may be any information that can uniquely represent the picture, such as a storage address of the picture, a name of the picture, and the like; when the object is a video frame in a video, the identification information may be any information capable of uniquely characterizing the video frame, such as a frame number of the video frame.
Furthermore, the first electronic device may store the identification information in association with the POS information.
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 further store the established correspondence.
The first electronic device may store the identification information of the object and the POS information corresponding to the object locally when storing the identification information of the object and the POS information corresponding to the object in association, or may store the identification information of the object and the POS information corresponding to the object in other electronic devices. This is all reasonable.
Furthermore, when an abnormal condition occurs in the intelligent analysis process and a fault causing the abnormal condition needs to be located, the first electronic device can obtain the identification information of each object and the corresponding POS information which are stored in a relevant mode from a local place or other electronic devices.
Optionally, in a specific implementation manner, the object is a picture; the manner in which the first electronic device performs step S103 may include the following step 11:
step 11: POS information is added to the head or tail of the picture data at the same time as or after storing the image data of the picture.
In the intelligent analysis of the picture, the first electronic device may add POS information to a head or a tail of the picture data while or after storing the image data of the picture.
The first electronic device may add the POS information to the head or the tail of the picture data according to a preset data format, and accordingly, the specific type of the data format is not limited in the embodiments of the present invention. For example, if 0x12345678 is used as the start flag of the POS information data and 0x87654321 is used as the end flag of the POS information data, the information stored in the storage space between the storage location corresponding to the start flag and the storage location corresponding to the end flag is the POS information.
Preferably, when the first electronic device performs intelligent analysis on the picture and the picture is not stored, after the intelligent analysis is completed, the first electronic device may add the obtained POS information corresponding to the picture to the head or the tail of the picture data of the picture, and further, the first electronic device may store the POS information corresponding to the picture while storing the picture data. That is, the first electronic device may store the picture and the POS information corresponding to the picture at the same time, thereby implementing associating the stored object with the POS information corresponding to the object.
Preferably, when the first electronic device performs intelligent analysis on the picture and the picture is not stored, after the intelligent analysis is completed, the first electronic device may first store the picture data of the picture, and then add the obtained POS information corresponding to the picture to the head or the tail of the picture data of the picture. That is, the first electronic device may store the POS information corresponding to the picture after storing the picture, thereby implementing associating the stored object with the POS information corresponding to the object.
Preferably, when the first electronic device intelligently analyzes the stored picture, after the intelligent analysis is completed, the first electronic device may add the obtained POS information corresponding to the picture to the head or the tail of the picture data of the picture, so as to associate the stored object with the POS information corresponding to the object.
Optionally, in a specific implementation, the object is a video frame; the manner in which the first electronic device performs step S103 may include the following step 21:
step 21: and adding the POS information into 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 positioned.
It can be understood that in the process of intelligently analyzing the video, the essence is to intelligently analyze each video frame in the video. Therefore, when the video is intelligently analyzed, the intelligent analysis object is each video frame in the video.
Based on this, when the video frame is intelligently analyzed, the first electronic device may add the POS information to the video stream according to the specified storage rule while or after storing the video stream of the video where the video frame is located.
The specified storage rule may be any data merging protocol capable of merging the POS information and the video code stream and distinguishing the POS information from the video code stream in the merged data.
Adding the POS information to the video stream according to the specified storage rule may be referred to as adding the POS information to the video stream in a private protocol manner.
Preferably, when the first electronic device performs intelligent analysis on the video frame and the video frame is not stored, after the intelligent analysis is completed, the first electronic device may add the obtained POS information corresponding to the video frame to the video stream of the video where the video frame is located according to a specified storage rule, and further, the first electronic device may store the POS information corresponding to the video frame while storing the video stream. That is, the first electronic device can store the video code stream and the POS information corresponding to the video frame at the same time, thereby implementing associating the stored object with the POS information corresponding to the object.
Preferably, when the first electronic device performs intelligent analysis on the video frame and the video frame is not stored, after the intelligent analysis is completed, the first electronic device may first store a video code stream of a video where the video frame is located, and then add the obtained POS information corresponding to the video frame to the video code stream of the video where the video frame is located according to a specified storage rule. That is, the first electronic device may store the POS information corresponding to the video frame after storing the video code stream, thereby implementing associating the storage object with the POS information corresponding to the object.
Preferably, when the first electronic device intelligently analyzes the stored video frame, after the intelligent analysis is completed, the first electronic device may add the obtained POS information corresponding to the video frame to the video stream of the video where the video frame is located according to the specified storage rule, so as to implement associating the storage object with the POS information corresponding to the object.
As can be seen from the above, by applying the information collecting method provided by the embodiment of the present invention, when each object is intelligently analyzed, 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 stored in an associated manner. Therefore, when abnormal conditions occur in the intelligent analysis process and fault positioning is needed, POS information used for fault positioning can be directly obtained from the POS information stored in advance. Based on this, because the environment when not needing to restore the shooting object reappears the analytic process of object, consequently, the process of fault location is more succinct to can improve the efficiency of fault location, realize carrying out quick fault location to the intelligent analysis in-process, the unusual condition that appears.
Next, a fault location method provided in an embodiment of the present invention is described.
Fig. 3 is a schematic flow chart of a fault location method according to an embodiment of the present invention. The fault location method may be applied to any electronic device that needs to perform fault location, for example, a notebook computer, a desktop computer, a mobile phone, a tablet computer, and the like.
It is reasonable that the second electronic device and the first electronic device may be the same electronic device or different electronic devices.
As shown in fig. 3, a fault location method provided in an embodiment of the present invention may include the following steps:
s301: determining a fault object with an abnormal condition in the intelligent analysis process;
s302: using a POS information analysis tool to acquire POS information stored in association with a fault object;
wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
s303: and fault positioning is carried out on the fault object based on the POS information.
When an abnormal condition occurs in the intelligent analysis process, the second electronic device may first determine a fault object in which the abnormal condition occurs. Furthermore, the second electronic device may acquire POS information stored in association with the faulty object by using the POS information analysis tool.
For example, as shown in fig. 4, it is a schematic interface diagram of a POS information parsing tool.
The object of intelligent analysis and the POS information stored in association with the object are stored based on the information acquisition method provided by the embodiment of the invention.
Preferably, in an embodiment, the abnormal condition occurs in the product used by the customer during the intelligent analysis, that is, the intelligent analysis of the object is performed by the first electronic device adopted by the customer. Furthermore, the first electronic device stores an intelligent analysis object and POS information stored in association with the object. In this way, the customer may conveniently send the stored smart analysis object, as well as the POS information stored in association with the object, to a second electronic device used by the product opener.
Furthermore, in this embodiment, the second electronic device may determine, from the obtained smart analysis objects, a fault object in which an abnormal condition occurs during the smart analysis, and obtain, by using a POS information analysis tool, POS information stored in association with the fault object.
Further, the second electronic device may perform fault location on the fault object based on the POS information.
For example, the POS information is stored according to a certain protocol, so that a corresponding analysis tool can be developed according to the protocol in which the POS information is stored, and the POS information can be analyzed into various corresponding types of information related to the intelligent analysis by the analysis tool.
As can be seen from the above, by applying the fault location method provided by the embodiment of the present invention, POS information corresponding to each object and the object can be stored in advance in an associated manner. Therefore, when abnormal conditions occur in the intelligent analysis process of each object, after the fault object with the abnormal conditions is determined, POS information stored in association with the fault object can be obtained from each POS information stored in advance by using a POS information analysis tool. Further, the determined fault object can be fault-located based on the POS information. Based on this, when abnormal conditions occur in the intelligent analysis process and fault positioning is required, POS information used for fault positioning can be directly obtained from the prestored POS information. Therefore, the environment when the shot object is not required to be restored, the analysis process of the object is reproduced, and therefore the fault location process is simpler, the fault location efficiency can be improved, and the fault location can be quickly carried out on the abnormal conditions in the intelligent analysis process.
Corresponding to the data acquisition method provided by the embodiment of the invention, the embodiment of the invention also provides a data acquisition device.
Fig. 5 is a schematic structural diagram of a data acquisition device according to an embodiment of the present invention. As shown in fig. 5, the data acquisition device may include the following modules:
an analysis detection module 510 for detecting whether to start intelligent analysis of the object;
an information obtaining module 520, configured to obtain POS information corresponding to the object in an intelligent analysis process for the object when the detection result is yes; wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to the object;
an information storage module 530, configured to store the object and POS information corresponding to the object in an associated manner.
As can be seen from the above, when performing intelligent analysis on each object, the information acquisition device provided in the embodiment of the present invention may then acquire POS information corresponding to each object in the intelligent analysis process for each object, and store, for each object, the object and the POS information corresponding to the object in an associated manner. Therefore, when abnormal conditions occur in the intelligent analysis process and fault positioning is needed, POS information used for fault positioning can be directly obtained from the POS information stored in advance. Based on this, because the environment when not needing to restore the shooting object reappears the analytic process of object, consequently, the process of fault location is more succinct to can improve the efficiency of fault location, realize carrying out quick fault location to the intelligent analysis in-process, the unusual condition that appears.
Optionally, in a specific implementation manner, the POS information includes at least one of the following types of information:
initial configuration information at the start of the intelligent analysis, analysis state information during the intelligent analysis, time consumed during the intelligent analysis, and a timestamp of the object.
Optionally, in a specific implementation manner, the information storage module 530 is specifically configured to:
acquiring identification information of the object; and storing the identification information and the POS information in an associated manner.
Optionally, in a specific implementation manner, the object is a picture; the information storage module 530 is specifically configured to add the POS information to a header or a trailer of the picture data while or after storing the image data of the picture.
Optionally, in a specific implementation manner, the object is a video frame; the information storage module 530 is specifically configured to add the POS information to the video stream according to a specified storage rule while or after storing the video stream of the video where the video frame is located.
Corresponding to the fault positioning method provided by the embodiment of the invention, the embodiment of the invention also provides a fault positioning device.
Fig. 6 is a schematic structural diagram of a fault location device according to an embodiment of the present invention. As shown in fig. 6, the fault location method may include the following modules:
an object determination module 610, configured to determine a fault object in which an abnormal condition occurs during an intelligent analysis process;
the information analysis module 620 is configured to obtain POS information stored in association with the fault object by using a POS information analysis tool; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and a fault location module 630, configured to perform fault location on the faulty object based on the POS information.
As can be seen from the above, by applying the fault location device provided in the embodiment of the present invention, POS information corresponding to each object and the object can be stored in advance in an associated manner. Therefore, when abnormal conditions occur in the intelligent analysis process of each object, after the fault object with the abnormal conditions is determined, POS information stored in association with the fault object can be obtained from each POS information stored in advance by using a POS information analysis tool. Further, the determined fault object can be fault-located based on the POS information. Based on this, when abnormal conditions occur in the intelligent analysis process and fault positioning is required, POS information used for fault positioning can be directly obtained from the prestored POS information. Therefore, the environment when the shot object is not required to be restored, the analysis process of the object is reproduced, and therefore the fault location process is simpler, the fault location efficiency can be improved, and the fault location can be quickly carried out on the abnormal conditions in the intelligent analysis process.
Corresponding to the information acquisition method provided by the above embodiment of the present invention, an embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702 and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the information collecting method provided in the embodiment of the present invention when executing the program stored in the memory 703.
Specifically, the information acquisition method includes:
detecting whether to start intelligent analysis of the object;
when the detection result is yes, POS information corresponding to the object in the intelligent analysis process of the object is obtained; wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to the object;
and storing the object and POS information corresponding to the object in a correlation manner.
It should be noted that other implementation manners of the information acquisition method implemented by the processor 701 executing the program stored in the memory 703 are the same as the information acquisition method embodiment provided in the foregoing method embodiment section, and are not described herein again.
As can be seen from the above, when the electronic device shown in fig. 7 intelligently analyzes each object, POS information corresponding to each object in the intelligent analysis process for each object can be acquired, and for each object, the object and the POS information corresponding to the object are stored in an associated manner. Therefore, when abnormal conditions occur in the intelligent analysis process and fault positioning is needed, POS information used for fault positioning can be directly obtained from the POS information stored in advance. Based on this, because the environment when not needing to restore the shooting object reappears the analytic process of object, consequently, the process of fault location is more succinct to can improve the efficiency of fault location, realize carrying out quick fault location to the intelligent analysis in-process, the unusual condition that appears.
Corresponding to the above-mentioned fault location method provided by the embodiment of the present invention, an embodiment of the present invention further provides an electronic device, as shown in fig. 8, including a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804,
a memory 803 for storing a computer program;
the processor 801 is configured to implement the fault location method according to the embodiment of the present invention when executing the program stored in the memory 803.
Specifically, the fault location method includes:
determining a fault object with an abnormal condition in the intelligent analysis process;
using a POS information analysis tool to acquire POS information stored in association with the fault object; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and fault positioning is carried out on the fault object based on the POS information.
It should be noted that other implementation manners of the fault location method implemented by the processor 801 executing the program stored in the memory 803 are the same as the fault location method embodiment provided in the foregoing method embodiment section, and are not described again here.
As can be seen from the above, when an abnormal condition occurs in the intelligent analysis process of each object, the electronic device shown in fig. 8 may obtain, by using a POS information analysis tool, POS information stored in association with the faulty object from the POS information stored in advance after determining the faulty object in which the abnormal condition occurs. Further, the determined fault object can be fault-located based on the POS information. Based on this, when abnormal conditions occur in the intelligent analysis process and fault positioning is required, POS information used for fault positioning can be directly obtained from the prestored POS information. Therefore, the environment when the shot object is not required to be restored, the analysis process of the object is reproduced, and therefore the fault location process is simpler, the fault location efficiency can be improved, and the fault location can be quickly carried out on the abnormal conditions in the intelligent analysis process.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
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 memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Corresponding to the information acquisition method provided by the embodiment of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, and the computer program is executed by a processor to implement the information acquisition method provided by the embodiment of the present invention.
Specifically, the information acquisition method includes:
detecting whether to start intelligent analysis of the object;
when the detection result is yes, POS information corresponding to the object in the intelligent analysis process of the object is obtained; wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to the object;
and storing the object and POS information corresponding to the object in a correlation manner.
It should be noted that other implementation manners of the information acquisition method implemented when the computer program is executed by the processor are the same as the information acquisition method embodiment provided in the foregoing method embodiment section, and are not described herein again.
As can be seen from the above description, when performing intelligent analysis on each object, the electronic device executes the computer program stored in the computer-readable storage medium, so as to obtain POS information corresponding to each object in the intelligent analysis process for each object, and stores the object and the POS information corresponding to the object in association with each other for each object. Therefore, when abnormal conditions occur in the intelligent analysis process and fault positioning is needed, POS information used for fault positioning can be directly obtained from the POS information stored in advance. Based on this, because the environment when not needing to restore the shooting object reappears the analytic process of object, consequently, the process of fault location is more succinct to can improve the efficiency of fault location, realize carrying out quick fault location to the intelligent analysis in-process, the unusual condition that appears.
Corresponding to the fault location method provided by the embodiment of the present invention, an embodiment of the present invention further provides a computer readable storage medium, and the computer readable storage medium is used for implementing the fault location method provided by the embodiment of the present invention when being executed by a processor.
Specifically, the fault location method includes:
determining a fault object with an abnormal condition in the intelligent analysis process;
using a POS information analysis tool to acquire POS information stored in association with the fault object; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and fault positioning is carried out on the fault object based on the POS information.
It should be noted that other implementation manners of the fault location method implemented when the computer program is executed by the processor are the same as the embodiment of the fault location method provided in the foregoing method embodiment section, and are not described again here.
As can be seen from the above, when an abnormal condition occurs in the intelligent analysis process of each object, the electronic device executes the computer program stored in the computer-readable storage medium, so as to determine the faulty object in which the abnormal condition occurs, and further, the POS information stored in association with the faulty object is obtained from the POS information stored in advance by using the POS information analysis tool. Further, the determined fault object can be fault-located based on the POS information. Based on this, when abnormal conditions occur in the intelligent analysis process and fault positioning is required, POS information used for fault positioning can be directly obtained from the prestored POS information. Therefore, the environment when the shot object is not required to be restored, the analysis process of the object is reproduced, and therefore the fault location process is simpler, the fault location efficiency can be improved, and the fault location can be quickly carried out on the abnormal conditions in the intelligent analysis process.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, the electronic device embodiment and the computer-readable storage medium embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. An information acquisition method, characterized in that the method comprises:
detecting whether to start intelligent analysis of the object;
when the detection result is yes, POS information corresponding to the object in the intelligent analysis process of the object is obtained; wherein, the POS information is: information describing an analysis state of an intelligent analysis process with respect to the object;
and storing the object and POS information corresponding to the object in a correlation manner.
2. The method of claim 1, wherein the POS information comprises at least one of the following types of information:
initial configuration information at the start of the intelligent analysis, analysis state information during the intelligent analysis, time consumed during the intelligent analysis, and a timestamp of the object.
3. The method according to claim 1 or 2, wherein the step of storing the object in association with the POS information corresponding to the object comprises:
acquiring identification information of the object;
and storing the identification information and the POS information in an associated manner.
4. The method according to claim 1 or 2, wherein the object is a picture;
the step of storing the object and the POS information corresponding to the object in a correlated manner includes:
adding the POS information to a head or a tail of the picture data at the same time of or after storing the image data of the picture.
5. The method of claim 1 or 2, wherein the object is a video frame;
the step of storing the object and the POS information corresponding to the object in a correlated manner includes:
and adding the POS information into 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.
6. A method of fault location, the method comprising:
determining a fault object with an abnormal condition in the intelligent analysis process;
using a POS information analysis tool to acquire POS information stored in association with the fault object; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and fault positioning is carried out on the fault object based on the POS information.
7. An information acquisition apparatus, characterized in that the apparatus comprises:
the analysis detection module is used for detecting whether intelligent analysis on the object is started or not;
the information acquisition module is 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 an analysis state of an intelligent analysis process with respect to the object;
and the information storage module is used for storing the object and POS information corresponding to the object in a correlation manner.
8. The apparatus of claim 7, wherein the POS information comprises at least one of the following types of information:
initial configuration information at the start of the intelligent analysis, analysis state information during the intelligent analysis, time consumed during the intelligent analysis, and a timestamp of the object.
9. The apparatus according to claim 7 or 8, wherein the information storage module is specifically configured to:
acquiring identification information of the object; and storing the identification information and the POS information in an associated manner.
10. The apparatus according to claim 7 or 8, wherein the object is a picture;
the information storage module is specifically configured to add the POS information to a head or a tail of the picture data while or after storing the image data of the picture.
11. The apparatus of claim 7 or 8, wherein the object is a video frame;
the information storage module is specifically configured 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.
12. A fault locating device, characterized in that the device comprises:
the object determination module is used for determining a fault object with an abnormal condition in the intelligent analysis process;
the information analysis module is used for acquiring POS information which is stored in association with the fault object by using a POS information analysis tool; wherein, the POS information is: information describing an analysis state of the intelligent analysis process;
and the fault positioning module is used for positioning the fault of the fault object based on the POS information.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
14. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of claim 6 when executing a program stored in the memory.
15. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-5.
16. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of claim 6.
CN201911004815.6A 2019-10-22 2019-10-22 Information acquisition method, fault positioning method and device and electronic equipment Pending CN112699705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911004815.6A CN112699705A (en) 2019-10-22 2019-10-22 Information acquisition method, fault positioning method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911004815.6A CN112699705A (en) 2019-10-22 2019-10-22 Information acquisition method, fault positioning method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112699705A true CN112699705A (en) 2021-04-23

Family

ID=75505477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911004815.6A Pending CN112699705A (en) 2019-10-22 2019-10-22 Information acquisition method, fault positioning method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112699705A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111797A (en) * 2011-02-15 2011-06-29 大唐移动通信设备有限公司 Fault diagnosis method and fault diagnosis equipment
WO2017041406A1 (en) * 2015-09-08 2017-03-16 中兴通讯股份有限公司 Failure positioning method and device
CN108304276A (en) * 2018-01-17 2018-07-20 北京奇艺世纪科技有限公司 A kind of log processing method, device and electronic equipment
CN108376107A (en) * 2018-03-01 2018-08-07 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and the storage medium of server failure detection
CN108920296A (en) * 2018-07-10 2018-11-30 郑州云海信息技术有限公司 A kind of Fault Locating Method, device and computer readable storage medium
CN110324588A (en) * 2019-08-05 2019-10-11 上海天诚比集科技有限公司 Video analysis Warning Event information storage means based on dictionary structure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102111797A (en) * 2011-02-15 2011-06-29 大唐移动通信设备有限公司 Fault diagnosis method and fault diagnosis equipment
WO2017041406A1 (en) * 2015-09-08 2017-03-16 中兴通讯股份有限公司 Failure positioning method and device
CN108304276A (en) * 2018-01-17 2018-07-20 北京奇艺世纪科技有限公司 A kind of log processing method, device and electronic equipment
CN108376107A (en) * 2018-03-01 2018-08-07 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and the storage medium of server failure detection
CN108920296A (en) * 2018-07-10 2018-11-30 郑州云海信息技术有限公司 A kind of Fault Locating Method, device and computer readable storage medium
CN110324588A (en) * 2019-08-05 2019-10-11 上海天诚比集科技有限公司 Video analysis Warning Event information storage means based on dictionary structure

Similar Documents

Publication Publication Date Title
CN113095132B (en) Neural network based gas field identification method, system, terminal and storage medium
CN110475124B (en) Video jamming detection method and device
WO2019169760A1 (en) Test case range determining method, device, and storage medium
CN111325128A (en) Illegal operation detection method and device, computer equipment and storage medium
CN112422849A (en) Welding abnormal data acquisition method and device, electronic equipment and storage medium
CN114020432A (en) Task exception handling method and device and task exception handling system
CN112073713B (en) Video leakage test method, device, equipment and storage medium
CN114139016A (en) Data processing method and system for intelligent cell
CN110889357B (en) Underground cable fault detection method and device based on labeling area
CN112699705A (en) Information acquisition method, fault positioning method and device and electronic equipment
CN111914591A (en) Duration determination method and device
CN111104576A (en) Processing method, device and system for webpage identification and electronic equipment
CN112153341B (en) Task supervision method, device and system, electronic equipment and storage medium
CN114973135A (en) Head-shoulder-based sequential video sleep post identification method and system and electronic equipment
CN114239296A (en) Data processing method and device and electronic equipment
CN111831841B (en) Information retrieval method, device, electronic equipment and storage medium
CN112241671A (en) Personnel identity identification method, device and system
KR20200031020A (en) Method for providing investigation support information and apparatus for the same
CN114448848B (en) Switch testing method and device, electronic equipment and storage medium
CN110458114B (en) Method and device for determining number of people and storage medium
CN117196449B (en) Video identification method, system and related device
CN114385387B (en) Access information generation method and device and computer equipment
CN112598027B (en) Abnormality identification method and device for equipment, terminal equipment and storage medium
CN116260640B (en) Information interception control method and system for big data analysis based on artificial intelligence
CN113515507B (en) Method and system applied to dam water seepage detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination