CN112148904B - Indexing method and device for alarm linkage video - Google Patents

Indexing method and device for alarm linkage video Download PDF

Info

Publication number
CN112148904B
CN112148904B CN202010756678.8A CN202010756678A CN112148904B CN 112148904 B CN112148904 B CN 112148904B CN 202010756678 A CN202010756678 A CN 202010756678A CN 112148904 B CN112148904 B CN 112148904B
Authority
CN
China
Prior art keywords
index information
label
label index
video file
file
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.)
Active
Application number
CN202010756678.8A
Other languages
Chinese (zh)
Other versions
CN112148904A (en
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.)
Zhongbiao Huian Information Technology Co Ltd
Original Assignee
Zhongbiao Huian Information 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 Zhongbiao Huian Information Technology Co Ltd filed Critical Zhongbiao Huian Information Technology Co Ltd
Priority to CN202010756678.8A priority Critical patent/CN112148904B/en
Publication of CN112148904A publication Critical patent/CN112148904A/en
Application granted granted Critical
Publication of CN112148904B publication Critical patent/CN112148904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an indexing method and a device for alarm linkage videos, wherein the method comprises the following steps: acquiring a video file generated when an alarm event occurs; analyzing the video file to generate label index information corresponding to the video file; and correspondingly storing the video file and the label index information. By the technical scheme, the labels can be directly retrieved, the file retrieval efficiency is improved, and a user is helped to quickly find the required video files.

Description

