WO2018107914A1 - Video analysis platform, matching method, and accurate advertisement push method and system - Google Patents

Video analysis platform, matching method, and accurate advertisement push method and system Download PDF

Info

Publication number
WO2018107914A1
WO2018107914A1 PCT/CN2017/108384 CN2017108384W WO2018107914A1 WO 2018107914 A1 WO2018107914 A1 WO 2018107914A1 CN 2017108384 W CN2017108384 W CN 2017108384W WO 2018107914 A1 WO2018107914 A1 WO 2018107914A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
picture
service
image
advertisement
Prior art date
Application number
PCT/CN2017/108384
Other languages
French (fr)
Chinese (zh)
Inventor
张鹏程
刘勇
张家明
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018107914A1 publication Critical patent/WO2018107914A1/en

Links

Images

Classifications

    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • 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/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234336Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • 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/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Definitions

  • the invention relates to an image processing technology, in particular to a video analysis platform, a matching method, a precise advertising method and a system.
  • the first solution analyze the obtained user data, user behavior, and deliver advertisements that the user may need.
  • the solution needs to store the information of each user, and takes up a lot of space in the case of a large number of users.
  • the second option manual intervention, custom insert ads at a fixed point in time.
  • the program requires manual intervention for each video, which is labor intensive and less efficient when the amount of video is large.
  • Embodiments of the present invention provide a matching method, a method and system for accurately placing advertisements, and a video analysis platform, which can implement video matching, reduce space occupation, and reduce manual intervention.
  • an embodiment of the present invention provides a matching method, including:
  • the to-be-matched resource to which the first picture belongs and the first The second video resource to which the two pictures belong is associated.
  • extracting a picture from the to-be-matched resource or extracting a picture from the second video resource includes:
  • the input video is segmented according to the scenario, the segmented video is obtained, and the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where the segmented video set is The comparison result of any two divided videos satisfies the second preset condition;
  • the extracting the picture from the to-be-matched resource includes: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set.
  • the dividing the decoded input video according to the scenario includes:
  • the position where the scene switching occurs in the input video is divided.
  • determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio signal.
  • the energy curve obtains the position of the maximum value and the minimum value of the energy curve as the position at which the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance A distance threshold.
  • the extracting the image from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video includes:
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • the similarity between the first picture in the first picture set and the second picture in the second picture set that meets the first preset condition is:
  • the similarity between the first picture and the second picture is greater than a first similarity threshold.
  • the comparing the picture in the first picture set with the picture in the second picture set, and obtaining the similarity includes:
  • the feature value compares the first feature value and the second feature value to obtain a similarity.
  • the embodiment of the invention further provides a video analysis platform, comprising a data acquisition module and a video picture analysis processing layer, wherein:
  • the data acquisition module is configured to acquire the to-be-matched resource and acquire the second video resource.
  • the video picture analysis processing layer includes a video processing module and a picture analysis module, where:
  • the video processing module is configured to: extract a picture from the to-be-matched resource to obtain a first picture set; and select one or more of the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource. Extracting a picture to obtain a second picture set;
  • the image analysis module is configured to compare the picture in the first picture set with the picture in the second picture set to obtain a similarity; when the first picture and the first picture in the first picture set When the similarity of the second picture in the second picture set satisfies the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
  • the video analysis platform further includes a video decoding layer, configured to decode the to-be-matched video resource in the to-be-matched resource, and then transmit the video resource as an input video to the video image analysis processing layer, and After the second video resource is decoded, it is transmitted as an input video to the video picture analysis processing layer;
  • a video decoding layer configured to decode the to-be-matched video resource in the to-be-matched resource, and then transmit the video resource as an input video to the video image analysis processing layer, and After the second video resource is decoded, it is transmitted as an input video to the video picture analysis processing layer;
  • the extracting, by the video processing module, the picture from the to-be-matched resource or the second video resource includes:
  • the input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained.
  • the split video in the video is to be extracted, wherein the comparison result of any two divided videos in the split video set satisfies a second preset condition;
  • the extracting, by the video processing module, the picture from the to-be-matched resource includes: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set.
  • the video processing module includes a video segmentation unit, configured to determine whether the scene is switched according to one or more of a background and a sound in the input video, where the scene switching occurs in the input video. Segmenting; and comparing the divided videos to obtain the segmented video set.
  • determining, by the video segmentation unit, whether the scenario is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring The energy curve of the audio signal acquires the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve The distance is greater than the first distance threshold.
  • the video processing module includes a multi-modal extraction key frame unit, and is configured to extract a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. picture of.
  • the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
  • the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
  • the similarity between the first picture in the first picture set and the second picture in the second picture set that meets the first preset condition is:
  • the similarity between the first picture and the second picture is greater than a first similarity threshold.
  • the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
  • the deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model
  • the key frame feature extraction unit is configured to extract a first feature value of a picture in the first picture set according to the feature model, and extract a second feature value of the picture in the second picture set according to the feature model;
  • the feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity, in the first picture and the second picture set in the first picture set When the similarity of the second picture meets the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
  • the embodiment of the invention further provides a method for accurately placing advertisements, including:
  • Obtaining a service video extracting a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, to obtain a service picture set;
  • the first creative material and the location to which the first advertisement picture belongs is associated, and the association information is generated, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • extracting a picture from the creative or extracting a picture from the business video includes:
  • extracting the image from the creative material includes: when the advertisement image includes an advertisement image, extracting the advertisement image to join the advertisement image collection.
  • the dividing the decoded input video according to the scenario includes:
  • determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio.
  • the energy curve of the signal obtains the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance The first distance threshold.
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • extracting, according to one or more images, sounds, and subtitles of the to-be-extracted video, a video frame from the to-be-extracted video as the extracted image includes:
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, that is:
  • the similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  • comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity includes:
  • the association information further includes: insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is in the first according to the first service picture. The location in a business video is determined.
  • the method further includes:
  • Performing background modeling and target detection on the service video extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video belongs, and the service video target An object is associated with a picture of the service picture set that includes the service video target object;
  • the associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
  • the method further includes:
  • the target object is configured with an advertisement object identifier
  • the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image
  • the associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
  • the association information further includes an advertisement object identifier that is configured by the first creative target object.
  • the method further includes:
  • the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service
  • the second business video to which the video target object belongs is associated.
  • the embodiment of the present invention further provides a video analysis platform, including a data acquisition module and a video image analysis processing layer, where the video image analysis processing layer includes a video processing module and a picture analysis module, where:
  • the data acquisition module is configured to acquire a creative material and obtain a business video
  • the video processing module is configured to: extract a picture from the creative material to obtain an advertisement picture set; and extract a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, Obtain a collection of business images;
  • the image analysis module is configured to compare the advertisement image in the advertisement image collection with the business image in the business image collection to obtain a similarity; when the advertisement image collection When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • the video analytics platform further includes a video decoding layer, configured to decode the advertisement video in the creative as an input video to the video image analysis processing layer, and decode the service video. And then transmitted as an input video to the video picture analysis processing layer;
  • the video processing module extracting a picture from the creative or extracting a picture from the business video includes:
  • the input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained.
  • the split video in the video is to be extracted, wherein the comparison result of any two divided videos in the split video set satisfies a second preset condition;
  • the video processing module extracting the image from the creative material includes: when the advertisement material includes an advertisement image, extracting the advertisement image to join the advertisement image collection.
  • the video processing module includes a video segmentation unit, configured to determine whether the scene is switched according to one or more of a background and a sound in the input video, and perform segmentation at a position where the scene switching occurs in the input video. .
  • determining, by the video segmentation unit, whether the scenario is switched according to one or more of the background and the sound in the input video comprises: converting the audio signal in the input video from a time domain to a frequency domain, and acquiring The energy curve of the audio signal is obtained, and the position of the maximum value and the minimum value of the energy curve is obtained as a position where the scene switching occurs, and the position of the adjacent two scenes that are acquired according to the energy curve is satisfied.
  • the distance is greater than the first distance threshold.
  • the video processing module includes a multi-modal extraction key frame unit, and is configured to extract a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. picture of.
  • the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
  • the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
  • Searching for a subtitle of the to-be-extracted video if a preset keyword is searched, extracting a video frame corresponding to the subtitle containing the keyword as the extracted image; wherein the subtitle of the to-be-extracted video is from the Obtained in the subtitle file that is to be extracted from the video or Take the audio of the video for speech recognition.
  • the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, that is:
  • the similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  • the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
  • the deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model
  • the key frame feature extraction unit is configured to extract a first feature value of the image in the advertisement image set according to the feature model, and extract a second feature value of the image in the service image set according to the feature model;
  • the feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity; when the first advertisement picture and the service picture set in the advertisement picture set When the similarity of the first service picture satisfies the first preset condition, the first creative material to which the first advertisement picture belongs and the first service video to which the first service picture belongs are associated, and the associated information is generated.
  • the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • the association information further includes: insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is in the first according to the first service picture. The location in a business video is determined.
  • the video processing module further includes: a background modeling unit and a target detection unit, where:
  • the background modeling unit is configured to perform background modeling on the service video
  • the target detecting unit is configured to perform target detection on the service video, extract a target of the motion to obtain a service video target object, and determine that the service video target object belongs to the business An appearance time and a disappearing time in the service video, the service video target object is associated with a picture of the service picture set that includes the service video target object;
  • the associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
  • the background modeling unit is further configured to perform background modeling on the advertisement video in the creative;
  • the target detecting unit is further configured to perform target detection on the advertisement video in the creative, extract a target of the motion to obtain a creative target object, and include the target object in the creative and the first image collection
  • the image of the creative target object is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
  • the image analysis module is further configured to: when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, acquire the An advertisement object identifier configured by the first creative target object associated with an advertisement image, and an advertisement object identifier identical to the first creative target object configured for the first service video target object associated with the first service image And indicating that the first creative material to which the first advertisement image belongs is associated with the first service video to which the first service image belongs, wherein the advertisement object identifier indicates that the first creative target object is targeted Advertising theme.
  • the association information further includes an advertisement object identifier that is configured by the first creative target object.
  • the image analysis module is further configured to:
  • the business graph After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first Four preset business picture sub-sets, the business graph Sending a set of slices to the portal, so that the portal selects a second service picture from the subset of service pictures according to a user operation, and configures a second service video target object associated with the selected second service picture with the
  • the second creative target object has the same advertisement object identifier, thereby indicating that the second creative object to which the second creative target object belongs is associated with the second business video to which the second business video target object belongs.
  • the embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
  • the memory is configured to store a program
  • the processor is configured to: obtain a resource to be matched, extract a picture from the to-be-matched resource, obtain a first picture set, and acquire a second video resource according to the image of the second video resource And extracting a picture from the second video resource to obtain a second picture set; comparing the picture in the first picture set with the picture in the second picture set, and obtaining Similarity; when the similarity of the first picture in the first picture set and the second picture in the second picture set meets the first preset condition, the to-be-matched resource to which the first picture belongs The second video resource to which the second picture belongs is associated.
  • the extracting a picture from the to-be-matched resource or extracting a picture from the second video resource includes:
  • the input video is segmented according to the scenario, the segmented video is obtained, and the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where the segmented video set is The comparison result of any two divided videos satisfies the second preset condition;
  • the dividing the decoded input video according to the scenario includes:
  • the position where the scene switching occurs in the input video is divided.
  • determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio signal.
  • the energy curve obtains the position of the maximum value and the minimum value of the energy curve as the position at which the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance A distance threshold.
  • the extracting the image from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video includes:
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • the similarity between the first picture in the first picture set and the second picture in the second picture set that meets the first preset condition is:
  • the similarity between the first picture and the second picture is greater than a first similarity threshold.
  • the comparing the picture in the first picture set with the picture in the second picture set, and obtaining the similarity includes:
  • the embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
  • the memory is configured to store a program
  • the processor executing the program to: obtain a creative, extract a picture from the creative, obtain an advertisement picture set; obtain a service video, according to one of an image, a sound, and a subtitle of the service video Or extracting a picture from the service video to obtain a service picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity; when the advertisement picture set When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • extracting a picture from the creative or extracting a picture from the business video includes:
  • the dividing the decoded input video according to the scenario includes:
  • determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio.
  • the energy curve of the signal obtains the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance The first distance threshold.
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • extracting, according to one or more images, sounds, and subtitles of the to-be-extracted video, a video frame from the to-be-extracted video as the extracted image includes:
  • the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image includes:
  • the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, where:
  • the similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  • comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity includes:
  • the association information further includes: insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is in the first according to the first service picture. The location in a business video is determined.
  • the processor executes the program, and is further configured to:
  • Performing background modeling and target detection on the service video extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video belongs, and the service video target An object is associated with a picture of the service picture set that includes the service video target object;
  • the association information further includes that the first creative material plays on the first service video
  • the interpolated location information is performed, and the interpolated location information is determined according to an appearance time and a disappearing time of the first service video target object associated with the first service picture in the first service video.
  • the processor executes the program, and is further configured to:
  • the target object is configured with an advertisement object identifier
  • the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image
  • the associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
  • the association information further includes an advertisement object identifier that is configured by the first creative target object.
  • the processor executes the program, and is further configured to:
  • the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service
  • the second business video to which the video target object belongs is associated.
  • the embodiment of the invention further provides an accurate advertising system, including a video analysis platform and a number Database, portal, data synchronization interface module and associated information synchronization interface module, wherein
  • the video analysis platform is configured to: synchronize the creative synchronization information from the advertisement platform by using the data synchronization interface module, obtain the creative material according to the creative synchronization information, extract a picture from the creative material, obtain a set of advertisement images;
  • the data synchronization interface module synchronizes the service video synchronization information from the service platform, acquires the service video according to the service video synchronization information, and extracts the service video according to one or more of the image, sound and subtitle of the service video.
  • a picture obtaining a business picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the business picture set to obtain a similarity; when the first advertisement picture and the service in the advertisement picture set Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs, and generating the similarity of the first service image in the image collection Correlation information, where the association information includes: an identification letter of the first service video Identification information of the first advertisement creatives, the related information by the related information is synchronized to the synchronous interface module of the service platform, and advertising platform;
  • the database is configured to store related information of the creative and the business video
  • the portal is configured to implement interaction between the user and the database and the video analysis platform;
  • the data synchronization interface module synchronizes creative synchronization information from the advertisement platform to the video analysis platform; and is configured to synchronize service video synchronization information from the service platform to the video analysis platform;
  • the associated information synchronization interface module is configured to synchronize the associated information from the video analytics platform to the advertising platform and the service platform.
  • the video analysis platform is further configured to perform background modeling and target detection on the advertisement video in the creative, extract a target of the motion to obtain a target object of the creative, and target the target object of the creative.
  • the image in the first image collection that includes the target object of the creative is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which the creative belongs, and the target object of the creative is stored in the database.
  • the creative target object table in , setting its status to unreviewed; and, performing the business video Background modeling and target detection, extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video object belongs, and the service video target object and the service image
  • the set includes the picture of the service video target object to be associated, and the service video target object is stored in the service video target object table in the database, and the status is set to unaudited;
  • the portal is configured to implement the interaction between the user and the database and the video analytics platform, including: querying the database for an unreviewed creative target object according to a user operation, and configuring an advertisement for the unreviewed creative target object according to a user operation.
  • the object identifies and modifies its status in the creative target object table as reviewed and not associated;
  • the video analytics platform compares the advertisement image in the advertisement image set with the service image in the service image collection, and the obtaining similarity includes:
  • the video analytics platform queries the database for the reviewed unassociated creative target object, receives the reviewed unassociated creative target object returned by the database, and obtains the associated unrecognized creative target object associated with the database. Advertising the image, comparing it with the business image in the business image collection, and obtaining similarity;
  • the video analysis platform is further configured to: when the similarity between the second service image in the service image set and the advertisement image associated with the reviewed unrelated creative target object satisfies the first preset condition Obtaining an advertisement object identifier configured by the reviewed unassociated creative target object, and configuring, for the second service video target object associated with the second service image, the creative target object that is not associated with the audited The same advertisement object identifier, the status of the reviewed unassociated creative target object in the database is modified, and the status of the second business video target object in the modified database is associated.
  • the portal is further configured to: query the database for the audited unassociated creative target object, obtain the reviewed unassociated creative target object, and initiate a query request to the video analytics platform, Receiving a service picture subset returned by the video analysis platform, and selecting a third service picture from the service picture subset according to a user operation, and configuring a third service video target object associated with the selected third service picture
  • the reviewed is not associated
  • the creative target object has the same advertisement object identifier, and the status of the third business video target object in the database is modified to be associated, and the status of the reviewed unassociated creative target object is modified to be associated;
  • the video analysis platform is further configured to: after receiving the query request sent by the portal, determine a third advertisement image associated with the creative target object carried in the query request, and find and describe in the service image set The service picture subset of the third advertisement picture satisfies the fourth preset condition, and the service picture subset is sent to the portal.
  • a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
  • a processor for running a program wherein the program is executed to perform the method of any of the above.
  • the service platform and the advertisement platform obtain the service by cutting the business video and the advertisement video, extracting the key frame, extracting the feature value of the image, and associating the business video and the creative material with high similarity.
  • the video and its associated creatives, the business platform plays the creative video (advertising video and / or advertising image) while playing the business video, in order to achieve the effect of accurately advertising the business video.
  • FIG. 1 is a block diagram of an accurate advertising system according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a data structure of a video analysis platform according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for accurately placing advertisements according to an embodiment of the present invention.
  • FIG. 4 is a block diagram of a precise advertisement system implemented by a stand-alone mode according to an embodiment of the present invention
  • FIG. 5 is a flow chart of the service of the accurate advertisement advertisement system realized by the single machine mode according to the embodiment of the present invention.
  • FIG. 6 is a block diagram of a precise delivery advertising system implemented in a distributed manner according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a service of a precision delivery advertisement system implemented in a distributed manner according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of an IPTV accurate advertisement advertising system according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of an IPTV accurate advertisement advertising service according to an embodiment of the present invention.
  • FIG. 10 is a structural diagram of a video playback software accurate advertising system according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of accurately placing an advertisement service of a video playing software according to an embodiment of the present invention.
  • the video and the image are processed by the video analysis and the image processing technology to obtain the similarity information, and the business video and the creative are associated according to the similarity to realize automatic association.
  • An embodiment of the present invention provides a matching method, including:
  • the to-be-matched resource to which the first picture belongs and the first The second video resource to which the two pictures belong is associated.
  • the to-be-matched resource may include multiple to-be-matched video resources and/or to-be-matched pictures, and the second video resource may include multiple video resources. Extracting the first picture set from the to-be-matched resource includes: if the to-be-matched resource includes a to-be-matched video resource, extracting a video frame from the to-be-matched video resource to join the first picture set, if the to-be-matched resource Including the picture to be matched, the picture to be matched is directly added to the first picture set.
  • the to-be-matched resource may only include the to-be-matched picture, and when the picture is to be extracted from the to-be-matched resource, the first picture set is obtained by directly waiting for the matching picture.
  • extracting a picture from the to-be-matched resource or extracting a picture from the second video resource includes:
  • the to-be-matched resource or the second video resource is used as an input video, and the image is directly extracted from the decoded input video; or the decoded input video is segmented according to the scene.
  • Obtaining a segmented video comparing the segmented videos of the scenes to obtain a segmented video set, and extracting a picture from the segmented video in the segmented video set, wherein a comparison result of any two divided videos in the segmented video set satisfies a second Preset conditions.
  • the video frame may be directly extracted from the to-be-matched video resource in the to-be-matched resource, or the video resource to be matched may be segmented according to the scene to obtain the segmented video, and the segmented videos of each scene are compared. Obtaining a segmented video set according to the comparison result, and extracting a video frame from the segmented video in the segmented video set.
  • the video frame may be directly extracted from the second video resource, or the second video resource may be segmented according to the scene to obtain a segmented video, and then the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmentation is performed from the segmented video set.
  • the video is extracted from the video frame.
  • extracting the picture from the to-be-matched resource includes: extracting the to-be-matched picture to join the first picture set Hehe.
  • a video usually contains multiple scenes, and the background or sound can be used to determine whether the scene changes. For example, when switching from indoor to outdoor, the scene is switched. For example, when the background sound is converted from street noise to factory noise, scene switching occurs, and from car noise to venue noise, scene switching occurs.
  • the dividing the decoded input video according to the scene includes:
  • determining whether the scene is switched according to the background includes: performing background estimation on the input video, and performing background update processing to compare whether the adjacent background pictures determine whether the scene is the same scene.
  • the background estimation may be performed according to several consecutive frames of the input video. For example, three consecutive video frames may be used for background estimation, and when the background image is compared, the global feature of the background image may be extracted to obtain adjacent The Hamming distance of the global features of the two background images is used to determine whether the adjacent background image is the same scene.
  • the background estimation, the background image update, and the like may be implemented by using a mixed Gaussian model (GMM) algorithm. This method is only an example. You can use other methods to extract the background and determine whether the background changes. For example, when comparing background images, you can use other comparison algorithms to determine whether the background image is the same scene. This application does not limit this.
  • GMM mixed Gaussian model
  • determining whether the scene is switched according to the sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring an energy curve of the audio signal. Obtaining a position of the maximum value and the minimum value of the energy curve as a position where the scene switching occurs, and satisfying, where the distance between two adjacent scenes acquired according to the energy curve is greater than the first distance threshold . Adjacent maxima or minima may have a small distance. When performing scene segmentation, only the maximum and minimum values whose distance is greater than the first distance threshold are extracted, and the scene segmentation is performed. The distance is less than the pole of the first distance threshold. Large and small values are ignored.
  • the process of converting the audio signal from the time domain to the frequency domain the process of suppressing the signal of the frequency band in which the voice is located is taken.
  • the audio may be processed in other manners to determine whether the scene is switched. For example, the background sound in the audio is extracted, and the background sound is used to determine whether the scene changes.
  • an implementation manner of comparing and dividing each divided video to obtain a divided video set is: extracting a background image from the divided video (the background image may be subjected to background estimation and background update according to the previous segmentation according to the scene) Obtaining in the process, comparing the background images of the divided videos to obtain a degree of similarity.
  • the similarity degree of the background images of the two divided videos satisfies the second preset condition, it is determined that the scenes of the two divided videos are not similar, if the two divided videos are If the degree of similarity of the background image does not satisfy the second preset condition, it is determined that the two divided video scenes are similar, and one of the two divided videos with similar scenes may be deleted, and all the divided videos are compared and only two similar segments are reserved. One of the videos, the retained split video also needs to be compared with each other, and finally the split video set is obtained, so that the split video in the split video set satisfies the second preset condition.
  • the scheme can merge similar scenes, reduce the number of divided videos, thereby reducing the number of video frames finally extracted, improving system processing speed, and reducing storage requirements.
  • the background pictures may be used instead of the divided pictures, and the divided videos may be compared in other ways to determine whether the divided videos are similar.
  • the video frames extracted in the divided videos may be compared to determine whether the divided videos are similar.
  • the second preset condition may be set as needed, and the setting of the second preset condition is related to the number of divided videos.
  • the condition for judging whether the divided video is similar may be wider, so that the number of divided videos judged to be similar is increased, and the number of divided videos extracted into the divided video set is reduced. If it is desired to divide the video more, the condition for judging whether the divided video is similar may be stricter, so that the number of divided videos judged to be similar is reduced, and the number of divided videos extracted into the divided video set is increased.
  • the second preset condition can be set as needed.
  • the video frame may be directly extracted from the to-be-matched video resource and the second video resource for subsequent processing without performing segmentation.
  • the merging process is performed after the video frames are extracted to reduce the number of extracted video frames.
  • a representative video frame may be extracted according to an image, a sound, or a subtitle, and the extracted video frame is referred to as a key frame.
  • the extracting a picture directly from the decoded input video or extracting a picture from the split video in the split video set includes:
  • the frame is taken as the extracted picture.
  • extracting a video frame from the to-be-extracted video as the extracted image according to one or more of an image, a sound, and a subtitle of the to-be-extracted video includes:
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame,
  • the process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture; wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  • the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
  • the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
  • the keywords are preset. For example, when you need to advertise basketball, you can set basketball, three-pointers, dunks, etc. as keywords. This method can be used as an aid.
  • the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition is:
  • the similarity between the first picture and the second picture is greater than a first similarity threshold.
  • the first preset condition can also be set to other conditions as needed.
  • comparing the picture in the first picture set with the picture in the second picture set, and obtaining the similarity includes:
  • a background of the to-be-matched video in the to-be-matched resource may be modeled, a target of the motion is detected, a location of the moving target is stored, and a picture including the moving target is associated; and,
  • the second video resource performs background modeling, detects the target of the motion, stores the location of the moving target, and the appearance time and disappearance time of the target in the second video resource, and associates the image containing the moving target, and extracts the image according to the feature model.
  • feature extraction is performed using the corresponding feature extractor in the target region and the background region of the image respectively.
  • the target of motion usually includes a human face, so a face detector can be used in the target area for feature extraction.
  • all feature extractors are used for feature extraction in all areas of the picture. If moving target detection has been performed, feature extraction can be performed in the stationary background area using the feature extractor commonly used for the background area. The target area of the motion is extracted using a feature extractor that is usually used for moving targets, thereby reducing the amount of computation in feature extraction.
  • One application of the above matching method is an application in an advertisement insertion.
  • Can find the ad video or the advertisement image is similar to the content of the location in the business video, and the association is performed to insert the advertisement video or the advertisement image in the corresponding position in the business video.
  • the advertisement video needs to be inserted, the advertisement is inserted into the service video related to the advertisement video, and the user is more acceptable than the random insertion in a certain service video, so that the advertisement effect is better.
  • the product advertisement of a celebrity endorsement is inserted in the TV or movie starring the star.
  • the advertisement of a product is used in the main character of the TV or the movie, the user's acceptance and advertising effect are good.
  • the matching method can also be used in image search. For example, if a user wants to find a movie clip but does not know the specific movie name and only knows the approximate content, he can find a picture similar to the movie clip and match it in the movie library to find the corresponding movie. For example, if the user wants to find all movies with Christmas scenes, they can also use a Christmas video or Christmas picture to match in the movie library to find all movies with Christmas scenes.
  • image search For example, if a user wants to find a movie clip but does not know the specific movie name and only knows the approximate content, he can find a picture similar to the movie clip and match it in the movie library to find the corresponding movie. For example, if the user wants to find all movies with Christmas scenes, they can also use a Christmas video or Christmas picture to match in the movie library to find all movies with Christmas scenes.
  • the above application is only an example, and the present application can be applied to various scenarios in which a video needs to be matched.
  • the embodiment of the invention further provides a video analysis platform, comprising a data acquisition module and a video picture analysis processing layer, wherein:
  • the data acquisition module is configured to acquire the to-be-matched resource and acquire the second video resource.
  • the video picture analysis processing layer includes a video processing module and a picture analysis module, where:
  • the video processing module is configured to: extract a picture from the to-be-matched resource to obtain a first picture set; and select one or more of the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource. Extracting a picture to obtain a second picture set;
  • the image analysis module is configured to compare the picture in the first picture set with the picture in the second picture set to obtain a similarity; when the first picture and the first picture in the first picture set When the similarity of the second picture in the second picture set satisfies the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
  • the video analysis platform further includes a video decoding layer, configured to Decoding the to-be-matched video resource in the to-be-matched resource, and transmitting the video resource to the video image analysis processing layer as an input video, and decoding the second video resource as an input video to the video image analysis processing layer ;
  • the extracting, by the video processing module, the picture from the to-be-matched resource or the second video resource includes:
  • the input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained.
  • the divided video is used as the to-be-extracted video, wherein the comparison result of any two divided videos in the divided video set satisfies the second preset condition; the second preset condition may be set as needed.
  • the video processing module extracting a picture from the to-be-matched resource includes: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set.
  • the video processing module includes a video segmentation unit configured to determine whether a scene is switched according to one or more of a background and a sound in the input video, where the input video occurs Splitting the position of the scene switching; and comparing the divided videos to obtain the divided video set.
  • determining, by the video segmentation unit, whether the scenario is switched according to the sound in the input video comprises: converting the audio signal in the input video from a time domain to a frequency domain, and acquiring the audio signal.
  • the energy curve obtains the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies the position of the adjacent two scenes that are acquired according to the energy curve, and the distance is greater than the distance A distance threshold.
  • the video processing module includes a multi-modal extraction key frame unit, and is configured to use the split video in the input video or the split video set as a to-be-extracted video, according to the to-be-extracted One or more of images, sounds, and subtitles of the video from The video frame is extracted from the to-be-extracted video as the extracted picture.
  • the multi-modal extraction key frame unit extracts a video frame according to the image of the to-be-extracted video, including:
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • the multi-modal extraction key frame unit extracts a video frame according to the sound of the to-be-extracted video, including:
  • the multi-modal extraction key frame unit extracts a video frame according to the subtitle of the to-be-extracted video, including:
  • the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition is:
  • the similarity between the first picture and the second picture is greater than a first similarity threshold.
  • the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
  • the deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model
  • the key frame feature extraction unit is configured to extract a first feature value of a picture in the first picture set according to the feature model, and extract a second feature value of the picture in the second picture set according to the feature model;
  • the feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity, in the first picture and the second picture set in the first picture set When the similarity of the second picture meets the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
  • the embodiment of the invention provides a method for accurately advertising, including:
  • Obtaining a service video extracting a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, to obtain a service picture set;
  • the first creative material and the location to which the first advertisement picture belongs is associated, and the association information is generated, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • extracting a picture from the creative or extracting a picture from the business video includes:
  • Taking the advertisement video or the service video in the creative as an input video after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the input video according to the scene Performing segmentation, acquiring a segmented video, comparing each segmented video, obtaining a segmented video set according to the comparison result, and dividing the segmentation in the segmented video set a video as a to-be-extracted video, wherein a comparison result of any two divided videos in the divided video set satisfies a second preset condition;
  • extracting a picture from the creative material includes: when the advertisement material includes an advertisement picture, extracting the advertisement picture to join the advertisement picture set.
  • the dividing the decoded input video according to the scene includes:
  • determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain Obtaining an energy curve of the audio signal, acquiring a position of a maximum value and a minimum value of the energy curve, as a position where a scene switching occurs, and satisfying: switching between two adjacent scenes acquired according to the energy curve The location is greater than the first distance threshold.
  • the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
  • Extracting a video frame in the to-be-processed video as a key frame which is referred to as a current key frame
  • extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
  • the starting frame of the to-be-processed video is taken as the current key frame.
  • extracting a video frame from the to-be-extracted video as the extracted image according to one or more of an image, a sound, and a subtitle of the to-be-extracted video includes:
  • the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
  • the similarity between the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies the first preset condition, that is:
  • the similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  • comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity includes:
  • the association information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is according to the first service. The location of the picture in the first service video is determined.
  • the method further includes:
  • the associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
  • the method for performing target detection may be: scanning a video frame using a sliding window to determine a location of a foreground target of the motion.
  • the method further includes:
  • the target object is configured with an advertisement object identifier
  • the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image
  • the associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
  • the association information further includes an advertisement object identifier in which the first creative target object is configured.
  • the method further includes:
  • the business graph After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first Four preset business picture sub-sets, the business graph Sending a set of slices to the portal, so that the portal selects a second service picture from the subset of service pictures according to a user operation, and configures a service second service video target object associated with the selected second service picture.
  • the second creative target object has the same advertisement object identifier, thereby indicating that the second creative object to which the second creative target object belongs is associated with the second service video to which the second service video target object belongs.
  • the embodiment of the present invention further provides a video analysis platform, as shown in FIG. 1 , including a data acquisition module and a video image analysis processing layer, where the video image analysis processing layer includes a video processing module and a picture analysis module, where:
  • the data acquisition module is configured to acquire a creative material and obtain a business video
  • the video processing module is configured to: extract a picture from the creative material to obtain an advertisement picture set; and extract a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, Obtain a collection of business images;
  • the image analysis module is configured to compare the advertisement image in the advertisement image collection with the business image in the business image collection to obtain a similarity; when the first advertisement image in the advertisement image collection and the Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs when the similarity of the first service image in the service image set meets the first preset condition, and
  • the association information is generated, and the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • the video analysis platform further includes a video decoding layer, configured to decode the advertisement video in the creative as an input video to the video image analysis processing layer, and decode the service video as an input video. Transmitting to the video picture analysis processing layer;
  • the video processing module extracting a picture from the creative or extracting a picture from the business video includes:
  • the input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained.
  • the divided video in the video is to be extracted, wherein the comparison result of any two divided videos in the divided video set satisfies the second preset condition;
  • the video processing module extracting a picture from the creative material includes: when the advertisement material includes an advertisement picture, extracting the advertisement picture to join the advertisement picture set.
  • the video processing module includes a video segmentation unit and a multi-modal extraction key frame unit, wherein:
  • the dividing unit is configured to determine whether the scene is switched according to one or more of the background and the sound in the input video, and perform segmentation at a position where the scene switching occurs in the input video.
  • the multi-modal extraction key frame unit is configured to extract a video frame from the to-be-extracted video as the extracted picture according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  • the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
  • the deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model
  • the key frame feature extraction unit is configured to extract a first feature value of the image in the advertisement image set according to the feature model, and extract a second feature value of the image in the service image set according to the feature model;
  • the feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity; when the first advertisement picture and the service picture set in the advertisement picture set When the similarity of the first service picture satisfies the first preset condition, the first creative material to which the first advertisement picture belongs and the first service video to which the first service picture belongs are associated, and the associated information is generated.
  • the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • the picture analysis module further includes feature index generation / merging unit, the feature index generating/merging unit is configured to perform index generation and index merging, and the index generating comprises: constructing a tree index according to a preset rule for the extracted feature set, and accelerating the target retrieval process; the index merging includes: The index files built in parallel for different feature sets are merged for index incremental update.
  • the index file includes: an original feature file extracted by the feature, and a tree structure description file generated according to the original feature file.
  • the index generates a tree structure description file according to the original feature file extracted by the feature.
  • the merge is based on the original feature file, updating the index is the tree structure description file, which is equivalent to regenerating a new index. It can be updated regularly, the index is updated according to the original feature file set, and the feature index can be updated in real time.
  • the video processing module further includes: a background modeling unit and a target detecting unit, wherein:
  • the background modeling unit is configured to perform background modeling on the business video; and perform background modeling on the advertisement video in the creative;
  • the target detecting unit is configured to perform target detection on the service video, extract a target of the motion to obtain a service video target object, and determine an appearance time and a disappearance time of the service video target object in a service video to which the service video object belongs.
  • the business video target object is associated with the image of the business image collection object that includes the business video target object; and, the target video of the advertisement video in the creative is detected, and the target of the motion is extracted to obtain the creative target object, and
  • the creative target object is associated with the image of the first image set that includes the creative target object, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
  • the image analysis module is further configured to: when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, acquire the An advertisement object identifier configured by the first creative target object associated with an advertisement image, and an advertisement object identifier identical to the first creative target object configured for the first service video target object associated with the first service image Instructing the first creative material to which the first advertisement picture belongs to be associated with the first service video to which the first service picture belongs.
  • the advertisement object identifier indicates an advertisement theme for which the first creative target object is directed.
  • the picture analysis module is further configured to:
  • the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected
  • the second service video target object associated with the second business image is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service video.
  • the second business video to which the target object belongs is associated.
  • the fourth preset condition may be that the similarity is between the second similarity threshold and the first similarity threshold, and the second similarity threshold is smaller than the first similarity threshold.
  • the video analytics platform further includes a storage layer, and the storage layer is configured to store related information of the service video and the advertisement video. It is also possible to store part of the information in the database.
  • the storage layer includes: a structured storage module and an unstructured storage module, where the unstructured storage module is configured to store the material library related entity file, and the structured storage module is configured to save and manage the corresponding table structure information. .
  • the specific stored information refers to FIG. 2, including: 1. a business video directory; 2. a creative directory (video and/or picture); 3. a third-party image; 4. an advertising object; 5. a creative target object (POI) 6 , business video POI.
  • the above information can also be stored in a database independent of the video analytics platform.
  • the embodiment of the invention further provides a method for accurately placing advertisements.
  • the method includes:
  • the video analytics platform uses the service video/advertisement video data synchronization interface from the advertisement
  • the platform obtains advertisement video synchronization information, where the advertisement video synchronization information carries information such as an operation type, an advertisement video number, and an address of the advertisement video, and may also carry an advertisement video name information and type information (indicating whether the advertisement video or the service video is currently present) ), parsing the advertisement video synchronization information, including:
  • Get the operation type If it is a new operation, add an advertisement video entry in the local advertisement video directory information, and download the advertisement video according to the address provided by the relevant field in the advertisement video synchronization information; if it is a deletion operation, then Deleting the corresponding advertisement video entry in the local advertisement video directory information, and deleting the record related to the advertisement video in the creative POI table and the key frame picture table;
  • Each advertisement video entry in the locally stored advertisement video directory information corresponds to one advertisement video, and each advertisement video entry includes the following information: an advertisement video number of the advertisement video corresponding to the advertisement video entry, an advertisement video name, and may also include The advertisement video download address, the creation time of the advertisement video entry, and the like. Other information can also be stored as needed.
  • Synchronization direction business platform, advertising platform -> video analysis platform;
  • Synchronization format can be set as needed, such as file mode
  • File type can be set as needed, such as dat type
  • Incremental synchronization (first full amount) every preset time (preset time), uploaded by the service platform and advertising platform to the designated server (can be an FTP server), and supports manual triggering immediate synchronization.
  • the preset time may be one day, which is not limited in this application.
  • Step 302 The video analytics platform obtains advertisement image synchronization information from the advertisement platform by using an advertisement image data synchronization interface, where the advertisement image synchronization information carries an operation type and an advertisement.
  • the image number and the advertisement image download address information are used to parse the advertisement image synchronization information, including:
  • Get the operation type If it is a new operation, add an advertisement image entry in the local advertisement image directory information, and download the advertisement image according to the address provided by the relevant field in the advertisement image synchronization information; if it is a deletion operation, then The corresponding advertisement image entry is deleted from the local advertisement image directory information, and the record related to the advertisement image in the creative POI table is deleted;
  • Each of the advertisement image entries stored in the local advertisement image directory information corresponds to one advertisement image, and each advertisement image entry includes the following information: an advertisement image number of the advertisement image corresponding to the advertisement image entry, and an advertisement image name. It can also include other information, such as the download address of the advertisement image.
  • an implementation of the advertisement picture data synchronization interface is as follows:
  • Synchronization direction advertising platform -> video analysis platform
  • Synchronization format can be set as needed, such as file mode
  • File type can be set as needed, such as dat type
  • Synchronization mode Incremental synchronization (first full amount) every preset time (preset time), uploaded by the advertising platform to the designated server (can be an FTP server), supports manual triggering immediate synchronization.
  • the video analysis platform goes to the designated server to download the advertisement picture synchronization information.
  • Step 303 The video analysis platform analyzes the advertisement video, including: decoding the advertisement video, outputting by frame, segmenting the advertisement video, extracting key frames, performing target detection, recording target location information, extracting feature values of key frames, and generating features. index;
  • Step 304 The video analysis platform writes the advertisement video related information into the key frame picture table and the creative POI table, and the default state of the data in the creative POI table is “unaudited”;
  • the video analysis platform writes related information of the extracted key frames into the key frame picture table, including: establishing a key frame picture identifier (imageid) for each key frame, and recording the key frame source (here, from the advertisement video); Record the save path of the key frame, and the access address of the key frame; it may also include the advertisement video number to which the key frame belongs.
  • the video analytics platform writes information about the detected target to the Creative Target Object (POI) table, including: targeting the target as a new creative target object or a new creative POI, which is created for the target in the creative POI table.
  • Step 305 The video analysis platform analyzes the advertisement image, including: performing target detection, recording target location information; extracting feature values of the advertisement image, and generating a feature index;
  • Step 306 the video analysis platform writes related information of the target of the detected advertisement image into the creative POI table
  • Writing information about the target to the creative POI table specifically includes:
  • a unique identifier is created for the target, the target object identifier, the image identifier of the advertisement image in which the target is located, and the target identifier Status (here default value: "Unreviewed"), the ad image number of the ad image to which the goal belongs, the ad image name, the target creation time, the modification time, and the location information of the target image in the ad.
  • the advertisement picture number and the advertisement picture name may be consistent or inconsistent.
  • the video analysis platform writes related information of the advertisement image into the key frame picture table, including: creating a key frame image identifier (imageid) for each advertisement picture, and recording the key frame source (here, from the advertisement picture); recording the advertisement The path to save the image, as well as the access address of the ad image.
  • Step 307 after receiving the query request of the user, the portal initiates a query request to the database, queries the unreviewed creative POI in the creative POI table, and receives the unreviewed creative POI returned by the database;
  • Step 308 The portal configures advertisement object information for the unreviewed creative POI according to the operation of the user, and adds an advertisement object data to the advertisement object table.
  • One of the purposes of the object identifier is to identify the advertising theme for which the creative is targeted, for example, to set an objectid for the creative POI that advertises for a brand of car, and another for the creative POI that advertises for a certain food.
  • An objectid, another function is used as an association tag to compare the business video picture with the advertisement picture, and when the association condition is met, the business object POI associated with the service video picture is configured with the same objectid as the creative POI associated with the advertisement picture.
  • the advertisement object identifier is carried in addition to the business video number of the associated business video and the creative number of the creative.
  • a business video may be associated with multiple creatives.
  • the creative may be inserted through the objectid.
  • the objectid For example, when an advertisement for a brand car is required, only the advertisement target object is identified as the objectid of the brand automobile. Creatives, without inserting other creatives associated with the business video.
  • an identification information may also be added as an association mark, and the service video picture and the advertisement picture are compared by using the objectid as the association mark, and when the comparison result satisfies the association condition, it is related to the service video picture.
  • the business video POI and the advertisement image related to the advertisement POI are configured with the same associated identification information, indicating that the two are associated, and the objectid only identifies the advertisement for which the advertisement is used, and is no longer used to mark the association between the business video and the creative.
  • a new advertisement object data is created in the advertisement object table for the creative POI, and the advertisement object data includes the following information: creating a unique advertisement object identifier (objectid) corresponding to the creative POI, the advertisement object name, setting the advertisement The object type, the image storage path corresponding to the advertisement object, the creation time of the advertisement object, and the modification time of the advertisement object; and may also include information such as an advertisement target brand and an advertisement object manufacturer.
  • objectid unique advertisement object identifier
  • Step 309 the portal modifies the status of the creative POI in the creative POI table as “reviewed unassociated”, and writes the object identifier of the newly created advertisement object into the information of the creative POI, for example, the creative POI table.
  • the objectid field value of the creative POI is refreshed to the objectid field value of the newly added advertisement object data, and the modified information of the creative POI is sent to the database;
  • Step 310 The video analytics platform obtains the service video synchronization information from the service platform by using the service video/advertisement video data synchronization interface, where the service video synchronization information carries information such as the operation type, the service video number, and the address of the service video, and may also carry the service.
  • the information such as the video name is used to parse the service video synchronization information, including:
  • Obtain the operation type If it is a new operation, add a service video entry to the local service video directory information, and download the service video according to the address provided by the related field in the service video synchronization information; if it is a deletion operation, Deleting the corresponding service video entry in the local service video directory information, and deleting the record related to the service video in the service video POI table and the key frame picture table;
  • Each service video entry stored in the local service video directory information corresponds to a service video
  • the service video entry includes the following information: a service video number of the service video corresponding to the service video entry, and a service video name, which may also include Other information, such as the business video download address, the creation time of the business video entry, and the like.
  • Step 311 The video analysis platform analyzes the service video, including: decoding the service video, outputting the video according to the frame, dividing the service video, extracting the key frame, performing target detection, recording the target location information, extracting the feature value of the key frame image, and generating the feature.
  • decoding the service video including: decoding the service video, outputting the video according to the frame, dividing the service video, extracting the key frame, performing target detection, recording the target location information, extracting the feature value of the key frame image, and generating the feature.
  • Step 312 The video analysis platform writes related information into the key frame picture table and the service video POI table, and the default state of the data in the service video POI table is “unrelated”;
  • the video analysis platform writes related information of the extracted key frames of the service video into the key frame picture table, including: establishing a key frame picture identifier (imageid) for each key frame, and recording
  • the source of the key frame here is the service video; the storage path of the key frame, and the access address of the key frame; and the service video number to which the key frame belongs. Additional information can also be recorded as needed.
  • the video analysis platform writes the related information of the detected target into the service video target object (POI) table, including: using the target as a new service video POI, and establishing an entry for the target in the service video POI table, and recording the following information: Create a unique identifier for the target, the target object identifier, the key frame image identifier of the key frame associated with the target, the status of the target (here is unreviewed), the service video number of the service video to which the target belongs, and the service video. Name, the target object creation time, modification time; the location information of the target in the associated key frame picture.
  • POI service video target object
  • step 304 For an implementation of the key frame picture table, see step 304;
  • Step 313 the video analysis platform queries the creative POI table of the database, and receives the "audited unassociated" creative POI returned by the database;
  • Step 314 The video analytics platform performs the following operations on each of the reviewed unrelated creative POIs that are received:
  • For each creative POI query the local feature index to find the ad image associated with the creative POI (possibly the key frame extracted from the ad video, or the ad image). The similarity is greater than the first similarity threshold. All the business video key frames are automatically associated, and the advertisement object field of the business video POI corresponding to the found service video key frame is set as the advertisement object field value of the creative POI, and the service video POI status is modified to "Associated" and the status of the creative POI in the creative POI table is changed to "Associated”;
  • Step 315 The video analysis platform interacts with the database, and modifies the value and status of the advertisement object field of the service video POI related to the service video POI table, and modifies the state of the creative POI related to the creative POI table;
  • Step 316 The portal initiates a query operation to the database according to the operation of the user, queries the “POD that has not been audited”, and receives the audited unrelated creative POI information returned by the database;
  • Step 317 to step 321 are performed on each of the received creative POIs
  • Step 317 The portal selects a creative POI according to the operation of the user, and sends a request message for querying the associated image to the video analysis platform.
  • Step 318 The video analytics platform queries the local feature index to find all service video key frame images whose similarity of the advertisement image associated with the creative POI is located between the second similarity threshold and the first similarity threshold.
  • the second similarity threshold is smaller than the first similarity threshold;
  • Step 319 the video analysis platform returns the key frame image of the found service video to the portal;
  • Step 320 The portal displays the returned business video key frame image to the user, and associates the business video key frame image with the advertisement image according to the user operation;
  • Step 321 The portal refreshes the objectid field of the corresponding service video POI in the service video POI table in the database as the object field value of the associated creative POI according to the operation of the user, and updates the status of the associated service video POI to “has been "Association", the status of the associated advertising video POI is updated to "Associated”;
  • Step 322 the video analysis platform generates an incremental associated information synchronization file:
  • the associated information synchronization file initially generated by the video analytics platform is full, that is, the associated information synchronization file includes all associated business video and creative material association information, and then the service video whose relationship relationship changes is generated on the basis of the subsequent analysis.
  • the associated information with the creative such as disassociation, or modification of the association, etc., or the associated information of the newly associated business video and creative.
  • the video analytics platform generates an associated information synchronization file as follows:
  • the business video POI and the creative POI having the same objectid in the business video POI table and the creative POI table are searched, and the business video POI and the creative POI having the same objectid are respectively referred to as a first business video POI and a first creative POI, Obtaining the identification information of the first service video to which the first service video POI belongs, obtaining the identification information of the first creative material to which the first creative material POI belongs, and acquiring the appearance of the first service video POI in the first service video Time as the first creative in the first commercial video in the insertion position, get the first The objectid of the creative POI generates the associated information synchronization file.
  • the insertion location may be a disappearance time of the first service video POI in the first service video, or a position between the appearance time and the disappearance time of the first service video POI in the first service video, or Other locations, such as a location after the disappearance time of the first service video POI in the first service video, or a location before the appearance time of the first service video POI in the first service video, and the like.
  • the target location may not be detected, the creative POI and the service video POI may not be extracted, and the advertisement video key frame, the advertisement picture, the service video key frame, and the advertisement video key frame and/or may be directly used.
  • the advertisement image configures an advertisement object identifier, and searches for a business video key frame whose similarity with the advertisement video key frame and/or the advertisement image is greater than the first similarity threshold, and configures the advertisement video key frame and/or advertisement for the found service video key frame.
  • the same advertisement object identifier as the image, that is, the business video to which the business video key frame having the same advertisement object identifier belongs is associated with the advertisement video key frame and/or the creative material to which the advertisement image belongs.
  • the placement of the creative in the business video is determined by the location of the business video keyframe.
  • the target location may also be detected, but the creative POI and the business video POI are not extracted, and the advertising video key frame, the advertisement image, the business video key frame, the advertising video key frame and/or are directly used.
  • the advertisement image configures an advertisement object identifier, and searches for a business video key frame whose similarity with the advertisement video key frame and/or the advertisement image is greater than the first similarity threshold, and configures the advertisement video key frame and/or advertisement for the found service video key frame.
  • the same advertisement object identifier as the image, that is, the business video to which the business video key frame having the same advertisement object identifier belongs is associated with the advertisement video key frame and/or the creative material to which the advertisement image belongs.
  • the placement location of the creative in the business video is determined by the location of the business video keyframe, or by the target occurrence time and target disappearance time associated with the business video keyframe.
  • the associated information synchronization file includes service video identification information (such as a business video number), creative identification information associated with the business video (such as an advertisement video number, an advertisement picture number, or an advertisement picture name), and the creative is in the business video. Insert location.
  • service video identification information such as a business video number
  • creative identification information associated with the business video such as an advertisement video number, an advertisement picture number, or an advertisement picture name
  • the associated information synchronization file can be generated periodically or when triggered.
  • Step 323 The video analytics platform sends the associated information synchronization file to the advertisement platform through the associated information synchronization interface.
  • Step 324 The video analytics platform sends the associated information synchronization file to the service platform by using the associated information synchronization interface.
  • an implementation manner of the associated information synchronization interface is provided below. It should be noted that the implementation manner is only an example, and other implementation manners may be used as needed. In an embodiment of the present invention, an implementation manner of the associated information synchronization interface is as follows:
  • Synchronization direction video analysis platform -> business platform, advertising platform;
  • Synchronization format can be set as needed, such as file mode
  • File type can be set as needed, such as txt type;
  • Data file description For the associated information of business videos and creatives, incremental data can be generated on a daily basis. For the first time, it is full.
  • Synchronization frequency Incremental synchronization (first full amount) every preset time (preset time), downloaded from the service platform, advertising platform to the designated server (the specified server can be an FTP server), and supports manual triggering immediate download.
  • the preset time may be one day, which is not limited in this application.
  • the associated information synchronization file may include the following information: operation type (new association information, modification association information or deletion association information), service video number, associated creative material number, insertion position of the creative in the business video, and the advertisement object.
  • operation type new association information, modification association information or deletion association information
  • service video number associated creative material number
  • insertion position of the creative in the business video and the advertisement object.
  • the identifier can also include an ad object type and an ad object name.
  • Embodiment 1 Single-machine deployment accurate advertising system
  • Embodiment 1 provides an implementation scheme for a stand-alone deployment accurate advertising system.
  • the program can Save on hardware costs.
  • the single-machine deployment precision advertising system includes a video analysis platform, a database connected to the video analysis platform, a data synchronization interface, an associated information synchronization interface, and a portal connected to the database.
  • FIG. 5 is a flow chart of a method for implementing a precise placement advertisement system based on the single machine shown in FIG. 4. As shown in Figure 5, it includes:
  • Step 501 The video analysis platform synchronizes the creative synchronization information through the data synchronization interface, and performs parsing;
  • Step 502 The video analysis platform analyzes the creative, decodes the video, outputs the video according to the frame, extracts the video key frame, performs target detection, records the target location information, extracts the feature value, and generates a feature index.
  • step 303 the analysis process in step 305;
  • Step 503 The video analysis platform writes related information into the video key frame table and the creative POI table, and the default state of the corresponding data in the creative POI table is “unaudited”;
  • step 304 step 306;
  • Step 504 after receiving the query request of the user, the portal initiates a query request to the database, queries the unreviewed creative POI in the creative POI table, and receives the unreviewed creative POI returned by the database;
  • Step 505 The portal configures advertisement object information for the unaudited creative POI according to the operation of the user, and adds an advertisement object data to the advertisement object table.
  • Step 506 the portal modifies the status of the creative POI in the creative POI table as “reviewed unassociated”, and writes the object identifier of the newly created advertisement object into the information of the creative POI, for example, the creative POI table.
  • the objectid field value of the creative POI is refreshed to the objectid field value of the newly added advertisement object data, and the modified information of the creative POI is sent to the database;
  • Step 507 The video analysis platform acquires service video synchronization information through a data synchronization interface. Analyze. The parsing process refers to step 310;
  • Step 508 The video analysis platform analyzes the service video, including: decoding the video, outputting according to the frame, extracting the video key frame, performing target detection, recording the target location information, extracting the feature value of the key frame image, and generating an index;
  • Step 509 the video analysis platform writes the related information into the video key frame table and the service video POI table, and the default state of the data in the service video POI table is “unrelated”;
  • Step 510 the video analysis platform queries the creative POI table of the database, and receives the "audited unassociated" creative POI returned by the database;
  • Step 511 The video analytics platform performs the following operations on each of the reviewed unrelated creative POIs that are received:
  • For each creative POI query the local feature index to find the ad image associated with the creative POI (possibly the key frame extracted from the ad video, or the ad image). The similarity is greater than the first similarity threshold. All the business video key frames are automatically associated, and the advertisement object field of the business video POI corresponding to the found service video key frame is set as the advertisement object field value of the creative POI, and the service video POI status is modified to "Associated" and the status of the creative POI in the creative POI table is changed to "Associated”;
  • Step 512 The video analysis platform interacts with the database, and modifies an advertisement object field value and a state of the service video POI related to the service video POI table, and modifies a state of the creative POI related to the creative POI table;
  • Step 513 The portal initiates a query operation to the database according to the operation of the user, queries the “PO that has not been audited”, and receives the audited unrelated creative POI information returned by the database;
  • Step 914 to step 918 are performed on each of the received creative POIs
  • Step 514 The portal selects a creative POI according to the operation of the user, and sends a request message for querying the associated image to the video analysis platform.
  • Step 515 The video analytics platform queries the local feature index to find all service video key frame images whose similarity of the advertisement image associated with the creative POI is located between the second similarity threshold and the first similarity threshold.
  • the second similarity threshold is smaller than the first similarity threshold;
  • Step 516 The video analysis platform returns the key frame image of the found service video to the portal.
  • Step 517 The portal displays the returned service video key frame image to the user, and associates the service video key frame image with the advertisement image according to the user operation;
  • Step 518 The portal refreshes the objectid field of the corresponding service video POI in the service video POI table in the database as the object field value of the associated creative POI according to the operation of the user, and updates the status of the associated service video POI to “has been "Association", the status of the associated advertising video POI is updated to "Associated”;
  • Step 519 the video analysis platform generates an incremental associated information synchronization file, which is the full amount for the first time
  • Step 520 The video analysis platform synchronizes the associated information synchronization file to the associated information synchronization interface.
  • Embodiment 2 Distributed deployment accurate advertising system
  • the second embodiment is an implementation scheme of a distributed advertisement system for distributed deployment.
  • a distributed deployment mode can be used, which is highly efficient in processing video. Can be used for real-time video processing analysis.
  • the distributed deployment accurate advertising system includes a video analysis platform composed of multiple video analysis servers, a data synchronization interface, an associated information synchronization interface, a database, and a portal.
  • FIG. 7 is a flowchart of a method for accurately placing an advertisement based on the architecture shown in FIG. 6. As shown in FIG. 7, the method for accurately advertising according to the second embodiment includes:
  • Step 701 The video analysis platform synchronizes the creative synchronization information through the data synchronization interface, and performs parsing;
  • Step 702 The video analysis platform cuts the advertisement video into a plurality of sub-advertising videos, and each video analysis server analyzes and processes one sub-advertising video, specifically: decoding the sub-advertising video, outputting by frame, extracting video key frames, and performing target detection. Recording target location information, extracting feature values, and generating a feature index; referring to step 303, the processing in step 305;
  • Step 703 The video analysis platform writes related information into the video key frame table and the creative POI table, and the default state of the corresponding data in the creative POI table is “unaudited”;
  • step 304 step 306;
  • Step 704 after receiving the query request of the user, the portal initiates a query request to the database, queries the unreviewed creative POI in the creative POI table, and receives the unreviewed creative POI returned by the database;
  • Step 705 The portal configures advertisement object information for the unreviewed creative POI according to the operation of the user, and adds an advertisement object data to the advertisement object table.
  • Step 706 The portal modifies the status of the creative POI in the creative POI table as “reviewed unassociated”, and writes the object identifier of the newly created advertisement object into the information of the creative POI, for example, the creative POI table.
  • the objectid field value of the creative POI is refreshed to the objectid field value of the newly added advertisement object data, and the modified information of the creative POI is sent to the database;
  • Step 707 The video analysis platform acquires the service video synchronization information through the data synchronization interface, and performs parsing.
  • the parsing process refers to step 310;
  • Step 708 The video analysis platform analyzes the service video, including: cutting the service video into multiple sub-service videos, and each video analysis server processes the sub-service video as follows: decoding, outputting by frame, extracting video key frames, and performing Target detection, recording target location information, extracting feature values of key frame images, and generating an index;
  • Step 709 the video analysis platform writes the related information into the video key frame table and the service video POI table, and the default state of the data in the service video POI table is “unrelated”;
  • Step 710 the video analysis platform queries the creative POI table of the database, and receives the "audited unassociated" creative POI returned by the database;
  • Step 711 The video analytics platform performs the following operations on each of the reviewed unrelated creative POIs that are received:
  • For each creative POI query the local feature index to find the ad image associated with the creative POI (possibly the key frame extracted from the ad video, or the ad image). The similarity is greater than the first similarity threshold. All the business video key frames are automatically associated, and the advertisement object field of the business video POI corresponding to the found service video key frame is set as the advertisement object field value of the creative POI, and the service video POI status is modified to "Associated" and the status of the creative POI in the creative POI table is changed to "Associated”;
  • Step 712 The video analysis platform interacts with the database, and modifies an advertisement object field value and a state of the service video POI related to the service video POI table, and modifies a state of the creative POI related to the creative POI table;
  • Step 713 The portal initiates a query operation to the database according to the operation of the user, queries the “PO that has not been audited”, and receives the audited unrelated creative POI information returned by the database;
  • Step 1114 to step 1118 are performed on each of the received creative POIs
  • Step 714 The portal selects a creative POI according to the operation of the user, and sends a request message for querying the associated image to the video analysis platform.
  • Step 715 The video analytics platform queries the local feature index to find all service video key frame images whose similarity of the advertisement image associated with the creative POI is located between the second similarity threshold and the first similarity threshold.
  • the second similarity threshold is smaller than the first similarity threshold;
  • Step 716 The video analysis platform returns the key frame image of the found service video to the portal.
  • Step 717 The portal displays the returned service video key frame picture to the user, and associates the service video key frame picture with the advertisement picture according to the user operation;
  • Step 718 The portal refreshes the objectid field of the corresponding service video POI in the service video POI table in the database as the object field value of the associated creative POI according to the operation of the user, and updates the status of the associated service video POI to “has been "Association", the status of the associated advertising video POI is updated to "Associated”;
  • Step 719 the video analysis platform generates an incremental associated information synchronization file, for the first time is full amount
  • Step 720 The video analytics platform synchronizes the associated information synchronization file to the associated information synchronization interface.
  • Embodiment 3 IPTV accurate advertising system
  • the third embodiment is an embodiment of a precise application system and an IPTV application.
  • the system architecture diagram is shown in FIG. 8.
  • the IPTV precision advertisement advertisement system provided by the embodiment of the present invention includes a precision advertisement advertisement system, a plurality of set top boxes, an IPTV service platform, and an advertisement platform.
  • FIG. 9 is a flowchart of a method for accurately placing advertisements based on the architecture shown in FIG. 8. As shown in FIG. 9, the method for accurately advertising according to the third embodiment includes:
  • Step 901 The accurate delivery advertisement system obtains an advertisement video from the advertisement platform
  • the obtaining method refers to step 301;
  • Step 902 the precision delivery advertisement system obtains an advertisement picture from the advertisement platform
  • the obtaining method refers to step 302;
  • the execution order of the steps 901, 902 is not limited, and the step 901 may be performed first, and then the step 902 may be performed, or the step 902 may be performed first, or the step 901 may be performed, or both may be performed simultaneously;
  • Step 903 the precision delivery advertisement system analyzes the advertisement video
  • the analysis process refers to steps 303-304;
  • Step 904 the precision delivery advertisement system analyzes the advertisement image
  • the analysis process refers to steps 305-306;
  • steps 903 and 904 are not limited, and step 903 may be performed first, and then executed.
  • step 904 may be performed first, then step 903 may be performed, or both may be performed simultaneously;
  • Step 905 the precision delivery advertisement system acquires a service video from the IPTV service platform
  • the obtaining method refers to step 310;
  • Step 906 The precision delivery advertisement system analyzes the service video, and associates the service video with the advertisement video and the advertisement image;
  • the analysis method refers to steps 311-312, and the association process refers to steps 313-321;
  • Step 907 the precision delivery advertisement system periodically generates an incremental association information synchronization file
  • Step 908 The precision advertisement advertisement system synchronizes the incremental association information synchronization file to the IPTV service platform by using an associated information synchronization interface;
  • Step 909 the precision delivery advertisement system synchronizes the incremental association information synchronization file to the advertisement platform by using an associated information synchronization interface
  • Step 909 may be performed first, and then step 908 may be performed, or both of them may be performed at the same time;
  • Step 910 The set top box receives a service video on demand request initiated by the user through the television terminal.
  • Step 911 the set top box sends a service video on demand request to the IPTV service platform
  • Step 912 After receiving the service video on demand request, the IPTV service platform acquires, according to the association information, an advertisement material associated with the service video that is requested by the advertisement platform; the advertisement material includes an advertisement video and/or an advertisement. image;
  • Step 913 the IPTV service platform pushes the associated creative material to the set top box
  • Step 914 The set top box inserts the associated creative material while playing the service video requested by the user.
  • Embodiment 4 Video playback software accurately delivers an advertising system
  • the fourth embodiment is an embodiment of the application of the accurate advertising system and the video playing software.
  • the system architecture diagram of the fourth embodiment refers to FIG.
  • the video playback software accurate advertisement advertising system provided in this embodiment includes multiple video playback software clients, an on-demand video service platform, a precision advertisement advertisement system, and an advertisement platform.
  • FIG. 11 is a method for accurately placing advertisements based on the system architecture shown in FIG. As shown in FIG. 11, the accurate advertising method provided in the fourth embodiment includes:
  • Step 1101 the accurate advertising system obtains an advertisement video from the advertisement platform
  • the obtaining method refers to step 301;
  • Step 1102 the precision delivery advertisement system obtains an advertisement picture from the advertisement platform
  • the obtaining method refers to step 302;
  • Step 1103 the precision delivery advertisement system analyzes the advertisement video
  • the analysis process refers to steps 303-304;
  • Step 1104 the precision delivery advertisement system analyzes the advertisement image
  • the analysis process refers to steps 305-306;
  • Step 1105 The precision delivery advertisement system acquires a service video from the on-demand video service platform.
  • Step 1106 The precision delivery advertisement system analyzes the service video, and associates the service video with the advertisement video and the advertisement image;
  • the analysis method refers to steps 311-312, and the association process refers to steps 313-321;
  • Step 1107 the precision delivery advertisement system periodically generates an incremental associated information synchronization file
  • Step 1108 the precision delivery advertisement system synchronizes the incremental association information synchronization file to the on-demand video service platform by using an associated information synchronization interface;
  • Step 1109 the precision delivery advertisement system synchronizes the incremental association information synchronization file to the advertisement platform by using an associated information synchronization interface
  • Step 1110 the on-demand video service platform receives the video transmission software client sends Business video on demand request;
  • Step 1111 After receiving the service video on demand request, the on-demand video service platform acquires, according to the association information, the creative associated with the service video that is requested on the advertisement platform; the creative material includes an advertisement video and/or Ad Image;
  • Step 1112 the on-demand video service platform pushes the creative material to the on-demand video software client;
  • Step 1113 the on-demand video software client inserts the creative material when playing the on-demand business video; the creative material includes an advertisement video and/or an advertisement image.
  • the business video and the creative material are processed and analyzed, and the business video and the creative material are automatically associated by comparing the business image and the advertisement image, thereby reducing manual intervention, playing the associated creative material when playing the business video, and reaching the advertisement.
  • a closely related effect to the user’s viewing of the content enabling accurate advertising. For example, when there is Andy Lau in the business video, the advertisement of Andy Lau’s endorsement is inserted; when the Mercedes-Benz car appears in the business video, the advertisement of Mercedes-Benz is inserted.
  • the embodiment of the invention can automatically complete video analysis processing and association work, and reduce manual intervention.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
  • the embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
  • the memory is configured to store a program
  • the processor is configured to: obtain a resource to be matched, extract a picture from the to-be-matched resource, obtain a first picture set, and acquire a second video resource according to the image of the second video resource And extracting a picture from the second video resource to obtain a second picture set; comparing the picture in the first picture set with the picture in the second picture set, and obtaining Similarity; when the similarity of the first picture in the first picture set and the second picture in the second picture set meets the first preset condition, the to-be-matched resource to which the first picture belongs Performing the second video resource to which the second picture belongs Association.
  • the embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
  • the memory is configured to store a program
  • the processor executing the program to: obtain a creative, extract a picture from the creative, obtain an advertisement picture set; obtain a service video, according to one of an image, a sound, and a subtitle of the service video Or extracting a picture from the service video to obtain a service picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity; when the advertisement picture set When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  • the embodiment of the present invention further provides a matching system, including a video analysis platform, a database, a portal, a data synchronization interface module, and an associated information synchronization interface module, where the video analysis platform includes a memory and a processor, where
  • the memory is configured to store a program
  • the processor is configured to execute the program, so that the data synchronization interface module obtains the to-be-matched resource synchronization information from the first platform, and obtains the to-be-matched resource according to the to-be-matched resource synchronization information.
  • the matching resource includes a to-be-matched video resource and/or a to-be-matched picture, and extracts a picture from the to-be-matched resource to obtain a first picture set; and the second video resource synchronization information is obtained from the second platform by using the data synchronization interface module, according to the The second video synchronization information acquires a second video resource, extracts a picture from the second video resource, obtains a second picture set, and performs a picture in the first picture set and a picture in the second picture set.
  • the database is configured to store related information of the to-be-matched resource and the second video resource;
  • the portal is configured to implement interaction between the user and the database and the video analysis platform;
  • the data synchronization interface module synchronizes the to-be-matched resource synchronization information from the first platform to the video analysis platform; and synchronizes the second video resource synchronization information from the second platform to the video analysis platform;
  • the associated information synchronization interface module is configured to synchronize the association information from the video analysis platform to the first platform and the second platform.
  • the first platform may be an advertisement platform
  • the second platform may be a service platform.
  • the embodiment of the invention further provides an accurate advertising system, including a video analysis platform, a database, a portal, a data synchronization interface module and an associated information synchronization interface module, wherein
  • the video analysis platform is configured to: synchronize the creative synchronization information from the advertisement platform by using the data synchronization interface module, obtain the creative material according to the creative synchronization information, extract a picture from the creative material, obtain a set of advertisement images;
  • the data synchronization interface module synchronizes the service video synchronization information from the service platform, acquires the service video according to the service video synchronization information, and extracts the service video according to one or more of the image, sound and subtitle of the service video.
  • a picture obtaining a business picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the business picture set to obtain a similarity; when the first advertisement picture and the service in the advertisement picture set Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs, and generating the similarity of the first service image in the image collection Correlation information, where the association information includes: an identification letter of the first service video Identification information of the first advertisement creatives, the related information by the related information is synchronized to the synchronous interface module of the service platform, and advertising platform;
  • the database is configured to store related information of the creative and the business video
  • the portal is configured to implement interaction between the user and the database and the video analysis platform;
  • the data synchronization interface module synchronizes creative synchronization information from the advertisement platform to the video analysis platform; and is configured to synchronize service video synchronization information from the service platform to the video analysis platform;
  • the associated information synchronization interface module is configured to synchronize the associated information from the video analytics platform to the advertising platform and the service platform.
  • the video analysis platform is further configured to perform background modeling and target detection on the advertisement video in the creative, extract a target of the motion to obtain a target object of the advertisement, and
  • the material target object is associated with the image in the first image collection that includes the creative target object, and the advertisement image in the creative material is used as a target object of the creative object and associated with the advertisement image to which the creative image belongs.
  • the target object is stored in the creative target object table in the database, and its state is set to unaudited; and the background modeling and target detection of the business video are performed, the target of the motion is extracted, the business video target object is obtained, and the service is determined.
  • the portal is configured to implement the interaction between the user and the database and the video analytics platform, including: querying the database for an unreviewed creative target object according to a user operation, and configuring an advertisement for the unreviewed creative target object according to a user operation.
  • the object identifies and modifies its status in the creative target object table as reviewed and not associated;
  • the video analytics platform compares the advertisement image in the advertisement image set with the service image in the service image collection, and the obtaining similarity includes:
  • the video analytics platform queries the database for the reviewed unassociated creative target object, receives the reviewed unassociated creative target object returned by the database, and obtains the associated unrecognized creative target object associated with the database. Advertising the image, comparing it with the business image in the business image collection, and obtaining similarity;
  • the video analysis platform is further configured to: when the second service picture in the service picture set is When the similarity of the advertisement image associated with the reviewed unassociated creative target object satisfies the first preset condition, the obtained advertisement target identifier of the reviewed unassociated creative target object is obtained as
  • the second service video target object configuration associated with the second service picture is identified by the same advertisement object as the reviewed unassociated creative target object, and the status of the reviewed unassociated creative target object in the database is modified. For the association, the state of the second service video target object in the database is modified to be associated.
  • the portal is further configured to: query the database for the unrecognized creative target object, obtain the reviewed unassociated creative target object, and analyze the video
  • the platform initiates a query request, receives a service picture subset returned by the video analysis platform, and selects a third service picture from the service picture subset according to a user operation, and associates the selected third service picture with the third service.
  • the video target object configures the same advertisement object identifier as the reviewed unassociated creative target object, and the status of the third business video target object in the modified database is associated, and the reviewed unassociated creative target is modified.
  • the state of the object is already associated;
  • the video analysis platform is further configured to: after receiving the query request sent by the portal, determine a third advertisement image associated with the creative target object carried in the query request, and find and describe in the service image set The service picture subset of the third advertisement picture satisfies the fourth preset condition, and the service picture subset is sent to the portal.
  • Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM).
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
  • a video analysis platform, a matching method, and a precise advertisement advertising method and system provided by the embodiments of the present invention have the following beneficial effects: by cutting a business video, an advertisement video, extracting a key frame, and extracting a feature value of the image, associating Business videos and creatives with similar similarities, business platforms and advertising platforms get business videos and their associated creatives, and the business platform plays creatives (advertising videos and/or advertising images) while playing business videos to achieve precision The performance of advertising related to business videos.

