CN115348470A - Video searching method, system, electronic equipment and storage medium - Google Patents

Video searching method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN115348470A
CN115348470A CN202110526859.6A CN202110526859A CN115348470A CN 115348470 A CN115348470 A CN 115348470A CN 202110526859 A CN202110526859 A CN 202110526859A CN 115348470 A CN115348470 A CN 115348470A
Authority
CN
China
Prior art keywords
video
target
target image
information
shooting
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.)
Granted
Application number
CN202110526859.6A
Other languages
Chinese (zh)
Other versions
CN115348470B (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.)
Shanghai Qwik Smart Technology Co Ltd
Original Assignee
Shanghai Qwik Smart 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 Shanghai Qwik Smart Technology Co Ltd filed Critical Shanghai Qwik Smart Technology Co Ltd
Priority to CN202110526859.6A priority Critical patent/CN115348470B/en
Priority claimed from CN202110526859.6A external-priority patent/CN115348470B/en
Priority to PCT/CN2021/130887 priority patent/WO2022237107A1/en
Publication of CN115348470A publication Critical patent/CN115348470A/en
Application granted granted Critical
Publication of CN115348470B publication Critical patent/CN115348470B/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/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying
    • G06F16/735Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/7867Retrieval 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, title and artist information, manually generated time, location and usage information, user ratings
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a video searching method, a video searching system, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to a video searching request, and acquiring a target image; acquiring target image shooting information according to the target image; and acquiring a target video in a video library according to the target image shooting information so that the video shooting information of the target video and the target image shooting information meet a preset matching condition. The invention can automatically search the video corresponding to the image and improve the user experience.

Description