Indexing method and device for alarm linkage video
Technical Field
The invention relates to the technical field of image indexing, in particular to an indexing method and device for alarm linkage videos.
Background
In a video monitoring system with video linkage, a large number of video files are generated every day due to various alarm events, and in the traditional technology, except for time positioning, a user can hardly retrieve a target video file. When a query is needed, it is difficult to find a target video file in such many files, and a great deal of time and energy are needed for a query staff.
Disclosure of Invention
In view of the above problems, the present invention provides an indexing method for alarm linked videos and a corresponding device, which can help a user to quickly find a desired video file.
According to a first aspect of the embodiments of the present invention, there is provided an index method for an alarm linked video, the method including:
acquiring a video file generated when an alarm event occurs;
analyzing the video file to generate label index information corresponding to the video file;
and correspondingly storing the video file and the label index information.
Optionally, the tag index information includes a shooting time period, an alarm event type, an alarm event trigger location, a disk drive number, a disk offset, and a size of the video file.
Optionally, the method further includes:
determining a plurality of target video files with the same alarm event triggering location and the same alarm event type according to the label index information of each video file, and associating the label index information corresponding to the plurality of target video files.
Optionally, the method further includes:
receiving an input file label;
searching one or more target label index information matched with the file label;
and searching a target video file corresponding to the file label according to the target label index information.
Optionally, the searching for the target video file corresponding to the file tag according to the target tag index information includes:
and acquiring a target video file corresponding to the file label according to the disk drive number and the disk offset in the target label index information.
According to a second aspect of the embodiments of the present invention, there is provided an indexing apparatus for alarm linked video, the apparatus including:
the acquisition module is used for acquiring a video file generated when an alarm event occurs;
the generating module is used for analyzing the video file and generating label index information corresponding to the video file;
and the storage module is used for correspondingly storing the video file and the label index information.
Optionally, the tag index information includes a shooting time period, an alarm event type, an alarm event trigger location, a disk drive number, a disk offset, and a size of the video file.
Optionally, the apparatus further comprises:
and the association module is used for determining a plurality of target video files with the same alarm event triggering location and the same alarm event type according to the label index information of each video file and associating the label index information corresponding to the plurality of target video files.
Optionally, the apparatus further comprises:
the receiving module is used for receiving the input file label;
the first searching module is used for searching one or more target label index information matched with the file label;
and the second searching module is used for searching the target video file corresponding to the file label according to the target label index information.
Optionally, the second lookup module includes:
and the acquisition unit is used for acquiring the target video file corresponding to the file label according to the disk drive number and the disk offset in the target label index information.
According to a third aspect of the embodiments of the present invention, there is provided an index device for alarm linked video, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a video file generated when an alarm event occurs;
analyzing the video file to generate label index information corresponding to the video file;
and correspondingly storing the video file and the label index information.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
In the embodiment of the invention, more retrieval information is provided for the user by establishing the label index of the video file, and the label can be directly retrieved, so that the file retrieval efficiency is improved, and the user is helped to quickly find the required video file. And the video data can be quickly acquired through the disk drive number and the offset bit.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of an indexing method for alarm linked videos according to an embodiment of the present invention.
FIG. 2 is a flow chart of another method for indexing alarm linked videos according to an embodiment of the present invention.
FIG. 3 is a flowchart of another method for indexing alarm-linked videos according to an embodiment of the present invention.
Fig. 4 is a flowchart of step S303 in the method for indexing an alarm linked video according to an embodiment of the present invention.
FIG. 5 is a block diagram of an apparatus for indexing alarm-linked videos according to an embodiment of the present invention.
FIG. 6 is a block diagram of another indexing device for linked alarm recording in accordance with one embodiment of the present invention.
FIG. 7 is a block diagram of an apparatus for indexing a video with alarm linking according to another embodiment of the present invention.
FIG. 8 is a block diagram of a second lookup module in an indexing device for alarm linked video according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, with the order of the operations being indicated as 101, 102, etc. merely to distinguish between the various operations, and the order of the operations by themselves does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
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.
Fig. 1 is a flowchart of an indexing method for an alarm linked video according to an embodiment of the present invention, and as shown in fig. 1, the indexing method for an alarm linked video includes:
step S101, acquiring a video file generated when an alarm event occurs;
step S102, analyzing the video file and generating label index information corresponding to the video file.
Optionally, the tag index information includes a shooting time period of the video, an alarm event type, an alarm event trigger location, a disk drive number, a disk offset, and a size of a video file.
And step S103, correspondingly storing the video file and the label index information.
In this embodiment, when the alarm linkage video is generated, a tag may be generated for a specified event video, including a specified time period, a specified event type, specified contact information, and the like, where the tag maps video event information, including start time, event type, event trigger location, disk drive number, disk offset, file size, and the like, and if the event is triggered by face detection, the mapped information further includes face feature information and a video capture index ID number. Therefore, more retrieval information is provided for the user by establishing the label index of the video file, the label can be directly retrieved, the file retrieval efficiency is improved, and the user is helped to quickly find the required video file.
FIG. 2 is a flow chart of another method for indexing alarm linked videos according to an embodiment of the present invention.
As shown in fig. 2, optionally, the method further includes:
step S201, according to the label index information of each video file, determining a plurality of target video files with the same alarm event triggering location and the same alarm event type, and associating the label index information corresponding to the plurality of target video files.
In this embodiment, the tag index information may also be associated with tag index information of previous and subsequent videos of the same event triggering area and the same alarm type, so that when a user retrieves a video file corresponding to one tag index information, video files corresponding to all associated tag index information may be retrieved as needed, thereby obtaining event information associated in the previous and subsequent areas.
Specifically, the tag index information of the video file includes information items of a shooting time period, an alarm event type, an alarm event trigger location, a disk drive number, a disk offset, and a size of the video file. The first three information items of the two label index information are compared to obtain the association degree of the two label index information, and the two label index information with the association degree equal to or greater than the preset threshold value are associated, so that the association relation between the two video files is established.
FIG. 3 is a flowchart of another method for indexing alarm-linked videos according to an embodiment of the present invention.
As shown in fig. 3, optionally, the method further includes:
step S301, receiving an input file label. The file tag may be the start time of the file, the type of event, the location of the event trigger, etc.
Step S302, one or more target label index information matched with the file label is searched.
For example, if a file tag is an event type, a plurality of target tag index information corresponding to the same event type may exist, and at this time, a target video file corresponding to the plurality of target tag index information may be obtained.
Step S303, searching a target video file corresponding to the file label according to the target label index information.
In the embodiment, the label can be directly searched, so that the file searching efficiency is improved, and a user can be helped to quickly find the required video file.
In an embodiment, the step S201 of "associating the tag index information corresponding to the target video files" may be implemented as the following steps:
for given first label index information corresponding to a first video file and second label index information of a second video file, calculating the association degree between the first label index information and the second label index information according to the following mode:
step B1, converting the first label index information into a corresponding digital format:
Figure BDA0002611802100000061
wherein R represents a real number field,
Figure BDA0002611802100000062
is represented by n1+n2+n3A real number field of dimensions;
Figure BDA0002611802100000063
representing the shooting time period in the first label index information, such as 13 hours and 30 minutes in 10 months in 2010 and corresponding to n1Is 12 (length of the number expressing time), i.e. x1、x2、x3、x4Are respectively 2, 0, 1, 0, x5、x6、x7、x8Are respectively 0, 8, 1, 0, x9、x10、x11、x12The values of (A) are respectively 1, 3 and 0;
Figure BDA0002611802100000064
representing the types of alarm events in the first tag index information, such as the types of alarm events including emergency alarm (critical), primary alarm (major), secondary alarm (minor), warning alarm (warning), and uncertain alarm, then n2If the alarm is not determined, the alarm is 5,
Figure BDA0002611802100000065
Figure BDA0002611802100000066
if the alarm is a warning, the alarm is sent,
Figure BDA0002611802100000067
if the alarm is a secondary alarm, the alarm is sent to the user,
Figure BDA0002611802100000068
Figure BDA0002611802100000069
and the like.
Figure BDA00026118021000000610
Representing digital information corresponding to the alarm event trigger location in the first label index information; for example, the occurrence location is west street cell number, each province (for example, province is represented by 6 numerals or characters), each city (for example, province is represented by 6 numerals or characters), each district (for example, city is represented by 6 numerals or characters), each county (for example, city is represented by 6 numerals or characters), each street or road (for example, street or road is represented by 6 numerals or characters), each cell (for example, district is represented by 6 numerals or characters), each building number (for example, building number is represented by 6 numerals or characters), and the corresponding digitized information is preset in each array or character group formed by the 6 groups of numerals or characters, that is, the corresponding digitized information is preset in each district, building number
Figure BDA0002611802100000071
To indicate the location of the alarm event trigger;
step B2, converting the second label index information into a corresponding digital format:
Figure BDA0002611802100000072
wherein R represents a real number field,
Figure BDA0002611802100000073
is represented by n1+n2+n3A real number field of dimensions;
Figure BDA0002611802100000074
representing a photographing time period in the second tag index information;
Figure BDA0002611802100000075
representing the alarm event type category in the second tag index information.
Figure BDA0002611802100000076
And representing the digitalized information corresponding to the triggering place of the alarm event in the second label index information.
Step B3, calculating a first similarity between the first label index information and the second label index information according to the following formula (1):
Figure BDA0002611802100000077
wherein alpha is1,α2,α3Is a preset weight; alpha is alpha123=1,0≤α1,α2,α3≤1;
Obviously, S1The smaller the correlation, the higher the correlation;
step B4, calculating a second similarity between the first label index information and the second label index information according to the following formula (2):
Figure BDA0002611802100000078
is apparent S2The larger the correlation, the higher the degree of correlation;
wherein cos (A, B) is a cosine similarity calculation formula, and the expression is as follows:
Figure BDA0002611802100000079
A. b represents two vectors;
step B5, calculating the association degree between the first label index information and the second label index information according to the following formula (3):
S=S2+exp(-S1) (3)
step B6, when the degree of association between the first label index information and the second label index information is equal to or greater than a preset threshold, establishing an association between the first label index information and the second label index information, thereby establishing an association between the first video file and the second video file;
in the foregoing steps B1-B6, the hamming distance between two pieces of label index information is calculated in formula (1) to measure the similarity between numbers, the cosine distance is calculated in formula (2) to measure the similarity between alphabetical characters, and the hamming distance and cosine distance are integrated in formula (3) to measure the association between two pieces of label index information, so that the calculation result is more accurate.
At this time, the step S302 of "finding one or more target tag index information matching the file tag" may be implemented as:
searching for the label index information matched with the file label, acquiring all label index information associated with the matched label index information, and taking the matched label index information and all label index information associated with the matched label index information as the one or more target label index information matched with the file label.
In this way, when the step S303 of searching for the target video file corresponding to the file tag according to the target tag index information is subsequently executed, all the video files matched with the file tag and having relevance can be retrieved, so that the retrieved correlated and linked events can be intelligently and automatically retrieved for the user, and an evidence can be quickly provided for analyzing the alarm event.
Fig. 4 is a flowchart of step S303 in the method for indexing an alarm linked video according to an embodiment of the present invention.
As shown in fig. 4, optionally, the step S303 includes:
step S401, according to the disk drive number and the disk offset in the target label index information, acquiring a target video file corresponding to the file label.
In this embodiment, the target tag index information may map the disk drive number and the disk offset bit, so that the video data may be quickly obtained through the disk drive number and the offset bit.
The generation implementation process of the index flow of the alarm linkage video is introduced through the above description, and the process can be implemented by a device, and the internal structure and the function of the device are introduced below.
FIG. 5 is a block diagram of an apparatus for indexing alarm-linked videos according to an embodiment of the present invention.
According to a second aspect of the embodiments of the present invention, as shown in fig. 5, there is provided an indexing apparatus for alarm linked video, the apparatus comprising:
an obtaining module 51, configured to obtain a video file generated when an alarm event occurs;
a generating module 52, configured to analyze the video file and generate tag index information corresponding to the video file;
and the storage module 53 is configured to correspondingly store the video file and the tag index information.
Optionally, the tag index information includes a shooting time period, an alarm event type, an alarm event trigger location, a disk drive number, a disk offset, and a size of the video file.
FIG. 6 is a block diagram of another indexing device for linked alarm recording in accordance with one embodiment of the present invention.
As shown in fig. 6, optionally, the apparatus further includes:
the association module 61 is configured to determine, according to the tag index information of each video file, a plurality of target video files having the same alarm event trigger location and the same alarm event type, and associate the tag index information corresponding to the plurality of target video files.
FIG. 7 is a block diagram of an apparatus for indexing a video with alarm linking according to another embodiment of the present invention.
As shown in fig. 7, optionally, the apparatus further includes:
a receiving module 71, configured to receive an input file label;
a first searching module 72, configured to search for one or more target tag index information that matches the file tag;
and a second searching module 73, configured to search, according to the target tag index information, a target video file corresponding to the file tag.
FIG. 8 is a block diagram of a second lookup module in an indexing device for alarm linked video according to an embodiment of the present invention.
As shown in fig. 8, optionally, the second lookup module 73 includes:
an obtaining unit 81, configured to obtain the target video file corresponding to the file tag according to the disk drive number and the disk offset in the target tag index information.
According to a third aspect of the embodiments of the present invention, there is provided an index device for alarm linked video, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a video file generated when an alarm event occurs;
analyzing the video file to generate label index information corresponding to the video file;
and correspondingly storing the video file and the label index information.
The processor is further configured to:
optionally, the tag index information includes a shooting time period, an alarm event type, an alarm event trigger location, a disk drive number, a disk offset, and a size of the video file.
The processor is further configured to:
determining a plurality of target video files with the same alarm event triggering location and the same alarm event type according to the label index information of each video file, and associating the label index information corresponding to the plurality of target video files.
The processor is further configured to:
receiving an input file label;
searching one or more target label index information matched with the file label;
and searching a target video file corresponding to the file label according to the target label index information.
Optionally, the searching for the target video file corresponding to the file tag according to the target tag index information includes:
and acquiring a target video file corresponding to the file label according to the disk drive number and the disk offset in the target label index information.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any one of the first aspects.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (3)