Abstract

Embodiments of the present application disclose a matching method, an accurate advertisement push method and system, and a video analysis platform. The matching method comprises: obtaining a resource to be matched, and extracting images from the resource to be matched, to obtain a first image set; obtaining a second video resource, and extracting images from the second video resource, to obtain a second image set; comparing the images in the first image set with the images in the second image set, to obtain a similarity level; and if a similarity level between a first image in the first image set and a second image in the second image set meets a first preset condition, associating the resource to be matched to which the first image belongs with the second video resource to which the second image belongs. In the technical solution provided in the embodiments of this application, association is performed automatically according to a similarity level by means of image processing, thereby reducing manual intervention, and achieving high association efficiency.

Description

一种视频分析平台、匹配方法、精准投放广告方法及系统Video analysis platform, matching method, accurate advertising method and system 技术领域Technical field
本发明涉及影像处理技术,尤指一种视频分析平台、匹配方法、精准投放广告方法及系统。The invention relates to an image processing technology, in particular to a video analysis platform, a matching method, a precise advertising method and a system.
背景技术Background technique
在点播视频播放的过程中,插播广告视频、广告图片,是目前常见的应用系统广告手段。在用户观看时,投放用户需要的广告会获得用户的高认可度,也越能使广告的目标得到实现。如果随机给用户投放广告,不但会引起用户的反感,而且可能引发用户对应用系统本身的排斥。In the process of on-demand video playback, inserting commercial videos and advertising images is a common application system advertising method. When the user views, the advertisements required by the user will be highly recognized by the user, and the more the goal of the advertisement can be achieved. If the advertisement is randomly given to the user, it will not only arouse the user's dislike, but may also cause the user to reject the application system itself.
在用户点播视频时投放广告,目前常用的精准投放技术包括:Advertising when users place video on demand, the currently used precision delivery technologies include:
第一种方案:分析获取到的用户资料、用户行为,投放用户可能需要的广告。该方案需要存储每个用户的信息,在用户比较多的情况下,占用大量空间。The first solution: analyze the obtained user data, user behavior, and deliver advertisements that the user may need. The solution needs to store the information of each user, and takes up a lot of space in the case of a large number of users.
第二种方案:进行人工干预,在视频的固定时间点定制插播广告。该方案对每个视频都需要人工干预,比较耗费人力,在视频量比较大时效率比较低。The second option: manual intervention, custom insert ads at a fixed point in time. The program requires manual intervention for each video, which is labor intensive and less efficient when the amount of video is large.
发明内容Summary of the invention
本发明实施例提供了一种匹配方法、精准投放广告方法及系统,以及一种视频分析平台,能够实现视频匹配,且降低空间占用、减少人工干预。Embodiments of the present invention provide a matching method, a method and system for accurately placing advertisements, and a video analysis platform, which can implement video matching, reduce space occupation, and reduce manual intervention.
为了达到本发明目的,本发明实施例提供了一种匹配方法,包括:In order to achieve the object of the present invention, an embodiment of the present invention provides a matching method, including:
获取待匹配资源,从所述待匹配资源中提取图片,获得第一图片集合;Obtaining a to-be-matched resource, extracting a picture from the to-be-matched resource, and obtaining a first picture set;
获取第二视频资源,根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;Obtaining a second video resource, and extracting a picture from the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource, to obtain a second picture set;
将所述第一图片集合中的图片和所述第二图片集合的图片进行比较, 获取相似度;Comparing the picture in the first picture set with the picture in the second picture set, Get similarity;
当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。When the similarity between the first picture in the first picture set and the second picture in the second picture set satisfies a first preset condition, the to-be-matched resource to which the first picture belongs and the first The second video resource to which the two pictures belong is associated.
可选的,从所述待匹配资源中提取图片或者从所述第二视频资源中提取图片包括:Optionally, extracting a picture from the to-be-matched resource or extracting a picture from the second video resource includes:
将所述待匹配资源中的待匹配视频或者所述第二视频资源作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the to-be-matched video or the second video resource in the to-be-matched resource as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the decoded video The input video is segmented according to the scenario, the segmented video is obtained, and the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where the segmented video set is The comparison result of any two divided videos satisfies the second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
可选的,所述从所述待匹配资源中提取图片包括:当所述待匹配资源中包括待匹配图片时,提取所述待匹配图片加入所述第一图片集合。Optionally, the extracting the picture from the to-be-matched resource includes: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set.
可选的,所述将解码后的输入视频根据场景进行分割包括:Optionally, the dividing the decoded input video according to the scenario includes:
根据所述输入视频中的背景、声音中一种或多种判断场景是否切换;Determining whether the scene is switched according to one or more of background and sound in the input video;
在所述输入视频中发生场景切换的位置进行分割。The position where the scene switching occurs in the input video is divided.
可选的,所述根据所述输入视频中的背景、声音中一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。Optionally, determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio signal. The energy curve obtains the position of the maximum value and the minimum value of the energy curve as the position at which the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance A distance threshold.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片包括: Optionally, the extracting the image from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video includes:
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
可选的,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:Optionally, the similarity between the first picture in the first picture set and the second picture in the second picture set that meets the first preset condition is:
所述第一图片和所述第二图片的相似度大于第一相似度阈值。The similarity between the first picture and the second picture is greater than a first similarity threshold.
可选的,所述将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度包括:Optionally, the comparing the picture in the first picture set with the picture in the second picture set, and obtaining the similarity includes:
根据通过深度学习算法获得的特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二 特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the picture in the first picture set according to the feature model obtained by the deep learning algorithm, and extracting a second picture in the second picture set according to the feature model The feature value compares the first feature value and the second feature value to obtain a similarity.
本发明实施例还提供一种视频分析平台,包括数据获取模块、视频图片分析处理层,其中:The embodiment of the invention further provides a video analysis platform, comprising a data acquisition module and a video picture analysis processing layer, wherein:
所述数据获取模块设置为,获取所述待匹配资源,以及,获取第二视频资源;The data acquisition module is configured to acquire the to-be-matched resource and acquire the second video resource.
所述视频图片分析处理层包括视频处理模块和图片分析模块,其中:The video picture analysis processing layer includes a video processing module and a picture analysis module, where:
所述视频处理模块设置为,从所述待匹配资源中提取图片,获得第一图片集合;根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;The video processing module is configured to: extract a picture from the to-be-matched resource to obtain a first picture set; and select one or more of the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource. Extracting a picture to obtain a second picture set;
所述图片分析模块设置为,将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The image analysis module is configured to compare the picture in the first picture set with the picture in the second picture set to obtain a similarity; when the first picture and the first picture in the first picture set When the similarity of the second picture in the second picture set satisfies the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
可选的,所述视频分析平台还包括视频解码层,用于将所述待匹配资源中的待匹配视频资源解码后作为输入视频传输至所述视频图片分析处理层,以及,对所述第二视频资源解码后作为输入视频传输至所述视频图片分析处理层;Optionally, the video analysis platform further includes a video decoding layer, configured to decode the to-be-matched video resource in the to-be-matched resource, and then transmit the video resource as an input video to the video image analysis processing layer, and After the second video resource is decoded, it is transmitted as an input video to the video picture analysis processing layer;
所述视频处理模块从所述待匹配资源中或所述第二视频资源中提取图片包括:The extracting, by the video processing module, the picture from the to-be-matched resource or the second video resource includes:
将所述的输入视频作为待提取视频;或者,将所述输入视频根据场景进行分割,获取分割视频,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;The input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained. The split video in the video is to be extracted, wherein the comparison result of any two divided videos in the split video set satisfies a second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。 Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
可选的,所述视频处理模块从所述待匹配资源中提取图片包括:当所述待匹配资源中包括待匹配图片时,提取所述待匹配图片加入所述第一图片集合。Optionally, the extracting, by the video processing module, the picture from the to-be-matched resource includes: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set.
可选的,所述视频处理模块包括视频分割单元,设置为根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割;以及,将各分割视频进行比较获取所述分割视频集合。Optionally, the video processing module includes a video segmentation unit, configured to determine whether the scene is switched according to one or more of a background and a sound in the input video, where the scene switching occurs in the input video. Segmenting; and comparing the divided videos to obtain the segmented video set.
可选的,所述视频分割单元根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。Optionally, determining, by the video segmentation unit, whether the scenario is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring The energy curve of the audio signal acquires the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve The distance is greater than the first distance threshold.
可选的,所述视频处理模块包括多模态提取关键帧单元,设置为根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片。Optionally, the video processing module includes a multi-modal extraction key frame unit, and is configured to extract a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. picture of.
可选的,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。 Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
可选的,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
可选的,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
可选的,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:Optionally, the similarity between the first picture in the first picture set and the second picture in the second picture set that meets the first preset condition is:
所述第一图片和所述第二图片的相似度大于第一相似度阈值。The similarity between the first picture and the second picture is greater than a first similarity threshold.
可选的,所述图片分析模块包括深度学习特征模型单元、关键帧特征提取单元和特征匹配关联单元,其中:Optionally, the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
所述深度学习特征模块单元设置为,通过深度学习算法对已标注样本进行学习,获得特征模型;The deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model;
所述关键帧特征提取单元设置为,根据所述特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值;The key frame feature extraction unit is configured to extract a first feature value of a picture in the first picture set according to the feature model, and extract a second feature value of the picture in the second picture set according to the feature model;
所述特征匹配关联单元设置为,将所述第一特征值和所述第二特征值进行比较,获取相似度,当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。 The feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity, in the first picture and the second picture set in the first picture set When the similarity of the second picture meets the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
本发明实施例还提供一种精准投放广告方法,包括:The embodiment of the invention further provides a method for accurately placing advertisements, including:
获取广告素材,从所述广告素材中提取图片,获得广告图片集合;Get the creative, extract the image from the creative, and get a collection of ad images;
获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;Obtaining a service video, extracting a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, to obtain a service picture set;
将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;Comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity;
当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。When the similarity between the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies a first preset condition, the first creative material and the location to which the first advertisement picture belongs The first service video to which the first service picture belongs is associated, and the association information is generated, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
可选的,从所述广告素材中提取图片或者从所述业务视频中提取图片包括:Optionally, extracting a picture from the creative or extracting a picture from the business video includes:
将所述广告素材中的广告视频或者所述业务视频作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the advertisement video or the service video in the creative as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the input video according to the scene Performing segmentation, obtaining a segmented video, comparing the divided videos, and obtaining a segmented video set according to the comparison result, and using the segmented video in the segmented video set as a to-be-extracted video, where any two segments in the segmented video set are segmented The comparison result of the video satisfies the second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
可选的,从所述广告素材中提取图片包括:当所述广告素材中包括广告图片时,提取所述广告图片加入所述广告图片集合。Optionally, extracting the image from the creative material includes: when the advertisement image includes an advertisement image, extracting the advertisement image to join the advertisement image collection.
可选的,所述将解码后的输入视频根据场景进行分割包括:Optionally, the dividing the decoded input video according to the scenario includes:
根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换;在所述输入视频中发生场景切换的位置进行分割。 Determining whether the scene is switched according to one or more of the background and the sound in the input video; and dividing the position where the scene switching occurs in the input video.
可选的,所述根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。Optionally, determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio. The energy curve of the signal obtains the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance The first distance threshold.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
可选的,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, extracting, according to one or more images, sounds, and subtitles of the to-be-extracted video, a video frame from the to-be-extracted video as the extracted image includes:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position is taken as the extracted picture.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。 Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
可选的,所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:Optionally, the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, that is:
所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
可选的,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:Optionally, comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity includes:
根据通过深度学习算法获得的特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the image in the advertisement picture set according to the feature model obtained by the deep learning algorithm, extracting a second feature value of the picture in the service picture set according to the feature model, and using the first feature value and The second feature values are compared to obtain a similarity.
可选的,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。Optionally, the association information further includes: insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is in the first according to the first service picture. The location in a business video is determined.
可选的,所述方法还包括:Optionally, the method further includes:
对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;Performing background modeling and target detection on the service video, extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video belongs, and the service video target An object is associated with a picture of the service picture set that includes the service video target object;
所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现时间和消失时间决定。The associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
可选的,所述方法还包括:Optionally, the method further includes:
对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联; Performing background modeling and target detection on the advertisement video in the creative, extracting the target of the motion to obtain the creative target object, and including the creative target object and the first image set containing the creative target object The image is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。Acquiring the first advertisement associated with the first advertisement image when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition The target object is configured with an advertisement object identifier, and the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image The associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
可选的,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。Optionally, the association information further includes an advertisement object identifier that is configured by the first creative target object.
可选的,所述方法还包括:Optionally, the method further includes:
接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的业务第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first And a fourth set of service picture sub-sets, the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service The second business video to which the video target object belongs is associated.
本发明实施例还提供一种视频分析平台,包括数据获取模块、视频图片分析处理层,所述视频图片分析处理层包括视频处理模块和图片分析模块,其中:The embodiment of the present invention further provides a video analysis platform, including a data acquisition module and a video image analysis processing layer, where the video image analysis processing layer includes a video processing module and a picture analysis module, where:
所述数据获取模块设置为,获取广告素材,以及,获取业务视频;The data acquisition module is configured to acquire a creative material and obtain a business video;
所述视频处理模块设置为,从所述广告素材中提取图片,获得广告图片集合;以及,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;The video processing module is configured to: extract a picture from the creative material to obtain an advertisement picture set; and extract a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, Obtain a collection of business images;
所述图片分析模块设置为,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合 中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The image analysis module is configured to compare the advertisement image in the advertisement image collection with the business image in the business image collection to obtain a similarity; when the advertisement image collection When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
可选的,所述视频分析平台还包括视频解码层,用于将所述广告素材中的广告视频进行解码作为输入视频传输至所述视频图片分析处理层,以及,对所述业务视频进行解码后作为输入视频传输至所述视频图片分析处理层;Optionally, the video analytics platform further includes a video decoding layer, configured to decode the advertisement video in the creative as an input video to the video image analysis processing layer, and decode the service video. And then transmitted as an input video to the video picture analysis processing layer;
所述视频处理模块从所述广告素材中提取图片或者从所述业务视频中提取图片包括:The video processing module extracting a picture from the creative or extracting a picture from the business video includes:
将所述的输入视频作为待提取视频;或者,将所述输入视频根据场景进行分割,获取分割视频,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;The input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained. The split video in the video is to be extracted, wherein the comparison result of any two divided videos in the split video set satisfies a second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
可选的,所述视频处理模块从所述广告素材中提取图片包括:当所述广告素材中包括广告图片时,提取所述广告图片加入所述广告图片集合。Optionally, the video processing module extracting the image from the creative material includes: when the advertisement material includes an advertisement image, extracting the advertisement image to join the advertisement image collection.
可选的,所述视频处理模块包括视频分割单元,设置为根据所述输入视频中的背景、声音中一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割。Optionally, the video processing module includes a video segmentation unit, configured to determine whether the scene is switched according to one or more of a background and a sound in the input video, and perform segmentation at a position where the scene switching occurs in the input video. .
可选的,所述视频分割单元根据所述输入视频中的背景、声音中一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。 Optionally, determining, by the video segmentation unit, whether the scenario is switched according to one or more of the background and the sound in the input video comprises: converting the audio signal in the input video from a time domain to a frequency domain, and acquiring The energy curve of the audio signal is obtained, and the position of the maximum value and the minimum value of the energy curve is obtained as a position where the scene switching occurs, and the position of the adjacent two scenes that are acquired according to the energy curve is satisfied. The distance is greater than the first distance threshold.
可选的,所述视频处理模块包括多模态提取关键帧单元,设置为根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片。Optionally, the video processing module includes a multi-modal extraction key frame unit, and is configured to extract a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. picture of.
可选的,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
可选的,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position is taken as the extracted picture.
可选的,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the multi-modal extraction key frame unit extracts a video frame from the to-be-extracted video as the extracted image according to one or more of the image, the sound, and the subtitle of the to-be-extracted video.
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧作为提取的图片;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提 取视频的音频进行语音识别获取。Searching for a subtitle of the to-be-extracted video, if a preset keyword is searched, extracting a video frame corresponding to the subtitle containing the keyword as the extracted image; wherein the subtitle of the to-be-extracted video is from the Obtained in the subtitle file that is to be extracted from the video or Take the audio of the video for speech recognition.
可选的,所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:Optionally, the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, that is:
所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
可选的,所述图片分析模块包括深度学习特征模型单元、关键帧特征提取单元和特征匹配关联单元,其中:Optionally, the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
所述深度学习特征模块单元设置为,通过深度学习算法对已标注样本进行学习,获得特征模型;The deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model;
所述关键帧特征提取单元设置为,根据特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值;The key frame feature extraction unit is configured to extract a first feature value of the image in the advertisement image set according to the feature model, and extract a second feature value of the image in the service image set according to the feature model;
所述特征匹配关联单元设置为,将所述第一特征值和所述第二特征值进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity; when the first advertisement picture and the service picture set in the advertisement picture set When the similarity of the first service picture satisfies the first preset condition, the first creative material to which the first advertisement picture belongs and the first service video to which the first service picture belongs are associated, and the associated information is generated. The association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
可选的,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。Optionally, the association information further includes: insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is in the first according to the first service picture. The location in a business video is determined.
可选的,所述视频处理模块还包括:背景建模单元和目标检测单元,其中:Optionally, the video processing module further includes: a background modeling unit and a target detection unit, where:
所述背景建模单元设置为,对所述业务视频进行背景建模;The background modeling unit is configured to perform background modeling on the service video;
所述目标检测单元设置为,对所述业务视频进行目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业 务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;The target detecting unit is configured to perform target detection on the service video, extract a target of the motion to obtain a service video target object, and determine that the service video target object belongs to the business An appearance time and a disappearing time in the service video, the service video target object is associated with a picture of the service picture set that includes the service video target object;
所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现时间和消失时间决定。The associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
可选的,所述背景建模单元还设置为,对所述广告素材中的广告视频进行背景建模;Optionally, the background modeling unit is further configured to perform background modeling on the advertisement video in the creative;
所述目标检测单元还设置为,对所述广告素材中的广告视频进行目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;The target detecting unit is further configured to perform target detection on the advertisement video in the creative, extract a target of the motion to obtain a creative target object, and include the target object in the creative and the first image collection The image of the creative target object is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
所述图片分析模块还设置为,当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。The image analysis module is further configured to: when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, acquire the An advertisement object identifier configured by the first creative target object associated with an advertisement image, and an advertisement object identifier identical to the first creative target object configured for the first service video target object associated with the first service image And indicating that the first creative material to which the first advertisement image belongs is associated with the first service video to which the first service image belongs, wherein the advertisement object identifier indicates that the first creative target object is targeted Advertising theme.
可选的,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。Optionally, the association information further includes an advertisement object identifier that is configured by the first creative target object.
可选的,所述图片分析模块还设置为:Optionally, the image analysis module is further configured to:
接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图 片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first Four preset business picture sub-sets, the business graph Sending a set of slices to the portal, so that the portal selects a second service picture from the subset of service pictures according to a user operation, and configures a second service video target object associated with the selected second service picture with the The second creative target object has the same advertisement object identifier, thereby indicating that the second creative object to which the second creative target object belongs is associated with the second business video to which the second business video target object belongs.
本发明实施例还提供一种视频分析平台,包括:存储器和处理器,其中:The embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
所述存储器,设置为存放程序;The memory is configured to store a program;
所述处理器,执行所述程序,以设置为:获取待匹配资源,从所述待匹配资源中提取图片,获得第一图片集合;获取第二视频资源,根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The processor is configured to: obtain a resource to be matched, extract a picture from the to-be-matched resource, obtain a first picture set, and acquire a second video resource according to the image of the second video resource And extracting a picture from the second video resource to obtain a second picture set; comparing the picture in the first picture set with the picture in the second picture set, and obtaining Similarity; when the similarity of the first picture in the first picture set and the second picture in the second picture set meets the first preset condition, the to-be-matched resource to which the first picture belongs The second video resource to which the second picture belongs is associated.
可选的,所述从所述待匹配资源中提取图片或者从所述第二视频资源中提取图片包括:Optionally, the extracting a picture from the to-be-matched resource or extracting a picture from the second video resource includes:
将所述待匹配资源中的待匹配视频或者所述第二视频资源作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the to-be-matched video or the second video resource in the to-be-matched resource as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the decoded video The input video is segmented according to the scenario, the segmented video is obtained, and the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where the segmented video set is The comparison result of any two divided videos satisfies the second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
可选的,所述将解码后的输入视频根据场景进行分割包括: Optionally, the dividing the decoded input video according to the scenario includes:
根据所述输入视频中的背景、声音中一种或多种判断场景是否切换;Determining whether the scene is switched according to one or more of background and sound in the input video;
在所述输入视频中发生场景切换的位置进行分割。The position where the scene switching occurs in the input video is divided.
可选的,所述根据所述输入视频中的背景、声音中一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。Optionally, determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio signal. The energy curve obtains the position of the maximum value and the minimum value of the energy curve as the position at which the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance A distance threshold.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片包括:Optionally, the extracting the image from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video includes:
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从 所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the video to be extracted is from Obtaining or performing voice recognition acquisition on the audio of the to-be-extracted video.
可选的,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:Optionally, the similarity between the first picture in the first picture set and the second picture in the second picture set that meets the first preset condition is:
所述第一图片和所述第二图片的相似度大于第一相似度阈值。The similarity between the first picture and the second picture is greater than a first similarity threshold.
可选的,所述将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度包括:Optionally, the comparing the picture in the first picture set with the picture in the second picture set, and obtaining the similarity includes:
根据通过深度学习算法获得的特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the picture in the first picture set according to the feature model obtained by the deep learning algorithm, and extracting a second feature value of the picture in the second picture set according to the feature model, and using the first feature The value is compared with the second eigenvalue to obtain a similarity.
本发明实施例还提供一种视频分析平台,包括:存储器和处理器,其中:The embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
所述存储器,设置为存放程序;The memory is configured to store a program;
所述处理器,执行所述程序,以设置为:获取广告素材,从所述广告素材中提取图片,获得广告图片集合;获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The processor executing the program to: obtain a creative, extract a picture from the creative, obtain an advertisement picture set; obtain a service video, according to one of an image, a sound, and a subtitle of the service video Or extracting a picture from the service video to obtain a service picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity; when the advertisement picture set When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
可选的,从所述广告素材中提取图片或者从所述业务视频中提取图片包括:Optionally, extracting a picture from the creative or extracting a picture from the business video includes:
将所述广告素材中的广告视频或者所述业务视频作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进 行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the advertisement video or the service video in the creative as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the input video according to the scene Divide, get the split video, and enter each split video Performing a row comparison, obtaining a segmented video set according to the comparison result, and using the segmented video in the segmented video set as a to-be-extracted video, wherein a comparison result of any two divided videos in the segmented video set satisfies a second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
可选的,所述将解码后的输入视频根据场景进行分割包括:Optionally, the dividing the decoded input video according to the scenario includes:
根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换;在所述输入视频中发生场景切换的位置进行分割。Determining whether the scene is switched according to one or more of the background and the sound in the input video; and dividing the position where the scene switching occurs in the input video.
可选的,所述根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。Optionally, determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring the audio. The energy curve of the signal obtains the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies: the position of the adjacent two scenes that are acquired according to the energy curve is greater than the distance The first distance threshold.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
可选的,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, extracting, according to one or more images, sounds, and subtitles of the to-be-extracted video, a video frame from the to-be-extracted video as the extracted image includes:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信 号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting the audio signal in the to-be-extracted video from the time domain to the frequency domain, and acquiring the audio signal The energy curve of the number obtains the position of the maximum value and the minimum value of the energy curve, and extracts the video frame corresponding to the position of the maximum value and the minimum value as the extracted picture.
可选的,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:Optionally, the extracting the video frame from the to-be-extracted video according to one or more of the image, the sound, and the subtitle of the to-be-extracted video, as the extracted image, includes:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
可选的,,所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:Optionally, the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, where:
所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
可选的,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:Optionally, comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity includes:
根据通过深度学习算法获得的特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the image in the advertisement picture set according to the feature model obtained by the deep learning algorithm, extracting a second feature value of the picture in the service picture set according to the feature model, and using the first feature value and The second feature values are compared to obtain a similarity.
可选的,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。Optionally, the association information further includes: insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is in the first according to the first service picture. The location in a business video is determined.
可选的,所述处理器执行所述程序,还设置为:Optionally, the processor executes the program, and is further configured to:
对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;Performing background modeling and target detection on the service video, extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video belongs, and the service video target An object is associated with a picture of the service picture set that includes the service video target object;
所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放 时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现时间和消失时间决定。The association information further includes that the first creative material plays on the first service video The interpolated location information is performed, and the interpolated location information is determined according to an appearance time and a disappearing time of the first service video target object associated with the first service picture in the first service video.
可选的,所述处理器执行所述程序,还设置为:Optionally, the processor executes the program, and is further configured to:
对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;Performing background modeling and target detection on the advertisement video in the creative, extracting the target of the motion to obtain the creative target object, and including the creative target object and the first image set containing the creative target object The image is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。Acquiring the first advertisement associated with the first advertisement image when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition The target object is configured with an advertisement object identifier, and the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image The associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
可选的,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。Optionally, the association information further includes an advertisement object identifier that is configured by the first creative target object.
可选的,所述处理器执行所述程序,还设置为:Optionally, the processor executes the program, and is further configured to:
接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的业务第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first And a fourth set of service picture sub-sets, the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service The second business video to which the video target object belongs is associated.
本发明实施例还提供一种精准投放广告系统,包括视频分析平台、数 据库、门户、数据同步接口模块和关联信息同步接口模块,其中,The embodiment of the invention further provides an accurate advertising system, including a video analysis platform and a number Database, portal, data synchronization interface module and associated information synchronization interface module, wherein
所述视频分析平台用于:通过所述数据同步接口模块从广告平台同步广告素材同步信息,根据所述广告素材同步信息获取广告素材,从所述广告素材中提取图片,获得广告图片集合;通过所述数据同步接口模块从业务平台同步业务视频同步信息,根据所述业务视频同步信息获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息,将所述关联信息通过所述关联信息同步接口模块同步到所述广告平台和所述业务平台;The video analysis platform is configured to: synchronize the creative synchronization information from the advertisement platform by using the data synchronization interface module, obtain the creative material according to the creative synchronization information, extract a picture from the creative material, obtain a set of advertisement images; The data synchronization interface module synchronizes the service video synchronization information from the service platform, acquires the service video according to the service video synchronization information, and extracts the service video according to one or more of the image, sound and subtitle of the service video. a picture, obtaining a business picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the business picture set to obtain a similarity; when the first advertisement picture and the service in the advertisement picture set Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs, and generating the similarity of the first service image in the image collection Correlation information, where the association information includes: an identification letter of the first service video Identification information of the first advertisement creatives, the related information by the related information is synchronized to the synchronous interface module of the service platform, and advertising platform;
所述数据库,用于存储所述广告素材和业务视频的相关信息;The database is configured to store related information of the creative and the business video;
所述门户,用于实现用户与所述数据库、视频分析平台的交互;The portal is configured to implement interaction between the user and the database and the video analysis platform;
所述数据同步接口模块,将广告素材同步信息从所述广告平台同步到所述视频分析平台;设置为将业务视频同步信息从所述业务平台同步到所述视频分析平台;The data synchronization interface module synchronizes creative synchronization information from the advertisement platform to the video analysis platform; and is configured to synchronize service video synchronization information from the service platform to the video analysis platform;
所述关联信息同步接口模块,设置为将所述关联信息从所述视频分析平台同步到所述广告平台和所述业务平台。The associated information synchronization interface module is configured to synchronize the associated information from the video analytics platform to the advertising platform and the service platform.
可选的,所述视频分析平台还用于,对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联,将所述广告素材目标对象存入数据库中的广告素材目标对象表,将其状态设置为未审核;以及,对所述业务视频进行 背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联,将所述业务视频目标对象存入数据库中的业务视频目标对象表,将其状态设置为未审核;Optionally, the video analysis platform is further configured to perform background modeling and target detection on the advertisement video in the creative, extract a target of the motion to obtain a target object of the creative, and target the target object of the creative. The image in the first image collection that includes the target object of the creative is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which the creative belongs, and the target object of the creative is stored in the database. The creative target object table in , setting its status to unreviewed; and, performing the business video Background modeling and target detection, extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video object belongs, and the service video target object and the service image The set includes the picture of the service video target object to be associated, and the service video target object is stored in the service video target object table in the database, and the status is set to unaudited;
所述门户用于实现用户与所述数据库、视频分析平台的交互包括:根据用户操作向所述数据库查询未审核的广告素材目标对象,根据用户操作为未审核的所述广告素材目标对象配置广告对象标识并修改广告素材目标对象表中其状态为已审核未关联;The portal is configured to implement the interaction between the user and the database and the video analytics platform, including: querying the database for an unreviewed creative target object according to a user operation, and configuring an advertisement for the unreviewed creative target object according to a user operation. The object identifies and modifies its status in the creative target object table as reviewed and not associated;
所述视频分析平台将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:The video analytics platform compares the advertisement image in the advertisement image set with the service image in the service image collection, and the obtaining similarity includes:
所述视频分析平台向所述数据库查询已审核未关联的广告素材目标对象,接收所述数据库返回的已审核未关联的广告素材目标对象,获取该已审核未关联的广告素材目标对象所关联的广告图片,将其与所述业务图片集合中的业务图片进行比较,获取相似度;The video analytics platform queries the database for the reviewed unassociated creative target object, receives the reviewed unassociated creative target object returned by the database, and obtains the associated unrecognized creative target object associated with the database. Advertising the image, comparing it with the business image in the business image collection, and obtaining similarity;
所述视频分析平台还用于,当所述业务图片集合中的第二业务图片与所述已审核未关联的广告素材目标对象所关联的广告图片的相似度满足所述第一预设条件时,获取所述已审核未关联的广告素材目标对象被配置的广告对象标识,为所述第二业务图片所关联的第二业务视频目标对象配置与所述已审核未关联的广告素材目标对象被相同的广告对象标识,修改数据库中所述已审核未关联的广告素材目标对象的状态为已关联,修改数据库中所述第二业务视频目标对象的状态为已关联。The video analysis platform is further configured to: when the similarity between the second service image in the service image set and the advertisement image associated with the reviewed unrelated creative target object satisfies the first preset condition Obtaining an advertisement object identifier configured by the reviewed unassociated creative target object, and configuring, for the second service video target object associated with the second service image, the creative target object that is not associated with the audited The same advertisement object identifier, the status of the reviewed unassociated creative target object in the database is modified, and the status of the second business video target object in the modified database is associated.
可选的,所述门户还用于,向所述数据库查询已审核未关联的广告素材目标对象,获取所述已审核未关联的广告素材目标对象后,向所述视频分析平台发起查询请求,接收所述视频分析平台返回的业务图片子集合,以及,根据用户操作从所述业务图片子集合中选择第三业务图片,将所选的第三业务图片关联的第三业务视频目标对象配置与所述已审核未关联 的广告素材目标对象相同的广告对象标识,修改数据库中所述第三业务视频目标对象的状态为已关联,修改所述已审核未关联的广告素材目标对象的状态为已关联;Optionally, the portal is further configured to: query the database for the audited unassociated creative target object, obtain the reviewed unassociated creative target object, and initiate a query request to the video analytics platform, Receiving a service picture subset returned by the video analysis platform, and selecting a third service picture from the service picture subset according to a user operation, and configuring a third service video target object associated with the selected third service picture The reviewed is not associated The creative target object has the same advertisement object identifier, and the status of the third business video target object in the database is modified to be associated, and the status of the reviewed unassociated creative target object is modified to be associated;
所述视频分析平台还用于,接收到所述门户发送的查询请求后,确定与该查询请求中携带的广告素材目标对象关联的第三广告图片,在所述业务图片集合中查找与所述第三广告图片的相似度满足第四预设条件的所述业务图片子集合,将所述业务图片子集合发送给所述门户。The video analysis platform is further configured to: after receiving the query request sent by the portal, determine a third advertisement image associated with the creative target object carried in the query request, and find and describe in the service image set The service picture subset of the third advertisement picture satisfies the fourth preset condition, and the service picture subset is sent to the portal.
根据本发明的又一个实施例,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行上述任一项所述的方法。According to still another embodiment of the present invention, there is also provided a storage medium comprising a stored program, wherein the program is executed to perform the method of any of the above.
根据本发明的又一个实施例,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述任一项所述的方法。According to still another embodiment of the present invention, there is also provided a processor for running a program, wherein the program is executed to perform the method of any of the above.
与现有技术相比,本发明实施例中,通过对业务视频、广告视频进行切割、提取关键帧、提取图片特征值,关联相似度高的业务视频和广告素材,业务平台和广告平台获得业务视频及其关联的广告素材,业务平台在播放业务视频的同时,播放广告素材(广告视频和/或广告图片),以达到精准投放业务视频相关的广告的效果。Compared with the prior art, in the embodiment of the present invention, the service platform and the advertisement platform obtain the service by cutting the business video and the advertisement video, extracting the key frame, extracting the feature value of the image, and associating the business video and the creative material with high similarity. The video and its associated creatives, the business platform plays the creative video (advertising video and / or advertising image) while playing the business video, in order to achieve the effect of accurately advertising the business video.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention may be realized and obtained by means of the structure particularly pointed in the appended claims.
附图说明DRAWINGS
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The drawings are used to provide a further understanding of the technical solutions of the present invention, and constitute a part of the specification, which together with the embodiments of the present application are used to explain the technical solutions of the present invention, and do not constitute a limitation of the technical solutions of the present invention.
图1为本发明实施例精准投放广告系统框图;1 is a block diagram of an accurate advertising system according to an embodiment of the present invention;
图2为本发明实施例视频分析平台数据结构示意图; 2 is a schematic diagram of a data structure of a video analysis platform according to an embodiment of the present invention;
图3为本发明实施例精准投放广告方法流程图;3 is a flowchart of a method for accurately placing advertisements according to an embodiment of the present invention;
图4为本发明实施例单机方式实现的精准投放广告系统框图;4 is a block diagram of a precise advertisement system implemented by a stand-alone mode according to an embodiment of the present invention;
图5为本发明实施例单机方式实现的精准投放广告系统业务流程图;FIG. 5 is a flow chart of the service of the accurate advertisement advertisement system realized by the single machine mode according to the embodiment of the present invention; FIG.
图6为本发明实施例分布式方式实现的精准投放广告系统框图;6 is a block diagram of a precise delivery advertising system implemented in a distributed manner according to an embodiment of the present invention;
图7为本发明实施例分布式方式实现的精准投放广告系统业务流程图;FIG. 7 is a flowchart of a service of a precision delivery advertisement system implemented in a distributed manner according to an embodiment of the present invention;
图8为本发明实施例IPTV精准投放广告系统架构图;8 is a structural diagram of an IPTV accurate advertisement advertising system according to an embodiment of the present invention;
图9为本发明实施例IPTV精准投放广告业务流程图;FIG. 9 is a flowchart of an IPTV accurate advertisement advertising service according to an embodiment of the present invention;
图10为本发明实施例视频播放软件精准投放广告系统架构图;10 is a structural diagram of a video playback software accurate advertising system according to an embodiment of the present invention;
图11为本发明实施例视频播放软件精准投放广告业务流程图。FIG. 11 is a flowchart of accurately placing an advertisement service of a video playing software according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本发明实施例中,利用视频分析和图像处理技术对业务视频和广告素材(视频和/或图片)进行处理,获取相似度信息,根据相似度对业务视频和广告素材进行关联,实现自动关联。In the embodiment of the present invention, the video and the image (or video and/or image) are processed by the video analysis and the image processing technology to obtain the similarity information, and the business video and the creative are associated according to the similarity to realize automatic association.
本发明实施例提供一种匹配方法,包括:An embodiment of the present invention provides a matching method, including:
获取待匹配资源,从所述待匹配资源中提取图片获得第一图片集合;Obtaining a to-be-matched resource, and extracting a picture from the to-be-matched resource to obtain a first picture set;
获取第二视频资源,从所述第二视频资源中提取图片组成第二图片集合;Obtaining a second video resource, and extracting a picture from the second video resource to form a second picture set;
将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度; Comparing the picture in the first picture set with the picture in the second picture set to obtain a similarity;
当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。When the similarity between the first picture in the first picture set and the second picture in the second picture set satisfies a first preset condition, the to-be-matched resource to which the first picture belongs and the first The second video resource to which the two pictures belong is associated.
其中,待匹配资源可能包括多个待匹配视频资源和/或待匹配图片,第二视频资源可能包括多个视频资源。从所述待匹配资源中提取第一图片集合包括:如果所述待匹配资源中包括待匹配视频资源,从所述待匹配视频资源中提取视频帧加入第一图片集合,如果所述待匹配资源包括待匹配图片,则直接将所述待匹配图片加入所述第一图片集合。The to-be-matched resource may include multiple to-be-matched video resources and/or to-be-matched pictures, and the second video resource may include multiple video resources. Extracting the first picture set from the to-be-matched resource includes: if the to-be-matched resource includes a to-be-matched video resource, extracting a video frame from the to-be-matched video resource to join the first picture set, if the to-be-matched resource Including the picture to be matched, the picture to be matched is directly added to the first picture set.
在本发明一实施例中,所述待匹配资源中也可能只包括待匹配图片,则从待匹配资源中提取图片时,只需直接待匹配图片获得第一图片集合。In an embodiment of the present invention, the to-be-matched resource may only include the to-be-matched picture, and when the picture is to be extracted from the to-be-matched resource, the first picture set is obtained by directly waiting for the matching picture.
在本发明的一实施例中,从所述待匹配资源中提取图片或者从所述第二视频资源中提取图片包括:In an embodiment of the present invention, extracting a picture from the to-be-matched resource or extracting a picture from the second video resource includes:
将所述待匹配资源或者所述第二视频资源作为输入视频,对所述输入视频进行解码后,直接从解码后的输入视频中提取图片;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各场景的分割视频进行比较获取分割视频集合,从所述分割视频集合中的分割视频提取图片,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件。After the input video is decoded, the to-be-matched resource or the second video resource is used as an input video, and the image is directly extracted from the decoded input video; or the decoded input video is segmented according to the scene. Obtaining a segmented video, comparing the segmented videos of the scenes to obtain a segmented video set, and extracting a picture from the segmented video in the segmented video set, wherein a comparison result of any two divided videos in the segmented video set satisfies a second Preset conditions.
即,本发明实施例中,可以直接从待匹配资源中的待匹配视频资源中提取视频帧,也可以将待匹配视频资源按照场景进行分割获得分割视频后,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,从分割视频集合中的分割视频中提取视频帧。可以直接从第二视频资源中提取视频帧,也可以将第二视频资源按照场景进行分割获得分割视频后,将各分割视频进行比较,根据比较结果获取分割视频集合,从分割视频集合中的分割视频提取视频帧。That is, in the embodiment of the present invention, the video frame may be directly extracted from the to-be-matched video resource in the to-be-matched resource, or the video resource to be matched may be segmented according to the scene to obtain the segmented video, and the segmented videos of each scene are compared. Obtaining a segmented video set according to the comparison result, and extracting a video frame from the segmented video in the segmented video set. The video frame may be directly extracted from the second video resource, or the second video resource may be segmented according to the scene to obtain a segmented video, and then the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmentation is performed from the segmented video set. The video is extracted from the video frame.
在本发明的一实施例中,所述待匹配资源中包括待匹配图片时,从所述待匹配资源中提取图片包括:提取所述待匹配图片加入所述第一图片集 合。In an embodiment of the present invention, when the to-be-matched resource includes a to-be-matched picture, extracting the picture from the to-be-matched resource includes: extracting the to-be-matched picture to join the first picture set Hehe.
下面说明一下如何根据场景进行视频分割。一个视频中通常会包含多个场景,可以通过背景或者声音来判断场景是否变换。比如,从室内换到室外,场景发生切换,又比如,背景音从街道噪音转换为工厂噪音,则发生场景切换,从汽车噪音转换为会场噪音,则发生场景切换。在本发明的一实施例中,所述将解码后的输入视频根据场景进行分割包括:Here's how to split the video according to the scene. A video usually contains multiple scenes, and the background or sound can be used to determine whether the scene changes. For example, when switching from indoor to outdoor, the scene is switched. For example, when the background sound is converted from street noise to factory noise, scene switching occurs, and from car noise to venue noise, scene switching occurs. In an embodiment of the invention, the dividing the decoded input video according to the scene includes:
根据所述输入视频中的背景、声音中一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割。Determining whether the scene is switched according to one or more of the background and the sound in the input video, and dividing the position where the scene switching occurs in the input video.
即,可以只通过背景来判断场景是否变换,也可以通过声音来判断场景是否变换,或者,通过背景和声音来判断场景是否变换。That is, it is possible to judge whether the scene is changed only by the background, or to determine whether the scene is changed by sound, or to determine whether the scene is changed by the background and the sound.
在本发明的一实施例中,根据背景判断场景是否切换包括:对输入视频进行背景估计,背景更新处理,比较相邻的背景图片判断是否为同一场景。其中,提取背景估计时,可以根据输入视频的几个连续帧进行背景估计,比如,可以使用3个连续视频帧进行背景估计,比较背景图片时,可以提取背景图片的全局特征,获取相邻的两个背景图片的全局特征的汉明距离,来判断相邻背景图片是否为同一场景。其中,可以使用混合高斯模型(GMM)算法实现所述背景估计、背景图片更新等过程。该方法仅为示例,可以根据需要采取其他判断其他方式提取背景,判断背景是否变化,比如,比较背景图片时,也可以使用其他比较算法,判断背景图片是否为同一场景。本申请对此不作限定。In an embodiment of the present invention, determining whether the scene is switched according to the background includes: performing background estimation on the input video, and performing background update processing to compare whether the adjacent background pictures determine whether the scene is the same scene. When extracting the background estimation, the background estimation may be performed according to several consecutive frames of the input video. For example, three consecutive video frames may be used for background estimation, and when the background image is compared, the global feature of the background image may be extracted to obtain adjacent The Hamming distance of the global features of the two background images is used to determine whether the adjacent background image is the same scene. The background estimation, the background image update, and the like may be implemented by using a mixed Gaussian model (GMM) algorithm. This method is only an example. You can use other methods to extract the background and determine whether the background changes. For example, when comparing background images, you can use other comparison algorithms to determine whether the background image is the same scene. This application does not limit this.
在本发明的一实施例中,所述根据所述输入视频中的声音判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足,根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。相邻的极大值或极小值可能距离很小,在进行场景分割时,只提取距离大于第一距离阈值的极大值和极小值,进行场景分割,距离小于第一距离阈值的极大值和极小值忽略。其 中,将音频信号从时域转换到频域时,采取抑制语音所在频段信号的处理。当然,此处根据声音判断场景是否切换的实现方式仅为一示例,也可以采用其他方式对音频进行处理来判断场景是否切换,比如,提取音频中的背景音,通过背景音判断场景是否变化。In an embodiment of the present invention, determining whether the scene is switched according to the sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain, and acquiring an energy curve of the audio signal. Obtaining a position of the maximum value and the minimum value of the energy curve as a position where the scene switching occurs, and satisfying, where the distance between two adjacent scenes acquired according to the energy curve is greater than the first distance threshold . Adjacent maxima or minima may have a small distance. When performing scene segmentation, only the maximum and minimum values whose distance is greater than the first distance threshold are extracted, and the scene segmentation is performed. The distance is less than the pole of the first distance threshold. Large and small values are ignored. Its In the process of converting the audio signal from the time domain to the frequency domain, the process of suppressing the signal of the frequency band in which the voice is located is taken. Certainly, the implementation manner of determining whether the scene is switched according to the sound is only an example. The audio may be processed in other manners to determine whether the scene is switched. For example, the background sound in the audio is extracted, and the background sound is used to determine whether the scene changes.
在本发明的一实施例中,将各分割视频进行比较获取分割视频集合的一种实现方式为:从分割视频中提取背景图片(背景图片可以根据前面根据场景进行分割时进行背景估计、背景更新过程中获得),比较各分割视频的背景图片获得相似程度,如果两个分割视频的背景图片的相似程度满足第二预设条件,则判断两个分割视频的场景不相似,如果两个分割视频的背景图片的相似程度不满足第二预设条件,则判断两个分割视频场景相似,可以删除场景相似的两个分割视频中的一个,对全部分割视频进行比较并且只保留两个相似的分割视频中的一个,保留下来的分割视频也需要互相比较,最终得到分割视频集合,从而使得分割视频集合中的分割视频均满足第二预设条件。该方案可以合并相似的场景,减少分割视频的数量,从而减少最终提取的视频帧的数量,提高系统处理速度,降低存储需求。当然,在本发明的其他实施例中,也可以不采用背景图片来进行分割视频的比较,采取其他方式对分割视频进行比较从而判断分割视频是否相似。另外,也可以在后续已提取视频帧之后,用各分割视频中提取的视频帧进行比较来判断分割视频是否相似。第二预设条件可以根据需要设定,第二预设条件的设定关系到分割视频的数量。如果希望分割视频少一些,则判断分割视频是否相似的条件可以宽泛一些,从而被判断为相似的分割视频数量增加,提取到分割视频集合中的分割视频数量减少。如果希望分割视频多一些,则判断分割视频是否相似的条件可以严格一些,从而被判断为相似的分割视频数量减少,提取到分割视频集合中的分割视频数量增多。具体可根据需要设定第二预设条件。In an embodiment of the present invention, an implementation manner of comparing and dividing each divided video to obtain a divided video set is: extracting a background image from the divided video (the background image may be subjected to background estimation and background update according to the previous segmentation according to the scene) Obtaining in the process, comparing the background images of the divided videos to obtain a degree of similarity. If the similarity degree of the background images of the two divided videos satisfies the second preset condition, it is determined that the scenes of the two divided videos are not similar, if the two divided videos are If the degree of similarity of the background image does not satisfy the second preset condition, it is determined that the two divided video scenes are similar, and one of the two divided videos with similar scenes may be deleted, and all the divided videos are compared and only two similar segments are reserved. One of the videos, the retained split video also needs to be compared with each other, and finally the split video set is obtained, so that the split video in the split video set satisfies the second preset condition. The scheme can merge similar scenes, reduce the number of divided videos, thereby reducing the number of video frames finally extracted, improving system processing speed, and reducing storage requirements. Of course, in other embodiments of the present invention, the background pictures may be used instead of the divided pictures, and the divided videos may be compared in other ways to determine whether the divided videos are similar. In addition, after the video frames are subsequently extracted, the video frames extracted in the divided videos may be compared to determine whether the divided videos are similar. The second preset condition may be set as needed, and the setting of the second preset condition is related to the number of divided videos. If it is desired to divide the video less, the condition for judging whether the divided video is similar may be wider, so that the number of divided videos judged to be similar is increased, and the number of divided videos extracted into the divided video set is reduced. If it is desired to divide the video more, the condition for judging whether the divided video is similar may be stricter, so that the number of divided videos judged to be similar is reduced, and the number of divided videos extracted into the divided video set is increased. Specifically, the second preset condition can be set as needed.
当然,在本发明的其他实施例中,也可以不进行分割,直接从待匹配视频资源和第二视频资源中提取视频帧进行后续处理。在提取视频帧之后再进行合并处理,以减少提取的视频帧的数量。 Of course, in other embodiments of the present invention, the video frame may be directly extracted from the to-be-matched video resource and the second video resource for subsequent processing without performing segmentation. The merging process is performed after the video frames are extracted to reduce the number of extracted video frames.
在提取视频帧时,可以根据图像、声音、或字幕来提取代表性的视频帧,将提取的视频帧称为关键帧。在本发明的一实施例中,所述直接从解码后的输入视频中提取图片或者从所述分割视频集合中的分割视频提取图片包括:When a video frame is extracted, a representative video frame may be extracted according to an image, a sound, or a subtitle, and the extracted video frame is referred to as a key frame. In an embodiment of the invention, the extracting a picture directly from the decoded input video or extracting a picture from the split video in the split video set includes:
将所述解码后的输入视频或者所述分割视频集合中的分割视频作为待提取视频,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片。Taking the decoded input video or the divided video in the divided video set as a to-be-extracted video, and extracting a video from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. The frame is taken as the extracted picture.
在本发明的一实施例中,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:In an embodiment of the present invention, extracting a video frame from the to-be-extracted video as the extracted image according to one or more of an image, a sound, and a subtitle of the to-be-extracted video includes:
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;其中,初始时,将该待处理视频的起始帧作为当前关键帧。Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture; wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
在本发明的一实施例中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:In an embodiment of the present invention, the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
在本发明的一实施例中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:In an embodiment of the present invention, the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取该字幕对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频 自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。其中,关键词预先设定。比如,需要对篮球进行广告时,可设定篮球、三分球、扣篮等为关键词。该方法可作为一辅助手段。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle; wherein the subtitle of the to-be-extracted video is from the to-be-extracted video Obtaining or performing voice recognition acquisition on the audio of the to-be-extracted video. Among them, the keywords are preset. For example, when you need to advertise basketball, you can set basketball, three-pointers, dunks, etc. as keywords. This method can be used as an aid.
在本发明的一实施例中,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:In an embodiment of the present invention, the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition is:
所述第一图片和所述第二图片的相似度大于第一相似度阈值。当然,第一预设条件也可以根据需要设定为其他条件。The similarity between the first picture and the second picture is greater than a first similarity threshold. Of course, the first preset condition can also be set to other conditions as needed.
在本发明的一实施例中,所述将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度包括:In an embodiment of the present invention, comparing the picture in the first picture set with the picture in the second picture set, and obtaining the similarity includes:
根据通过深度学习算法获得的特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值,将所述第一特征值和第二特征值进行比较,获取相似度。对图片进行比较获取相似度可以使用很多算法,此处仅为示例,也可根据需要使用其他方法获取相似度。Extracting a first feature value of the picture in the first picture set according to the feature model obtained by the deep learning algorithm, and extracting a second feature value of the picture in the second picture set according to the feature model, and using the first feature The value is compared with the second eigenvalue to obtain a similarity. Comparing images to get similarity can use a lot of algorithms, here is just an example, you can use other methods to get similarity as needed.
在本发明一实施例中,还可对所述待匹配资源中的待匹配视频进行背景建模,检测运动的目标,存储运动目标所在位置,并关联包含该运动目标的图片;以及,对第二视频资源进行背景建模,检测运动的目标,存储运动目标所在位置,以及,目标在第二视频资源中的出现时间和消失时间,并关联包含该运动目标的图片,在根据特征模型提取图片的特征值时,在图片的目标所在区域和背景区域分别使用相应的特征提取器进行特征提取。比如,运动的目标通常包括人脸,所以在目标区域可以使用人脸检测器来进行特征提取。如果未进行运动目标检测,则对图片的所有区域使用全部特征提取器进行特征提取,如果已进行运动目标检测,可以在静止的背景区域使用通常用于背景区域的特征提取器进行特征提取,在运动的目标所在区域使用通常用于运动目标的特征提取器进行特征提取,从而减少了特征提取时的运算量。In an embodiment of the present invention, a background of the to-be-matched video in the to-be-matched resource may be modeled, a target of the motion is detected, a location of the moving target is stored, and a picture including the moving target is associated; and, The second video resource performs background modeling, detects the target of the motion, stores the location of the moving target, and the appearance time and disappearance time of the target in the second video resource, and associates the image containing the moving target, and extracts the image according to the feature model. When the feature value is used, feature extraction is performed using the corresponding feature extractor in the target region and the background region of the image respectively. For example, the target of motion usually includes a human face, so a face detector can be used in the target area for feature extraction. If the moving target detection is not performed, all feature extractors are used for feature extraction in all areas of the picture. If moving target detection has been performed, feature extraction can be performed in the stationary background area using the feature extractor commonly used for the background area. The target area of the motion is extracted using a feature extractor that is usually used for moving targets, thereby reducing the amount of computation in feature extraction.
上述匹配方法的一个应用是在广告插播中的应用。可以找出广告视频 或广告图片与业务视频中哪些位置的内容比较相似,进行关联,从而在业务视频中对应的位置插播广告视频或广告图片。当需要对广告视频进行插播时,在与该广告视频有关的业务视频中插播,比随意在某个业务视频中插播,用户接受度更好,从而广告效果更好。比如,将某明星代言的产品广告在该明星主演的电视或电影中插播,又比如,将某产品的广告在电视或电影中主角使用类似的产品时进行插播,用户的接受度和广告效应好于将广告随意在某个电视电影中插播。另外,该匹配方法也可以用在图像搜索中。比如,用户想查找某个电影片段,但不知道具体电影名称,只知道大概内容,则可以找一张与该电影片段类似的图片,在电影库中进行匹配,查找到对应的电影。又比如,用户想要查找所有有圣诞场景的电影,也可以使用一段圣诞视频或圣诞图片在电影库中进行匹配,查找出所有有圣诞场景的电影。上述应用仅为示例,本申请可以应用到各种需要对视频进行匹配的场景中。One application of the above matching method is an application in an advertisement insertion. Can find the ad video Or the advertisement image is similar to the content of the location in the business video, and the association is performed to insert the advertisement video or the advertisement image in the corresponding position in the business video. When the advertisement video needs to be inserted, the advertisement is inserted into the service video related to the advertisement video, and the user is more acceptable than the random insertion in a certain service video, so that the advertisement effect is better. For example, the product advertisement of a celebrity endorsement is inserted in the TV or movie starring the star. For example, if the advertisement of a product is used in the main character of the TV or the movie, the user's acceptance and advertising effect are good. To arbitrarily insert ads into a TV movie. In addition, the matching method can also be used in image search. For example, if a user wants to find a movie clip but does not know the specific movie name and only knows the approximate content, he can find a picture similar to the movie clip and match it in the movie library to find the corresponding movie. For example, if the user wants to find all movies with Christmas scenes, they can also use a Christmas video or Christmas picture to match in the movie library to find all movies with Christmas scenes. The above application is only an example, and the present application can be applied to various scenarios in which a video needs to be matched.
本发明实施例还提供一种视频分析平台,包括数据获取模块、视频图片分析处理层,其中:The embodiment of the invention further provides a video analysis platform, comprising a data acquisition module and a video picture analysis processing layer, wherein:
所述数据获取模块设置为,获取所述待匹配资源,以及,获取第二视频资源;The data acquisition module is configured to acquire the to-be-matched resource and acquire the second video resource.
所述视频图片分析处理层包括视频处理模块和图片分析模块,其中:The video picture analysis processing layer includes a video processing module and a picture analysis module, where:
所述视频处理模块设置为,从所述待匹配资源中提取图片,获得第一图片集合;根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;The video processing module is configured to: extract a picture from the to-be-matched resource to obtain a first picture set; and select one or more of the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource. Extracting a picture to obtain a second picture set;
所述图片分析模块设置为,将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The image analysis module is configured to compare the picture in the first picture set with the picture in the second picture set to obtain a similarity; when the first picture and the first picture in the first picture set When the similarity of the second picture in the second picture set satisfies the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
在本发明的一实施例中,所述视频分析平台还包括视频解码层,用于 将所述待匹配资源中的待匹配视频资源解码后作为输入视频传输至所述视频图片分析处理层,以及,对所述第二视频资源解码后作为输入视频传输至所述视频图片分析处理层;In an embodiment of the invention, the video analysis platform further includes a video decoding layer, configured to Decoding the to-be-matched video resource in the to-be-matched resource, and transmitting the video resource to the video image analysis processing layer as an input video, and decoding the second video resource as an input video to the video image analysis processing layer ;
所述视频处理模块从所述待匹配资源中或所述第二视频资源中提取图片包括:The extracting, by the video processing module, the picture from the to-be-matched resource or the second video resource includes:
将所述的输入视频作为待提取视频;或者,将所述输入视频根据场景进行分割,获取分割视频,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;第二预设条件可以根据需要设定。The input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained. The divided video is used as the to-be-extracted video, wherein the comparison result of any two divided videos in the divided video set satisfies the second preset condition; the second preset condition may be set as needed.
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
在本发明的一实施例中,所述视频处理模块从所述待匹配资源中提取图片包括:当所述待匹配资源中包括待匹配图片时,提取所述待匹配图片加入所述第一图片集合。In an embodiment of the present invention, the video processing module extracting a picture from the to-be-matched resource includes: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set.
在本发明的一实施例中,所述视频处理模块包括视频分割单元,设置为根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割;以及,将各分割视频进行比较获取所述分割视频集合。In an embodiment of the present invention, the video processing module includes a video segmentation unit configured to determine whether a scene is switched according to one or more of a background and a sound in the input video, where the input video occurs Splitting the position of the scene switching; and comparing the divided videos to obtain the divided video set.
在本发明的一实施例中,所述视频分割单元根据所述输入视频中的声音判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足,根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。In an embodiment of the present invention, determining, by the video segmentation unit, whether the scenario is switched according to the sound in the input video comprises: converting the audio signal in the input video from a time domain to a frequency domain, and acquiring the audio signal. The energy curve obtains the position of the maximum value and the minimum value of the energy curve as the position where the scene switching occurs, and satisfies the position of the adjacent two scenes that are acquired according to the energy curve, and the distance is greater than the distance A distance threshold.
在本发明的一实施例中,所述视频处理模块包括多模态提取关键帧单元,设置为将所述输入视频或者所述分割视频集合中的分割视频作为待提取视频,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述 待提取视频中提取视频帧作为提取的图片。In an embodiment of the present invention, the video processing module includes a multi-modal extraction key frame unit, and is configured to use the split video in the input video or the split video set as a to-be-extracted video, according to the to-be-extracted One or more of images, sounds, and subtitles of the video from The video frame is extracted from the to-be-extracted video as the extracted picture.
在本发明的一实施例中,所述多模态提取关键帧单元根据所述待提取视频的图像提取视频帧包括:In an embodiment of the present invention, the multi-modal extraction key frame unit extracts a video frame according to the image of the to-be-extracted video, including:
提取所述待处理视频中的一视频帧,将其作为当前关键帧,通过如下方式提取下一视频帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一视频帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束;Extracting a video frame in the to-be-processed video as a current key frame, and extracting a next video frame by sequentially performing video frames subsequent to the current key frame in the to-be-processed video and the current key frame Comparing the second similarity, if the second similarity between the second video frame and the current key frame satisfies the third preset condition and is closest to the current key frame, extracting the second video frame, The second video frame is used as the current key frame, and the next video frame is extracted in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, then the to-be-processed The process of extracting pictures by video ends;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
在本发明的一实施例中,所述多模态提取关键帧单元根据所述待提取视频的声音提取视频帧包括:In an embodiment of the present invention, the multi-modal extraction key frame unit extracts a video frame according to the sound of the to-be-extracted video, including:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
在本发明的一实施例中,所述多模态提取关键帧单元根据所述待提取视频的字幕提取视频帧包括:In an embodiment of the present invention, the multi-modal extraction key frame unit extracts a video frame according to the subtitle of the to-be-extracted video, including:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取该字幕对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。And searching for a subtitle of the video to be extracted, and if the preset keyword is searched, extracting a video frame corresponding to the subtitle; wherein the subtitle of the to-be-extracted video is from a subtitle file that is included in the to-be-extracted video. Obtaining or performing voice recognition acquisition on the audio of the to-be-extracted video.
在本发明的一实施例中,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:In an embodiment of the present invention, the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition is:
所述第一图片和所述第二图片的相似度大于第一相似度阈值。The similarity between the first picture and the second picture is greater than a first similarity threshold.
在本发明的一实施例中,所述图片分析模块包括深度学习特征模型单元、关键帧特征提取单元和特征匹配关联单元,其中: In an embodiment of the invention, the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
所述深度学习特征模块单元设置为,通过深度学习算法对已标注样本进行学习,获得特征模型;The deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model;
所述关键帧特征提取单元设置为,根据所述特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值;The key frame feature extraction unit is configured to extract a first feature value of a picture in the first picture set according to the feature model, and extract a second feature value of the picture in the second picture set according to the feature model;
所述特征匹配关联单元设置为,将所述第一特征值和所述第二特征值进行比较,获取相似度,当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity, in the first picture and the second picture set in the first picture set When the similarity of the second picture meets the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
将上述匹配方法应用到广告插播,本发明实施例提供一种精准投放广告方法,包括:Applying the above matching method to the advertisement insertion, the embodiment of the invention provides a method for accurately advertising, including:
获取广告素材,从所述广告素材中提取图片,获得广告图片集合;Get the creative, extract the image from the creative, and get a collection of ad images;
获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;Obtaining a service video, extracting a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, to obtain a service picture set;
将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;Comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity;
当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。When the similarity between the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies a first preset condition, the first creative material and the location to which the first advertisement picture belongs The first service video to which the first service picture belongs is associated, and the association information is generated, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
在本发明的一实施例中,从所述广告素材中提取图片或者从所述业务视频中提取图片包括:In an embodiment of the invention, extracting a picture from the creative or extracting a picture from the business video includes:
将所述广告素材中的广告视频或者所述业务视频作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割 视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the advertisement video or the service video in the creative as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the input video according to the scene Performing segmentation, acquiring a segmented video, comparing each segmented video, obtaining a segmented video set according to the comparison result, and dividing the segmentation in the segmented video set a video as a to-be-extracted video, wherein a comparison result of any two divided videos in the divided video set satisfies a second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
在本发明的一实施例中,从所述广告素材中提取图片包括:当所述广告素材中包括广告图片时,提取所述广告图片加入所述广告图片集合。In an embodiment of the present invention, extracting a picture from the creative material includes: when the advertisement material includes an advertisement picture, extracting the advertisement picture to join the advertisement picture set.
在本发明的一实施例中,所述将解码后的输入视频根据场景进行分割包括:In an embodiment of the invention, the dividing the decoded input video according to the scene includes:
根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换;在所述输入视频中发生场景切换的位置进行分割。Determining whether the scene is switched according to one or more of the background and the sound in the input video; and dividing the position where the scene switching occurs in the input video.
其中,根据背景判断场景是否切换见前述匹配方法中根据背景判断场景是否切换的相关叙述。Wherein, according to the background, whether the scene is switched or not depends on the related description in the foregoing matching method for determining whether the scene is switched according to the background.
在本发明的一实施例中,所述根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。In an embodiment of the present invention, determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency domain Obtaining an energy curve of the audio signal, acquiring a position of a maximum value and a minimum value of the energy curve, as a position where a scene switching occurs, and satisfying: switching between two adjacent scenes acquired according to the energy curve The location is greater than the first distance threshold.
在本发明的一实施例中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:In an embodiment of the present invention, the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片; Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
在本发明的一实施例中,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:In an embodiment of the present invention, extracting a video frame from the to-be-extracted video as the extracted image according to one or more of an image, a sound, and a subtitle of the to-be-extracted video includes:
将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position is taken as the extracted picture.
在本发明的一实施例中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:In an embodiment of the present invention, the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image includes:
在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
在本发明的一实施例中,所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:In an embodiment of the present invention, the similarity between the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies the first preset condition, that is:
所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
在本发明的一实施例中,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:In an embodiment of the present invention, comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity includes:
根据通过深度学习算法获得的特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the image in the advertisement picture set according to the feature model obtained by the deep learning algorithm, extracting a second feature value of the picture in the service picture set according to the feature model, and using the first feature value and The second feature values are compared to obtain a similarity.
在本发明的一实施例中,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。In an embodiment of the present invention, the association information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is according to the first service. The location of the picture in the first service video is determined.
在本发明的一实施例中,所述方法还包括:In an embodiment of the invention, the method further includes:
对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务 视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;Perform background modeling and target detection on the business video, and extract the target of the motion to obtain the service a video target object, determining an appearance time and a disappearing time of the service video target object in a service video to which the service video object belongs, and associating the service video target object with a picture of the service picture set that includes the service video target object;
所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现时间和消失时间决定。The associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
其中,进行目标检测的方法可以是:使用滑动窗口扫描视频帧,确定运动的前景目标所在位置。The method for performing target detection may be: scanning a video frame using a sliding window to determine a location of a foreground target of the motion.
在本发明的一实施例中,所述方法还包括:In an embodiment of the invention, the method further includes:
对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;Performing background modeling and target detection on the advertisement video in the creative, extracting the target of the motion to obtain the creative target object, and including the creative target object and the first image set containing the creative target object The image is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。Acquiring the first advertisement associated with the first advertisement image when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition The target object is configured with an advertisement object identifier, and the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image The associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
在本发明的一实施例中,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。In an embodiment of the invention, the association information further includes an advertisement object identifier in which the first creative target object is configured.
在本发明的一实施例中,所述方法还包括:In an embodiment of the invention, the method further includes:
接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图 片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的业务第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first Four preset business picture sub-sets, the business graph Sending a set of slices to the portal, so that the portal selects a second service picture from the subset of service pictures according to a user operation, and configures a service second service video target object associated with the selected second service picture. The second creative target object has the same advertisement object identifier, thereby indicating that the second creative object to which the second creative target object belongs is associated with the second service video to which the second service video target object belongs.
本发明实施例还提供一种视频分析平台,如图1所示,包括数据获取模块、视频图片分析处理层,所述视频图片分析处理层包括视频处理模块和图片分析模块,其中:The embodiment of the present invention further provides a video analysis platform, as shown in FIG. 1 , including a data acquisition module and a video image analysis processing layer, where the video image analysis processing layer includes a video processing module and a picture analysis module, where:
所述数据获取模块设置为,获取广告素材,以及,获取业务视频;The data acquisition module is configured to acquire a creative material and obtain a business video;
所述视频处理模块设置为,从所述广告素材中提取图片,获得广告图片集合;以及,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;The video processing module is configured to: extract a picture from the creative material to obtain an advertisement picture set; and extract a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, Obtain a collection of business images;
所述图片分析模块设置为,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The image analysis module is configured to compare the advertisement image in the advertisement image collection with the business image in the business image collection to obtain a similarity; when the first advertisement image in the advertisement image collection and the Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs when the similarity of the first service image in the service image set meets the first preset condition, and The association information is generated, and the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
所述视频分析平台还包括视频解码层,用于将所述广告素材中的广告视频进行解码作为输入视频传输至所述视频图片分析处理层,以及,对所述业务视频进行解码后作为输入视频传输至所述视频图片分析处理层;The video analysis platform further includes a video decoding layer, configured to decode the advertisement video in the creative as an input video to the video image analysis processing layer, and decode the service video as an input video. Transmitting to the video picture analysis processing layer;
所述视频处理模块从所述广告素材中提取图片或者从所述业务视频中提取图片包括:The video processing module extracting a picture from the creative or extracting a picture from the business video includes:
将所述的输入视频作为待提取视频;或者,将所述输入视频根据场景进行分割,获取分割视频,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设 条件;The input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained. The divided video in the video is to be extracted, wherein the comparison result of any two divided videos in the divided video set satisfies the second preset condition;
根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
在本发明的一实施例中,所述视频处理模块从所述广告素材中提取图片包括:当所述广告素材中包括广告图片时,提取所述广告图片加入所述广告图片集合。In an embodiment of the present invention, the video processing module extracting a picture from the creative material includes: when the advertisement material includes an advertisement picture, extracting the advertisement picture to join the advertisement picture set.
在本发明的一实施例中,所述视频处理模块包括视频分割单元、多模态提取关键帧单元,其中:In an embodiment of the invention, the video processing module includes a video segmentation unit and a multi-modal extraction key frame unit, wherein:
所述分割单元设置为,根据所述输入视频中的背景、声音中一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割。The dividing unit is configured to determine whether the scene is switched according to one or more of the background and the sound in the input video, and perform segmentation at a position where the scene switching occurs in the input video.
多模态提取关键帧单元,设置为根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片。The multi-modal extraction key frame unit is configured to extract a video frame from the to-be-extracted video as the extracted picture according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
在本发明的一实施例中,所述图片分析模块包括深度学习特征模型单元、关键帧特征提取单元和特征匹配关联单元,其中:In an embodiment of the invention, the picture analysis module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, where:
所述深度学习特征模块单元设置为,通过深度学习算法对已标注样本进行学习,获得特征模型;The deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model;
所述关键帧特征提取单元设置为,根据特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值;The key frame feature extraction unit is configured to extract a first feature value of the image in the advertisement image set according to the feature model, and extract a second feature value of the image in the service image set according to the feature model;
所述特征匹配关联单元设置为,将所述第一特征值和所述第二特征值进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity; when the first advertisement picture and the service picture set in the advertisement picture set When the similarity of the first service picture satisfies the first preset condition, the first creative material to which the first advertisement picture belongs and the first service video to which the first service picture belongs are associated, and the associated information is generated. The association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
在本发明的一实施例中,所述图片分析模块包括还包括特征索引生成 /合并单元,所述特征索引生成/合并单元设置为,进行索引生成和索引合并,索引生成包括:对提取出来的特征集合按照预设规则构建树状索引,加速目标检索过程;索引合并包括:对不同特征集合并行构建的索引文件进行合并,用于进行索引增量更新。其中,索引文件包括:特征提取出的原始特征文件,和根据原始特征文件生成的树状结构描述文件。索引生成根据特征提取的原始特征文件,生成树状结构描述文件。合并就是根据原始特征文件,更新索引即树状结构描述文件,相当于重新生成一个新的索引。可以定时更新,根据原始特征文件集合更新索引,也可约定进行实时更新特征索引。In an embodiment of the invention, the picture analysis module further includes feature index generation / merging unit, the feature index generating/merging unit is configured to perform index generation and index merging, and the index generating comprises: constructing a tree index according to a preset rule for the extracted feature set, and accelerating the target retrieval process; the index merging includes: The index files built in parallel for different feature sets are merged for index incremental update. The index file includes: an original feature file extracted by the feature, and a tree structure description file generated according to the original feature file. The index generates a tree structure description file according to the original feature file extracted by the feature. The merge is based on the original feature file, updating the index is the tree structure description file, which is equivalent to regenerating a new index. It can be updated regularly, the index is updated according to the original feature file set, and the feature index can be updated in real time.
在本发明的一实施例中,所述视频处理模块还包括:背景建模单元和目标检测单元,其中:In an embodiment of the invention, the video processing module further includes: a background modeling unit and a target detecting unit, wherein:
所述背景建模单元设置为,对所述业务视频进行背景建模;对所述广告素材中的广告视频进行背景建模;The background modeling unit is configured to perform background modeling on the business video; and perform background modeling on the advertisement video in the creative;
所述目标检测单元设置为,对所述业务视频进行目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;以及,对所述广告素材中的广告视频进行目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;The target detecting unit is configured to perform target detection on the service video, extract a target of the motion to obtain a service video target object, and determine an appearance time and a disappearance time of the service video target object in a service video to which the service video object belongs. The business video target object is associated with the image of the business image collection object that includes the business video target object; and, the target video of the advertisement video in the creative is detected, and the target of the motion is extracted to obtain the creative target object, and The creative target object is associated with the image of the first image set that includes the creative target object, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
所述图片分析模块还设置为,当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联, 其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。The image analysis module is further configured to: when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, acquire the An advertisement object identifier configured by the first creative target object associated with an advertisement image, and an advertisement object identifier identical to the first creative target object configured for the first service video target object associated with the first service image Instructing the first creative material to which the first advertisement picture belongs to be associated with the first service video to which the first service picture belongs. The advertisement object identifier indicates an advertisement theme for which the first creative target object is directed.
在本发明的一实施例中,所述图片分析模块还设置为:In an embodiment of the invention, the picture analysis module is further configured to:
接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。第四预设条件可以是:相似度位于第二相似度阈值和第一相似度阈值之间,且第二相似度阈值小于第一相似度阈值。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first And a fourth set of service picture sub-sets, the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object associated with the second business image is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service video. The second business video to which the target object belongs is associated. The fourth preset condition may be that the similarity is between the second similarity threshold and the first similarity threshold, and the second similarity threshold is smaller than the first similarity threshold.
在本发明的一实施例中,所述视频分析平台还包括存储层,所述存储层用于,存储业务视频、广告视频的相关信息。也可以将部分信息存储到数据库。In an embodiment of the invention, the video analytics platform further includes a storage layer, and the storage layer is configured to store related information of the service video and the advertisement video. It is also possible to store part of the information in the database.
可选的,所述存储层包括:结构化存储模块和非结构化存储模块,其中非结构化存储模块设置为储存素材库相关实体文件,结构化存储模块设置为保存和管理对应的表结构信息。Optionally, the storage layer includes: a structured storage module and an unstructured storage module, where the unstructured storage module is configured to store the material library related entity file, and the structured storage module is configured to save and manage the corresponding table structure information. .
具体存储的信息参考图2,包括:1、业务视频目录;2、广告素材目录(视频和/或图片);3、第三方图片;4、广告对象;5、广告素材目标对象(POI)6、业务视频POI。上述信息也可以存储在一数据库中,与视频分析平台独立。The specific stored information refers to FIG. 2, including: 1. a business video directory; 2. a creative directory (video and/or picture); 3. a third-party image; 4. an advertising object; 5. a creative target object (POI) 6 , business video POI. The above information can also be stored in a database independent of the video analytics platform.
上述视频分析平台中各模块的处理细节可参考精准投放广告方法中的相关描述,此处不再赘述。For details of the processing of each module in the above video analysis platform, refer to the related description in the method for accurately placing advertisements, and details are not described herein again.
本发明实施例还提供一种精准投放广告方法,参考图3,包括:The embodiment of the invention further provides a method for accurately placing advertisements. Referring to FIG. 3, the method includes:
步骤301,视频分析平台通过业务视频/广告视频数据同步接口从广告 平台获取广告视频同步信息,其中,所述广告视频同步信息中携带操作类型、广告视频编号以及广告视频所在地址等信息,还可携带广告视频名称信息、类型信息(指示当前为广告视频还是业务视频),对所述广告视频同步信息进行解析,包括:Step 301, the video analytics platform uses the service video/advertisement video data synchronization interface from the advertisement The platform obtains advertisement video synchronization information, where the advertisement video synchronization information carries information such as an operation type, an advertisement video number, and an address of the advertisement video, and may also carry an advertisement video name information and type information (indicating whether the advertisement video or the service video is currently present) ), parsing the advertisement video synchronization information, including:
获取操作类型,如果是新增操作,则在本地的广告视频目录信息中新增一条广告视频条目,并根据广告视频同步信息中相关字段提供的地址下载该广告视频;如果是删除操作,则在本地的广告视频目录信息中删除对应的广告视频条目,并将广告素材POI表和关键帧图片表中与该广告视频相关的记录删除;Get the operation type. If it is a new operation, add an advertisement video entry in the local advertisement video directory information, and download the advertisement video according to the address provided by the relevant field in the advertisement video synchronization information; if it is a deletion operation, then Deleting the corresponding advertisement video entry in the local advertisement video directory information, and deleting the record related to the advertisement video in the creative POI table and the key frame picture table;
其中,本地存储的广告视频目录信息中的每条广告视频条目对应一个广告视频,每条广告视频条目包括如下信息:该广告视频条目对应的广告视频的广告视频编号、广告视频名称,还可包括广告视频下载地址、该广告视频条目的创建时间等。还可根据需要存储其他信息。Each advertisement video entry in the locally stored advertisement video directory information corresponds to one advertisement video, and each advertisement video entry includes the following information: an advertisement video number of the advertisement video corresponding to the advertisement video entry, an advertisement video name, and may also include The advertisement video download address, the creation time of the advertisement video entry, and the like. Other information can also be stored as needed.
业务视频/广告视频数据同步接口的一种实现方式如下:One implementation of the business video/advertising video data synchronization interface is as follows:
同步方向:业务平台、广告平台——>视频分析平台;Synchronization direction: business platform, advertising platform -> video analysis platform;
同步格式:可根据需要设定,比如为文件方式;Synchronization format: can be set as needed, such as file mode;
文件类型:可根据需要设定,比如为dat类型;File type: can be set as needed, such as dat type;
数据文件说明:为业务视频、广告视频实体数据信息,增量数据可以定时生成(比如每天定时生成)。首次全量。只同步发布成功的内容。Data file description: For business video, advertising video entity data information, incremental data can be generated periodically (for example, generated every day). The first full amount. Only sync successful content.
同步方式:每隔预设时间(预设时间可配置)增量同步(首次全量),由业务平台、广告平台上传到指定服务器(可以为FTP服务器),支持人工触发立即同步。比如,预设时间可以为1天,本申请对此不作限定。Synchronization mode: Incremental synchronization (first full amount) every preset time (preset time), uploaded by the service platform and advertising platform to the designated server (can be an FTP server), and supports manual triggering immediate synchronization. For example, the preset time may be one day, which is not limited in this application.
文件格式:字段间可采用预设分隔符分隔,或其他约定方式;其中,预设分隔符比如为“|#”。File format: The fields can be separated by preset separators, or other conventions; the default separator is for example "|#".
步骤302,视频分析平台通过广告图片数据同步接口从广告平台获取广告图片同步信息,其中,所述广告图片同步信息中携带操作类型、广告 图片编号以及广告图片下载地址信息,对所述广告图片同步信息进行解析,包括:Step 302: The video analytics platform obtains advertisement image synchronization information from the advertisement platform by using an advertisement image data synchronization interface, where the advertisement image synchronization information carries an operation type and an advertisement. The image number and the advertisement image download address information are used to parse the advertisement image synchronization information, including:
获取操作类型,如果是新增操作,则在本地的广告图片目录信息中新增一条广告图片条目,并根据广告图片同步信息中相关字段提供的地址下载该广告图片;如果是删除操作,则在本地的广告图片目录信息中删除对应的广告图片条目,并将广告素材POI表中与该广告图片相关的记录删除;Get the operation type. If it is a new operation, add an advertisement image entry in the local advertisement image directory information, and download the advertisement image according to the address provided by the relevant field in the advertisement image synchronization information; if it is a deletion operation, then The corresponding advertisement image entry is deleted from the local advertisement image directory information, and the record related to the advertisement image in the creative POI table is deleted;
其中,本地的广告图片目录信息中存储的每条广告图片条目对应一个广告图片,每条广告图片条目包括如下信息:该广告图片条目对应的广告图片的广告图片编号、广告图片名称。还可包括其他信息,比如广告图片下载地址等。Each of the advertisement image entries stored in the local advertisement image directory information corresponds to one advertisement image, and each advertisement image entry includes the following information: an advertisement image number of the advertisement image corresponding to the advertisement image entry, and an advertisement image name. It can also include other information, such as the download address of the advertisement image.
其中,广告图片数据同步接口的一种实现方式如下:Among them, an implementation of the advertisement picture data synchronization interface is as follows:
同步方向:广告平台——>视频分析平台;Synchronization direction: advertising platform -> video analysis platform;
同步格式:可根据需要设定,比如为文件方式;Synchronization format: can be set as needed, such as file mode;
文件类型:可根据需要设定,比如为dat类型;File type: can be set as needed, such as dat type;
数据文件说明:为广告图片实体数据信息,增量数据每天定时生成。全量手工生成。只同步发布成功的内容。Data file description: For the advertisement picture entity data information, incremental data is generated periodically every day. Full manual generation. Only sync successful content.
同步方式:每隔预设时间(预设时间可配置)增量同步(首次全量),由广告平台上传到指定服务器(可以是FTP服务器),支持人工触发立即同步。视频分析平台去指定服务器下载该广告图片同步信息即可。Synchronization mode: Incremental synchronization (first full amount) every preset time (preset time), uploaded by the advertising platform to the designated server (can be an FTP server), supports manual triggering immediate synchronization. The video analysis platform goes to the designated server to download the advertisement picture synchronization information.
文件格式:字段间用预设分隔离分离,或其他约定方式;其中,预设分隔符比如为“|#”。File format: The fields are separated by default, or other conventions; the default separator is “|#”.
步骤303,视频分析平台对广告视频进行分析,包括:对广告视频进行解码,按帧输出,分割广告视频,抽取关键帧,进行目标检测,记录目标位置信息;提取关键帧的特征值,生成特征索引;Step 303: The video analysis platform analyzes the advertisement video, including: decoding the advertisement video, outputting by frame, segmenting the advertisement video, extracting key frames, performing target detection, recording target location information, extracting feature values of key frames, and generating features. index;
步骤304,视频分析平台将广告视频相关信息写入关键帧图片表和广告素材POI表中,广告素材POI表中该数据的默认状态为“未审核”; Step 304: The video analysis platform writes the advertisement video related information into the key frame picture table and the creative POI table, and the default state of the data in the creative POI table is “unaudited”;
可选的,包括:Optional, including:
视频分析平台将提取的关键帧的相关信息写入关键帧图片表,包括:为每个关键帧建立一个关键帧图片标识(imageid),并记录关键帧来源(此处为来源于广告视频);记录关键帧的保存路径、以及,关键帧的访问地址;还可包括关键帧所属的广告视频编号。The video analysis platform writes related information of the extracted key frames into the key frame picture table, including: establishing a key frame picture identifier (imageid) for each key frame, and recording the key frame source (here, from the advertisement video); Record the save path of the key frame, and the access address of the key frame; it may also include the advertisement video number to which the key frame belongs.
视频分析平台将检测到的目标的相关信息写入广告素材目标对象(POI)表包括:将该目标作为一个新的广告素材目标对象或新的广告素材POI,在广告素材POI表为该目标建立一个条目,记录如下信息:为该目标创建一个唯一标识,目标对象标识,该目标所关联的关键帧的关键帧图片标识,该目标的状态(此处为未审核),该目标所属的广告视频的广告视频编号、广告视频名称,该目标对象创建时间、修改时间;该目标在关联的关键帧图片中的位置信息。The video analytics platform writes information about the detected target to the Creative Target Object (POI) table, including: targeting the target as a new creative target object or a new creative POI, which is created for the target in the creative POI table. An entry that records the following information: a unique identifier for the target, a target object identifier, a keyframe image identifier for the keyframe associated with the target, a status of the target (here unreviewed), and an ad video to which the target belongs Ad video number, ad video name, the target object creation time, modification time; location information of the target in the associated key frame picture.
步骤305,视频分析平台对广告图片进行分析,包括:进行目标检测,记录目标位置信息;提取广告图片的特征值,生成特征索引;Step 305: The video analysis platform analyzes the advertisement image, including: performing target detection, recording target location information; extracting feature values of the advertisement image, and generating a feature index;
步骤306,视频分析平台将检测到的广告图片的目标的相关信息写入广告素材POI表中;Step 306, the video analysis platform writes related information of the target of the detected advertisement image into the creative POI table;
将目标的相关信息写入广告素材POI表具体包括:Writing information about the target to the creative POI table specifically includes:
对检测到的每个目标,在广告素材POI表中为该目标建立一个条目,记录如下信息:为该目标创建一个唯一标识,目标对象标识,该目标所在的广告图片的图片标识,该目标的状态(此处为默认值:“未审核”),该目标所属的广告图片的广告图片编号、广告图片名称,该目标创建时间、修改时间;该目标在所属的广告图片的位置信息。其中,广告图片编号和广告图片名称可以是一致的,也可以不一致。For each target detected, an entry is created for the target in the creative POI table, and the following information is recorded: a unique identifier is created for the target, the target object identifier, the image identifier of the advertisement image in which the target is located, and the target identifier Status (here default value: "Unreviewed"), the ad image number of the ad image to which the goal belongs, the ad image name, the target creation time, the modification time, and the location information of the target image in the ad. The advertisement picture number and the advertisement picture name may be consistent or inconsistent.
视频分析平台将广告图片的相关信息写入关键帧图片表,包括:为每个广告图片建立一个关键帧图片标识(imageid),并记录关键帧来源(此处为来源于广告图片);记录广告图片的保存路径、以及,广告图片的访问地址。 The video analysis platform writes related information of the advertisement image into the key frame picture table, including: creating a key frame image identifier (imageid) for each advertisement picture, and recording the key frame source (here, from the advertisement picture); recording the advertisement The path to save the image, as well as the access address of the ad image.
步骤307,门户接收到用户的查询请求后,向数据库发起查询请求,查询广告素材POI表中未审核的广告素材POI,并接收数据库返回的未审核的广告素材POI;Step 307, after receiving the query request of the user, the portal initiates a query request to the database, queries the unreviewed creative POI in the creative POI table, and receives the unreviewed creative POI returned by the database;
步骤308,门户根据用户的操作,为未审核的广告素材POI配置广告对象信息,并在广告对象表新增一条广告对象数据;Step 308: The portal configures advertisement object information for the unreviewed creative POI according to the operation of the user, and adds an advertisement object data to the advertisement object table.
广告对象标识(objectid)的一个作用是标识该广告素材针对什么作广告主题,比如,为针对某品牌汽车作广告的广告素材POI设置一个objectid,为针对某种食品作广告的广告素材POI设置另一个objectid,另一个作用是作为一个关联标记使用,将业务视频图片和广告图片进行比较,满足关联条件时,为业务视频图片关联的业务视频POI配置与广告图片关联的广告素材POI相同的objectid,从而达到二者关联的目的。在后续生成关联信息时,除了携带关联的业务视频的业务视频编号、广告素材的广告素材编号外还携带广告对象标识。一个业务视频可能关联多个广告素材,在后续进行业务视频播放的时候,可以通过objectid决定插播那些广告素材,比如,需要为某品牌汽车作广告时,只插播广告对象标识为该品牌汽车的objectid的广告素材,而不插播该业务视频关联的其他广告素材。在本发明的其他实施例中,也可以增加一个标识信息作为关联标记,而不使用objectid作为关联标记,将业务视频图片和广告图片进行比较,比较结果满足关联条件时,为业务视频图片相关的业务视频POI与广告图片相关的广告素材POI配置相同的关联标识信息,表示二者已关联,objectid只标识该广告素材针对什么作广告,不再用于标记业务视频和广告素材的关联关系。One of the purposes of the object identifier is to identify the advertising theme for which the creative is targeted, for example, to set an objectid for the creative POI that advertises for a brand of car, and another for the creative POI that advertises for a certain food. An objectid, another function is used as an association tag to compare the business video picture with the advertisement picture, and when the association condition is met, the business object POI associated with the service video picture is configured with the same objectid as the creative POI associated with the advertisement picture. Thereby achieving the purpose of the two associations. When the associated information is subsequently generated, the advertisement object identifier is carried in addition to the business video number of the associated business video and the creative number of the creative. A business video may be associated with multiple creatives. In the subsequent business video playback, the creative may be inserted through the objectid. For example, when an advertisement for a brand car is required, only the advertisement target object is identified as the objectid of the brand automobile. Creatives, without inserting other creatives associated with the business video. In other embodiments of the present invention, an identification information may also be added as an association mark, and the service video picture and the advertisement picture are compared by using the objectid as the association mark, and when the comparison result satisfies the association condition, it is related to the service video picture. The business video POI and the advertisement image related to the advertisement POI are configured with the same associated identification information, indicating that the two are associated, and the objectid only identifies the advertisement for which the advertisement is used, and is no longer used to mark the association between the business video and the creative.
可选的,在广告对象表中为该广告素材POI新建一条广告对象数据,该广告对象数据包括如下信息:创建一个唯一的广告对象标识(objectid)对应该广告素材POI,广告对象名称、设置广告对象类型,广告对象对应的图片存储路径、广告对象创建时间、广告对象修改时间;还可包括广告对象品牌、广告对象厂家等信息。 Optionally, a new advertisement object data is created in the advertisement object table for the creative POI, and the advertisement object data includes the following information: creating a unique advertisement object identifier (objectid) corresponding to the creative POI, the advertisement object name, setting the advertisement The object type, the image storage path corresponding to the advertisement object, the creation time of the advertisement object, and the modification time of the advertisement object; and may also include information such as an advertisement target brand and an advertisement object manufacturer.
步骤309,门户修改广告素材POI表中该广告素材POI的状态为“已审核未关联”,将新创建的广告对象的对象标识写入该广告素材POI的信息中,比如,将广告素材POI表中该广告素材POI的objectid字段值刷新为新增的广告对象数据的objectid字段值并将修改后的广告素材POI的相关信息发送给数据库;Step 309, the portal modifies the status of the creative POI in the creative POI table as “reviewed unassociated”, and writes the object identifier of the newly created advertisement object into the information of the creative POI, for example, the creative POI table. The objectid field value of the creative POI is refreshed to the objectid field value of the newly added advertisement object data, and the modified information of the creative POI is sent to the database;
步骤310,视频分析平台通过业务视频/广告视频数据同步接口从业务平台获取业务视频同步信息,其中,业务视频同步信息中携带操作类型、业务视频编号以及业务视频所在地址等信息,还可携带业务视频名称等信息,对所述业务视频同步信息进行解析,包括:Step 310: The video analytics platform obtains the service video synchronization information from the service platform by using the service video/advertisement video data synchronization interface, where the service video synchronization information carries information such as the operation type, the service video number, and the address of the service video, and may also carry the service. The information such as the video name is used to parse the service video synchronization information, including:
获取操作类型,如果是新增操作,则在本地的业务视频目录信息中新增一条业务视频条目,并根据业务视频同步信息中的相关字段提供的地址下载该业务视频;如果是删除操作,则在本地的业务视频目录信息中删除对应的业务视频条目,并将业务视频POI表和关键帧图片表中与与该业务视频相关的记录删除;Obtain the operation type. If it is a new operation, add a service video entry to the local service video directory information, and download the service video according to the address provided by the related field in the service video synchronization information; if it is a deletion operation, Deleting the corresponding service video entry in the local service video directory information, and deleting the record related to the service video in the service video POI table and the key frame picture table;
其中,本地的业务视频目录信息中存储的每条业务视频条目对应一个业务视频,该业务视频条目中包括如下信息:该业务视频条目对应的业务视频的业务视频编号、业务视频名称,还可包括其他信息,比如业务视频下载地址、该业务视频条目的创建时间等。Each service video entry stored in the local service video directory information corresponds to a service video, and the service video entry includes the following information: a service video number of the service video corresponding to the service video entry, and a service video name, which may also include Other information, such as the business video download address, the creation time of the business video entry, and the like.
步骤311,视频分析平台对业务视频进行分析,包括:对业务视频进行解码,按帧输出,分割业务视频,抽取关键帧,进行目标检测,记录目标位置信息;提取关键帧图片特征值,生成特征索引;具体实现过程参见装置实施例中对视频分析平台的描述,此处不再赘述。Step 311: The video analysis platform analyzes the service video, including: decoding the service video, outputting the video according to the frame, dividing the service video, extracting the key frame, performing target detection, recording the target location information, extracting the feature value of the key frame image, and generating the feature. For a specific implementation process, refer to the description of the video analysis platform in the device embodiment, and details are not described herein again.
步骤312,视频分析平台将相关信息写入关键帧图片表和业务视频POI表中,业务视频POI表中该数据的默认状态为“未关联”;Step 312: The video analysis platform writes related information into the key frame picture table and the service video POI table, and the default state of the data in the service video POI table is “unrelated”;
可选的,包括:Optional, including:
视频分析平台将提取的业务视频的关键帧的相关信息写入关键帧图片表,包括:为每个关键帧建立一个关键帧图片标识(imageid),并记录 关键帧来源,此处为来源于业务视频;记录关键帧的保存路径、以及,关键帧的访问地址;还可包括关键帧所属的业务视频编号。还可根据需要记录其他信息。The video analysis platform writes related information of the extracted key frames of the service video into the key frame picture table, including: establishing a key frame picture identifier (imageid) for each key frame, and recording The source of the key frame, here is the service video; the storage path of the key frame, and the access address of the key frame; and the service video number to which the key frame belongs. Additional information can also be recorded as needed.
视频分析平台将检测到的目标的相关信息写入业务视频目标对象(POI)表包括:将该目标作为一个新的业务视频POI,在业务视频POI表为该目标建立一个条目,记录如下信息:为该目标创建一个唯一标识,目标对象标识,该目标所关联的关键帧的关键帧图片标识,该目标的状态(此处为未审核),该目标所属的业务视频的业务视频编号、业务视频名称,该目标对象创建时间、修改时间;该目标在关联的关键帧图片中的位置信息。The video analysis platform writes the related information of the detected target into the service video target object (POI) table, including: using the target as a new service video POI, and establishing an entry for the target in the service video POI table, and recording the following information: Create a unique identifier for the target, the target object identifier, the key frame image identifier of the key frame associated with the target, the status of the target (here is unreviewed), the service video number of the service video to which the target belongs, and the service video. Name, the target object creation time, modification time; the location information of the target in the associated key frame picture.
其中,关键帧图片表的一种实现参见步骤304;For an implementation of the key frame picture table, see step 304;
步骤313,视频分析平台查询数据库的广告素材POI表,接收数据库返回的“已审核未关联”的广告素材POI;Step 313, the video analysis platform queries the creative POI table of the database, and receives the "audited unassociated" creative POI returned by the database;
步骤314,视频分析平台对接收到的每个已审核未关联的广告素材POI,执行如下操作:Step 314: The video analytics platform performs the following operations on each of the reviewed unrelated creative POIs that are received:
对每个广告素材POI,查询本地的特征索引,找出与此广告素材POI所关联的广告图片(可能是广告视频中抽取的关键帧,也可能是广告图片)相似度大于第一相似度阈值的所有业务视频关键帧,进行自动关联,将与查找到的业务视频关键帧对应的业务视频POI的广告对象字段设置为该广告素材POI的广告对象字段值,并将该业务视频POI状态修改为“已关联”,以及,将广告素材POI表中该广告素材POI的状态修改为“已关联”;For each creative POI, query the local feature index to find the ad image associated with the creative POI (possibly the key frame extracted from the ad video, or the ad image). The similarity is greater than the first similarity threshold. All the business video key frames are automatically associated, and the advertisement object field of the business video POI corresponding to the found service video key frame is set as the advertisement object field value of the creative POI, and the service video POI status is modified to "Associated" and the status of the creative POI in the creative POI table is changed to "Associated";
步骤315,视频分析平台与数据库交互,修改业务视频POI表相关的业务视频POI的广告对象字段值以及状态,修改广告素材POI表相关的广告素材POI的状态;Step 315: The video analysis platform interacts with the database, and modifies the value and status of the advertisement object field of the service video POI related to the service video POI table, and modifies the state of the creative POI related to the creative POI table;
步骤316,门户根据用户的操作,向数据库发起查询操作,查询“已审核未关联”的广告素材POI,接收数据库返回的已审核未关联的广告素材POI信息; Step 316: The portal initiates a query operation to the database according to the operation of the user, queries the “POD that has not been audited”, and receives the audited unrelated creative POI information returned by the database;
对接收到的每条广告素材POI,执行步骤317至步骤321;Step 317 to step 321 are performed on each of the received creative POIs;
步骤317,门户根据用户的操作,选择一条广告素材POI,向视频分析平台发送查询关联图像的请求消息;Step 317: The portal selects a creative POI according to the operation of the user, and sends a request message for querying the associated image to the video analysis platform.
步骤318,视频分析平台查询本地的特征索引,查找与此广告素材POI关联的广告图片的相似度位于第二相似度阈值和第一相似度阈值之间的所有业务视频关键帧图片;其中,第二相似度阈值小于第一相似度阈值;Step 318: The video analytics platform queries the local feature index to find all service video key frame images whose similarity of the advertisement image associated with the creative POI is located between the second similarity threshold and the first similarity threshold. The second similarity threshold is smaller than the first similarity threshold;
步骤319,视频分析平台将查找到的业务视频的关键帧图片返回给门户;Step 319, the video analysis platform returns the key frame image of the found service video to the portal;
步骤320,门户向用户展示返回的业务视频关键帧图片,根据用户的操作,将业务视频关键帧图片与广告图片进行关联;Step 320: The portal displays the returned business video key frame image to the user, and associates the business video key frame image with the advertisement image according to the user operation;
步骤321,门户根据用户的操作,刷新数据库中业务视频POI表中对应的业务视频POI的objectid字段为关联的广告素材POI的object字段值,并将已关联的业务视频POI的状态更新为“已关联”,已关联的广告视频POI的状态更新为“已关联”;Step 321: The portal refreshes the objectid field of the corresponding service video POI in the service video POI table in the database as the object field value of the associated creative POI according to the operation of the user, and updates the status of the associated service video POI to “has been "Association", the status of the associated advertising video POI is updated to "Associated";
步骤322,视频分析平台生成增量的关联信息同步文件:Step 322, the video analysis platform generates an incremental associated information synchronization file:
视频分析平台初始生成的关联信息同步文件为全量,即初始时关联信息同步文件中包括所有已关联的业务视频和广告素材的关联信息,后续则在该基础上,生成关联关系发生变化的业务视频和广告素材的关联信息,比如,解除关联关系,或者,修改关联关系等,或者,生成新关联的业务视频和广告素材的关联信息。The associated information synchronization file initially generated by the video analytics platform is full, that is, the associated information synchronization file includes all associated business video and creative material association information, and then the service video whose relationship relationship changes is generated on the basis of the subsequent analysis. The associated information with the creative, such as disassociation, or modification of the association, etc., or the associated information of the newly associated business video and creative.
视频分析平台根据如下方式生成关联信息同步文件:The video analytics platform generates an associated information synchronization file as follows:
查找业务视频POI表和广告素材POI表中具有相同objectid的业务视频POI和广告素材POI,将具有相同objectid的业务视频POI和广告素材POI分别称为第一业务视频POI和第一广告素材POI,获取第一业务视频POI所属的第一业务视频的标识信息、获取第一广告素材POI所属的第一广告素材的标识信息,以及,获取所述第一业务视频POI在第一业务视频中的出现时间作为第一广告素材在第一业务视频中的插播位置,获取第一 广告素材POI的objectid,生成所述关联信息同步文件。其中,插播位置与可以是第一业务视频POI在第一业务视频中的消失时间,或者为第一业务视频POI在第一业务视频中的出现时间何消失时间之间的一个位置,或者,为其他位置,比如第一业务视频POI在第一业务视频中的消失时间之后的一个位置,或者,第一业务视频POI在第一业务视频中的出现时间之前的一个位置,等等。The business video POI and the creative POI having the same objectid in the business video POI table and the creative POI table are searched, and the business video POI and the creative POI having the same objectid are respectively referred to as a first business video POI and a first creative POI, Obtaining the identification information of the first service video to which the first service video POI belongs, obtaining the identification information of the first creative material to which the first creative material POI belongs, and acquiring the appearance of the first service video POI in the first service video Time as the first creative in the first commercial video in the insertion position, get the first The objectid of the creative POI generates the associated information synchronization file. The insertion location may be a disappearance time of the first service video POI in the first service video, or a position between the appearance time and the disappearance time of the first service video POI in the first service video, or Other locations, such as a location after the disappearance time of the first service video POI in the first service video, or a location before the appearance time of the first service video POI in the first service video, and the like.
在本发明的另一实施例中,也可以不检测目标位置,不提取广告素材POI和业务视频POI,直接使用广告视频关键帧、广告图片、业务视频关键帧,对广告视频关键帧和/或广告图片配置广告对象标识,查找与广告视频关键帧和/或广告图片相似度大于第一相似度阈值的业务视频关键帧,为查找到的业务视频关键帧配置与广告视频关键帧和/或广告图片相同的广告对象标识,即具有相同的广告对象标识的业务视频关键帧所属的业务视频与广告视频关键帧和/或广告图片所属的广告素材关联。广告素材在业务视频中的插播位置根据业务视频关键帧的位置决定。In another embodiment of the present invention, the target location may not be detected, the creative POI and the service video POI may not be extracted, and the advertisement video key frame, the advertisement picture, the service video key frame, and the advertisement video key frame and/or may be directly used. The advertisement image configures an advertisement object identifier, and searches for a business video key frame whose similarity with the advertisement video key frame and/or the advertisement image is greater than the first similarity threshold, and configures the advertisement video key frame and/or advertisement for the found service video key frame. The same advertisement object identifier as the image, that is, the business video to which the business video key frame having the same advertisement object identifier belongs is associated with the advertisement video key frame and/or the creative material to which the advertisement image belongs. The placement of the creative in the business video is determined by the location of the business video keyframe.
在本发明的另一实施例中,也可以检测目标位置,但不提取广告素材POI和业务视频POI,直接使用广告视频关键帧、广告图片、业务视频关键帧,对广告视频关键帧和/或广告图片配置广告对象标识,查找与广告视频关键帧和/或广告图片相似度大于第一相似度阈值的业务视频关键帧,为查找到的业务视频关键帧配置与广告视频关键帧和/或广告图片相同的广告对象标识,即具有相同的广告对象标识的业务视频关键帧所属的业务视频与广告视频关键帧和/或广告图片所属的广告素材关联。广告素材在业务视频中的插播位置根据业务视频关键帧的位置决定,也可以根据与业务视频关键帧关联的目标出现时间和目标消失时间决定。In another embodiment of the present invention, the target location may also be detected, but the creative POI and the business video POI are not extracted, and the advertising video key frame, the advertisement image, the business video key frame, the advertising video key frame and/or are directly used. The advertisement image configures an advertisement object identifier, and searches for a business video key frame whose similarity with the advertisement video key frame and/or the advertisement image is greater than the first similarity threshold, and configures the advertisement video key frame and/or advertisement for the found service video key frame. The same advertisement object identifier as the image, that is, the business video to which the business video key frame having the same advertisement object identifier belongs is associated with the advertisement video key frame and/or the creative material to which the advertisement image belongs. The placement location of the creative in the business video is determined by the location of the business video keyframe, or by the target occurrence time and target disappearance time associated with the business video keyframe.
关联信息同步文件中包括业务视频标识信息(比如业务视频编号)、与业务视频关联的广告素材标识信息(比如广告视频编号、广告图片编号或广告图片名称),以及,广告素材在业务视频中的插播位置。The associated information synchronization file includes service video identification information (such as a business video number), creative identification information associated with the business video (such as an advertisement video number, an advertisement picture number, or an advertisement picture name), and the creative is in the business video. Insert location.
关联信息同步文件可以定时生成,也可以在被触发的时候生成。 The associated information synchronization file can be generated periodically or when triggered.
步骤323,视频分析平台通过关联信息同步接口将关联信息同步文件发送给广告平台;Step 323: The video analytics platform sends the associated information synchronization file to the advertisement platform through the associated information synchronization interface.
步骤324,视频分析平台通过关联信息同步接口将关联信息同步文件发送给业务平台。Step 324: The video analytics platform sends the associated information synchronization file to the service platform by using the associated information synchronization interface.
下面给出一种关联信息同步接口的实现方式,需要说明的是,该实现方式仅为示例,可根据需要使用其他实现方式。在本发明的一个实施例中,关联信息同步接口的一种实现方式如下:An implementation manner of the associated information synchronization interface is provided below. It should be noted that the implementation manner is only an example, and other implementation manners may be used as needed. In an embodiment of the present invention, an implementation manner of the associated information synchronization interface is as follows:
同步方向:视频分析平台——>业务平台、广告平台;Synchronization direction: video analysis platform -> business platform, advertising platform;
同步格式:可根据需要设定,比如为文件方式;Synchronization format: can be set as needed, such as file mode;
文件类型:可根据需要设定,比如为txt类型;File type: can be set as needed, such as txt type;
数据文件说明:为业务视频和广告素材的关联信息,增量数据可以每天定时生成。首次为全量。Data file description: For the associated information of business videos and creatives, incremental data can be generated on a daily basis. For the first time, it is full.
同步频率:每隔预设时间(预设时间可配置)增量同步(首次全量),由业务平台、广告平台到指定服务器(指定服务器可以是FTP服务器)下载,支持人工触发立即下载。比如,预设时间可以为1天,本申请对此不作限定。Synchronization frequency: Incremental synchronization (first full amount) every preset time (preset time), downloaded from the service platform, advertising platform to the designated server (the specified server can be an FTP server), and supports manual triggering immediate download. For example, the preset time may be one day, which is not limited in this application.
文件格式:字段间可采用预设分隔符分离,或其他约定方式;其中,预设分隔符比如为“|#”;File format: The fields can be separated by preset separators, or other conventions; where the default separator is, for example, "|#";
其中,关联信息同步文件可包括如下信息:操作类型(新增关联信息、修改关联信息或者删除关联信息)、业务视频编号、关联的广告素材编号、广告素材在业务视频中的插播位置、广告对象标识,还可包括广告对象类型和广告对象名称。The associated information synchronization file may include the following information: operation type (new association information, modification association information or deletion association information), service video number, associated creative material number, insertion position of the creative in the business video, and the advertisement object. The identifier can also include an ad object type and an ad object name.
下面通过具体实施例进一步说明本发明。The invention is further illustrated by the following specific examples.
实施例一 单机部署精准投放广告系统Embodiment 1 Single-machine deployment accurate advertising system
实施例一提供了单机部署精准投放广告系统的实现方案。该方案可以 节省硬件成本。如图4所示,单机部署的精准投放广告系统包括视频分析平台、与视频分析平台相连的数据库、数据同步接口、关联信息同步接口,以及与数据库相连的门户。Embodiment 1 provides an implementation scheme for a stand-alone deployment accurate advertising system. The program can Save on hardware costs. As shown in FIG. 4, the single-machine deployment precision advertising system includes a video analysis platform, a database connected to the video analysis platform, a data synchronization interface, an associated information synchronization interface, and a portal connected to the database.
图5为基于图4所示的单机部署精准投放广告系统的方法实现流程图。如图5所示,包括:FIG. 5 is a flow chart of a method for implementing a precise placement advertisement system based on the single machine shown in FIG. 4. As shown in Figure 5, it includes:
步骤501,视频分析平台通过数据同步接口同步广告素材同步信息,进行解析;Step 501: The video analysis platform synchronizes the creative synchronization information through the data synchronization interface, and performs parsing;
具体解析方法参见步骤301-302;For specific analysis methods, see steps 301-302.
步骤502,视频分析平台对广告素材进行分析,对视频进行解码,按帧输出,抽取视频关键帧,进行目标检测,记录目标位置信息,提取特征值,生成特征索引;Step 502: The video analysis platform analyzes the creative, decodes the video, outputs the video according to the frame, extracts the video key frame, performs target detection, records the target location information, extracts the feature value, and generates a feature index.
参考步骤303,步骤305中的分析过程;Referring to step 303, the analysis process in step 305;
步骤503,视频分析平台将相关信息写入视频关键帧表和广告素材POI表中,广告素材POI表中对应数据的默认状态为“未审核”;Step 503: The video analysis platform writes related information into the video key frame table and the creative POI table, and the default state of the corresponding data in the creative POI table is “unaudited”;
参考步骤304,步骤306;Referring to step 304, step 306;
步骤504,门户接收到用户的查询请求后,向数据库发起查询请求,查询广告素材POI表中未审核的广告素材POI,并接收数据库返回的未审核的广告素材POI;Step 504, after receiving the query request of the user, the portal initiates a query request to the database, queries the unreviewed creative POI in the creative POI table, and receives the unreviewed creative POI returned by the database;
步骤505,门户根据用户的操作,为未审核的广告素材POI配置广告对象信息,并在广告对象表新增一条广告对象数据;Step 505: The portal configures advertisement object information for the unaudited creative POI according to the operation of the user, and adds an advertisement object data to the advertisement object table.
步骤506,门户修改广告素材POI表中该广告素材POI的状态为“已审核未关联”,将新创建的广告对象的对象标识写入该广告素材POI的信息中,比如,将广告素材POI表中该广告素材POI的objectid字段值刷新为新增的广告对象数据的objectid字段值并将修改后的广告素材POI的相关信息发送给数据库;Step 506, the portal modifies the status of the creative POI in the creative POI table as “reviewed unassociated”, and writes the object identifier of the newly created advertisement object into the information of the creative POI, for example, the creative POI table. The objectid field value of the creative POI is refreshed to the objectid field value of the newly added advertisement object data, and the modified information of the creative POI is sent to the database;
步骤507,视频分析平台通过数据同步接口获取业务视频同步信息, 进行解析。解析过程参考步骤310;Step 507: The video analysis platform acquires service video synchronization information through a data synchronization interface. Analyze. The parsing process refers to step 310;
步骤508,视频分析平台对业务视频进行分析,包括:对视频进行解码,按帧输出,抽取视频关键帧,进行目标检测,记录目标位置信息,提取关键帧图片特征值,生成索引;Step 508: The video analysis platform analyzes the service video, including: decoding the video, outputting according to the frame, extracting the video key frame, performing target detection, recording the target location information, extracting the feature value of the key frame image, and generating an index;
步骤509,视频分析平台将相关信息写入视频关键帧表和业务视频POI表中,业务视频POI表中该数据的默认状态为“未关联”;具体参考步骤312;Step 509, the video analysis platform writes the related information into the video key frame table and the service video POI table, and the default state of the data in the service video POI table is “unrelated”;
步骤510,视频分析平台查询数据库的广告素材POI表,接收数据库返回的“已审核未关联”的广告素材POI;Step 510, the video analysis platform queries the creative POI table of the database, and receives the "audited unassociated" creative POI returned by the database;
步骤511,视频分析平台对接收到的每个已审核未关联的广告素材POI,执行如下操作:Step 511: The video analytics platform performs the following operations on each of the reviewed unrelated creative POIs that are received:
对每个广告素材POI,查询本地的特征索引,找出与此广告素材POI所关联的广告图片(可能是广告视频中抽取的关键帧,也可能是广告图片)相似度大于第一相似度阈值的所有业务视频关键帧,进行自动关联,将与查找到的业务视频关键帧对应的业务视频POI的广告对象字段设置为该广告素材POI的广告对象字段值,并将该业务视频POI状态修改为“已关联”,以及,将广告素材POI表中该广告素材POI的状态修改为“已关联”;For each creative POI, query the local feature index to find the ad image associated with the creative POI (possibly the key frame extracted from the ad video, or the ad image). The similarity is greater than the first similarity threshold. All the business video key frames are automatically associated, and the advertisement object field of the business video POI corresponding to the found service video key frame is set as the advertisement object field value of the creative POI, and the service video POI status is modified to "Associated" and the status of the creative POI in the creative POI table is changed to "Associated";
步骤512,视频分析平台与数据库交互,修改业务视频POI表相关的业务视频POI的广告对象字段值以及状态,修改广告素材POI表相关的广告素材POI的状态;Step 512: The video analysis platform interacts with the database, and modifies an advertisement object field value and a state of the service video POI related to the service video POI table, and modifies a state of the creative POI related to the creative POI table;
步骤513,门户根据用户的操作,向数据库发起查询操作,查询“已审核未关联”的广告素材POI,接收数据库返回的已审核未关联的广告素材POI信息;Step 513: The portal initiates a query operation to the database according to the operation of the user, queries the “PO that has not been audited”, and receives the audited unrelated creative POI information returned by the database;
对接收到的每条广告素材POI,执行步骤914至步骤918;Step 914 to step 918 are performed on each of the received creative POIs;
步骤514,门户根据用户的操作,选择一条广告素材POI,向视频分析平台发送查询关联图像的请求消息; Step 514: The portal selects a creative POI according to the operation of the user, and sends a request message for querying the associated image to the video analysis platform.
步骤515,视频分析平台查询本地的特征索引,查找与此广告素材POI关联的广告图片的相似度位于第二相似度阈值和第一相似度阈值之间的所有业务视频关键帧图片;其中,第二相似度阈值小于第一相似度阈值;Step 515: The video analytics platform queries the local feature index to find all service video key frame images whose similarity of the advertisement image associated with the creative POI is located between the second similarity threshold and the first similarity threshold. The second similarity threshold is smaller than the first similarity threshold;
步骤516,视频分析平台将查找到的业务视频的关键帧图片返回给门户;Step 516: The video analysis platform returns the key frame image of the found service video to the portal.
步骤517,门户向用户展示返回的业务视频关键帧图片,根据用户的操作,将业务视频关键帧图片与广告图片进行关联;Step 517: The portal displays the returned service video key frame image to the user, and associates the service video key frame image with the advertisement image according to the user operation;
步骤518,门户根据用户的操作,刷新数据库中业务视频POI表中对应的业务视频POI的objectid字段为关联的广告素材POI的object字段值,并将已关联的业务视频POI的状态更新为“已关联”,已关联的广告视频POI的状态更新为“已关联”;Step 518: The portal refreshes the objectid field of the corresponding service video POI in the service video POI table in the database as the object field value of the associated creative POI according to the operation of the user, and updates the status of the associated service video POI to “has been "Association", the status of the associated advertising video POI is updated to "Associated";
步骤519,视频分析平台生成增量的关联信息同步文件,首次为全量;Step 519, the video analysis platform generates an incremental associated information synchronization file, which is the full amount for the first time;
步骤520,视频分析平台将关联信息同步文件同步到关联信息同步接口。Step 520: The video analysis platform synchronizes the associated information synchronization file to the associated information synchronization interface.
实施例二 分布式部署精准投放广告系统Embodiment 2 Distributed deployment accurate advertising system
实施例二为分布式部署的精准投放广告系统的实现方案,当存在大量大视频的分析时,为了提高视频分析处理的效率,可使用分布式的部署方式,这种部署方式处理视频效率高,可用于实时的视频处理分析。其组网结构参考图6。如图6所示,分布式部署的精准投放广告系统包括由多个视频分析服务器组成的视频分析平台、数据同步接口、关联信息同步接口、数据库以及门户。The second embodiment is an implementation scheme of a distributed advertisement system for distributed deployment. When there is a large number of large video analysis, in order to improve the efficiency of video analysis processing, a distributed deployment mode can be used, which is highly efficient in processing video. Can be used for real-time video processing analysis. Refer to Figure 6 for its networking structure. As shown in FIG. 6, the distributed deployment accurate advertising system includes a video analysis platform composed of multiple video analysis servers, a data synchronization interface, an associated information synchronization interface, a database, and a portal.
图7为基于图6所示架构的精准投放广告方法实现流程图,如图7所示,实施例二提供的精准投放广告方法包括:FIG. 7 is a flowchart of a method for accurately placing an advertisement based on the architecture shown in FIG. 6. As shown in FIG. 7, the method for accurately advertising according to the second embodiment includes:
步骤701,视频分析平台通过数据同步接口同步广告素材同步信息,进行解析; Step 701: The video analysis platform synchronizes the creative synchronization information through the data synchronization interface, and performs parsing;
具体解析方法参见步骤301-302;For specific analysis methods, see steps 301-302.
步骤702,视频分析平台将广告视频切割成多个子广告视频,每个视频分析服务器分析处理一个子广告视频,具体包括:对子广告视频进行解码,按帧输出,抽取视频关键帧,进行目标检测,记录目标位置信息,提取特征值,生成特征索引;参考步骤303,步骤305中的处理过程;Step 702: The video analysis platform cuts the advertisement video into a plurality of sub-advertising videos, and each video analysis server analyzes and processes one sub-advertising video, specifically: decoding the sub-advertising video, outputting by frame, extracting video key frames, and performing target detection. Recording target location information, extracting feature values, and generating a feature index; referring to step 303, the processing in step 305;
步骤703,视频分析平台将相关信息写入视频关键帧表和广告素材POI表中,广告素材POI表中对应数据的默认状态为“未审核”;Step 703: The video analysis platform writes related information into the video key frame table and the creative POI table, and the default state of the corresponding data in the creative POI table is “unaudited”;
参考步骤304,步骤306;Referring to step 304, step 306;
步骤704,门户接收到用户的查询请求后,向数据库发起查询请求,查询广告素材POI表中未审核的广告素材POI,并接收数据库返回的未审核的广告素材POI;Step 704, after receiving the query request of the user, the portal initiates a query request to the database, queries the unreviewed creative POI in the creative POI table, and receives the unreviewed creative POI returned by the database;
步骤705,门户根据用户的操作,为未审核的广告素材POI配置广告对象信息,并在广告对象表新增一条广告对象数据;Step 705: The portal configures advertisement object information for the unreviewed creative POI according to the operation of the user, and adds an advertisement object data to the advertisement object table.
步骤706,门户修改广告素材POI表中该广告素材POI的状态为“已审核未关联”,将新创建的广告对象的对象标识写入该广告素材POI的信息中,比如,将广告素材POI表中该广告素材POI的objectid字段值刷新为新增的广告对象数据的objectid字段值并将修改后的广告素材POI的相关信息发送给数据库;Step 706: The portal modifies the status of the creative POI in the creative POI table as “reviewed unassociated”, and writes the object identifier of the newly created advertisement object into the information of the creative POI, for example, the creative POI table. The objectid field value of the creative POI is refreshed to the objectid field value of the newly added advertisement object data, and the modified information of the creative POI is sent to the database;
步骤707,视频分析平台通过数据同步接口获取业务视频同步信息,进行解析。解析过程参考步骤310;Step 707: The video analysis platform acquires the service video synchronization information through the data synchronization interface, and performs parsing. The parsing process refers to step 310;
步骤708,视频分析平台对业务视频进行分析,包括:将业务视频切割成多个子业务视频,每台视频分析服务器对一个子业务视频进行如下处理:解码,按帧输出,抽取视频关键帧,进行目标检测,记录目标位置信息,提取关键帧图片特征值,生成索引;Step 708: The video analysis platform analyzes the service video, including: cutting the service video into multiple sub-service videos, and each video analysis server processes the sub-service video as follows: decoding, outputting by frame, extracting video key frames, and performing Target detection, recording target location information, extracting feature values of key frame images, and generating an index;
步骤709,视频分析平台将相关信息写入视频关键帧表和业务视频POI表中,业务视频POI表中该数据的默认状态为“未关联”;具体参考步骤312; Step 709, the video analysis platform writes the related information into the video key frame table and the service video POI table, and the default state of the data in the service video POI table is “unrelated”;
步骤710,视频分析平台查询数据库的广告素材POI表,接收数据库返回的“已审核未关联”的广告素材POI;Step 710, the video analysis platform queries the creative POI table of the database, and receives the "audited unassociated" creative POI returned by the database;
步骤711,视频分析平台对接收到的每个已审核未关联的广告素材POI,执行如下操作:Step 711: The video analytics platform performs the following operations on each of the reviewed unrelated creative POIs that are received:
对每个广告素材POI,查询本地的特征索引,找出与此广告素材POI所关联的广告图片(可能是广告视频中抽取的关键帧,也可能是广告图片)相似度大于第一相似度阈值的所有业务视频关键帧,进行自动关联,将与查找到的业务视频关键帧对应的业务视频POI的广告对象字段设置为该广告素材POI的广告对象字段值,并将该业务视频POI状态修改为“已关联”,以及,将广告素材POI表中该广告素材POI的状态修改为“已关联”;For each creative POI, query the local feature index to find the ad image associated with the creative POI (possibly the key frame extracted from the ad video, or the ad image). The similarity is greater than the first similarity threshold. All the business video key frames are automatically associated, and the advertisement object field of the business video POI corresponding to the found service video key frame is set as the advertisement object field value of the creative POI, and the service video POI status is modified to "Associated" and the status of the creative POI in the creative POI table is changed to "Associated";
步骤712,视频分析平台与数据库交互,修改业务视频POI表相关的业务视频POI的广告对象字段值以及状态,修改广告素材POI表相关的广告素材POI的状态;Step 712: The video analysis platform interacts with the database, and modifies an advertisement object field value and a state of the service video POI related to the service video POI table, and modifies a state of the creative POI related to the creative POI table;
步骤713,门户根据用户的操作,向数据库发起查询操作,查询“已审核未关联”的广告素材POI,接收数据库返回的已审核未关联的广告素材POI信息;Step 713: The portal initiates a query operation to the database according to the operation of the user, queries the “PO that has not been audited”, and receives the audited unrelated creative POI information returned by the database;
对接收到的每条广告素材POI,执行步骤1114至步骤1118;Step 1114 to step 1118 are performed on each of the received creative POIs;
步骤714,门户根据用户的操作,选择一条广告素材POI,向视频分析平台发送查询关联图像的请求消息;Step 714: The portal selects a creative POI according to the operation of the user, and sends a request message for querying the associated image to the video analysis platform.
步骤715,视频分析平台查询本地的特征索引,查找与此广告素材POI关联的广告图片的相似度位于第二相似度阈值和第一相似度阈值之间的所有业务视频关键帧图片;其中,第二相似度阈值小于第一相似度阈值;Step 715: The video analytics platform queries the local feature index to find all service video key frame images whose similarity of the advertisement image associated with the creative POI is located between the second similarity threshold and the first similarity threshold. The second similarity threshold is smaller than the first similarity threshold;
步骤716,视频分析平台将查找到的业务视频的关键帧图片返回给门户;Step 716: The video analysis platform returns the key frame image of the found service video to the portal.
步骤717,门户向用户展示返回的业务视频关键帧图片,根据用户的操作,将业务视频关键帧图片与广告图片进行关联; Step 717: The portal displays the returned service video key frame picture to the user, and associates the service video key frame picture with the advertisement picture according to the user operation;
步骤718,门户根据用户的操作,刷新数据库中业务视频POI表中对应的业务视频POI的objectid字段为关联的广告素材POI的object字段值,并将已关联的业务视频POI的状态更新为“已关联”,已关联的广告视频POI的状态更新为“已关联”;Step 718: The portal refreshes the objectid field of the corresponding service video POI in the service video POI table in the database as the object field value of the associated creative POI according to the operation of the user, and updates the status of the associated service video POI to “has been "Association", the status of the associated advertising video POI is updated to "Associated";
步骤719,视频分析平台生成增量的关联信息同步文件,首次为全量;Step 719, the video analysis platform generates an incremental associated information synchronization file, for the first time is full amount;
步骤720,视频分析平台将关联信息同步文件同步到关联信息同步接口。Step 720: The video analytics platform synchronizes the associated information synchronization file to the associated information synchronization interface.
实施例三 IPTV精准投放广告系统Embodiment 3 IPTV accurate advertising system
实施例三是精准投放广告系统与IPTV结合应用的实施例,其系统架构图参考图8。如图8所示,本发明实施例提供的IPTV精准投放广告系统包括精准投放广告系统、多个机顶盒、IPTV业务平台和广告平台。The third embodiment is an embodiment of a precise application system and an IPTV application. The system architecture diagram is shown in FIG. 8. As shown in FIG. 8, the IPTV precision advertisement advertisement system provided by the embodiment of the present invention includes a precision advertisement advertisement system, a plurality of set top boxes, an IPTV service platform, and an advertisement platform.
图9为基于图8所示架构的精准投放广告方法流程图,如图9所示,实施例三所示的精准投放广告方法包括:FIG. 9 is a flowchart of a method for accurately placing advertisements based on the architecture shown in FIG. 8. As shown in FIG. 9, the method for accurately advertising according to the third embodiment includes:
步骤901,精准投放广告系统从广告平台获取广告视频;Step 901: The accurate delivery advertisement system obtains an advertisement video from the advertisement platform;
获取方法参考步骤301;The obtaining method refers to step 301;
步骤902,所述精准投放广告系统从所述广告平台获取广告图片;Step 902, the precision delivery advertisement system obtains an advertisement picture from the advertisement platform;
获取方法参考步骤302;The obtaining method refers to step 302;
其中,步骤901,902的执行顺序不限,可以先执行步骤901,然后执行步骤902,也可先执行步骤902,再执行步骤901,或者二者同时执行;The execution order of the steps 901, 902 is not limited, and the step 901 may be performed first, and then the step 902 may be performed, or the step 902 may be performed first, or the step 901 may be performed, or both may be performed simultaneously;
步骤903,所述精准投放广告系统对所述广告视频进行分析;Step 903, the precision delivery advertisement system analyzes the advertisement video;
分析过程参考步骤303-304;The analysis process refers to steps 303-304;
步骤904,所述精准投放广告系统对所述广告图片进行分析;Step 904, the precision delivery advertisement system analyzes the advertisement image;
分析过程参考步骤305-306;The analysis process refers to steps 305-306;
其中,步骤903,904的执行顺序不限,可以先执行步骤903,然后执 行步骤904,也可先执行步骤904,再执行步骤903,或者二者同时执行;The execution order of steps 903 and 904 is not limited, and step 903 may be performed first, and then executed. In step 904, step 904 may be performed first, then step 903 may be performed, or both may be performed simultaneously;
步骤905,所述精准投放广告系统从所述IPTV业务平台获取业务视频;Step 905, the precision delivery advertisement system acquires a service video from the IPTV service platform;
获取方法参考步骤310;The obtaining method refers to step 310;
步骤906,所述精准投放广告系统对所述业务视频进行分析,对业务视频和广告视频、广告图片进行关联;Step 906: The precision delivery advertisement system analyzes the service video, and associates the service video with the advertisement video and the advertisement image;
分析方法参考步骤311-312,关联过程参考步骤313-321;The analysis method refers to steps 311-312, and the association process refers to steps 313-321;
步骤907,所述精准投放广告系统定时生成增量的关联信息同步文件;Step 907, the precision delivery advertisement system periodically generates an incremental association information synchronization file;
步骤908,所述精准投放广告系统通过关联信息同步接口将所述增量的关联信息同步文件同步给所述IPTV业务平台;Step 908: The precision advertisement advertisement system synchronizes the incremental association information synchronization file to the IPTV service platform by using an associated information synchronization interface;
步骤909,所述精准投放广告系统通过关联信息同步接口将所述增量的关联信息同步文件同步给所述广告平台;Step 909, the precision delivery advertisement system synchronizes the incremental association information synchronization file to the advertisement platform by using an associated information synchronization interface;
其中,步骤908,步骤909之间无前后顺序关系;也可以先执行步骤909,再执行步骤908,或者,二者同时执行;本申请对此不作限定。There is no pre-order relationship between the steps 908 and 909. Step 909 may be performed first, and then step 908 may be performed, or both of them may be performed at the same time;
步骤910,机顶盒接收到用户通过电视终端发起的业务视频点播请求;Step 910: The set top box receives a service video on demand request initiated by the user through the television terminal.
步骤911,所述机顶盒将业务视频点播请求发送到所述IPTV业务平台;Step 911, the set top box sends a service video on demand request to the IPTV service platform;
步骤912,所述IPTV业务平台接收到所述业务视频点播请求后,根据关联信息,从所述广告平台获取与被点播的业务视频关联的广告素材;所述广告素材包括广告视频和/或广告图片;Step 912: After receiving the service video on demand request, the IPTV service platform acquires, according to the association information, an advertisement material associated with the service video that is requested by the advertisement platform; the advertisement material includes an advertisement video and/or an advertisement. image;
步骤913,所述IPTV业务平台将所述关联的广告素材推送到机顶盒;Step 913, the IPTV service platform pushes the associated creative material to the set top box;
步骤914,所述机顶盒在在播放所述用户点播的业务视频时,插播关联的广告素材。Step 914: The set top box inserts the associated creative material while playing the service video requested by the user.
实施例四 视频播放软件精准投放广告系统 Embodiment 4 Video playback software accurately delivers an advertising system
实施例四是精准投放广告系统与视频播放软件结合应用的实施例,实施例四的系统架构图参考图10。如图10所示,本实施例提供的视频播放软件精准投放广告系统包括多个视频播放软件客户端、点播视频业务平台、精准投放广告系统和广告平台。The fourth embodiment is an embodiment of the application of the accurate advertising system and the video playing software. The system architecture diagram of the fourth embodiment refers to FIG. As shown in FIG. 10, the video playback software accurate advertisement advertising system provided in this embodiment includes multiple video playback software clients, an on-demand video service platform, a precision advertisement advertisement system, and an advertisement platform.
图11为基于图10所示系统架构实现的精准投放广告方法。如图11所示,实施例四提供的精准投放广告方法包括:FIG. 11 is a method for accurately placing advertisements based on the system architecture shown in FIG. As shown in FIG. 11, the accurate advertising method provided in the fourth embodiment includes:
步骤1101,精准投放广告系统从广告平台获取广告视频;Step 1101, the accurate advertising system obtains an advertisement video from the advertisement platform;
获取方法参考步骤301;The obtaining method refers to step 301;
步骤1102,所述精准投放广告系统从所述广告平台获取广告图片;Step 1102, the precision delivery advertisement system obtains an advertisement picture from the advertisement platform;
获取方法参考步骤302;The obtaining method refers to step 302;
步骤1103,所述精准投放广告系统对所述广告视频进行分析;Step 1103, the precision delivery advertisement system analyzes the advertisement video;
分析过程参考步骤303-304;The analysis process refers to steps 303-304;
步骤1104,所述精准投放广告系统对所述广告图片进行分析;Step 1104, the precision delivery advertisement system analyzes the advertisement image;
分析过程参考步骤305-306;The analysis process refers to steps 305-306;
步骤1105,所述精准投放广告系统从所述点播视频业务平台获取业务视频;Step 1105: The precision delivery advertisement system acquires a service video from the on-demand video service platform.
步骤1106,所述精准投放广告系统对所述业务视频进行分析,对业务视频和广告视频、广告图片进行关联;Step 1106: The precision delivery advertisement system analyzes the service video, and associates the service video with the advertisement video and the advertisement image;
分析方法参考步骤311-312,关联过程参考步骤313-321;The analysis method refers to steps 311-312, and the association process refers to steps 313-321;
步骤1107,所述精准投放广告系统定时生成增量的关联信息同步文件;Step 1107, the precision delivery advertisement system periodically generates an incremental associated information synchronization file;
步骤1108,所述精准投放广告系统通过关联信息同步接口将所述增量的关联信息同步文件同步给所述点播视频业务平台;Step 1108, the precision delivery advertisement system synchronizes the incremental association information synchronization file to the on-demand video service platform by using an associated information synchronization interface;
步骤1109,所述精准投放广告系统通过关联信息同步接口将所述增量的关联信息同步文件同步给所述广告平台;Step 1109, the precision delivery advertisement system synchronizes the incremental association information synchronization file to the advertisement platform by using an associated information synchronization interface;
步骤1110,所述点播视频业务平台接收到视频播放软件客户端发送的 业务视频点播请求;Step 1110, the on-demand video service platform receives the video transmission software client sends Business video on demand request;
步骤1111,所述点播视频业务平台接收到所述业务视频点播请求后,根据关联信息,从所述广告平台获取与被点播的业务视频关联的广告素材;所述广告素材包括广告视频和/或广告图片;Step 1111: After receiving the service video on demand request, the on-demand video service platform acquires, according to the association information, the creative associated with the service video that is requested on the advertisement platform; the creative material includes an advertisement video and/or Ad Image;
步骤1112,所述点播视频业务平台将所述广告素材推送到所述点播视频软件客户端;Step 1112, the on-demand video service platform pushes the creative material to the on-demand video software client;
步骤1113,所述点播视频软件客户端在播放点播的业务视频时,插播所述广告素材;所述广告素材包括广告视频和/或广告图片。Step 1113, the on-demand video software client inserts the creative material when playing the on-demand business video; the creative material includes an advertisement video and/or an advertisement image.
本发明实施例对业务视频以及广告素材进行处理分析,通过对业务图片和广告图片比较,自动关联业务视频和广告素材,减少了人工干预,在播放业务视频时播放关联的广告素材,达到投放广告与用户观看内容紧密相关的效果,实现精准投放广告。比如,业务视频中出现了刘德华时,插播刘德华代言的广告;业务视频中出现奔驰汽车时,插播奔驰汽车的广告。本发明实施例能自动的完成视频分析处理、关联工作,减少人工干预。In the embodiment of the present invention, the business video and the creative material are processed and analyzed, and the business video and the creative material are automatically associated by comparing the business image and the advertisement image, thereby reducing manual intervention, playing the associated creative material when playing the business video, and reaching the advertisement. A closely related effect to the user’s viewing of the content, enabling accurate advertising. For example, when there is Andy Lau in the business video, the advertisement of Andy Lau’s endorsement is inserted; when the Mercedes-Benz car appears in the business video, the advertisement of Mercedes-Benz is inserted. The embodiment of the invention can automatically complete video analysis processing and association work, and reduce manual intervention.
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述匹配方法。The embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed.
本发明实施例还提供一种视频分析平台,包括:存储器和处理器,其中:The embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
所述存储器,设置为存放程序;The memory is configured to store a program;
所述处理器,执行所述程序,以设置为:获取待匹配资源,从所述待匹配资源中提取图片,获得第一图片集合;获取第二视频资源,根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行 关联。The processor is configured to: obtain a resource to be matched, extract a picture from the to-be-matched resource, obtain a first picture set, and acquire a second video resource according to the image of the second video resource And extracting a picture from the second video resource to obtain a second picture set; comparing the picture in the first picture set with the picture in the second picture set, and obtaining Similarity; when the similarity of the first picture in the first picture set and the second picture in the second picture set meets the first preset condition, the to-be-matched resource to which the first picture belongs Performing the second video resource to which the second picture belongs Association.
本发明实施例还提供一种视频分析平台,包括:存储器和处理器,其中:The embodiment of the invention further provides a video analysis platform, comprising: a memory and a processor, wherein:
所述存储器,设置为存放程序;The memory is configured to store a program;
所述处理器,执行所述程序,以设置为:获取广告素材,从所述广告素材中提取图片,获得广告图片集合;获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The processor executing the program to: obtain a creative, extract a picture from the creative, obtain an advertisement picture set; obtain a service video, according to one of an image, a sound, and a subtitle of the service video Or extracting a picture from the service video to obtain a service picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity; when the advertisement picture set When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
本发明实施例还提供一种匹配系统,包括视频分析平台、数据库、门户、数据同步接口模块和关联信息同步接口模块,所述视频分析平台包括存储器和处理器,其中,The embodiment of the present invention further provides a matching system, including a video analysis platform, a database, a portal, a data synchronization interface module, and an associated information synchronization interface module, where the video analysis platform includes a memory and a processor, where
所述存储器,设置为存放程序;The memory is configured to store a program;
所述处理器,设置为执行所述程序,以设置为,通过所述数据同步接口模块从第一平台获取待匹配资源同步信息,根据所述待匹配资源同步信息获取待匹配资源,所述待匹配资源包括待匹配视频资源和/或待匹配图片,从所述待匹配资源中提取图片,获得第一图片集合;通过所述数据同步接口模块从第二平台获取第二视频资源同步信息,根据所述第二视频同步信息获取第二视频资源,从所述第二视频资源中提取图片,获得第二图片集合;将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联,生成关联信息;以及, 通过所述关联信息同步接口模块将所述关联信息同步到所述第一平台和所述第二平台;The processor is configured to execute the program, so that the data synchronization interface module obtains the to-be-matched resource synchronization information from the first platform, and obtains the to-be-matched resource according to the to-be-matched resource synchronization information. The matching resource includes a to-be-matched video resource and/or a to-be-matched picture, and extracts a picture from the to-be-matched resource to obtain a first picture set; and the second video resource synchronization information is obtained from the second platform by using the data synchronization interface module, according to the The second video synchronization information acquires a second video resource, extracts a picture from the second video resource, obtains a second picture set, and performs a picture in the first picture set and a picture in the second picture set. Comparing, obtaining a similarity; when the similarity of the first picture in the first picture set and the second picture in the second picture set meets a first preset condition, Correlating the matching resource with the second video resource to which the second picture belongs to generate association information; and, Synchronizing the association information to the first platform and the second platform by using the associated information synchronization interface module;
所述数据库,用于存储待匹配资源和第二视频资源的相关信息;The database is configured to store related information of the to-be-matched resource and the second video resource;
所述门户,用于实现用户与所述数据库、视频分析平台的交互;The portal is configured to implement interaction between the user and the database and the video analysis platform;
所述数据同步接口模块,将待匹配资源同步信息从所述第一平台同步到所述视频分析平台;用于将第二视频资源同步信息从所述第二平台同步到所述视频分析平台;The data synchronization interface module synchronizes the to-be-matched resource synchronization information from the first platform to the video analysis platform; and synchronizes the second video resource synchronization information from the second platform to the video analysis platform;
所述关联信息同步接口模块,设置为将所述关联信息从所述视频分析平台同步到所述第一平台和所述第二平台。The associated information synchronization interface module is configured to synchronize the association information from the video analysis platform to the first platform and the second platform.
其中,第一平台可以是广告平台,第二平台可以是业务平台。The first platform may be an advertisement platform, and the second platform may be a service platform.
本发明实施例还提供一种精准投放广告系统,包括视频分析平台、数据库、门户、数据同步接口模块和关联信息同步接口模块,其中,The embodiment of the invention further provides an accurate advertising system, including a video analysis platform, a database, a portal, a data synchronization interface module and an associated information synchronization interface module, wherein
所述视频分析平台用于:通过所述数据同步接口模块从广告平台同步广告素材同步信息,根据所述广告素材同步信息获取广告素材,从所述广告素材中提取图片,获得广告图片集合;通过所述数据同步接口模块从业务平台同步业务视频同步信息,根据所述业务视频同步信息获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息,将所述关联信息通过所述关联信息同步接口模块同步到所述广告平台和所述业务平台;The video analysis platform is configured to: synchronize the creative synchronization information from the advertisement platform by using the data synchronization interface module, obtain the creative material according to the creative synchronization information, extract a picture from the creative material, obtain a set of advertisement images; The data synchronization interface module synchronizes the service video synchronization information from the service platform, acquires the service video according to the service video synchronization information, and extracts the service video according to one or more of the image, sound and subtitle of the service video. a picture, obtaining a business picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the business picture set to obtain a similarity; when the first advertisement picture and the service in the advertisement picture set Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs, and generating the similarity of the first service image in the image collection Correlation information, where the association information includes: an identification letter of the first service video Identification information of the first advertisement creatives, the related information by the related information is synchronized to the synchronous interface module of the service platform, and advertising platform;
所述数据库,用于存储所述广告素材和业务视频的相关信息;The database is configured to store related information of the creative and the business video;
所述门户,用于实现用户与所述数据库、视频分析平台的交互; The portal is configured to implement interaction between the user and the database and the video analysis platform;
所述数据同步接口模块,将广告素材同步信息从所述广告平台同步到所述视频分析平台;设置为将业务视频同步信息从所述业务平台同步到所述视频分析平台;The data synchronization interface module synchronizes creative synchronization information from the advertisement platform to the video analysis platform; and is configured to synchronize service video synchronization information from the service platform to the video analysis platform;
所述关联信息同步接口模块,设置为将所述关联信息从所述视频分析平台同步到所述广告平台和所述业务平台。The associated information synchronization interface module is configured to synchronize the associated information from the video analytics platform to the advertising platform and the service platform.
在本发明的一实施例中,所述视频分析平台还用于,对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联,将所述广告素材目标对象存入数据库中的广告素材目标对象表,将其状态设置为未审核;以及,对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联,将所述业务视频目标对象存入数据库中的业务视频目标对象表,将其状态设置为未审核;In an embodiment of the present invention, the video analysis platform is further configured to perform background modeling and target detection on the advertisement video in the creative, extract a target of the motion to obtain a target object of the advertisement, and The material target object is associated with the image in the first image collection that includes the creative target object, and the advertisement image in the creative material is used as a target object of the creative object and associated with the advertisement image to which the creative image belongs. The target object is stored in the creative target object table in the database, and its state is set to unaudited; and the background modeling and target detection of the business video are performed, the target of the motion is extracted, the business video target object is obtained, and the service is determined. Correlating the appearance and disappearance time of the video target object in the service video to which it belongs, associating the service video target object with a picture of the service picture set that includes the service video target object, and storing the service video target object Enter the business video target object table in the database and set its status to Nuclear;
所述门户用于实现用户与所述数据库、视频分析平台的交互包括:根据用户操作向所述数据库查询未审核的广告素材目标对象,根据用户操作为未审核的所述广告素材目标对象配置广告对象标识并修改广告素材目标对象表中其状态为已审核未关联;The portal is configured to implement the interaction between the user and the database and the video analytics platform, including: querying the database for an unreviewed creative target object according to a user operation, and configuring an advertisement for the unreviewed creative target object according to a user operation. The object identifies and modifies its status in the creative target object table as reviewed and not associated;
所述视频分析平台将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:The video analytics platform compares the advertisement image in the advertisement image set with the service image in the service image collection, and the obtaining similarity includes:
所述视频分析平台向所述数据库查询已审核未关联的广告素材目标对象,接收所述数据库返回的已审核未关联的广告素材目标对象,获取该已审核未关联的广告素材目标对象所关联的广告图片,将其与所述业务图片集合中的业务图片进行比较,获取相似度;The video analytics platform queries the database for the reviewed unassociated creative target object, receives the reviewed unassociated creative target object returned by the database, and obtains the associated unrecognized creative target object associated with the database. Advertising the image, comparing it with the business image in the business image collection, and obtaining similarity;
所述视频分析平台还用于,当所述业务图片集合中的第二业务图片与 所述已审核未关联的广告素材目标对象所关联的广告图片的相似度满足所述第一预设条件时,获取所述已审核未关联的广告素材目标对象被配置的广告对象标识,为所述第二业务图片所关联的第二业务视频目标对象配置与所述已审核未关联的广告素材目标对象被相同的广告对象标识,修改数据库中所述已审核未关联的广告素材目标对象的状态为已关联,修改数据库中所述第二业务视频目标对象的状态为已关联。The video analysis platform is further configured to: when the second service picture in the service picture set is When the similarity of the advertisement image associated with the reviewed unassociated creative target object satisfies the first preset condition, the obtained advertisement target identifier of the reviewed unassociated creative target object is obtained as The second service video target object configuration associated with the second service picture is identified by the same advertisement object as the reviewed unassociated creative target object, and the status of the reviewed unassociated creative target object in the database is modified. For the association, the state of the second service video target object in the database is modified to be associated.
在本发明的一实施例中,所述门户还用于,向所述数据库查询已审核未关联的广告素材目标对象,获取所述已审核未关联的广告素材目标对象后,向所述视频分析平台发起查询请求,接收所述视频分析平台返回的业务图片子集合,以及,根据用户操作从所述业务图片子集合中选择第三业务图片,将所选的第三业务图片关联的第三业务视频目标对象配置与所述已审核未关联的广告素材目标对象相同的广告对象标识,修改数据库中所述第三业务视频目标对象的状态为已关联,修改所述已审核未关联的广告素材目标对象的状态为已关联;In an embodiment of the present invention, the portal is further configured to: query the database for the unrecognized creative target object, obtain the reviewed unassociated creative target object, and analyze the video The platform initiates a query request, receives a service picture subset returned by the video analysis platform, and selects a third service picture from the service picture subset according to a user operation, and associates the selected third service picture with the third service. The video target object configures the same advertisement object identifier as the reviewed unassociated creative target object, and the status of the third business video target object in the modified database is associated, and the reviewed unassociated creative target is modified. The state of the object is already associated;
所述视频分析平台还用于,接收到所述门户发送的查询请求后,确定与该查询请求中携带的广告素材目标对象关联的第三广告图片,在所述业务图片集合中查找与所述第三广告图片的相似度满足第四预设条件的所述业务图片子集合,将所述业务图片子集合发送给所述门户。The video analysis platform is further configured to: after receiving the query request sent by the portal, determine a third advertisement image associated with the creative target object carried in the query request, and find and describe in the service image set The service picture subset of the third advertisement picture satisfies the fourth preset condition, and the service picture subset is sent to the portal.
本发明的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项所述的方法。Embodiments of the present invention also provide a storage medium including a stored program, wherein the program described above executes the method of any of the above.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in the embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a Random Access Memory (RAM). A variety of media that can store program code, such as a hard disk, a disk, or an optical disk.
本发明的实施例还提供了一种处理器,该处理器用于运行程序,其中,该程序运行时执行上述任一项方法中的步骤。Embodiments of the present invention also provide a processor for running a program, wherein the program is executed to perform the steps of any of the above methods.
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发 明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the content described is only for facilitating understanding of the present invention. The embodiments employed are not intended to limit the invention. Any modification and variation in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种视频分析平台、匹配方法、精准投放广告方法及系统具有以下有益效果:通过对业务视频、广告视频进行切割、提取关键帧、提取图片特征值,关联相似度高的业务视频和广告素材,业务平台和广告平台获得业务视频及其关联的广告素材,业务平台在播放业务视频的同时,播放广告素材(广告视频和/或广告图片),以达到精准投放业务视频相关的广告的效果。 As described above, a video analysis platform, a matching method, and a precise advertisement advertising method and system provided by the embodiments of the present invention have the following beneficial effects: by cutting a business video, an advertisement video, extracting a key frame, and extracting a feature value of the image, associating Business videos and creatives with similar similarities, business platforms and advertising platforms get business videos and their associated creatives, and the business platform plays creatives (advertising videos and/or advertising images) while playing business videos to achieve precision The performance of advertising related to business videos.