Video searching method, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a video search method, a video search system, an electronic device, and a storage medium.
Background
Generally, the automobile data recorder has the functions of photographing and video recording at the same time. When a user needs to view a video corresponding to a photo, the user can only manually search in a video file at present, which is very tedious. For example, most videos recorded by the existing driving recorder are stored in the form of video clips, for example, one video clip is generated every minute, and 40 short videos are generated in a journey with a total driving time of 40 minutes. When searching for the video corresponding to the photo, the user needs to search for the matched video from the 40 short videos, which is time-consuming and labor-consuming.
Disclosure of Invention
The invention provides a video searching method, a video searching system, electronic equipment and a storage medium, and aims to solve the problem that in the prior art, time and labor are wasted because a video corresponding to an image needs to be searched manually.
In order to achieve the above object, the present invention provides a video search method, including:
responding to a video searching request, and acquiring a target image;
acquiring target image shooting information according to the target image;
and acquiring a target video in a video library according to the target image shooting information so that the video shooting information of the target video and the target image shooting information meet a preset matching condition.
In a preferred embodiment of the present invention, the image photographing information includes a photographing time point, and the video photographing information includes a photographing time period;
the matching conditions include: and the shooting time period of the target video comprises the shooting time point corresponding to the target image shooting information.
In a preferred embodiment of the present invention, the image capture information and the video capture information further include a capture device identification;
the matching condition further includes: and the shooting equipment identification of the target video is consistent with the shooting equipment identification corresponding to the target image shooting information.
In a preferred embodiment of the present invention, the video search request includes: and presetting operation on the target image.
In a preferred embodiment of the present invention, the preset operation is long-pressing the target image.
In a preferred embodiment of the present invention, before responding to the video search request, the method further comprises:
establishing a database to store video shooting information of each video in the video database;
the acquiring of the target video in the video library according to the target image shooting information so that the video shooting information of the target video and the target image shooting information meet a preset matching condition includes:
searching target video shooting information from the database so that the target video shooting information and the target image shooting information meet preset matching conditions;
and searching a video corresponding to the target video shooting information from the video library, and taking the searched video as the target video.
In a preferred embodiment of the present invention, after the target video is acquired, the method further includes:
and playing the target video, and adjusting the playing progress of the target video according to the target image shooting information.
In order to achieve the above object, the present invention further provides a video search system, including:
the target image acquisition module is used for acquiring a target image according to the video searching request;
the image shooting information acquisition module is used for acquiring target image shooting information according to the target image;
and the video searching module is used for acquiring the target video in a video library according to the target image shooting information so as to enable the video shooting information of the target video and the target image shooting information to meet a preset matching condition.
In a preferred embodiment of the present invention, the image photographing information includes a photographing time point, and the video photographing information includes a photographing time period;
the matching conditions include: and the shooting time period of the target video comprises the shooting time point corresponding to the target image shooting information.
In a preferred embodiment of the present invention, the image capturing information and the video capturing information further include a capturing device identification;
the matching conditions include: and the shooting equipment identification of the target video is consistent with the shooting equipment identification corresponding to the target image shooting information.
In a preferred embodiment of the present invention, the video search request includes a preset operation on the target image.
In order to achieve the above object, the present invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the aforementioned method when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the aforementioned method.
By adopting the technical scheme, the invention has the following beneficial effects:
the method comprises the steps of firstly responding to a video searching request, and obtaining a target image; then acquiring target image shooting information according to the target image; and finally, acquiring the target video in a video library according to the target image shooting information so as to enable the video shooting information of the target video and the target image shooting information to meet a preset matching condition. Therefore, the target video corresponding to the target image can be automatically searched, and time and labor are saved.
Drawings
Fig. 1 is a schematic flowchart of a video searching method according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a process of executing a video search request according to embodiment 1 of the present invention;
fig. 3 is a schematic flowchart of a video search method according to embodiments 2 and 3 of the present invention;
fig. 4 is a schematic flowchart of a video searching method according to embodiment 4 of the present invention;
fig. 5 is a block diagram of a video search system according to embodiment 5 of the present invention;
fig. 6 is a block diagram showing the structure of a video search system according to embodiments 6 and 7 of the present invention;
fig. 7 is a block diagram of a video search system according to embodiment 8 of the present invention;
fig. 8 is a hardware architecture diagram of an electronic device according to embodiment 9 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. 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.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
Example 1
The present embodiment provides a video searching method, as shown in fig. 1, the method specifically includes the following steps:
s1, responding to a video searching request, and acquiring a target image.
In this embodiment, the video search request includes a preset operation on the target image. For example, as shown in fig. 2, when the user needs to view a video matching the target image "camera1_20210101 \130101. Jpg" in the image library, the following preset operations may be performed with respect to the target image: firstly, long-pressing a target image, popping up a control key for viewing the corresponding video after long-pressing, and then clicking the control key for confirmation to complete the video searching request. It should be noted that the video search request process shown in fig. 2 is only an example and not a limitation, and may be replaced by other implementations, for example, the video search request is completed only by pressing the target image for a long time without confirming by clicking the control key.
In this embodiment, after the video search request is detected, the corresponding target image is obtained from the preset image library according to the video search request.
And S2, acquiring target image shooting information according to the target image.
In this embodiment, each image stored in the image library is configured with corresponding image capturing information, and the image capturing information corresponding to the target image is the target image capturing information.
And S3, acquiring a target video in a preset video library according to the target image shooting information so as to enable the video shooting information of the target video and the target image shooting information to meet a preset matching condition.
In this embodiment, each video stored in the video library is respectively configured with corresponding video shooting information, after the target image shooting information is obtained, the target image shooting information is compared with the video shooting information of each video, and when the video shooting information of a certain video and the target image shooting information meet a preset matching condition, the video is taken as the target video corresponding to the target image.
The embodiment obtains a target image by first responding to a video searching request; then acquiring target image shooting information according to the target image; and finally, acquiring the target video in a video library according to the target image shooting information so as to enable the video shooting information of the target video and the target image shooting information to meet a preset matching condition. Therefore, the target video corresponding to the target image can be automatically searched, and time and labor are saved.
Example 2
This example is a further modification of example 1.
In this embodiment, each image in the image library and each video in the video library are captured by the same capturing device (e.g., captured by a front camera of a vehicle), and the image capturing information of each image includes a capturing time point, and the video capturing information of each video includes a capturing time period. For example, if the capturing time of the a image is 2021 year 1 month 1 day 13: 1 min 1 sec, the image capturing information corresponding to the image is 2021 year 1 month 1 day 13: 1 min 1 sec; if the shooting end time of the B video is 1/10 seconds at 13 o 'clock 1/1 day in 2021 year and the shooting time is 1 minute, the shooting video shooting information corresponding to the B video is a time period within 1 minute before 1 second at 13 o' clock 1/10 day in 2021 year.
On this basis, the matching conditions in the foregoing step S3 include: the shooting time period of the target video comprises the shooting time point corresponding to the target image shooting information, namely the shooting time point corresponding to the target image shooting information is within the shooting time period of the target video.
For example, if the shooting time point corresponding to the target image capturing information is 2021 year 1 month 1 day 13 point 1 minute 1 second, and the shooting time period of a certain video is within 1 minute before 1 minute 1 second before 2021 year 1 month 1 day 13 point 1 minute 10 seconds, the shooting time period of the video includes the shooting time point corresponding to the target image capturing information, and it indicates that the video capturing information of the video and the target image capturing information satisfy the preset matching condition.
In this embodiment, each image in the image library may be named at the shooting time point of the image, and each video in the video library may be named at the shooting end time (or shooting start time) of the video. For example, the a image is named 20210101_130101, and the B video is named 20210101_130110.
The embodiment provides a specific matching mode between the video shooting information of the target video and the target image shooting information, and when each image in the image library and each video in the video library are shot by the same shooting device, the required target video can be accurately found through the matching mode of the embodiment.
After finding the target video, as shown in fig. 3, the method of this embodiment may further include:
and S4, playing the target video, and adjusting the playing progress of the target video according to the shooting time point in the target image shooting information.
For example, assuming that the shooting time point in the target image shooting information is T0, the progress of the target video is adjusted to time T0.
Example 3
This example is a further modification of example 1.
In this embodiment, each image in the image library and each video in the video library are captured by two or more capturing devices (e.g., a front camera and a rear camera of a vehicle, respectively). The image capturing information of each image includes a capturing device identification and a capturing time point, and the video capturing information of each video includes a capturing device identification and a capturing time period. For example, if an A image is captured by the apparatus 1 at the capture time of 1 minute 1 second at 1 month 1 day 13 of 2021 year, the image shooting information corresponding to the image includes 1 minute and 1 second at 13 points on 1 month and 1 day of 1 year on 1+2021 year; if the B video is captured by the device 1, and the capture end time is 1 month, 1 day, 13 points, 1 minute and 10 seconds in 2021 year, and the capture duration is 1 minute, the video capture information corresponding to the video includes a time period within 1 minute before 1 second of 13 points, 1 minute and 10 seconds in 1 month of 2021 year.
On this basis, the matching condition in the foregoing step S3 includes that the shooting device identifier of the target video matches the shooting device identifier corresponding to the target image capturing information, in addition to that the shooting period of the target video includes the shooting time point corresponding to the target image capturing information.
For example, if the shooting device identifier corresponding to the target image shooting information is device 1, the shooting time point is 2021 year, 1 month, 1 day, 13: 1 min/1 sec, and the shooting device identifier corresponding to a certain video is device 1, and the shooting time period is within 1 minute before 2021 year, 1 month, 1 day, 13: 1 min/10 sec, the shooting time period of the video includes the shooting time point corresponding to the target image shooting information, and the shooting device identifier corresponding to the video is consistent with the shooting device identifier corresponding to the target image shooting information, which indicates that the video shooting information of the video and the target image shooting information satisfy the preset matching condition.
In this embodiment, each image in the image library may be named by the shooting device identifier and the shooting time point of the image, and each video in the video library may be named by the shooting device identifier and the shooting end time (or the shooting start time) of the video. For example, the a image is named device 1\ u 120210101 \\ u 130101, and the B video is named device 1 \/u 20210101 \/u 130110.
The embodiment provides another specific matching mode between the video shooting information of the target video and the target image shooting information, and when each image in the image library and each video in the video library are shot by two or more shooting devices, the required target video can be accurately searched through the matching mode of the embodiment.
After the target video is found, the method of this embodiment may also include the foregoing step S4.
Example 4
This example is a further modification of examples 1-3.
As shown in fig. 4, before responding to the video search request, the method of this embodiment further includes the following steps:
s0, establishing a database, wherein the database comprises an image table and a video table, the image table is used for storing image shooting information of each image in the image library, and the video table is used for storing video shooting information of each video in the video library.
Based on this, the foregoing step S2 acquires target image capturing information corresponding to the target image from the image table of the database.
In the step S3, target video shooting information is searched from the video table of the database so that the target video shooting information and the target image shooting information satisfy a preset matching condition, and then a video corresponding to the target video shooting information is searched from the video base, and the searched video is used as the target video.
The present embodiment provides convenience in acquiring target image capturing information and target video capturing information.
Example 5
The present embodiment provides a video search system, as shown in fig. 5, the system specifically includes: a target image acquisition module 11, an image capturing information acquisition module 12 and a video search module 13. Wherein:
the target image obtaining module 11 is configured to obtain a target image according to the video search request.
In this embodiment, the video search request includes a preset operation on the target image. For example, as shown in fig. 2, when the user needs to view a video matching the target image "camera1_20210101 \130101. Jpg" in the image library, the following preset operations may be performed with respect to the target image: firstly, long-pressing a target image, popping up a control key for viewing the corresponding video after long-pressing, and then clicking the control key for confirmation to complete the video searching request. It should be noted that the video search request process shown in fig. 2 is only an example and not a limitation, and may be replaced by other implementations, for example, the video search request is completed only by pressing the target image for a long time without confirming by clicking the control key.
In this embodiment, after the video search request is detected, the corresponding target image is obtained from the preset image library according to the video search request.
The image capturing information acquiring module 12 is configured to acquire target image capturing information according to the target image.
In this embodiment, each image stored in the image library is configured with corresponding image capturing information, and the image capturing information corresponding to the target image is the target image capturing information.
The video searching module 13 is configured to obtain a target video in a preset video library according to the target image shooting information, so that the video shooting information of the target video and the target image shooting information meet a preset matching condition.
In this embodiment, each video stored in the video library is respectively configured with corresponding video shooting information, after the target image shooting information is acquired, the target image shooting information is compared with the video shooting information of each video, and when the video shooting information of a certain video and the target image shooting information meet a preset matching condition, the video is taken as the target video corresponding to the target image.
The embodiment firstly obtains a target image according to a video searching request through a target image obtaining module; then, acquiring target image shooting information according to the target image through an image shooting information acquisition module; and finally, acquiring a target video in a video library through a video searching module according to the target image shooting information so as to enable the video shooting information of the target video and the target image shooting information to meet a preset matching condition. Therefore, the target video corresponding to the target image can be automatically searched, and time and labor are saved.
Example 6
This example is a further modification of example 5.
In this embodiment, each image in the image library and each video in the video library are captured by the same capturing device (e.g., captured by a front camera of a vehicle), and the image capturing information of each image includes a capturing time point, and the video capturing information of each video includes a capturing time period. For example, if the capturing time of the a image is 2021 year 1 month 1 day 13: 1 min 1 sec, the image capturing information corresponding to the image is 2021 year 1 month 1 day 13: 1 min 1 sec; if the shooting end time of the B video is 1/10 seconds at 13 o 'clock 1/1 day in 2021 year and the shooting time is 1 minute, the shooting video shooting information corresponding to the B video is a time period within 1 minute before 1 second at 13 o' clock 1/10 day in 2021 year.
On this basis, the matching conditions in the aforementioned video search module 13 include: the shooting time period of the target video comprises the shooting time point corresponding to the target image shooting information, namely the shooting time point corresponding to the target image shooting information is within the shooting time period of the target video.
For example, if the shooting time point corresponding to the target image capturing information is 2021 year 1 month 1 day 13 point 1 minute 1 second, and the shooting time period of a certain video is within 1 minute before 1 minute 1 second before 2021 year 1 month 1 day 13 point 1 minute 10 seconds, the shooting time period of the video includes the shooting time point corresponding to the target image capturing information, and it indicates that the video capturing information of the video and the target image capturing information satisfy the preset matching condition.
In this embodiment, each image in the image library may be named at the shooting time point of the image, and each video in the video library may be named at the shooting end time (or shooting start time) of the video. For example, the a image is named 20210101_130101, and the B video is named 20210101_130110.
The embodiment provides a specific matching mode between the video shooting information of the target video and the target image shooting information, and when each image in the image library and each video in the video library are shot by the same shooting device, the required target video can be accurately found through the matching mode of the embodiment.
As shown in fig. 6, the system of this embodiment may further include a playing module 14, configured to play the target video after the target video is found, and adjust a playing progress of the target video according to the shooting time point in the target image shooting information.
For example, assuming that the shooting time point in the target image shooting information is T0, the progress of the target video is adjusted to time T0.
Example 7
This example is a further modification of example 5.
In this embodiment, each image in the image library and each video in the video library are captured by two or more capturing devices (e.g., a front camera and a rear camera of a vehicle, respectively). The image capturing information of each image includes a capturing device identification and a capturing time point, and the video capturing information of each video includes a capturing device identification and a capturing time period. For example, if an A image is captured by the apparatus 1 at the capture time of 1 minute 1 second at 1 month 1 day 13 of 2021 year, the image shooting information corresponding to the image includes 1 minute and 1 second at 13 points on 1 month and 1 day of 1 year on 1+2021 year; if the B video is captured by the device 1, and the capture end time is 1 month, 1 day, 13 points, 1 minute and 10 seconds in 2021 year, and the capture duration is 1 minute, the video capture information corresponding to the video includes a time period within 1 minute before 1 second of 13 points, 1 minute and 10 seconds in 1 month of 2021 year.
On this basis, the matching condition in the aforementioned video search module 13 includes that, in addition to the shooting time period of the target video including the shooting time point corresponding to the target image shooting information, the shooting device identifier of the target video is consistent with the shooting device identifier corresponding to the target image shooting information.
For example, if the shooting device identifier corresponding to the target image shooting information is device 1, the shooting time point is 2021 year, 1 month, 1 day, 13: 1 min/1 sec, and the shooting device identifier corresponding to a certain video is device 1, and the shooting time period is within 1 minute before 2021 year, 1 month, 1 day, 13: 1 min/10 sec, the shooting time period of the video includes the shooting time point corresponding to the target image shooting information, and the shooting device identifier corresponding to the video is consistent with the shooting device identifier corresponding to the target image shooting information, which indicates that the video shooting information of the video and the target image shooting information satisfy the preset matching condition.
In this embodiment, each image in the image library may be named by the shooting device identifier and the shooting time point of the image, and each video in the video library may be named by the shooting device identifier and the shooting end time (or the shooting start time) of the video. For example, the a image is named device 1\ u 120210101 \\ u 130101, and the B video is named device 1 \/u 20210101 \/u 130110.
The embodiment provides another specific matching mode between the video shooting information of the target video and the target image shooting information, and when each image in the image library and each video in the video library are shot by two or more shooting devices, the required target video can be accurately found through the matching mode of the embodiment.
The system of the present embodiment may also include the aforementioned playing module 14.
Example 8
This example is a further modification of examples 5-7.
As shown in fig. 7, the system of this embodiment further includes a database establishing module 10, configured to establish a database before responding to the video search request, where the database includes an image table and a video table, where the image table is used to store image capturing information of each image in the image library, and the video table is used to store video capturing information of each video in the video library.
Based on this, the aforementioned image capture information acquisition module 12 acquires target image capture information corresponding to the target image from the image table of the database.
The video searching module 13 searches the target video shooting information from the video table of the database so that the target video shooting information and the target image shooting information satisfy a preset matching condition, then searches the video corresponding to the target video shooting information from the video base, and takes the searched video as the target video.
The present embodiment provides convenience in acquiring target image capturing information and target video capturing information.
Example 9
The present embodiment provides an electronic device, which may be represented in the form of a computing device (for example, may be a server device), and includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the video searching method provided in embodiments 1 to 4.
Fig. 8 shows a schematic diagram of a hardware structure of the present embodiment, and as shown in fig. 8, the electronic device 9 specifically includes:
at least one processor 91, at least one memory 92, and a bus 93 for connecting the various system components (including the processor 91 and the memory 92), wherein:
the bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 includes volatile memory, such as Random Access Memory (RAM) 921 and/or cache memory 922, and can further include Read Only Memory (ROM) 923.
Memory 92 also includes a program/utility 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment.
The processor 91 executes various functional applications and data processing, such as the video search method provided in embodiments 1-4 of the present invention, by running a computer program stored in the memory 92.
The electronic device 9 may further communicate with one or more external devices 94 (e.g., a keyboard, a pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 9 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 9 via the bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 9, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, to name a few.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 10
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the video search method provided in embodiments 1-4.
More specific examples that may be employed by the readable storage medium include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible embodiment, the invention can also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps of implementing the video search method as described in embodiments 1 to 4, when said program product is run on said terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device, partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (13)

1. A method for video searching, comprising:
responding to a video searching request, and acquiring a target image;
acquiring target image shooting information according to the target image;
and acquiring a target video in a video library according to the target image shooting information so that the video shooting information of the target video and the target image shooting information meet a preset matching condition.
2. The video search method of claim 1, the image capture information comprising a capture time point, the video capture information comprising a capture time period;
the matching conditions include: and the shooting time period of the target video comprises the shooting time point corresponding to the target image shooting information.
3. The video search method of claim 2, said image capture information and video capture information further comprising a capture device identification;
the matching condition further includes: and the shooting equipment identification of the target video is consistent with the shooting equipment identification corresponding to the target image shooting information.
4. The video search method of claim 1, the video search request comprising: and performing preset operation on the target image.
5. The video search method of claim 4, wherein the preset operation is a long press of the target image.
6. The video lookup method of claim 2 or 3, prior to responding to the video lookup request, the method further comprising:
establishing a database to store video shooting information of each video in the video database;
the acquiring of the target video in the video library according to the target image shooting information so that the video shooting information of the target video and the target image shooting information meet a preset matching condition includes:
searching target video shooting information from the database so that the target video shooting information and the target image shooting information meet preset matching conditions;
and searching a video corresponding to the target video shooting information from the video library, and taking the searched video as the target video.
7. The video search method according to claim 2 or 3, after the target video is acquired, the method further comprising:
and playing the target video, and adjusting the playing progress of the target video according to the target image shooting information.
8. A video search system, comprising:
the target image acquisition module is used for acquiring a target image according to the video searching request;
the image shooting information acquisition module is used for acquiring target image shooting information according to the target image;
and the video searching module is used for acquiring the target video in a video library according to the target image shooting information so as to enable the video shooting information of the target video and the target image shooting information to meet a preset matching condition.
9. The video lookup system of claim 8, said image capture information comprising a capture time point, said video capture information comprising a capture time period;
the matching conditions include: and the shooting time period of the target video comprises the shooting time point corresponding to the target image shooting information.
10. The video lookup system of claim 9, said image capture information and said video capture information further comprising a capture device identification;
the matching conditions include: and the shooting equipment identification of the target video is consistent with the shooting equipment identification corresponding to the target image shooting information.
11. The video search system of claim 8, the video search request comprising a preset operation on a target image.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 7 are implemented when the computer program is executed by the processor.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110526859.6A 2021-05-14 2021-05-14 Video searching method, system, electronic equipment and storage medium Active CN115348470B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110526859.6A CN115348470B (en) 2021-05-14 Video searching method, system, electronic equipment and storage medium
PCT/CN2021/130887 WO2022237107A1 (en) 2021-05-14 2021-11-16 Video searching method and system, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110526859.6A CN115348470B (en) 2021-05-14 Video searching method, system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115348470A true CN115348470A (en) 2022-11-15
CN115348470B CN115348470B (en) 2024-06-28

Family

ID=

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600779A (en) * 2018-05-18 2018-09-28 紫光华山信息技术有限公司 A kind of target object operating method and device based on video content

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600779A (en) * 2018-05-18 2018-09-28 紫光华山信息技术有限公司 A kind of target object operating method and device based on video content

Also Published As

Publication number Publication date
WO2022237107A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
EP2717564B1 (en) Method, device and system for realizing video retrieval
CN102244758A (en) Video-recording-file-based data acquisition method and equipment
WO2014106384A1 (en) Method, apparatus and video monitoring system for providing monitoring video information
CN112118395B (en) Video processing method, terminal and computer readable storage medium
CN110933299B (en) Image processing method and device and computer storage medium
US20180101194A1 (en) Monitoring video analysis system and monitoring video analysis method
CN104169913A (en) A picture display method and device and a terminal device
CN108600779B (en) Target object operation method and device based on video content
WO2017107679A1 (en) Historical information display method and apparatus
CN111625166B (en) Picture display method and device
CN115348470A (en) Video searching method, system, electronic equipment and storage medium
CN115348470B (en) Video searching method, system, electronic equipment and storage medium
CN109635688B (en) Method and system for managing books on bookshelf based on image recognition
CN110876090B (en) Video abstract playback method and device, electronic equipment and readable storage medium
CN110662027B (en) Storage integrity detection method and device and computer equipment
CN102572293A (en) Field recording-based retrieval system
US8811756B2 (en) Image compression
US10671876B1 (en) Vehicle based notification record
JP4326753B2 (en) Video information indexing support system, program, and storage medium
CN110362717B (en) Target tracking method and system based on variable multi-device time difference
CN110876029B (en) Video abstract playback method and device, electronic equipment and readable storage medium
JP2008242682A (en) Automatic meta information imparting system, automatic meta information imparting method, and automatic meta information imparting program
CN114979035B (en) Monitoring video storage method and device, electronic equipment and storage medium
CN115499610A (en) Video generation method, video generation device, electronic device, and storage medium
JP4549325B2 (en) VIDEO INFORMATION INDEXING SUPPORT DEVICE, PROGRAM, 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