1. An indexing method for alarm linkage videos is characterized by comprising the following steps:
acquiring a video file generated when an alarm event occurs;
analyzing the video file to generate label index information corresponding to the video file;
correspondingly storing the video file and the label index information;
the label index information comprises a shooting time period, an alarm event type, an alarm event triggering place, a disk drive number, a disk offset and the size of the video file;
wherein the method further comprises:
determining a plurality of target video files with the same alarm event triggering location and the same alarm event type according to the label index information of each video file, and associating the label index information corresponding to the plurality of target video files;
wherein, the associating the label index information corresponding to the plurality of target video files is implemented as the following steps:
for given first label index information corresponding to a first video file and second label index information of a second video file, calculating the association degree between the first label index information and the second label index information according to the following mode:
step B1, converting the first label index information into a corresponding digital format:
Figure FDA0003088201810000011
representing x as n1+n2+n3Real number of dimensions;
Figure FDA0003088201810000012
representing a photographing time period in the first tag index information;
Figure FDA0003088201810000013
representing the alarm event type category in the first label index information;
Figure FDA0003088201810000014
representing digital information corresponding to the alarm event trigger location in the first label index information;
step B2, converting the second label index information into a corresponding digital format:
Figure FDA0003088201810000015
represents y is n1+n2+n3Real number of dimensions;
Figure FDA0003088201810000021
representing a photographing time period in the second tag index information;
Figure FDA0003088201810000022
representing the alarm event type category in the second label index information;
Figure FDA0003088201810000023
representing the digital information corresponding to the alarm event trigger location in the second label index information;
step B3, calculating a first similarity between the first label index information and the second label index information according to the following formula (1):
Figure FDA0003088201810000024
(1)
wherein alpha is1,α2,α3Is a preset weight; alpha is alpha123=1,0≤α12,α3≤1;
Step B4, calculating a second similarity between the first label index information and the second label index information according to the following formula (2):
Figure FDA0003088201810000025
step B5, calculating the association degree between the first label index information and the second label index information according to the following formula (3):
S=S2+exp(-S1) (3)
step B6, when the degree of association between the first label index information and the second label index information is equal to or greater than a preset threshold, establishing an association between the first label index information and the second label index information, thereby establishing an association between the first video file and the second video file;
wherein the method further comprises:
receiving an input file label;
searching one or more target label index information matched with the file label;
searching a target video file corresponding to the file label according to the target label index information;
at this time, the searching for one or more target tag index information matching with the file tag may be implemented as:
searching for the label index information matched with the file label, acquiring all label index information associated with the matched label index information, and taking the matched label index information and all label index information associated with the matched label index information as the one or more target label index information matched with the file label.
2. The method of claim 1, wherein the searching for the target video file corresponding to the file tag according to the target tag index information comprises:
and acquiring a target video file corresponding to the file label according to the disk drive number and the disk offset in the target label index information.
3. An indexing device for alarm linked video, the device comprising:
the acquisition module is used for acquiring a video file generated when an alarm event occurs;
the generating module is used for analyzing the video file and generating label index information corresponding to the video file;
the storage module is used for correspondingly storing the video file and the label index information;
the label index information comprises a shooting time period, an alarm event type, an alarm event triggering place, a disk drive number, a disk offset and the size of the video file;
wherein the apparatus further comprises:
the system comprises an association module, a storage module and a processing module, wherein the association module is used for determining a plurality of target video files with the same alarm event triggering location and the same alarm event type according to the label index information of each video file and associating the label index information corresponding to the plurality of target video files;
wherein, the associating the label index information corresponding to the plurality of target video files is implemented as the following steps:
for given first label index information corresponding to a first video file and second label index information of a second video file, calculating the association degree between the first label index information and the second label index information according to the following mode:
step B1, converting the first label index information into a corresponding digital format:
Figure FDA0003088201810000031
representing x as n1+n2+n3Real number of dimensions;
Figure FDA0003088201810000032
representing a photographing time period in the first tag index information;
Figure FDA0003088201810000033
representing the alarm event type category in the first label index information;
Figure FDA0003088201810000034
triggering location pairs on behalf of alarm events in first tag index informationThe corresponding digital information;
step B2, converting the second label index information into a corresponding digital format:
Figure FDA0003088201810000041
represents y is n1+n2+n3Real number of dimensions;
Figure FDA0003088201810000042
representing a photographing time period in the second tag index information;
Figure FDA0003088201810000043
representing the alarm event type category in the second label index information;
Figure FDA0003088201810000044
representing the digital information corresponding to the alarm event trigger location in the second label index information;
step B3, calculating a first similarity between the first label index information and the second label index information according to the following formula (1):
Figure FDA0003088201810000045
(1)
wherein alpha is1,α2,α3Is a preset weight; alpha is alpha123=1,0≤α12,α3≤1;
Step B4, calculating a second similarity between the first label index information and the second label index information according to the following formula (2):
Figure FDA0003088201810000046
step B5, calculating the association degree between the first label index information and the second label index information according to the following formula (3):
S=S2+exp(-S1) (3)
step B6, when the degree of association between the first label index information and the second label index information is equal to or greater than a preset threshold, establishing an association between the first label index information and the second label index information, thereby establishing an association between the first video file and the second video file;
wherein the apparatus further comprises:
the receiving module is used for receiving the input file label;
the first searching module is used for searching one or more target label index information matched with the file label;
the second searching module is used for searching a target video file corresponding to the file label according to the target label index information;
the second lookup module comprises:
an obtaining unit, configured to obtain a target video file corresponding to the file tag according to a disk drive number and a disk offset in the target tag index information;
at this time, the searching for one or more target tag index information matching with the file tag may be implemented as:
searching for the label index information matched with the file label, acquiring all label index information associated with the matched label index information, and taking the matched label index information and all label index information associated with the matched label index information as the one or more target label index information matched with the file label.
CN202010756678.8A 2020-07-31 2020-07-31 Indexing method and device for alarm linkage video Active CN112148904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010756678.8A CN112148904B (en) 2020-07-31 2020-07-31 Indexing method and device for alarm linkage video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010756678.8A CN112148904B (en) 2020-07-31 2020-07-31 Indexing method and device for alarm linkage video