Claims (79)

  1. 一种匹配方法,包括:A matching method, including:
    获取待匹配资源,从所述待匹配资源中提取图片,获得第一图片集合;Obtaining a to-be-matched resource, extracting a picture from the to-be-matched resource, and obtaining a first picture set;
    获取第二视频资源,根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;Obtaining a second video resource, and extracting a picture from the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource, to obtain a second picture set;
    将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;Comparing the picture in the first picture set with the picture in the second picture set to obtain a similarity;
    当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。When the similarity between the first picture in the first picture set and the second picture in the second picture set satisfies a first preset condition, the to-be-matched resource to which the first picture belongs and the first The second video resource to which the two pictures belong is associated.
  2. 如权利要求1所述的方法,其中,从所述待匹配资源中提取图片或者从所述第二视频资源中提取图片包括:The method of claim 1, wherein extracting a picture from the to-be-matched resource or extracting a picture from the second video resource comprises:
    将所述待匹配资源中的待匹配视频或者所述第二视频资源作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the to-be-matched video or the second video resource in the to-be-matched resource as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the decoded video The input video is segmented according to the scenario, the segmented video is obtained, and the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where the segmented video set is The comparison result of any two divided videos satisfies the second preset condition;
    根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  3. 如权利要求1所述的方法,其中,所述从所述待匹配资源中提取图片包括:当所述待匹配资源中包括待匹配图片时,提取所述待匹配图片加入所述第一图片集合。 The method of claim 1, wherein the extracting the picture from the to-be-matched resource comprises: when the to-be-matched resource includes a to-be-matched picture, extracting the to-be-matched picture to join the first picture set .
  4. 如权利要求2所述的方法,其中,所述将解码后的输入视频根据场景进行分割包括:The method of claim 2, wherein the segmenting the decoded input video according to a scene comprises:
    根据所述输入视频中的背景、声音中一种或多种判断场景是否切换;Determining whether the scene is switched according to one or more of background and sound in the input video;
    在所述输入视频中发生场景切换的位置进行分割。The position where the scene switching occurs in the input video is divided.
  5. 如权利要求4所述的方法,其中,所述根据所述输入视频中的背景、声音中一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。The method of claim 4, wherein the determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a frequency a domain, acquiring an energy curve of the audio signal, acquiring a position of a maximum value and a minimum value of the energy curve, as a position where a scene switching occurs, and satisfying: two adjacent occurrence scenes acquired according to the energy curve The location of the switch is greater than the first distance threshold.
  6. 如权利要求2所述的方法,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片包括:The method of claim 2, wherein the extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video comprises:
    提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
    其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  7. 如权利要求2所述的方法,其中,所述根据所述待提取视频 的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The method of claim 2, wherein said according to said to-be-extracted video Extracting a video frame from the image to be extracted as one of the images, sounds, and subtitles as the extracted image includes:
    将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
  8. 如权利要求2所述的方法,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The method of claim 2, wherein the extracting a video frame from the image to be extracted according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image comprises:
    在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
  9. 如权利要求1所述的方法,其中,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:The method of claim 1, wherein the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition means:
    所述第一图片和所述第二图片的相似度大于第一相似度阈值。The similarity between the first picture and the second picture is greater than a first similarity threshold.
  10. 如权利要求1所述的方法,其中,所述将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度包括:The method of claim 1, wherein the comparing the pictures in the first picture set with the pictures in the second picture set, and obtaining the similarity comprises:
    根据通过深度学习算法获得的特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the picture in the first picture set according to the feature model obtained by the deep learning algorithm, and extracting a second feature value of the picture in the second picture set according to the feature model, and using the first feature The value is compared with the second eigenvalue to obtain a similarity.
  11. 一种视频分析平台,包括数据获取模块、视频图片分析处理层,其中: A video analysis platform includes a data acquisition module and a video picture analysis processing layer, wherein:
    所述数据获取模块设置为,获取所述待匹配资源,以及,获取第二视频资源;The data acquisition module is configured to acquire the to-be-matched resource and acquire the second video resource.
    所述视频图片分析处理层包括视频处理模块和图片分析模块,其中:The video picture analysis processing layer includes a video processing module and a picture analysis module, where:
    所述视频处理模块设置为,从所述待匹配资源中提取图片,获得第一图片集合;根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;The video processing module is configured to: extract a picture from the to-be-matched resource to obtain a first picture set; and select one or more of the second video resource according to one or more of an image, a sound, and a subtitle of the second video resource. Extracting a picture to obtain a second picture set;
    所述图片分析模块设置为,将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The image analysis module is configured to compare the picture in the first picture set with the picture in the second picture set to obtain a similarity; when the first picture and the first picture in the first picture set When the similarity of the second picture in the second picture set satisfies the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
  12. 如权利要求11所述的视频分析平台,其中,The video analytics platform of claim 11 wherein
    所述视频分析平台还包括视频解码层,用于将所述待匹配资源中的待匹配视频资源解码后作为输入视频传输至所述视频图片分析处理层,以及,对所述第二视频资源解码后作为输入视频传输至所述视频图片分析处理层;The video analysis platform further includes a video decoding layer, configured to decode the to-be-matched video resource in the to-be-matched resource, transmit it to the video image analysis processing layer as an input video, and decode the second video resource. And then transmitted as an input video to the video picture analysis processing layer;
    所述视频处理模块从所述待匹配资源中或所述第二视频资源中提取图片包括:The extracting, by the video processing module, the picture from the to-be-matched resource or the second video resource includes:
    将所述的输入视频作为待提取视频;或者,将所述输入视频根据场景进行分割,获取分割视频,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件; The input video is used as the to-be-extracted video; or the input video is segmented according to the scene, the segmented video is obtained, the segmented videos of the scenes are compared, and the segmented video set is obtained according to the comparison result, and the segmented video set is obtained. The split video in the video is to be extracted, wherein the comparison result of any two divided videos in the split video set satisfies a second preset condition;
    根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  13. 如权利要求11所述的视频分析平台,其中,所述视频处理模块从所述待匹配资源中提取图片包括:当所述待匹配资源中包括待匹配图片时,提取所述待匹配图片加入所述第一图片集合。The video analytics platform of claim 11, wherein the extracting the picture from the to-be-matched resource by the video processing module comprises: when the to-be-matched resource includes a picture to be matched, extracting the picture to be matched The first picture collection.
  14. 如权利要求12所述的视频分析平台,其中,所述视频处理模块包括视频分割单元,设置为根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割;以及,将各分割视频进行比较获取所述分割视频集合。The video analytics platform of claim 12, wherein the video processing module comprises a video segmentation unit configured to determine whether the scene is switched according to one or more of a background and a sound in the input video, Segmentation of the location where the scene switching occurs in the input video; and comparing the divided videos to obtain the divided video set.
  15. 如权利要求14所述的视频分析平台,其中,所述视频分割单元根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。The video analysis platform according to claim 14, wherein the video segmentation unit determines whether the scene is switched according to one or more of a background and a sound in the input video, comprising: an audio signal in the input video Converting from the time domain to the frequency domain, acquiring an energy curve of the audio signal, acquiring a position of the maximum value and the minimum value of the energy curve as a position at which scene switching occurs, and satisfying: obtaining according to the energy curve The position where two adjacent scene switches occur is greater than the first distance threshold.
  16. 如权利要求12所述的视频分析平台,其中,所述视频处理模块包括多模态提取关键帧单元,设置为根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片。The video analytics platform according to claim 12, wherein said video processing module comprises a multimodal extraction key frame unit, configured to select one or more of said image, sound and subtitle according to said image to be extracted from said The video frame is extracted from the to-be-extracted video as the extracted picture.
  17. 如权利要求16所述的视频分析平台,其中,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analysis platform according to claim 16, wherein the multimodal extraction key frame unit extracts a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. The extracted images include:
    提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在 第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Frames are compared to obtain a second similarity, if any The second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, and the second video frame is extracted, and the second video frame is used as the current key frame. Extracting the next key frame in the same manner; if there is no video frame that satisfies the third preset condition with the second similarity between the current key frame, the process of extracting the picture from the to-be-processed video ends, and the extraction will be performed Key frame as the extracted picture;
    其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  18. 如权利要求16所述的视频分析平台,其中,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analysis platform according to claim 16, wherein the multimodal extraction key frame unit extracts a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. The extracted images include:
    将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
  19. 如权利要求16所述的视频分析平台,其中,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analysis platform according to claim 16, wherein the multimodal extraction key frame unit extracts a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. The extracted images include:
    在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
  20. 如权利要求11所述的视频分析平台,其中,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:The video analytics platform of claim 11, wherein the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition means:
    所述第一图片和所述第二图片的相似度大于第一相似度阈值。The similarity between the first picture and the second picture is greater than a first similarity threshold.
  21. 如权利要求11所述的视频分析平台,其中,所述图片分析 模块包括深度学习特征模型单元、关键帧特征提取单元和特征匹配关联单元,其中:The video analytics platform of claim 11 wherein said image analysis The module includes a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, wherein:
    所述深度学习特征模块单元设置为,通过深度学习算法对已标注样本进行学习,获得特征模型;The deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model;
    所述关键帧特征提取单元设置为,根据所述特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值;The key frame feature extraction unit is configured to extract a first feature value of a picture in the first picture set according to the feature model, and extract a second feature value of the picture in the second picture set according to the feature model;
    所述特征匹配关联单元设置为,将所述第一特征值和所述第二特征值进行比较,获取相似度,当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity, in the first picture and the second picture set in the first picture set When the similarity of the second picture meets the first preset condition, the to-be-matched resource to which the first picture belongs and the second video resource to which the second picture belongs are associated.
  22. 一种精准投放广告方法,包括:A precise advertising method, including:
    获取广告素材,从所述广告素材中提取图片,获得广告图片集合;Get the creative, extract the image from the creative, and get a collection of ad images;
    获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;Obtaining a service video, extracting a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, to obtain a service picture set;
    将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;Comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity;
    当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。 When the similarity between the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies a first preset condition, the first creative material and the location to which the first advertisement picture belongs The first service video to which the first service picture belongs is associated, and the association information is generated, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  23. 如权利要求22所述的方法,其中,从所述广告素材中提取图片或者从所述业务视频中提取图片包括:The method of claim 22, wherein extracting a picture from the creative or extracting a picture from the business video comprises:
    将所述广告素材中的广告视频或者所述业务视频作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the advertisement video or the service video in the creative as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the input video according to the scene Performing segmentation, obtaining a segmented video, comparing the divided videos, and obtaining a segmented video set according to the comparison result, and using the segmented video in the segmented video set as a to-be-extracted video, where any two segments in the segmented video set are segmented The comparison result of the video satisfies the second preset condition;
    根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  24. 如权利要求22所述的方法,其中,从所述广告素材中提取图片包括:当所述广告素材中包括广告图片时,提取所述广告图片加入所述广告图片集合。The method of claim 22, wherein extracting a picture from the creative comprises extracting the advertisement picture into the set of advertisement pictures when the advertisement picture includes an advertisement picture.
  25. 如权利要求23所述的方法,其中,所述将解码后的输入视频根据场景进行分割包括:The method of claim 23, wherein the segmenting the decoded input video according to a scene comprises:
    根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换;在所述输入视频中发生场景切换的位置进行分割。Determining whether the scene is switched according to one or more of the background and the sound in the input video; and dividing the position where the scene switching occurs in the input video.
  26. 如权利要求25所述的方法,其中,所述根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。The method of claim 25, wherein the determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain to a time domain In the frequency domain, acquiring an energy curve of the audio signal, obtaining a position of a maximum value and a minimum value of the energy curve, as a position where a scene switching occurs, and satisfying: two adjacent occurrences according to the energy curve The position of the scene switching is greater than the first distance threshold.
  27. 如权利要求23所述的方法,其中,所述根据所述待提取视 频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The method of claim 23, wherein said according to said to-be-extracted view Extracting a video frame from the to-be-extracted video as one or more of the frequency images, sounds, and subtitles as the extracted image includes:
    提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
    其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  28. 如权利要求23所述的方法,其中,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The method of claim 23, wherein extracting a video frame from the image to be extracted as the extracted picture according to one or more of an image, a sound and a subtitle of the to-be-extracted video comprises:
    将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position is taken as the extracted picture.
  29. 如权利要求23所述的方法,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The method of claim 23, wherein the extracting a video frame from the image to be extracted according to one or more of an image, a sound, and a subtitle of the to-be-extracted video as the extracted image comprises:
    在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。 Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
  30. 如权利要求22所述的方法,其中,所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:The method according to claim 22, wherein the similarity of the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies the first preset condition means:
    所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  31. 如权利要求22所述的方法,其中,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:The method of claim 22, wherein comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity comprises:
    根据通过深度学习算法获得的特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the image in the advertisement picture set according to the feature model obtained by the deep learning algorithm, extracting a second feature value of the picture in the service picture set according to the feature model, and using the first feature value and The second feature values are compared to obtain a similarity.
  32. 如权利要求22所述的方法,其中,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。The method of claim 22, wherein the association information further includes insertion location information that is inserted by the first creative material when the first service video is played, the insertion location information according to the first The location of a service picture in the first service video is determined.
  33. 如权利要求22所述的方法,其中,所述方法还包括:The method of claim 22, wherein the method further comprises:
    对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;Performing background modeling and target detection on the service video, extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video belongs, and the service video target An object is associated with a picture of the service picture set that includes the service video target object;
    所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现 时间和消失时间决定。The associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. Appearance in the first business video Time and disappearance time are determined.
  34. 如权利要求33所述的方法,其中,所述方法还包括:The method of claim 33, wherein the method further comprises:
    对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;Performing background modeling and target detection on the advertisement video in the creative, extracting the target of the motion to obtain the creative target object, and including the creative target object and the first image set containing the creative target object The image is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
    当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。Acquiring the first advertisement associated with the first advertisement image when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition The target object is configured with an advertisement object identifier, and the first service video target object associated with the first service image is configured with the same advertisement object identifier as the first creative target object, thereby indicating the first advertisement image The associated first creative is associated with the first business video to which the first business image belongs, wherein the advertising object identifier indicates an advertising theme for which the first creative target object is targeted.
  35. 如权利要求34所述的方法,其中,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。The method of claim 34, wherein the association information further comprises an advertisement object identifier in which the first creative target object is configured.
  36. 如权利要求34所述的方法,其中,所述方法还包括:The method of claim 34, wherein the method further comprises:
    接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的业务第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属 的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first And a fourth set of service picture sub-sets, the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second business video target object is configured with the same advertisement object identifier as the second creative target object, thereby indicating that the second creative target object belongs to The second creative is associated with the second service video to which the second service video target object belongs.
  37. 一种视频分析平台,包括数据获取模块、视频图片分析处理层,所述视频图片分析处理层包括视频处理模块和图片分析模块,其中:A video analysis platform includes a data acquisition module and a video image analysis processing layer, where the video image analysis processing layer includes a video processing module and a picture analysis module, wherein:
    所述数据获取模块设置为,获取广告素材,以及,获取业务视频;The data acquisition module is configured to acquire a creative material and obtain a business video;
    所述视频处理模块设置为,从所述广告素材中提取图片,获得广告图片集合;以及,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;The video processing module is configured to: extract a picture from the creative material to obtain an advertisement picture set; and extract a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, Obtain a collection of business images;
    所述图片分析模块设置为,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The image analysis module is configured to compare the advertisement image in the advertisement image collection with the business image in the business image collection to obtain a similarity; when the first advertisement image in the advertisement image collection and the Correlating the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs when the similarity of the first service image in the service image set meets the first preset condition, and The association information is generated, and the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  38. 如权利要求37所述的视频分析平台,其中,A video analysis platform according to claim 37, wherein
    所述视频分析平台还包括视频解码层,用于将所述广告素材中的广告视频进行解码作为输入视频传输至所述视频图片分析处理层,以及,对所述业务视频进行解码后作为输入视频传输至所述视频图片分析处理层;The video analysis platform further includes a video decoding layer, configured to decode the advertisement video in the creative as an input video to the video image analysis processing layer, and decode the service video as an input video. Transmitting to the video picture analysis processing layer;
    所述视频处理模块从所述广告素材中提取图片或者从所述业务视频中提取图片包括:The video processing module extracting a picture from the creative or extracting a picture from the business video includes:
    将所述的输入视频作为待提取视频;或者,将所述输入视频根据 场景进行分割,获取分割视频,将各场景的分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Using the input video as a video to be extracted; or, the input video is based on The scene is segmented, the segmented video is obtained, the segmented video of each scene is compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where any of the segmented video sets is The comparison result of the two divided videos satisfies the second preset condition;
    根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  39. 如权利要求37所述的视频分析平台,其中,所述视频处理模块从所述广告素材中提取图片包括:当所述广告素材中包括广告图片时,提取所述广告图片加入所述广告图片集合。The video analytics platform of claim 37, wherein the video processing module extracting a picture from the creative material comprises: when the advertisement material includes an advertisement picture, extracting the advertisement picture to join the advertisement picture set .
  40. 如权利要求38所述的视频分析平台,其中,所述视频处理模块包括视频分割单元,设置为根据所述输入视频中的背景、声音中一种或多种判断场景是否切换,在所述输入视频中发生场景切换的位置进行分割。The video analytics platform of claim 38, wherein the video processing module comprises a video segmentation unit configured to determine whether the scene is switched according to one or more of a background and a sound in the input video, at the input The position where the scene switching occurs in the video is split.
  41. 如权利要求40所述的视频分析平台,其中,所述视频分割单元根据所述输入视频中的背景、声音中一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。The video analytics platform of claim 40, wherein the video segmentation unit determines whether the scene is switched according to one or more of a background and a sound in the input video, comprising: locating an audio signal in the input video from Converting the time domain to the frequency domain, acquiring an energy curve of the audio signal, obtaining a position of the maximum value and the minimum value of the energy curve, as a position where the scene switching occurs, and satisfying: a phase acquired according to the energy curve The position where two adjacent scene switches occur is greater than the first distance threshold.
  42. 如权利要求38所述的视频分析平台,其中,所述视频处理模块包括多模态提取关键帧单元,设置为根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片。A video analytics platform according to claim 38, wherein said video processing module comprises a multimodal extraction key frame unit, arranged to be one or more of said image, sound and subtitle based on said image to be extracted from said The video frame is extracted from the to-be-extracted video as the extracted picture.
  43. 如权利要求42所述的视频分析平台,其中,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多 种从所述待提取视频中提取视频帧作为提取的图片包括:The video analysis platform according to claim 42, wherein said multimodal extraction key frame unit is one or more of an image, a sound and a subtitle according to said to-be-extracted video Extracting a video frame from the to-be-extracted video as the extracted picture includes:
    提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
    其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  44. 如权利要求42所述的视频分析平台,其中,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analysis platform according to claim 42, wherein the multimodal extraction key frame unit extracts a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. The extracted images include:
    将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position is taken as the extracted picture.
  45. 如权利要求42所述的视频分析平台,其中,所述多模态提取关键帧单元根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analysis platform according to claim 42, wherein the multimodal extraction key frame unit extracts a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video. The extracted images include:
    在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧作为提取的图片;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the to-be-extracted video, if a preset keyword is searched, extracting a video frame corresponding to the subtitle containing the keyword as the extracted image; wherein the subtitle of the to-be-extracted video is from the Acquiring in the subtitle file that is to be extracted from the video or performing speech recognition on the audio of the to-be-extracted video.
  46. 如权利要求37所述的视频分析平台,其中,所述广告图片 集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:A video analytics platform according to claim 37, wherein said advertisement image The similarity between the first advertisement picture in the set and the first service picture in the service picture set satisfies the first preset condition:
    所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  47. 如权利要求37所述的视频分析平台,其中,所述图片分析模块包括深度学习特征模型单元、关键帧特征提取单元和特征匹配关联单元,其中:The video analytics platform of claim 37, wherein the picture analysis module comprises a deep learning feature model unit, a key frame feature extraction unit, and a feature matching association unit, wherein:
    所述深度学习特征模块单元设置为,通过深度学习算法对已标注样本进行学习,获得特征模型;The deep learning feature module unit is configured to learn the labeled sample by using a deep learning algorithm to obtain a feature model;
    所述关键帧特征提取单元设置为,根据特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图片的第二特征值;The key frame feature extraction unit is configured to extract a first feature value of the image in the advertisement image set according to the feature model, and extract a second feature value of the image in the service image set according to the feature model;
    所述特征匹配关联单元设置为,将所述第一特征值和所述第二特征值进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The feature matching association unit is configured to compare the first feature value and the second feature value to obtain a similarity; when the first advertisement picture and the service picture set in the advertisement picture set When the similarity of the first service picture satisfies the first preset condition, the first creative material to which the first advertisement picture belongs and the first service video to which the first service picture belongs are associated, and the associated information is generated. The association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  48. 如权利要求37所述的视频分析平台,其中,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。The video analytics platform of claim 37, wherein the associated information further comprises: insertion location information of the first creative material that is inserted during the playing of the first service video, the insertion location information according to the location Determining the location of the first service picture in the first service video.
  49. 如权利要求37所述的视频分析平台,其中,所述视频处理模块还包括:背景建模单元和目标检测单元,其中: The video analytics platform of claim 37, wherein the video processing module further comprises: a background modeling unit and a target detection unit, wherein:
    所述背景建模单元设置为,对所述业务视频进行背景建模;The background modeling unit is configured to perform background modeling on the service video;
    所述目标检测单元设置为,对所述业务视频进行目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;The target detecting unit is configured to perform target detection on the service video, extract a target of the motion to obtain a service video target object, and determine an appearance time and a disappearance time of the service video target object in a service video to which the service video object belongs. The service video target object is associated with a picture of the service picture set that includes the service video target object;
    所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现时间和消失时间决定。The associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
  50. 如权利要求49所述的视频分析平台,其中,A video analysis platform according to claim 49, wherein
    所述背景建模单元还设置为,对所述广告素材中的广告视频进行背景建模;The background modeling unit is further configured to perform background modeling on the advertisement video in the creative;
    所述目标检测单元还设置为,对所述广告素材中的广告视频进行目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;The target detecting unit is further configured to perform target detection on the advertisement video in the creative, extract a target of the motion to obtain a creative target object, and include the target object in the creative and the first image collection The image of the creative target object is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
    所述图片分析模块还设置为,当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。 The image analysis module is further configured to: when the similarity between the first advertisement image in the advertisement image set and the first service image in the service image collection meets the first preset condition, acquire the An advertisement object identifier configured by the first creative target object associated with an advertisement image, and an advertisement object identifier identical to the first creative target object configured for the first service video target object associated with the first service image And indicating that the first creative material to which the first advertisement image belongs is associated with the first service video to which the first service image belongs, wherein the advertisement object identifier indicates that the first creative target object is targeted Advertising theme.
  51. 如权利要求50所述的视频分析平台,其中,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。The video analytics platform of claim 50, wherein the associated information further comprises an advertising object identifier in which the first creative target object is configured.
  52. 如权利要求50所述的视频分析平台,其中,所述图片分析模块还设置为:The video analytics platform of claim 50, wherein the picture analysis module is further configured to:
    接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first And a fourth set of service picture sub-sets, the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object associated with the second business image is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service video. The second business video to which the target object belongs is associated.
  53. 一种视频分析平台,包括:存储器和处理器,其中:A video analysis platform includes: a memory and a processor, wherein:
    所述存储器,设置为存放程序;The memory is configured to store a program;
    所述处理器,执行所述程序,以设置为:获取待匹配资源,从所述待匹配资源中提取图片,获得第一图片集合;获取第二视频资源,根据所述第二视频资源的图像、声音和字幕其中一种或多种从所述第二视频资源中提取图片,获得第二图片集合;将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度;当所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件时,将所述第一图片所属的待匹配资源和所述第二图片所属的第二视频资源进行关联。The processor is configured to: obtain a resource to be matched, extract a picture from the to-be-matched resource, obtain a first picture set, and acquire a second video resource according to the image of the second video resource And extracting a picture from the second video resource to obtain a second picture set; comparing the picture in the first picture set with the picture in the second picture set, and obtaining Similarity; when the similarity of the first picture in the first picture set and the second picture in the second picture set meets the first preset condition, the to-be-matched resource to which the first picture belongs The second video resource to which the second picture belongs is associated.
  54. 如权利要求53所述的视频分析平台,其中,所述从所述待匹配资源中提取图片或者从所述第二视频资源中提取图片包括: The video analytics platform of claim 53, wherein the extracting a picture from the to-be-matched resource or extracting a picture from the second video resource comprises:
    将所述待匹配资源中的待匹配视频或者所述第二视频资源作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the to-be-matched video or the second video resource in the to-be-matched resource as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the decoded video The input video is segmented according to the scenario, the segmented video is obtained, and the divided videos are compared, and the segmented video set is obtained according to the comparison result, and the segmented video in the segmented video set is used as the to-be-extracted video, where the segmented video set is The comparison result of any two divided videos satisfies the second preset condition;
    根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  55. 如权利要求54所述的视频分析平台,其中,所述将解码后的输入视频根据场景进行分割包括:The video analytics platform of claim 54 wherein the segmenting the decoded input video according to the scene comprises:
    根据所述输入视频中的背景、声音中一种或多种判断场景是否切换;Determining whether the scene is switched according to one or more of background and sound in the input video;
    在所述输入视频中发生场景切换的位置进行分割。The position where the scene switching occurs in the input video is divided.
  56. 如权利要求55所述的视频分析平台,其中,所述根据所述输入视频中的背景、声音中一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。The video analytics platform of claim 55, wherein the determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: converting an audio signal in the input video from a time domain Go to the frequency domain, obtain an energy curve of the audio signal, obtain a position of the maximum value and the minimum value of the energy curve, as a position where the scene switching occurs, and satisfy: two adjacent two obtained according to the energy curve The location where the scene switch occurs is greater than the first distance threshold.
  57. 如权利要求54所述的视频分析平台,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片包括:The video analytics platform of claim 54, wherein the extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video comprises:
    提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧 之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片;Extracting a video frame in the to-be-processed video as a key frame, which is called a current key frame, and extracting a next key frame by sequentially: sequentially, the current key frame in the to-be-processed video Subsequent video frames are compared with the current key frame to obtain a second similarity, if there is a second similarity between the second video frame and the current key frame that satisfies a third preset condition and is related to the current key frame The second video frame is extracted, the second video frame is taken as the current key frame, and the next key frame is extracted in the same manner; if the second similarity between the current key frame and the current key frame does not exist, the third pre-preparation is satisfied. Setting the video frame, the process of extracting the picture from the to-be-processed video ends, and extracting the key frame as the extracted picture;
    其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  58. 如权利要求54所述的视频分析平台,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analytics platform of claim 54, wherein the extracting the video frame from the image to be extracted according to one or more of the image, the sound and the subtitle of the to-be-extracted video as the extracted image comprises:
    将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position.
  59. 如权利要求54所述的视频分析平台,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analytics platform of claim 54, wherein the extracting the video frame from the image to be extracted according to one or more of the image, the sound and the subtitle of the to-be-extracted video as the extracted image comprises:
    在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
  60. 如权利要求53所述的视频分析平台,其中,所述第一图片集合中的第一图片和所述第二图片集合中的第二图片的相似度满足第一预设条件是指:The video analytics platform of claim 53, wherein the similarity of the first picture in the first picture set and the second picture in the second picture set satisfying the first preset condition means:
    所述第一图片和所述第二图片的相似度大于第一相似度阈值。 The similarity between the first picture and the second picture is greater than a first similarity threshold.
  61. 如权利要求53所述的视频分析平台,其中,所述将所述第一图片集合中的图片和所述第二图片集合的图片进行比较,获取相似度包括:The video analytics platform of claim 53, wherein the comparing the pictures in the first picture set with the pictures in the second picture set to obtain the similarity comprises:
    根据通过深度学习算法获得的特征模型提取所述第一图片集合中图片的第一特征值,根据所述特征模型提取所述第二图片集合中图片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the picture in the first picture set according to the feature model obtained by the deep learning algorithm, and extracting a second feature value of the picture in the second picture set according to the feature model, and using the first feature The value is compared with the second eigenvalue to obtain a similarity.
  62. 一种视频分析平台,包括:存储器和处理器,其中:A video analysis platform includes: a memory and a processor, wherein:
    所述存储器,设置为存放程序;The memory is configured to store a program;
    所述处理器,执行所述程序,以设置为:获取广告素材,从所述广告素材中提取图片,获得广告图片集合;获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息。The processor executing the program to: obtain a creative, extract a picture from the creative, obtain an advertisement picture set; obtain a service video, according to one of an image, a sound, and a subtitle of the service video Or extracting a picture from the service video to obtain a service picture set; comparing the advertisement picture in the advertisement picture set with the service picture in the service picture set to obtain a similarity; when the advertisement picture set When the similarity between the first advertisement picture and the first service picture in the service picture set meets the first preset condition, the first creative material to which the first advertisement picture belongs and the first service picture belong to The first service video is associated and generates association information, where the association information includes: identifier information of the first service video, and identifier information of the first advertisement material.
  63. 如权利要求62所述的视频分析平台,其中,从所述广告素材中提取图片或者从所述业务视频中提取图片包括:The video analytics platform of claim 62, wherein extracting a picture from the creative or extracting a picture from the business video comprises:
    将所述广告素材中的广告视频或者所述业务视频作为输入视频,对所述输入视频进行解码后,将所述解码后的输入视频作为待提取视频;或者,将解码后的输入视频根据场景进行分割,获取分割视频,将各分割视频进行比较,根据比较结果获取分割视频集合,将所述分 割视频集合中的分割视频作为待提取视频,其中,所述分割视频集合中的任意两个分割视频的比较结果满足第二预设条件;Taking the advertisement video or the service video in the creative as an input video, after decoding the input video, using the decoded input video as a to-be-extracted video; or, decoding the input video according to the scene Perform segmentation, obtain a segmented video, compare each segmented video, and obtain a segmented video set according to the comparison result, and divide the segment Splitting the video in the video set as the to-be-extracted video, where the comparison result of any two of the divided video sets meets the second preset condition;
    根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取图片。Extracting a picture from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video.
  64. 如权利要求63所述的视频分析平台,其中,所述将解码后的输入视频根据场景进行分割包括:The video analytics platform of claim 63, wherein the segmenting the decoded input video according to the scene comprises:
    根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换;在所述输入视频中发生场景切换的位置进行分割。Determining whether the scene is switched according to one or more of the background and the sound in the input video; and dividing the position where the scene switching occurs in the input video.
  65. 如权利要求64所述的视频分析平台,其中,所述根据所述输入视频中的背景、声音中的一种或多种判断场景是否切换包括:将所述输入视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,作为发生场景切换的位置,且满足:根据所述能量曲线获取的相邻两个发生场景切换的位置其距离大于第一距离阈值。The video analytics platform of claim 64, wherein the determining whether the scene is switched according to one or more of a background and a sound in the input video comprises: locating an audio signal in the input video from a time domain Converting to the frequency domain, acquiring an energy curve of the audio signal, obtaining a position of a maximum value and a minimum value of the energy curve, as a position at which scene switching occurs, and satisfying: two adjacent ones obtained according to the energy curve The location where the scene switching occurs is greater than the first distance threshold.
  66. 如权利要求63所述的视频分析平台,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analytics platform of claim 63, wherein the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video comprises:
    提取所述待处理视频中的一视频帧作为关键帧,称为当前关键帧,通过如下方式提取下一关键帧:依次将所述待处理视频中当前关键帧之后的视频帧与所述当前关键帧进行比较获取第二相似度,如果存在第二视频帧与所述当前关键帧之间的第二相似度满足第三预设条件且与该当前关键帧的距离最近,提取该第二视频帧,将该第二视频帧作为当前关键帧,按照相同方式提取下一关键帧;如果不存在与所述当前关键帧之间的第二相似度满足第三预设条件的视频帧,则从该待处理视频提取图片的过程结束,将提取的关键帧作为提取的图片; Extracting a video frame in the to-be-processed video as a key frame, which is referred to as a current key frame, and extracting a next key frame by sequentially: sequentially selecting a video frame after the current key frame in the to-be-processed video and the current key Comparing the frame to obtain a second similarity, if the second similarity between the second video frame and the current key frame satisfies a third preset condition and is closest to the current key frame, extracting the second video frame And using the second video frame as the current key frame, extracting the next key frame in the same manner; if there is no video frame that meets the third preset condition with the second similarity between the current key frame, The process of extracting a picture of the video to be processed ends, and the extracted key frame is taken as the extracted picture;
    其中,初始时,将该待处理视频的起始帧作为当前关键帧。Wherein, initially, the starting frame of the to-be-processed video is taken as the current key frame.
  67. 如权利要求63所述的视频分析平台,其中,根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analytics platform of claim 63, wherein extracting a video frame from the to-be-extracted video as the extracted picture according to one or more of an image, a sound and a subtitle of the to-be-extracted video comprises:
    将所述待提取视频中的音频信号从时域转换到频域,获取所述音频信号的能量曲线,获取所述能量曲线的极大值和极小值所在位置,提取所述极大值和极小值位置对应的视频帧作为提取的图片。Converting an audio signal in the to-be-extracted video from a time domain to a frequency domain, acquiring an energy curve of the audio signal, acquiring a maximum value and a minimum value of the energy curve, and extracting the maximum value and The video frame corresponding to the minimum value position is taken as the extracted picture.
  68. 如权利要求63所述的视频分析平台,其中,所述根据所述待提取视频的图像、声音和字幕其中一种或多种从所述待提取视频中提取视频帧作为提取的图片包括:The video analytics platform of claim 63, wherein the extracting a video frame from the to-be-extracted video according to one or more of an image, a sound, and a subtitle of the to-be-extracted video comprises:
    在所述待提取视频的字幕进行搜索,如果搜索到预设的关键词,则提取包含该关键词的字幕所对应的视频帧;其中,所述待提取视频的字幕从所述待提取视频自带的字幕文件中获取或者对所述待提取视频的音频进行语音识别获取。Searching for a subtitle of the video to be extracted, and if a preset keyword is searched, extracting a video frame corresponding to the subtitle including the keyword; wherein the subtitle of the to-be-extracted video is from the video to be extracted Obtaining or performing voice recognition acquisition on the audio of the video to be extracted.
  69. 如权利要求63所述的视频分析平台,其中,所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件是指:The video analytics platform of claim 63, wherein the similarity of the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfying the first preset condition means:
    所述第一广告图片和所述第一业务图片的相似度大于第一相似度阈值。The similarity between the first advertisement picture and the first service picture is greater than a first similarity threshold.
  70. 如权利要求62所述的视频分析平台,其中,将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:The video analytics platform of claim 62, wherein comparing the advertisement image in the advertisement picture set with the service picture in the service picture set, and obtaining the similarity comprises:
    根据通过深度学习算法获得的特征模型提取所述广告图片集合中图片的第一特征值,根据所述特征模型提取所述业务图片集合中图 片的第二特征值,将所述第一特征值和所述第二特征值进行比较,获取相似度。Extracting a first feature value of the image in the advertisement picture set according to the feature model obtained by the deep learning algorithm, and extracting a picture in the service picture set according to the feature model The second feature value of the slice compares the first feature value and the second feature value to obtain a similarity.
  71. 如权利要求62所述的视频分析平台,其中,所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片在所述第一业务视频中的位置决定。The video analytics platform of claim 62, wherein the associated information further comprises: insertion location information of the first creative material that is inserted during the playing of the first service video, the insertion location information according to the location Determining the location of the first service picture in the first service video.
  72. 如权利要求62所述的视频分析平台,其中,所述处理器执行所述程序,还设置为:The video analytics platform of claim 62 wherein said processor executes said program, further configured to:
    对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联;Performing background modeling and target detection on the service video, extracting a target of the motion to obtain a service video target object, determining an appearance time and a disappearance time of the service video target object in a service video to which the service video belongs, and the service video target An object is associated with a picture of the service picture set that includes the service video target object;
    所述关联信息中还包括,所述第一广告素材在所述第一业务视频播放时进行插播的插播位置信息,所述插播位置信息根据所述第一业务图片关联的第一业务视频目标对象在所述第一业务视频中的出现时间和消失时间决定。The associated information further includes insertion location information that is inserted by the first creative material when the first service video is played, and the insertion location information is based on the first service video target object associated with the first service picture. The appearance time and disappearance time in the first service video are determined.
  73. 如权利要求72所述的视频分析平台,其中,所述处理器执行所述程序,还设置为:The video analytics platform of claim 72 wherein said processor executes said program, further configured to:
    对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联;Performing background modeling and target detection on the advertisement video in the creative, extracting the target of the motion to obtain the creative target object, and including the creative target object and the first image set containing the creative target object The image is associated, and the advertisement image in the creative is used as a target object of the creative and associated with the advertisement image to which it belongs;
    当所述广告图片集合中的第一广告图片和所述业务图片集合中 的第一业务图片的相似度满足所述第一预设条件时,获取所述第一广告图片所关联的第一广告素材目标对象被配置的广告对象标识,为所述第一业务图片所关联的第一业务视频目标对象配置与所述第一广告素材目标对象相同的广告对象标识,从而指示所述第一广告图片所属的第一广告素材与所述第一业务图片所属的第一业务视频相关联,其中,所述广告对象标识指示所述第一广告素材目标对象所针对的广告主题。When in the first advertisement picture and the business picture set in the advertisement picture set Obtaining an advertisement object identifier of the first creative target object associated with the first advertisement image, which is associated with the first service image, when the similarity of the first service image satisfies the first preset condition The first service video target object is configured with the same advertisement object identifier as the first creative target object, thereby indicating that the first creative material to which the first advertisement image belongs and the first service video to which the first service image belongs Correlation, wherein the advertisement object identifier indicates an advertisement theme for which the first creative target object is directed.
  74. 如权利要求73所述的视频分析平台,其中,所述关联信息中还包括所述第一广告素材目标对象被配置的广告对象标识。The video analytics platform of claim 73, wherein the association information further comprises an advertisement object identifier in which the first creative target object is configured.
  75. 如权利要求73所述的视频分析平台,其中,所述处理器执行所述程序,还设置为:The video analytics platform of claim 73 wherein said processor executes said program, further configured to:
    接收到门户发送的查询请求后,确定与该查询请求中携带的第二广告素材目标对象关联的第二广告图片,在所述业务图片集合中查找与所述第二广告图片的相似度满足第四预设条件的业务图片子集合,将所述业务图片子集合发送给所述门户,以使得所述门户根据用户操作从所述业务图片子集合中选择第二业务图片,将所选的第二业务图片关联的业务第二业务视频目标对象配置与所述第二广告素材目标对象相同的广告对象标识,从而指示所述第二广告素材目标对象所属的第二广告素材与所述第二业务视频目标对象所属的第二业务视频相关联。After receiving the query request sent by the portal, determining a second advertisement image associated with the second creative target object carried in the query request, and searching for the similarity with the second advertisement image in the service image collection to satisfy the first And a fourth set of service picture sub-sets, the service picture sub-set is sent to the portal, so that the portal selects a second service picture from the service picture subset according to a user operation, and the selected The second service video target object is configured with the same advertisement object identifier as the second creative target object, thereby indicating the second creative material to which the second creative target object belongs and the second service The second business video to which the video target object belongs is associated.
  76. 一种精准投放广告系统,包括视频分析平台、数据库、门户、数据同步接口模块和关联信息同步接口模块,其中,An accurate advertising system, including a video analysis platform, a database, a portal, a data synchronization interface module, and an associated information synchronization interface module, wherein
    所述视频分析平台用于:通过所述数据同步接口模块从广告平台同步广告素材同步信息,根据所述广告素材同步信息获取广告素材,从所述广告素材中提取图片,获得广告图片集合;通过所述数据同步接口模块从业务平台同步业务视频同步信息,根据所述业务视频同步 信息获取业务视频,根据所述业务视频的图像、声音和字幕其中一种或多种从所述业务视频中提取图片,获得业务图片集合;将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度;当所述广告图片集合中的第一广告图片和所述业务图片集合中的第一业务图片的相似度满足第一预设条件时,将所述第一广告图片所属的第一广告素材和所述第一业务图片所属的第一业务视频进行关联,并生成关联信息,所述关联信息中包括:所述第一业务视频的标识信息、所述第一广告素材的标识信息,将所述关联信息通过所述关联信息同步接口模块同步到所述广告平台和所述业务平台;The video analysis platform is configured to: synchronize the creative synchronization information from the advertisement platform by using the data synchronization interface module, obtain the creative material according to the creative synchronization information, extract a picture from the creative material, obtain a set of advertisement images; The data synchronization interface module synchronizes service video synchronization information from the service platform, and synchronizes according to the service video. Obtaining a service video, extracting a picture from the service video according to one or more of an image, a sound, and a subtitle of the service video, obtaining a service picture set; and displaying an advertisement picture and the service in the advertisement picture set Comparing the service pictures in the picture set to obtain the similarity; when the similarity between the first advertisement picture in the advertisement picture set and the first service picture in the service picture set satisfies the first preset condition, The first creative material to which the first advertisement picture belongs is associated with the first service video to which the first service picture belongs, and the association information is generated, where the association information includes: the identification information of the first service video, and the Decoding the first creative material, and synchronizing the association information to the advertisement platform and the service platform by using the associated information synchronization interface module;
    所述数据库,用于存储所述广告素材和业务视频的相关信息;The database is configured to store related information of the creative and the business video;
    所述门户,用于实现用户与所述数据库、视频分析平台的交互;The portal is configured to implement interaction between the user and the database and the video analysis platform;
    所述数据同步接口模块,将广告素材同步信息从所述广告平台同步到所述视频分析平台;设置为将业务视频同步信息从所述业务平台同步到所述视频分析平台;The data synchronization interface module synchronizes creative synchronization information from the advertisement platform to the video analysis platform; and is configured to synchronize service video synchronization information from the service platform to the video analysis platform;
    所述关联信息同步接口模块,设置为将所述关联信息从所述视频分析平台同步到所述广告平台和所述业务平台。The associated information synchronization interface module is configured to synchronize the associated information from the video analytics platform to the advertising platform and the service platform.
  77. 如权利要求76所述的精准投放广告系统,其中,The precision advertising system according to claim 76, wherein
    所述视频分析平台还用于,对所述广告素材中的广告视频进行背景建模和目标检测,提取运动的目标获得广告素材目标对象,并将所述广告素材目标对象与所述第一图片集合中包含该广告素材目标对象的图片进行关联,将所述广告素材中的广告图片作为广告素材目标对象并与其所属的广告图片进行关联,将所述广告素材目标对象存入数据库中的广告素材目标对象表,将其状态设置为未审核;以及,对所述业务视频进行背景建模和目标检测,提取运动的目标获得业务视频目标对象,确定所述业务视频目标对象在其所属的业务视频中的出 现时间和消失时间,将所述业务视频目标对象与所述业务图片集合中包含该业务视频目标对象的图片进行关联,将所述业务视频目标对象存入数据库中的业务视频目标对象表,将其状态设置为未审核;The video analysis platform is further configured to: perform background modeling and target detection on the advertisement video in the creative, extract a target of the motion to obtain a creative target object, and use the creative target object and the first image The image of the creative target object in the collection is associated, the advertisement image in the creative is used as the target object of the creative and associated with the advertisement image to which it belongs, and the creative target object is stored in the creative in the database a target object table, setting its state to unaudited; and performing background modeling and target detection on the service video, extracting a target of the motion to obtain a service video target object, and determining a service video to which the service video target object belongs Out of The current video and the disappearance time, the service video target object is associated with the picture of the service picture set containing the service video target object, and the service video target object is stored in the service video target object table in the database, Its status is set to unaudited;
    所述门户用于实现用户与所述数据库、视频分析平台的交互包括:根据用户操作向所述数据库查询未审核的广告素材目标对象,根据用户操作为未审核的所述广告素材目标对象配置广告对象标识并修改广告素材目标对象表中其状态为已审核未关联;The portal is configured to implement the interaction between the user and the database and the video analytics platform, including: querying the database for an unreviewed creative target object according to a user operation, and configuring an advertisement for the unreviewed creative target object according to a user operation. The object identifies and modifies its status in the creative target object table as reviewed and not associated;
    所述视频分析平台将所述广告图片集合中的广告图片和所述业务图片集合中的业务图片进行比较,获取相似度包括:The video analytics platform compares the advertisement image in the advertisement image set with the service image in the service image collection, and the obtaining similarity includes:
    所述视频分析平台向所述数据库查询已审核未关联的广告素材目标对象,接收所述数据库返回的已审核未关联的广告素材目标对象,获取该已审核未关联的广告素材目标对象所关联的广告图片,将其与所述业务图片集合中的业务图片进行比较,获取相似度;The video analytics platform queries the database for the reviewed unassociated creative target object, receives the reviewed unassociated creative target object returned by the database, and obtains the associated unrecognized creative target object associated with the database. Advertising the image, comparing it with the business image in the business image collection, and obtaining similarity;
    所述视频分析平台还用于,当所述业务图片集合中的第二业务图片与所述已审核未关联的广告素材目标对象所关联的广告图片的相似度满足所述第一预设条件时,获取所述已审核未关联的广告素材目标对象被配置的广告对象标识,为所述第二业务图片所关联的第二业务视频目标对象配置与所述已审核未关联的广告素材目标对象被相同的广告对象标识,修改数据库中所述已审核未关联的广告素材目标对象的状态为已关联,修改数据库中所述第二业务视频目标对象的状态为已关联。The video analysis platform is further configured to: when the similarity between the second service image in the service image set and the advertisement image associated with the reviewed unrelated creative target object satisfies the first preset condition Obtaining an advertisement object identifier configured by the reviewed unassociated creative target object, and configuring, for the second service video target object associated with the second service image, the creative target object that is not associated with the audited The same advertisement object identifier, the status of the reviewed unassociated creative target object in the database is modified, and the status of the second business video target object in the modified database is associated.
  78. 如权利要求77所述的精准投放广告系统,其中,The precision advertising system according to claim 77, wherein
    所述门户还用于,向所述数据库查询已审核未关联的广告素材目标对象,获取所述已审核未关联的广告素材目标对象后,向所述视频分析平台发起查询请求,接收所述视频分析平台返回的业务图片子集 合,以及,根据用户操作从所述业务图片子集合中选择第三业务图片,将所选的第三业务图片关联的第三业务视频目标对象配置与所述已审核未关联的广告素材目标对象相同的广告对象标识,修改数据库中所述第三业务视频目标对象的状态为已关联,修改所述已审核未关联的广告素材目标对象的状态为已关联;The portal is further configured to: query the database for the reviewed unassociated creative target object, obtain the reviewed unassociated creative target object, initiate a query request to the video analytics platform, and receive the video. Analysis of the business image subset returned by the platform And selecting, according to a user operation, selecting a third service picture from the service picture subset, and configuring the selected third service picture associated third service video target object with the reviewed unassociated creative target object The same advertisement object identifier, modifying the status of the third service video target object in the database to be associated, and modifying the status of the reviewed unassociated creative target object to be associated;
    所述视频分析平台还用于,接收到所述门户发送的查询请求后,确定与该查询请求中携带的广告素材目标对象关联的第三广告图片,在所述业务图片集合中查找与所述第三广告图片的相似度满足第四预设条件的所述业务图片子集合,将所述业务图片子集合发送给所述门户。The video analysis platform is further configured to: after receiving the query request sent by the portal, determine a third advertisement image associated with the creative target object carried in the query request, and find and describe in the service image set The service picture subset of the third advertisement picture satisfies the fourth preset condition, and the service picture subset is sent to the portal.
  79. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1-10、22-36中任一项所述的方法。 A storage medium, the storage medium comprising a stored program, wherein the program is executed to perform the method of any one of claims 1-10, 22-36.
PCT/CN2017/108384 2016-12-16 2017-10-30 Video analysis platform, matching method, and accurate advertisement push method and system WO2018107914A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611169731.4A CN106686404B (en) 2016-12-16 2016-12-16 Video analysis platform, matching method, and method and system for accurately delivering advertisements
CN201611169731.4 2016-12-16

Publications (1)

Publication Number Publication Date
WO2018107914A1 true WO2018107914A1 (en) 2018-06-21

Family

ID=58871095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108384 WO2018107914A1 (en) 2016-12-16 2017-10-30 Video analysis platform, matching method, and accurate advertisement push method and system

Country Status (2)

Country Link
CN (1) CN106686404B (en)
WO (1) WO2018107914A1 (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110446061A (en) * 2019-07-04 2019-11-12 深圳壹账通智能科技有限公司 Video data acquisition methods, device, computer equipment and storage medium
CN110688892A (en) * 2019-08-20 2020-01-14 武汉烽火众智数字技术有限责任公司 Portrait identification alarm method and system based on data fusion technology
CN111327927A (en) * 2018-12-13 2020-06-23 北京沃东天骏信息技术有限公司 Video advertisement generation method, device, equipment and storage medium
CN111368106A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Method and device for processing wild advertisements and computer readable storage medium
CN111563726A (en) * 2020-04-30 2020-08-21 平安国际智慧城市科技股份有限公司 Enterprise rectification supervision method, device, equipment and computer readable storage medium
CN112199538A (en) * 2020-09-30 2021-01-08 北京达佳互联信息技术有限公司 Picture processing method and device, electronic equipment, system and storage medium
CN112235632A (en) * 2020-09-09 2021-01-15 北京达佳互联信息技术有限公司 Video processing method and device and server
CN112633129A (en) * 2020-12-18 2021-04-09 深圳追一科技有限公司 Video analysis method and device, electronic equipment and storage medium
CN112637685A (en) * 2020-12-11 2021-04-09 上海连尚网络科技有限公司 Video processing method and device
CN112949538A (en) * 2021-03-16 2021-06-11 杭州海康威视数字技术股份有限公司 Target association method and device, electronic equipment and machine-readable storage medium
CN113822195A (en) * 2021-09-23 2021-12-21 四川云恒数联科技有限公司 Government affair platform user behavior recognition feedback method based on video analysis
CN113938751A (en) * 2020-06-29 2022-01-14 北京字节跳动网络技术有限公司 Video transition type determination method, device and storage medium
CN114070955A (en) * 2021-11-29 2022-02-18 杭州逗酷软件科技有限公司 Synchronization judgment method and device and storage medium
CN114565814A (en) * 2022-02-25 2022-05-31 平安国际智慧城市科技股份有限公司 Feature detection method and device and terminal equipment
WO2022116888A1 (en) * 2020-12-02 2022-06-09 腾讯科技(深圳)有限公司 Method and device for video data processing, equipment, and medium
CN114827665A (en) * 2022-05-31 2022-07-29 北京奇艺世纪科技有限公司 Video analysis method, device, equipment and storage medium
CN115858855A (en) * 2023-02-28 2023-03-28 江西师范大学 Video data query method based on scene characteristics
CN116206227A (en) * 2023-04-23 2023-06-02 上海帜讯信息技术股份有限公司 Picture examination system and method for 5G rich media information, electronic equipment and medium
CN116343103A (en) * 2023-05-31 2023-06-27 江西省自然资源事业发展中心 Natural resource supervision method based on three-dimensional GIS scene and video fusion
CN117217831A (en) * 2023-11-08 2023-12-12 湖南快乐阳光互动娱乐传媒有限公司 Advertisement putting method and device, storage medium and electronic equipment
CN111368106B (en) * 2018-12-26 2024-04-26 中兴通讯股份有限公司 Method and device for processing wild advertisement and computer readable storage medium

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686404B (en) * 2016-12-16 2021-02-02 中兴通讯股份有限公司 Video analysis platform, matching method, and method and system for accurately delivering advertisements
KR102312999B1 (en) * 2017-05-31 2021-10-13 삼성에스디에스 주식회사 Apparatus and method for programming advertisement
CN107392666A (en) * 2017-07-24 2017-11-24 北京奇艺世纪科技有限公司 Advertisement data processing method, device and advertisement placement method and device
CN107423429A (en) * 2017-08-03 2017-12-01 李雪萍 A kind of identification device of advertisement marketing speech like sound information
CN109688436A (en) * 2017-10-18 2019-04-26 中兴通讯股份有限公司 A kind of method and device that intelligent advertisement is launched
CN109040775A (en) * 2018-08-24 2018-12-18 深圳创维-Rgb电子有限公司 Video correlating method, device and computer readable storage medium
CN110880120A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Advertisement method, advertisement system and identification device
CN109525877B (en) * 2018-10-18 2021-04-20 百度在线网络技术(北京)有限公司 Video-based information acquisition method and device
CN109460151B (en) * 2018-11-13 2020-04-10 江西师范大学 Hand shape input method
CN109600635B (en) * 2019-01-24 2021-04-27 四川长虹电器股份有限公司 System and method for pushing information according to intelligent television video on demand
CN110163649B (en) * 2019-04-03 2023-10-17 平安科技(深圳)有限公司 Advertisement pushing method and device, electronic equipment and storage medium
CN111866443A (en) * 2019-04-25 2020-10-30 黄河 Video stream data storage method, device, system and storage medium
CN110134829B (en) * 2019-04-28 2021-12-07 腾讯科技(深圳)有限公司 Video positioning method and device, storage medium and electronic device
CN111915337B (en) * 2019-05-07 2023-09-05 百度在线网络技术(北京)有限公司 Information delivery method, device, equipment and medium
CN111949819A (en) * 2019-05-15 2020-11-17 北京字节跳动网络技术有限公司 Method and device for pushing video
CN110446118B (en) * 2019-07-01 2021-08-20 创新先进技术有限公司 Video resource preprocessing method and device and video resource downloading method and device
CN110489685A (en) * 2019-08-19 2019-11-22 腾讯科技(武汉)有限公司 A kind of Webpage display process, system and relevant apparatus and storage medium
CN112579837A (en) * 2019-09-27 2021-03-30 阿里巴巴集团控股有限公司 Data processing method and device, electronic equipment and computer storage medium
CN111080341B (en) * 2019-11-26 2023-04-07 微梦创科网络科技(中国)有限公司 Method and device for creating dynamic card of specific character
CN110798736B (en) * 2019-11-28 2021-04-20 百度在线网络技术(北京)有限公司 Video playing method, device, equipment and medium
CN111526242B (en) * 2020-04-30 2021-09-07 维沃移动通信有限公司 Audio processing method and device and electronic equipment
CN112182167B (en) * 2020-11-06 2023-12-22 平安科技(深圳)有限公司 Text matching method and device, terminal equipment and storage medium
CN112699787B (en) * 2020-12-30 2024-02-20 湖南快乐阳光互动娱乐传媒有限公司 Advertisement insertion time point detection method and device
CN112866800A (en) * 2020-12-31 2021-05-28 四川金熊猫新媒体有限公司 Video content similarity detection method, device, equipment and storage medium
CN115471263A (en) * 2022-09-16 2022-12-13 深圳掌屿软件有限公司 Advertisement generation method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201011681A (en) * 2008-09-10 2010-03-16 Univ Nat Taiwan System and method for inserting advertising content
CN103218734A (en) * 2013-04-01 2013-07-24 天脉聚源(北京)传媒科技有限公司 Advertisement information pushing method and device
CN104581430A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Advertisement insertion method and equipment in video display
CN105872740A (en) * 2016-04-28 2016-08-17 黑龙江八农垦大学 Information integrating method and information integrating device
CN105956878A (en) * 2016-04-25 2016-09-21 广州出益信息科技有限公司 Network advertisement pushing method and network advertisement pushing device
CN106686404A (en) * 2016-12-16 2017-05-17 中兴通讯股份有限公司 Video analysis platform, matching method, accurate advertisement delivery method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI247239B (en) * 2004-06-18 2006-01-11 Via Tech Inc Advertising detection method and related system for detecting advertising according to specific beginning/ending images of advertising sections
CN103780944A (en) * 2012-10-17 2014-05-07 三亚中兴软件有限责任公司 Advertisement playing method, advertisement playing device, advertisement playing system and matching information establishing device
CN103024479B (en) * 2012-12-17 2016-03-02 深圳先进技术研究院 In video content, self adaptation throws in the method and system of advertisement
CN105872588A (en) * 2015-12-09 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for loading advertisement in video

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201011681A (en) * 2008-09-10 2010-03-16 Univ Nat Taiwan System and method for inserting advertising content
CN103218734A (en) * 2013-04-01 2013-07-24 天脉聚源(北京)传媒科技有限公司 Advertisement information pushing method and device
CN104581430A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Advertisement insertion method and equipment in video display
CN105956878A (en) * 2016-04-25 2016-09-21 广州出益信息科技有限公司 Network advertisement pushing method and network advertisement pushing device
CN105872740A (en) * 2016-04-28 2016-08-17 黑龙江八农垦大学 Information integrating method and information integrating device
CN106686404A (en) * 2016-12-16 2017-05-17 中兴通讯股份有限公司 Video analysis platform, matching method, accurate advertisement delivery method and system

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327927A (en) * 2018-12-13 2020-06-23 北京沃东天骏信息技术有限公司 Video advertisement generation method, device, equipment and storage medium
CN111368106B (en) * 2018-12-26 2024-04-26 中兴通讯股份有限公司 Method and device for processing wild advertisement and computer readable storage medium
CN111368106A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Method and device for processing wild advertisements and computer readable storage medium
CN110446061A (en) * 2019-07-04 2019-11-12 深圳壹账通智能科技有限公司 Video data acquisition methods, device, computer equipment and storage medium
CN110688892A (en) * 2019-08-20 2020-01-14 武汉烽火众智数字技术有限责任公司 Portrait identification alarm method and system based on data fusion technology
CN111563726A (en) * 2020-04-30 2020-08-21 平安国际智慧城市科技股份有限公司 Enterprise rectification supervision method, device, equipment and computer readable storage medium
CN113938751A (en) * 2020-06-29 2022-01-14 北京字节跳动网络技术有限公司 Video transition type determination method, device and storage medium
CN113938751B (en) * 2020-06-29 2023-12-22 抖音视界有限公司 Video transition type determining method, device and storage medium
CN112235632A (en) * 2020-09-09 2021-01-15 北京达佳互联信息技术有限公司 Video processing method and device and server
CN112199538A (en) * 2020-09-30 2021-01-08 北京达佳互联信息技术有限公司 Picture processing method and device, electronic equipment, system and storage medium
CN112199538B (en) * 2020-09-30 2023-12-12 北京达佳互联信息技术有限公司 Picture processing method, device, electronic equipment, system and storage medium
WO2022116888A1 (en) * 2020-12-02 2022-06-09 腾讯科技(深圳)有限公司 Method and device for video data processing, equipment, and medium
CN112637685A (en) * 2020-12-11 2021-04-09 上海连尚网络科技有限公司 Video processing method and device
CN112637685B (en) * 2020-12-11 2024-01-30 上海连尚网络科技有限公司 Video processing method and device
CN112633129A (en) * 2020-12-18 2021-04-09 深圳追一科技有限公司 Video analysis method and device, electronic equipment and storage medium
CN112949538A (en) * 2021-03-16 2021-06-11 杭州海康威视数字技术股份有限公司 Target association method and device, electronic equipment and machine-readable storage medium
CN112949538B (en) * 2021-03-16 2023-08-04 杭州海康威视数字技术股份有限公司 Target association method, device, electronic equipment and machine-readable storage medium
CN113822195B (en) * 2021-09-23 2023-01-24 四川云恒数联科技有限公司 Government affair platform user behavior recognition feedback method based on video analysis
CN113822195A (en) * 2021-09-23 2021-12-21 四川云恒数联科技有限公司 Government affair platform user behavior recognition feedback method based on video analysis
CN114070955B (en) * 2021-11-29 2023-06-20 杭州逗酷软件科技有限公司 Synchronization judging method and device and storage medium
CN114070955A (en) * 2021-11-29 2022-02-18 杭州逗酷软件科技有限公司 Synchronization judgment method and device and storage medium
CN114565814A (en) * 2022-02-25 2022-05-31 平安国际智慧城市科技股份有限公司 Feature detection method and device and terminal equipment
CN114827665A (en) * 2022-05-31 2022-07-29 北京奇艺世纪科技有限公司 Video analysis method, device, equipment and storage medium
CN114827665B (en) * 2022-05-31 2023-10-10 北京奇艺世纪科技有限公司 Video analysis method, device, equipment and storage medium
CN115858855A (en) * 2023-02-28 2023-03-28 江西师范大学 Video data query method based on scene characteristics
CN116206227A (en) * 2023-04-23 2023-06-02 上海帜讯信息技术股份有限公司 Picture examination system and method for 5G rich media information, electronic equipment and medium
CN116343103B (en) * 2023-05-31 2023-08-15 江西省自然资源事业发展中心 Natural resource supervision method based on three-dimensional GIS scene and video fusion
CN116343103A (en) * 2023-05-31 2023-06-27 江西省自然资源事业发展中心 Natural resource supervision method based on three-dimensional GIS scene and video fusion
CN117217831A (en) * 2023-11-08 2023-12-12 湖南快乐阳光互动娱乐传媒有限公司 Advertisement putting method and device, storage medium and electronic equipment
CN117217831B (en) * 2023-11-08 2024-01-30 湖南快乐阳光互动娱乐传媒有限公司 Advertisement putting method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106686404A (en) 2017-05-17
CN106686404B (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2018107914A1 (en) Video analysis platform, matching method, and accurate advertisement push method and system
WO2022116888A1 (en) Method and device for video data processing, equipment, and medium
CN105120304B (en) Information display method, apparatus and system
CN114342353B (en) Method and system for video segmentation
CN108235141B (en) Method, device, server and storage medium for converting live video into fragmented video on demand
US20170201793A1 (en) TV Content Segmentation, Categorization and Identification and Time-Aligned Applications
US20170065889A1 (en) Identifying And Extracting Video Game Highlights Based On Audio Analysis
WO2012020668A1 (en) Information processing device, method of processing information, and program
WO2012020667A1 (en) Information processing device, information processing method, and program
US20060080356A1 (en) System and method for inferring similarities between media objects
CN113613065B (en) Video editing method and device, electronic equipment and storage medium
US20130148898A1 (en) Clustering objects detected in video
KR20070118635A (en) Summarization of audio and/or visual data
JP2005532578A (en) System and method for providing user control over repetitive objects embedded in a stream
KR20000054561A (en) A network-based video data retrieving system using a video indexing formula and operating method thereof
JP2006155384A (en) Video comment input/display method and device, program, and storage medium with program stored
Dimoulas et al. Syncing shared multimedia through audiovisual bimodal segmentation
KR102107678B1 (en) Server for providing media information, apparatus, method and computer readable recording medium for searching media information related to media contents
JP2014130536A (en) Information management device, server, and control method
EP1335302A1 (en) Dynamic image content search information managing apparatus
JPWO2008143345A1 (en) Content division position determination device, content viewing control device, and program
CN113965806B (en) Video recommendation method and device and computer-readable storage medium
KR20090096158A (en) System and Method for cross-media search based on moving video still cut
KR102554705B1 (en) Method for generating metadata basaed on scene representation using vector and apparatus using the same
KR20090126525A (en) Method and apparatus for managing digital contents using playback position, and method and apparatus for executing the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17881049

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17881049

Country of ref document: EP

Kind code of ref document: A1