Publications (2)

Publication Number Publication Date
CN112148904A CN112148904A (en) 2020-12-29
CN112148904B true CN112148904B (en) 2021-07-27

Family

ID=73888972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010756678.8A Active CN112148904B (en) 2020-07-31 2020-07-31 Indexing method and device for alarm linkage video

Country Status (1)

Country Link
CN (1) CN112148904B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114900689B (en) * 2022-03-24 2023-05-26 杭州叙简未兰电子有限公司 Law enforcement recorder video storage testing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853486A (en) * 2010-06-08 2010-10-06 华中科技大学 Image copying detection method based on local digital fingerprint
CN102695045A (en) * 2012-06-14 2012-09-26 北京航天通联物网科技有限公司 Video intelligent tracing system for RFID (Radio Frequency Identification Device)
CN106528588A (en) * 2016-09-14 2017-03-22 厦门幻世网络科技有限公司 Method and apparatus for matching resources for text information

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050066371A1 (en) * 2003-09-19 2005-03-24 Bin Lu Mobile digital security system and method
CN102768845B (en) * 2011-05-03 2015-03-11 中国移动通信集团公司 Video index method and system
CN103248853B (en) * 2012-02-10 2017-06-13 华为技术有限公司 Realize the method, apparatus and system of video retrieval
CN103260010B (en) * 2013-04-23 2017-02-08 四川天翼网络服务有限公司 Intelligent skynet rapid video retrieval system
CN103313040B (en) * 2013-06-05 2016-12-28 艾默生网络能源有限公司 A kind of monitoring system and alarm interlock method
CN103945156A (en) * 2014-04-16 2014-07-23 深圳英飞拓科技股份有限公司 Alarm video replaying method and system
JP6668309B2 (en) * 2017-11-30 2020-03-18 株式会社日立製作所 Storage system and control method thereof
CN109214002A (en) * 2018-08-27 2019-01-15 成都四方伟业软件股份有限公司 A kind of transcription comparison method, device and its computer storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853486A (en) * 2010-06-08 2010-10-06 华中科技大学 Image copying detection method based on local digital fingerprint
CN102695045A (en) * 2012-06-14 2012-09-26 北京航天通联物网科技有限公司 Video intelligent tracing system for RFID (Radio Frequency Identification Device)
CN106528588A (en) * 2016-09-14 2017-03-22 厦门幻世网络科技有限公司 Method and apparatus for matching resources for text information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Real-Time Index Authentication for Event-Oriented Surveillance Video Query using Blockchain;Seyed Yahya Nikouei et al.;《2018 IEEE International Smart Cities Conference》;20190304;1-8 *
日志和告警数据挖掘经验谈;lyuharvey;《https://blog.csdn.net/weixin_33898233/article/details/90065442》;20171116;1-2 *

Also Published As

Publication number Publication date
CN112148904A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN108632097B (en) Abnormal behavior object identification method, terminal device and medium
WO2022033252A1 (en) Video matching method and apparatus, and blockchain-based infringement evidence storage method and apparatus
US9053386B2 (en) Method and apparatus of identifying similar images
CN109918532A (en) Image search method, device, equipment and computer readable storage medium
US20160371305A1 (en) Method, device and apparatus for generating picture search library, and picture search method, device and apparatus
CN110851598B (en) Text classification method and device, terminal equipment and storage medium
US20110208744A1 (en) Methods for detecting and removing duplicates in video search results
KR100903961B1 (en) Indexing And Searching Method For High-Demensional Data Using Signature File And The System Thereof
US20210342634A1 (en) Precomputed similarity index of files in data protection systems with neural network
JP2010009606A5 (en)
CN112287914A (en) PPT video segment extraction method, device, equipment and medium
CN102375987A (en) Image processing device and image feature vector extracting and image matching method
CN112148904B (en) Indexing method and device for alarm linkage video
CN114138784A (en) Information tracing method and device based on storage library, electronic equipment and medium
CN115063589A (en) Knowledge distillation-based vehicle component segmentation method and related equipment
CN110826461A (en) Video content identification method and device, electronic equipment and storage medium
CN110399396B (en) Efficient data processing
CN110874326A (en) Test case generation method and device, computer equipment and storage medium
US7849037B2 (en) Method for using the fundamental homotopy group in assessing the similarity of sets of data
CN115203354A (en) Vehicle code track pre-association method and device, computer equipment and storage medium
Liu et al. Automatic concept detector refinement for large-scale video semantic annotation
CN110012013A (en) A kind of virtual platform threat behavior analysis method and system based on KNN
CN110737751A (en) Similarity value-based search method and device, computer equipment and storage medium
JP2020525949A (en) Media search method and device
CN114996400A (en) Referee document processing method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant