WO2014100936A1 - Method, platform, and system for manufacturing associated information library of video and for playing video - Google Patents

Method, platform, and system for manufacturing associated information library of video and for playing video Download PDF

Info

Publication number
WO2014100936A1
WO2014100936A1 PCT/CN2012/087295 CN2012087295W WO2014100936A1 WO 2014100936 A1 WO2014100936 A1 WO 2014100936A1 CN 2012087295 W CN2012087295 W CN 2012087295W WO 2014100936 A1 WO2014100936 A1 WO 2014100936A1
Authority
WO
WIPO (PCT)
Prior art keywords
target object
information
video
interaction
displayed
Prior art date
Application number
PCT/CN2012/087295
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 华为技术有限公司
Priority to PCT/CN2012/087295 priority Critical patent/WO2014100936A1/en
Priority to CN201280002756.9A priority patent/CN104041063B/en
Publication of WO2014100936A1 publication Critical patent/WO2014100936A1/en

Links

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/4143Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a Personal Computer [PC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6547Transmission by server directed to the client comprising parameters, e.g. for client setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • 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/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program

Definitions

  • the present invention relates to the field of computers, and in particular, to a method, a platform and a system for video related information library creation and video playing. Background technique
  • the interactive video can display the specific information of the person or thing in the video, such as the introduction information of the characters in the video, the detailed introduction information of the clothes worn by the characters in the video, etc., and can provide the viewer with convenient and highly targeted services. Therefore, it has broad application prospects.
  • the existing interactive video production and display methods mainly include: First, segmenting one or more target objects from the entire video according to the contour matching manner; second, automatically classifying the segmented one or more target objects, each The target object corresponds to the basic information of a target object.
  • the basic information of the target object can be customized by the developer. For example, if a target object is a piece of clothing, the corresponding brand description, price information, purchase address, etc. of the clothes will be It is saved in the basic information of the clothing target object; thirdly, when it is detected that the video of the video viewing user points to the target object in the video screen, the content to be displayed in the basic information of the target object is displayed to the viewing user.
  • the embodiments of the present invention provide a method, a platform, and a system for creating and storing a video related information library, so as to solve the problem of poor interactive video production in the prior art.
  • the technical solution is as follows:
  • a method for creating a related information library of a video comprising: acquiring one or more consecutive picture frames from an original video according to a period of existence of different target objects to be set;
  • Determining the predetermined target in one or more consecutive picture frames corresponding to one target object The contour information of the object in each picture frame and the priority of the display;
  • Displaying a target object setting interface setting an object in a region determined by the video production user in the target object setting interface as a target object, and classifying the determined region contour information as the first target object Profile information, and carried in the video interaction information;
  • the determining, in the one or more consecutive picture frames corresponding to the target object, the preset target object in each picture frame includes:
  • the basic information of the target object includes: an identifier of the target object, a name text of the target object, and a detailed One or more of an info text, image link, or video link;
  • the correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object is specifically:
  • the method includes:
  • a video playing method where the method includes:
  • Parsing the original video and the associated information base of the original video acquiring basic information and video interaction information of the target object in the associated information base of the original video, where the video interaction information includes a target object included in each picture frame
  • the outline information and the priority of the display the basic information of the target object contains the content for display;
  • the content to be displayed in the basic information of the target object corresponding to the target object having the higher priority displayed in the plurality of target objects is displayed.
  • the displaying according to the The size of the priority value displays the content to be displayed in the basic information of the target object corresponding to the target object in the interaction area, and specifically includes:
  • the content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in descending order of the displayed priority.
  • the third aspect provides a video related information library creation platform, where the platform includes: an acquiring module, configured to acquire one or more consecutive picture frames from the original video according to the existence period of the different target objects to be set;
  • a contour information determining module configured to determine, in one or more consecutive picture frames corresponding to a target object acquired by the acquiring module, contour information of the target object in each picture frame; the priority of the display is determined a module, configured to determine, in one or more consecutive picture frames corresponding to a target object acquired by the acquiring module, a preset priority of display of the target object in each picture frame;
  • an associated information base creating module configured to create an associated information base of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is used for playing the interactive video
  • the read file, the basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes content for display; the video interaction information includes a target object included in each picture frame The outline information and the priority of the display.
  • the platform further includes:
  • a first target object setting module configured to set an object in a region determined by the video production user in the target object setting interface displayed by the setting display module as a target object, and set the determined region contour information The first contour information classified as the target object, and carried in the video interaction information;
  • the first correspondence establishing module is configured to establish a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
  • the platform further includes: a second target object setting module, configured to acquire contour information of the target object in the determined region by using a contour extraction algorithm, and classify the second contour information of the target object into the video mutual information;
  • the relationship establishing module is configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
  • the profile information determining module includes:
  • a feature information acquiring unit configured to acquire feature information of the target object in the determined region
  • a tracking unit configured to calculate, by using a target tracking algorithm, a first target object of the remaining frame frames in the one or more consecutive picture frames
  • the contour information and the second contour information are carried in the video interaction information.
  • the basic information of the target object includes: an identifier of the target object, and a target object One or more of a name text, a detailed information text, a picture link, or a video link; the first correspondence establishing module is specifically configured to establish first contour information of the target object carried in the video interaction information, and the The association of one or more of the identity of the target object, the name text of the target object, the detail text, the image link, or the video link.
  • the platform further includes: an interaction area setting module;
  • the interaction area setting module includes:
  • a first setting unit configured to set an area corresponding to the first contour information of the target object in each picture frame as the first interaction area of the target object in each picture frame;
  • a second setting unit configured to set an area corresponding to the second contour information of the target object in each picture frame as a second interaction area of the target object in each picture frame;
  • a fourth aspect provides a video related information base creation platform, where the platform includes: an I/O interface, a processor, a memory, and a display;
  • the processor is connected to the memory; one end of the I/O interface is connected to the processor and the memory, and the other end is connected to the display;
  • the processor is further configured to determine contour information of the target object in each picture frame that is preset in one or more consecutive picture frames corresponding to a target object;
  • the processor is further configured to determine, in one or more consecutive picture frames corresponding to a target object, a priority of displaying the preset target object in each picture frame;
  • the processor is further configured to create an association information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is used for playing the interactive video.
  • the read file, the basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes content for display; the video interaction information includes a target object included in each picture frame The outline information and the priority of the display.
  • the processor is further configured to display a target object setting interface in the display;
  • the processor is further configured to set an object in a region determined by the video production user in the target object setting interface as a target object, and classify the determined region contour information as the first contour information of the target object, And carried in the video interaction information;
  • the processor is further configured to establish a correspondence between a target object carried in the video interaction information and basic information of a target object that is created by the video production user for the set target object.
  • the processor is further configured to acquire contour information of the target object in the determined region by using a contour extraction algorithm, and classify the second contour information of the target object, and carry the information in the video mutual information;
  • the processor is further configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object that is set by the video production user for the set target object. .
  • the processor is further configured to acquire feature information of the target object in the determined area, and calculate by using a target tracking algorithm The first contour information and the second contour information of the target object of the remaining ones of the one or more consecutive picture frames are carried in the video interaction information.
  • the basic information of the target object includes: an identifier of the target object, and a target object One or more of a name text, a detailed information text, a picture link, or a video link; the processor is specifically configured to establish a first round of the target object carried in the video interaction information An association relationship of the profile information with one or more of an identification of the target object, a name text of the target object, a detailed information text, a picture link, or a video link.
  • the processor is further configured to The area corresponding to the first contour information of the target object is set as the first interaction area of the target object in each picture frame; and the area corresponding to the second contour information of the target object in each picture frame is set as the each picture a second interaction area of the target object in the frame;
  • the video playback platform When the video playback platform detects a predefined operation of the first interaction area and the second interaction area by the user, displaying the target object corresponding to the second interaction area to be displayed in a more specific manner than the first interaction area. content.
  • a fifth aspect provides a video playing platform, where the platform includes:
  • a parsing module configured to parse the original video and the associated information base of the original video, and obtain basic information and video interaction information of the target object in the associated information base of the original video, where the video interaction information includes each picture frame The outline information of the target object and the priority of the display, the basic information of the target object containing the content for display;
  • the information display module is configured to: when detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame, the display corresponding to the target object in the interaction area according to the displayed priority The content to be displayed in the basic information of the target object.
  • the information display module is further configured to: a plurality of target objects exist in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap And displaying content to be displayed in basic information of the target object corresponding to the target object with higher priority displayed in the plurality of target objects.
  • the information display module is further configured to: a plurality of target objects exist in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap
  • the content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in order according to the priority of the displayed priority.
  • a sixth aspect provides a video playing platform, where the platform includes: an I/O interface, a processor, a memory, and a display;
  • the processor is connected to the memory; one end of the I/O interface is connected to the processor and the memory, and the other end is connected to the display;
  • the processor configured to parse an original information and an associated information base of the original video, to obtain the The basic information of the target object and the video interaction information in the associated information base of the original video, where the video interaction information includes the outline information of the target object included in each picture frame and the priority of the display, and the basic information of the target object Contains content for display;
  • the processor is further configured to: when detecting a predefined operation of the interaction area set by the interaction area setting module corresponding to the contour information of the target object in the currently played picture frame, according to the displayed priority, The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed in the display.
  • the processor is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, display the multiple target objects in the display The content to be displayed in the basic information of the target object corresponding to the higher priority target object displayed in the middle.
  • the seventh aspect provides a video related information library production and video playing system, wherein the system includes:
  • FIG. 1 is a flow chart of a method for fabricating a related information library of a video according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method for fabricating a related information base of a video according to another embodiment of the present invention
  • FIG. 4 is a schematic diagram of a target object setting interface according to another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of priority adjustment of a target object display according to another embodiment of the present invention
  • FIG. 6 is a structural diagram of a related information library of a video according to another embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for playing a video according to another embodiment of the present invention.
  • FIG. 9 is a structural diagram of an apparatus for creating a related information base of a video according to an embodiment of the present invention.
  • FIG. 10 is a structural diagram of an apparatus for creating a related information base of a video according to another embodiment of the present invention.
  • FIG. 11 is a structural diagram of an apparatus for creating a related information base of a video according to an embodiment of the present invention.
  • FIG. 14 is a structural diagram of a device of a video playing platform according to another embodiment of the present invention.
  • 16 is a structural diagram of a device of a video playing platform according to another embodiment of the present invention.
  • FIG. 18 is a flowchart showing the working process of the related information library creation and video playing system of the video according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for fabricating a related information base of a video according to an embodiment of the present invention.
  • the method may include:
  • Step 101 Acquire one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
  • Step 102 Determine, in one or more consecutive picture frames corresponding to a target object, contour information and a priority of the display of the preset target object in each picture frame;
  • Step 103 Create an association information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the associated information library is a file read when playing the interactive video, and the basic object of the target object is saved.
  • Information and video interaction information wherein the basic information of the target object includes content for display; the video interaction information includes contour information of the target object included in each picture frame and a priority of the display.
  • Step 201 The production platform acquires one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
  • a video file consists of a series of picture frames, each picture frame being an image picture.
  • a target object may exist only in a certain period.
  • the target object is subjected to contour extraction and tracking, only the frame frame containing the target object needs to be processed. Therefore, one or more consecutive picture frames may be acquired from the original video according to the existence period of different target objects to be set, and the one or more consecutive picture frames may be referred to as one picture frame group, and the production platform separately for each picture frame group
  • the processing is performed, so that the video production user separately sets the target object in the corresponding picture frame for different scenes, where each picture frame group includes at least one picture frame.
  • a target object changes little in the same scene, for example, the clothes of the same person in the same scene generally do not change, therefore, according to the existence period of different target objects to be set
  • it may be considered to divide the video into a series of picture frame groups according to different scenes.
  • HSV Human, Saturation, Value, Chroma, Saturation, Luminance histogram eigenvalues are used to detect the lens boundary, and an adaptive lens detection based on inter-frame difference and non-adjacent inter-frame difference is used. method.
  • the adaptive method based on the difference between adjacent frames can detect the abrupt lens well, and the adaptive method based on the difference between non-adjacent frames can detect the gradual lens well. The combination of the two will be very good. Detect various types of mutations and gradient lenses. Referring to the flowchart for calculating the inter-frame difference value shown in FIG. 3, the embodiment of the present invention uses an adaptive detection method based on the difference between adjacent frames as an example to introduce the lens detection method in detail:
  • a is a preset lens boundary detection threshold coefficient, and the statistical result indicates that "the general 5 ⁇ 6 is optimal; the NFD (the adjacent frame difference) video stream is adjacent to two frames. Inter-frame difference; Mean is the average of the difference between frames in the window; Sum is the sum of the differences between adjacent frames; Count is the cumulative number of differences between frames.
  • Step 3 converts the read picture frame image into an HSV model and quantizes it into 72 color spaces, and calculates a histogram
  • Step 4 calculates a difference NFD from the histogram of the previous frame image
  • Step 5 determines whether the NFD is less than ⁇ times of Mean, and if so, it indicates that there is a gradation between the read frame and the previous frame, and proceeds to step 6, otherwise it is a mutation, and proceeds to step 7;
  • Step 202 The production platform displays a target object setting interface, and sets an object in a region determined by the video production user in the target object setting interface as a target object, and classifies the determined region contour information as the target object.
  • the first contour information is carried in the video interaction information;
  • the contour information corresponding to the target object may include the first contour information and the second contour information, where the first contour information may be contour information manually determined by the video production user, and the second contour information may be contour information of the target object itself.
  • the contour information may specifically be an area i or a coordinate indicating an area included in the outline.
  • Step 203 The production platform establishes a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
  • Basic information about the respective target objects can be defined for the set target objects. For example, if the target object in the frame group a is a car, the video production user can name the car, detailed information (such as manufacturer name, place of production, price information, preferential information, official website link, etc.), the car's Related pictures, videos, etc. are formulated as basic information of the target object of the target object. It should be noted that, for the same person or object in different scenes, different target objects may be set according to the situation.
  • the production platform classifies the determined area contour information into the first contour information of the target object, and carries the first contour information of the target object carried in the video interaction information and the video production user as the target after being carried in the video interaction information.
  • Step 204 The production platform uses the contour extraction algorithm to obtain the contour information of the target object in the determined region, and is classified into the second contour information of the target object, and is carried in the video interaction information.
  • the contour extraction algorithm is further used to obtain the contour information of the target object in the determined region, and is classified as the target object. Two contour information, and carried in the video interaction information.
  • the production platform may use the contour extraction algorithm to obtain the contour information of the automobile in the map, and classify the contour information of the automobile into the second contour information of the automobile, and The second profile information is carried in the video interaction information.
  • the contour extraction algorithm can be implemented by using the prior art, and details are not described in this embodiment.
  • Step 205 The production platform establishes a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
  • the production platform classifies the contour information of the target object obtained by the contour extraction algorithm into the second contour information of the target object, and after being carried in the video interaction information, the second object of the target object carried in the video interaction information is also required to be established.
  • Step 206 The production platform acquires feature information of the target object in the determined region, and uses the target tracking algorithm to calculate first contour information and second contour information of the target object of the remaining frame frames in the one or more consecutive picture frames, and Carry in the video interaction information;
  • the production platform can acquire the feature information of the target object that is generated by the video production user, and automatically determine the specific region of the target object in each of the remaining frame frames of the corresponding picture frame group by using the target tracking algorithm, and obtain the corresponding first contour information. And the second contour information, and the first contour information and the second contour information of the target object in each picture frame are carried in the video interaction information.
  • This step is also referred to as the target object trajectory generation, and can be implemented based on a specific algorithm, such as a TLD (Tracking, Learning, Detecting, Tracking, Learning, Detection) algorithm, and the algorithm of the present invention does not perform the target object trajectory generation. Specifically limited.
  • the production platform may not extract the second contour information of the target object.
  • the production platform only needs to use the target tracking algorithm to calculate the target object of the remaining image frames in the one or more consecutive picture frames.
  • the first contour information is sufficient.
  • Step 207 Set an area corresponding to the first contour information and the second contour information of the target object in each picture frame as a first interaction area and a second interaction area of the target object in each picture frame;
  • the production platform sets an area corresponding to the first contour information of the target object in each picture frame as a first interaction area of the target object in each picture frame, and a second contour letter of the target object in each picture frame
  • the area corresponding to the information is set as the second interaction area of the target object in each picture frame, so that the video playing platform compares the first interaction area when detecting the predefined operation of the first interaction area and the second interaction area by the user.
  • a more specific manner displays the content of the target object corresponding to the second interaction area to be displayed.
  • the contour information may be an area coordinate
  • the production platform sets the corresponding area in the picture frame as an interaction area according to the area coordinates indicated by the contour information of the target object in each picture frame.
  • the production platform does not extract the second contour information of the target object, only the region corresponding to the first contour information of the target object in each screen frame needs to be set as the first interaction region of the target object in each screen frame. can.
  • Step 208 The production platform displays a target object priority setting interface, and sets a priority of display in each frame frame according to an operation instruction of the video creation user in the target object priority setting interface.
  • the video production user needs to set the display priority for the overlapping target objects, so that the video playing platform can
  • the basic information corresponding to the higher priority target object that is preferentially displayed in the overlapping target area For details, refer to the priority adjustment diagram of the target object display shown in FIG. 5, where the target object is the character A, and the display level is the priority displayed by the target object, and the target object A is displayed in the picture frame.
  • the number of display levels in the 0 to picture frame 156 is set to 9, by which the video production user can freely define the priority of display of each target object in each picture frame.
  • the production platform saves the priority of the display of the target object to subsequently add the priority of the display of the target object to the associated information base of the video.
  • Step 209 The production platform creates an associated information library of the original video according to the contour information of the target object in each picture frame, where the related information library is a file that is read when playing the interactive video, and saves basic information of the target object and Video interaction information, wherein the basic information of the target object includes content for display.
  • the related information library is a file that is read when playing the interactive video
  • the production platform saves the contour information (including the first contour information and the second contour information) of the target object in each picture frame, and the correspondence relationship between the target object and the basic information of the target object in a file, where the file is called
  • the associated information library of the original video can be in XML (Extensible Markup Language) file format or database format, and finally used by the video playback platform.
  • the related information base may include original video basic information, basic information of a target object, and video interaction information.
  • This information includes the identifier of each target object and the content to be displayed, such as one or more of the name text, detailed information text, image link or video link of each target object;
  • the video interaction information includes: The identifier of the target object, the outline information of the target object included in each screen frame, and the priority of the display of the target object included in each screen frame.
  • the mapping between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object is created in the step 203, which is specifically carried in the video interaction information.
  • the first contour information of the target object is associated with one or more of the identifier of the target object, the name text of the target object, the detailed information text, the image link, or the video link; in step 205, the production platform establishes the video interaction Corresponding relationship between the second contour information of the target object carried in the information and the basic information of the target object defined by the video production user for the set target object, specifically for establishing the second contour information of the target object carried in the video interaction information An association with one or more of the identity of the target object, the name text of the target object, the detail text, the image link, or the video link.
  • the related information database shown in FIG. 6 stores the basic information of the target object and the video interaction information in two different storage structures, and associates with the identifier of the target object, and in actual application, The basic information of the target object and the video interaction information and the corresponding relationship are stored in the same storage structure, which is not specifically limited in this embodiment.
  • the method for creating a related information library of a video provided by the embodiment of the present invention firstly obtains one or more consecutive picture frames from the original video, and then determines the target object and extracts the contour information in one of the picture frames according to the manual operation of the video production user. Finally, the target tracking algorithm is used to determine the contour information of the target object in each of the one or more picture frames, and the semi-automatic target object contour information extraction method is compared with the existing object-based segmentation and classification method. In terms of accuracy and efficiency, there has been further improvement.
  • the video playing method can include: Step 301: Parse the association information library of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the contour of the target object included in each picture frame.
  • the priority of the information and display, the basic information of the target object contains the content for display;
  • Step 302 When detecting a predefined operation on the interaction area corresponding to the contour information of the target object in the picture frame currently played by the user, displaying the basic information of the target object corresponding to the target object in the interaction area according to the displayed priority The content to be displayed in the message.
  • Step 401 The video playing platform parses the association information library of the original video and the original video, and acquires basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame.
  • the outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
  • the associated information base includes at least basic information of the target object and video interaction information;
  • the basic information of the target object includes the identifier of each target object and the content to be displayed, for example: name text of each target object, detailed information text One or more of a picture link or a video link;
  • the video interaction information includes: an identifier of a target object included in each picture frame, contour information of a target object included in each picture frame, and a target object included in each picture frame
  • the priority of the display; the specific associated information base can be as shown in Figure 6.
  • Step 402 When detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame, displaying the target object corresponding to the target object in the interaction area according to the displayed priority The content to be displayed in the basic information.
  • the video playing platform detects a predefined operation of the interaction area by the user, querying the The content to be displayed in the basic information of the target object associated with the contour information corresponding to the interaction area is displayed to the user.
  • the user can have a plurality of predefined operations on the interactive area, such as a mouse pointing operation, a mouse click operation, a touch pen sensing, a mouse pointing movement operation within the video, or a touch click operation.
  • a mouse pointing operation such as a mouse pointing operation, a mouse click operation, a touch pen sensing, a mouse pointing movement operation within the video, or a touch click operation.
  • the video playing platform detects the user's predefined operation on the interactive area, for example, the mouse points to the target area, the content to be displayed in the basic information of the target object corresponding to the interactive area may be queried and displayed to the user.
  • the content to be displayed in the basic information of the target object may be divided into the summary content corresponding to the target object (such as the name of the target object) and the specific content corresponding to the target object (such as a detailed text description of the target object, related pictures or videos, etc.),
  • the target object can be configured with two interaction areas, that is, the first interaction area and the second interaction area, in one picture frame. Therefore, the content to be displayed in the basic information of the display target object can be divided into two display modes, that is, The first display mode and the second display mode.
  • the content to be displayed in the basic information of the target object may be displayed to the user according to the first display manner; when the operation of the second interaction area of the target object is detected, The content to be displayed in the basic information of the target object may be displayed to the user according to the second display mode.
  • the first display mode and the second display mode may be different, for example: the first display mode is to display the summary content of the target object next to the target object, and the second display mode is to display the target object next to the target object. Specific content;
  • the first display mode is to display the first interactive area or the second interactive area corresponding to the target object in the target object area
  • the second display mode is to display the specific content of the target object next to the target object
  • the first display mode is to display the specific content of the target object semi-transparent next to the target object
  • the second display mode is to cover the specific content of the target object next to the target object
  • the video playing platform detects the predefined operation of the interaction area by the user, according to the displayed priority, Displaying content to be displayed in the basic information of the target object corresponding to the target object with higher priority displayed in the plurality of target objects, for example, if the two target objects a and b correspond to If the interaction area overlaps, and the display of the target object a has a higher priority, only the content to be displayed in the basic information of the target object corresponding to the target object a is displayed; or, the display priority is displayed in descending order of priority.
  • the video playing method receives an interactive information library of the original video and the original video, and displays an interactive video to the target user according to the priority displayed by the target object in the associated information database, and On the basis of this, the presentation manner of the associated information base is enriched, and the specific information for providing the interactive information according to the target redemption display priority is provided, which avoids the redundancy of the presentation provided by all the information in the prior art;
  • the information transition provided by this solution also makes the processing more efficient, without providing all the associated information for each interaction as in the prior art.
  • FIG. 9 is a structural diagram of an apparatus for creating a platform of a related information library of a video according to an embodiment of the present invention.
  • the video's associated repository creation platform can be used to create the associated information base necessary to play interactive video.
  • the associated information base production platform of the video may include:
  • the obtaining module 501 is configured to acquire one or more consecutive picture frames from the original video according to the existence period of the different target objects to be set;
  • the contour information determining module 502 is configured to determine contour information of a preset target object in each picture frame in one or more consecutive picture frames acquired by the obtaining module 501;
  • the associated information base creating module 504 is configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file read when playing the interactive video.
  • the basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the contour information of the target object included in each picture frame and the priority of the display. .
  • the association information base of the video acquires one or more consecutive picture frames from the original video according to the existence period corresponding to the target, and determines the video production in the one or more consecutive picture frames.
  • the contour information of the target object preset by the user and the priority of the display solve the problem that the related information in the prior art is insufficient for the target object to be covered by the background or other objects.
  • FIG. 10 is a structural diagram of an apparatus for creating a related information base of a video according to another embodiment of the present invention.
  • the video's associated repository production platform can be used to create a library of associated information needed to play interactive video.
  • the associated information base production platform of the video may include:
  • the obtaining module 601 is configured to acquire one or more consecutive picture frames according to different scenarios.
  • the contour information determining module 602 is configured to determine, in the one or more consecutive picture frames acquired by the obtaining module 601, a preset target object in each Outline information in frame frames;
  • the displayed priority determining module 603 is configured to determine, in the one or more consecutive picture frames acquired by the obtaining module 601, a priority of display of the preset target object in each picture frame;
  • the associated information base creating module 604 is configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file read when playing the interactive video.
  • the basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the contour information of the target object included in each picture frame and the priority of the display. .
  • the video related database creation platform also includes:
  • a setting display module 605, configured to display a target object setting interface
  • the first target object setting module 606 is configured to set an object in the region determined by the video creation user in the target object setting interface displayed by the setting display module 605 as the target object, and set the determined region contour information.
  • the first correspondence establishing module 607 is configured to establish a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
  • the basic information of the target object includes: one or more of an identifier of the target object, a name text of the target object, a detailed information text, a picture link, or a video link;
  • the first correspondence establishing module 607 is specifically configured to establish a first contour information of the target object carried in the video interaction information, an identifier of the target object, a name text of the target object, a detailed information text, a picture link, or a video link. One or more associations.
  • the video related database creation platform also includes:
  • a second target object setting module 608 configured to acquire contour information of the target object in the determined region by using a contour extraction algorithm, and classify the second contour information of the target object, and carry the information in the video mutual information;
  • the second correspondence establishing module 609 is configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
  • the contour information determining module 602 includes:
  • the feature information acquiring unit 602a is configured to acquire feature information of the target object in the determined region; the tracking unit 602b is configured to calculate, by using the target tracking algorithm, the first contour information of the target object of the remaining frame frames in the one or more consecutive picture frames And the second contour information, and carried in the video interaction information.
  • the platform further includes: an interaction area setting module 610;
  • the interaction area setting module 610 includes:
  • a first setting unit 610a configured to set an area corresponding to the first contour information of the target object in each picture frame as a first interaction area of the target object in each picture frame;
  • a second setting unit 610b configured to set an area corresponding to the second contour information of the target object in each picture frame as a second interaction area of the target object in each picture frame;
  • the video playing platform When the video playing platform detects the predefined operation of the first interaction area and the second interaction area by the user, displaying the content to be displayed of the target object corresponding to the second interaction area in a more specific manner than the first interaction area. .
  • the related information library creation platform of the video provided by the embodiment of the present invention firstly obtains one or more consecutive picture frames from the original video, and then determines the target object in one of the picture frames according to the manual operation of the video production user. And extracting contour information, and finally using the target tracking algorithm to determine contour information of the target object in each of the one or more picture frames, the semi-automatic target object contour information extraction method is compared with the existing object-based object In terms of segmentation and classification methods, accuracy and efficiency have been further improved.
  • the associated information base creation platform of the video provided by the embodiment of the present invention also adopts a method for distinguishing display between the first contour and the second contour, which is more in line with the user's law of receiving information, that is, The interaction area is from far to near corresponding to the display of information from as little as possible.
  • FIG. 11 is a structural diagram of a device for creating a related information base of a video according to an embodiment of the present invention.
  • the associated information base creation platform of the video may be used to create an associated information base necessary for playing interactive video. .
  • the associated information base production platform of the video may include: at least one I/O interface 001, at least one processor 002, such as a CPU, a memory 003, and a display 004; the memory 003 may include a high speed RAM memory, and may also include non-unstable Memory (non-volatile memory), such as at least one disk storage.
  • the memory 003 can optionally include at least one storage device located remotely from the aforementioned processor 002.
  • the memory 003 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
  • Operating system 0031 which contains various programs for implementing various basic services and handling hardware-based tasks;
  • the application module 0032 includes one or a combination of the following modules: an acquisition module, a contour information determination module, a displayed priority determination module, and an associated information base creation module.
  • the function of the above module may refer to the description part of the device structure diagram shown in FIG. , will not repeat them here.
  • the processor 002 is connected to the memory 003;
  • the I/O interface 001 is connected to the processor 002 and the memory 003, and the other end is connected to the display 004;
  • the processor 002 is configured to obtain one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
  • the processor 002 is further configured to determine contour information of the preset target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
  • the processor 002 is further configured to determine, in one or more consecutive picture frames corresponding to a target object, a priority of display of the preset target object in each picture frame;
  • the processor 002 is further configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file that is read when playing the interactive video, and is saved.
  • the basic information of the target object and the video interaction information wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the outline information of the target object included in each picture frame and the priority of the display.
  • the association information base of the video acquires one or more consecutive picture frames from the original video according to the existence period corresponding to the target, and determines the video production in the one or more consecutive picture frames.
  • the contour information of the target object preset by the user and the priority of the display solve the problem that the related information in the prior art is insufficient for the target object to be covered by the background or other objects.
  • FIG. 12 it is a structural diagram of a device for creating a related information library of a video according to another embodiment of the present invention.
  • the associated information base of the video can be used to create related information necessary for playing interactive video. Library.
  • the associated information base production platform of the video may include at least one I/O connection Port 005, at least one processor 006, such as CPU, memory 007, and display 008; memory 007 may include high speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
  • the memory 007 can optionally include at least one storage device located remotely from the aforementioned processor 006.
  • memory 007 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
  • the application module 0072 includes one or a combination of the following modules: an acquisition module, a contour information determination module, a displayed priority determination module, an associated information base creation module, a setting display module, a first target object setting module, and a first correspondence relationship.
  • the module, the second target object setting module, the second correspondence relationship establishing module, and the interaction area setting module are provided.
  • the function of the above module may be referred to the description of the device structure diagram shown in FIG. 10, and details are not described herein again.
  • the processor 006 is connected to the memory 007;
  • the I/O interface 005 is connected to the processor 006 and the memory 007, and the other end is connected to the display 008;
  • the processor 006 is configured to obtain one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
  • the processor 006 is further configured to determine contour information of the preset target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
  • the processor 006 is further configured to display a target object setting interface on the display 008;
  • the processor 006 is further configured to set an object in the area determined by the video production user in the target object setting interface as the target object, and classify the determined area contour information as the first contour information of the target object, and Carry in the video interaction information;
  • the processor 006 is further configured to establish a correspondence between the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
  • the basic information of the target object includes: one or more of an identifier of the target object, a name text of the target object, a detailed information text, a picture link, or a video link;
  • the processor 006 is specifically configured to establish the first contour information of the target object carried in the video interaction information, the identifier of the target object, the name text of the target object, the detailed information text, the image link, or the video link. Relationship.
  • the processor 006 is further configured to use the contour extraction algorithm to obtain the contour information of the target object in the determined region, and classify the second contour information of the target object, and carry the information in the video mutual information;
  • the processor 006 is further configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
  • the processor 006 is further configured to acquire feature information of the target object in the determined region, and calculate, by using a target tracking algorithm, first contour information and second contour information of the target object of the remaining frame frames in the one or more consecutive picture frames. And carried in the video interaction information.
  • the related information library creation platform of the video provided by the embodiment of the present invention firstly obtains one or more consecutive picture frames from the original video, and then determines the target object in one of the picture frames according to the manual operation of the video production user. And extracting contour information, and finally using the target tracking algorithm to determine contour information of the target object in each of the one or more picture frames, the semi-automatic target object contour information extraction method is compared with the existing object-based object In terms of segmentation and classification methods, accuracy and efficiency have been further improved.
  • FIG. 13 is a structural diagram of a device of a video playing platform according to an embodiment of the present invention.
  • the video playing platform may be used to play an interactive video to a video on demand user.
  • the video plays flat
  • the station can include:
  • the parsing module 701 is configured to parse the associated information base of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame.
  • the outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
  • the information display module 702 is configured to: when detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame by the user, displaying, according to the displayed priority, the target object corresponding to the target object in the interaction area The content to be displayed in the basic information of the target object.
  • the parsing module 801 is configured to parse the associated information base of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame.
  • the outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
  • the information display module 802 displays to the user the content to be displayed in the basic information of the target object, which may be more than four types, such as:
  • the content to be displayed in the basic information of the target object may be divided into the summary content corresponding to the target object (such as the name of the target object) and the specific content corresponding to the target object (such as a detailed text description of the target object, related pictures or videos, etc.),
  • the target object can be set to two in one frame.
  • the interaction area that is, the first interaction area and the second interaction area, can be divided into two display modes, that is, the first display mode and the second display mode, in the basic information of the display target object.
  • the first display mode is to display the summary content of the target object next to the target object
  • the second display mode is to display the specific content of the target object next to the target object
  • the first display mode is to display the first interactive area or the second interactive area corresponding to the target object in the target object area
  • the second display mode is to display the specific content of the target object next to the target object
  • the first display mode is to display the specific content of the target object semi-transparent next to the target object
  • the second display mode is to cover the specific content of the target object next to the target object
  • the information display module 802 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, display the target objects with higher priority displayed in the plurality of target objects The content to be displayed in the basic information of the target object.
  • the information display module 802 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, according to the order of priority of the display, from high to low, in order The inner valley to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed.
  • the video playing platform receives the associated information library of the original video and the original video, and displays the interactive video to the target user according to the priority displayed by the target object in the associated information library, and On the basis of this, the presentation manner of the associated information base is enriched, and the specific information for providing the interactive information according to the target redemption display priority is provided, which avoids the redundancy of the presentation provided by all the information in the prior art;
  • the information transition provided by this solution also makes the processing more efficient, without providing all the associated information for each interaction as in the prior art.
  • FIG. 15 an apparatus structure of a video playing platform according to an embodiment of the present invention is shown. Figure.
  • the video playback platform can be used to play interactive video to a video on demand user.
  • the video playing platform may include: at least one I/O interface 009, at least one processor 010, such as a CPU, a memory 011, and a display 012; the memory 011 may include a high speed RAM memory, and may also include a non-unstable memory (non- Volatile memory ), such as at least one disk storage.
  • the memory 011 can optionally include at least one storage device located remotely from the aforementioned processor 010. In some embodiments, memory 011 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
  • Operating system 0111 containing various programs for implementing various basic services and handling hardware-based tasks
  • the application module 0112 includes one or a combination of the following modules: a parsing module and an information display module.
  • a parsing module For the function of the above module, refer to the description of the device structure diagram shown in FIG. 13 , and details are not described herein again.
  • the processor 010 is connected to the memory 011;
  • the I/O interface 009 is connected to the processor 010 and the memory 011, and the other end is connected to the display 012;
  • the processor 010 is configured to receive an association information library of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame.
  • the outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
  • the processor 010 is further configured to: when detecting a predefined operation of the interaction area set by the interaction area setting module corresponding to the contour information of the target object in the currently played picture frame, according to the displayed priority, in the display 012 The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed.
  • the video playing platform parses the associated information library of the original video and the original video, and displays the priority according to the target object in the associated information base and the basic information of the target object to be displayed.
  • the content displays the interactive video to the target user, and solves the problem in the prior art that when there are multiple target objects in the same screen and each target object overlaps, the content to be displayed in the basic information of matching and displaying the target object cannot be normally realized.
  • FIG. 16 which is a structural diagram of a device of a video playing platform according to another embodiment of the present invention.
  • the video playback platform can be used to play interactive video to a video on demand user.
  • the video playing platform may include: at least one I/O interface 013, at least one processor 014, such as a CPU, a memory 015, and a display 016; the memory 015 may include a high speed RAM memory, and may also include Non-volatile memory, such as at least one disk storage.
  • the memory 015 can optionally include at least one storage device located remotely from the aforementioned processor 014. In some embodiments, memory 015 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
  • Operating system 0151 which contains various programs for implementing various basic services and handling hardware-based tasks
  • the application module 0152 includes one or a combination of the following modules: a parsing module and an information display module.
  • a parsing module For the function of the above module, refer to the description of the device structure diagram shown in FIG. 14 , and details are not described herein again.
  • the processor 014 is connected to the memory 015;
  • the I/O interface 013 is connected to the processor 014 and the memory 015, and the other end is connected to the display 016;
  • the processor 014 is further configured to: when detecting a predefined operation of the interaction area set by the interaction area setting module corresponding to the contour information of the target object in the currently played picture frame, according to the displayed priority, in the display 016 The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed.
  • the processor 014 displays the basic information of the target object to the user, and the content to be displayed may be more than four types, for example:
  • the content to be displayed in the basic information of the target object may be divided into the summary content corresponding to the target object (such as the name of the target object) and the specific content corresponding to the target object (such as a detailed text description of the target object, related pictures or videos, etc.),
  • the target object can be configured with two interaction areas, that is, the first interaction area and the second interaction area, in one picture frame. Therefore, the content to be displayed in the basic information of the display target object can be divided into two display modes, that is, The first display mode and the second display mode.
  • the processor 014 may display the content to be displayed in the basic information of the target object to the user in the display 016 according to the first display manner; when detecting the target object During the operation of the second interaction area, the processor 014 may display the content to be displayed in the basic information of the target object to the user in the display 016 according to the second display mode.
  • the first display mode and the second display mode may have multiple types, such as:
  • the first display mode is to display the summary content of the target object next to the target object, and the second display side Is to display the specific content of the target object next to the target object;
  • the first display mode is to display the first interactive area or the second interactive area corresponding to the target object in the target object area
  • the second display mode is to display the specific content of the target object next to the target object
  • the first display mode is to display the specific content of the target object semi-transparent next to the target object
  • the second display mode is to cover the specific content of the target object next to the target object
  • the processor 014 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, displaying the higher priority displayed in the multiple target objects in the display 016 The content to be displayed in the basic information of the target object corresponding to the target object.
  • the processor 014 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, according to the priority of the display from high to low, in the display 016
  • the content to be displayed in the basic information of each target object corresponding to the plurality of target objects is sequentially displayed.
  • the video playing platform receives the associated information library of the original video and the original video, and displays the interactive video to the target user according to the priority displayed by the target object in the associated information library, and On the basis of this, the presentation manner of the associated information base is enriched, and the specific information for providing the interactive information according to the target redemption display priority is provided, which avoids the redundancy of the presentation provided by all the information in the prior art;
  • the information transition provided by this solution also makes the processing more efficient, without providing all the associated information for each interaction as in the prior art.
  • FIG. 17 a system configuration diagram of a system for creating and storing video related information of a video provided by an embodiment of the present invention is shown.
  • the system for creating and playing video related information of the video can be applied to create and play interactively.
  • Video The system for the related information library creation and video playback of the video may include: a related information library creation platform 1110 and a video playback platform 1120 of the video provided by the foregoing embodiment.
  • the video related information library production platform and the video playing platform process the original video to generate an associated information library, and the specific flow of playing the interactive video according to this is shown in FIG. 18.
  • the associated database creation platform 904 of the video creates an associated information base according to the original video, and stores the original video together with the corresponding associated information base into the video server 902. Among them, the system will also close the video.
  • the content corresponding to the link in the information repository is stored in the video associated content library; when playing the video, the video playing platform 901 obtains the original video and the corresponding associated information base, and displays the interaction to the user according to the original video and its associated information base.
  • the video playing platform sends a request to the associated content server 903 according to the link in the associated information library, and obtains the corresponding link in the saved video related content library, when the content pointed to by the link in the associated information library needs to be displayed to the user.
  • the optional video playing platform 901 and the video server 902 can be completed by means of online play and online interaction. That is, the video is transmitted to the video playing platform in real time by the video server 902, and the interactive information from the video playing platform is also acquired by the video server 902 to the associated content server 903, and the communication channel established with the video playing platform 901 is utilized.
  • the optional video playing platform 901 and the video server 902 can be completed by means of online play and local interaction, or by a local download play and local interaction.
  • the associated information base is directly sent to the video playing platform 901 via the video server 902 and stored in the video playing platform 901; then the interactive information generated by the user's interactive actions is maintained by the video playing platform 901 itself.
  • the content server 903 is associated with the link in the associated information base to obtain.
  • the communication channel indicated by the broken line in FIG. 18 is no longer needed, and the communication between the video playing platform 901 and the associated content server 903 is also indicated by the "request" and "send” indicated by the solid line in the figure. carry out.
  • the system for creating and storing video related information of the video presented by the embodiment of the present invention presents the interaction relationship of each platform in the present invention and its role in the system from the system level.
  • the related information library creation platform and the video playing platform provided by the foregoing embodiments, when the related information base and the video playing video are created, only the division of the above functional modules is illustrated. In practical applications, The above function assignment is completed by different functional modules, that is, the internal structure of the platform is divided into different functional modules to complete all or part of the functions described above.
  • the related information library creation platform of the video and the video playback platform and the video related information library creation method and the video playback method embodiment are the same concept, and the specific implementation process is described in the method embodiment, and details are not described herein again.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to the field of computers. Embodiments of the present invention provide a method, a platform, and a system for manufacturing an associated information library of a video and for playing the video. The method comprises: obtaining, from an original video, one or more continuous video frames according to life cycles of different targets to be set; determining, in one or more continuous video frames corresponding to one target, profile information and a display priority of the preset target in each video frame; and fabricating an associated information library of the original video according to the profile information and the display priority of the target in each video frame. In the present invention, one or more continuous video frames are obtained from an original video according to life cycles corresponding to targets, and profile information and a display priority of a target preset by a video production user are determined in the one or more continuous video frames, which solves the defect of the prior art that related information is blank when the target is overlapped by the background or other targets in the associated information library.

Description

视频的关联信息库制作和视频播放的方法、 平台及系统 技术领域  Method, platform and system for video related information library production and video playing
本发明涉及计算机领域,特别涉及一种视频的关联信息库制作和视频播放 的方法、 平台以及系统。 背景技术  The present invention relates to the field of computers, and in particular, to a method, a platform and a system for video related information library creation and video playing. Background technique
交互式视频可以向观众显示视频中人或物的具体信息, 比如视频中人物的 介绍信息、 视频中人物所穿衣物的详细介绍信息等, 可以向观众提供方便快捷 且针对性极强的服务, 因此具有广泛的应用前景。  The interactive video can display the specific information of the person or thing in the video, such as the introduction information of the characters in the video, the detailed introduction information of the clothes worn by the characters in the video, etc., and can provide the viewer with convenient and highly targeted services. Therefore, it has broad application prospects.
现有的交互式视频制作与显示方法主要包括: 第一, 根据轮廓匹配的方式 从整个视频中分割出一至多个目标对象; 第二, 对分割出的一至多个目标对象 进行自动分类, 每个目标对象对应有一个目标对象的基本信息, 目标对象的基 本信息可由开发者自行定制, 比如, 某目标对象为一件衣服, 则对应的这件衣 服的品牌介绍、 价格信息、 购买地址等会被保存在该衣服目标对象的基本信息 中; 第三, 当检测到视频观看用户的鼠标指向视频画面中的目标对象时, 向观 看用户显示该目标对象的基本信息中待显示的内容。  The existing interactive video production and display methods mainly include: First, segmenting one or more target objects from the entire video according to the contour matching manner; second, automatically classifying the segmented one or more target objects, each The target object corresponds to the basic information of a target object. The basic information of the target object can be customized by the developer. For example, if a target object is a piece of clothing, the corresponding brand description, price information, purchase address, etc. of the clothes will be It is saved in the basic information of the clothing target object; thirdly, when it is detected that the video of the video viewing user points to the target object in the video screen, the content to be displayed in the basic information of the target object is displayed to the viewing user.
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 当同一画面中存在多个目标对象且各目标对象有重叠时, 无法正常实现匹 配和显示该目标对象的基本信息中待显示的内容。 发明内容  In the process of implementing the present invention, the inventors have found that at least the following problems exist in the prior art: When there are multiple target objects in the same picture and each target object overlaps, the basic information of matching and displaying the target object cannot be normally implemented. The content displayed. Summary of the invention
有鉴于此, 本发明实施例提供了一种视频的关联信息库制作和视频播放的 方法、 平台及系统, 以便解决现有技术中交互式视频制作效果较差的问题。 所 述技术方案如下:  In view of this, the embodiments of the present invention provide a method, a platform, and a system for creating and storing a video related information library, so as to solve the problem of poor interactive video production in the prior art. The technical solution is as follows:
一方面, 提供了一种视频的关联信息库制作方法, 所述方法包括: 按照所要设定的不同目标对象的存在周期从原始视频获取一至多个连续 画面帧;  In one aspect, a method for creating a related information library of a video is provided, the method comprising: acquiring one or more consecutive picture frames from an original video according to a period of existence of different target objects to be set;
在一个目标对象对应的一至多个连续画面帧中确定预先设定的所述目标 对象在每个画面帧中的轮廓信息和显示的优先级; Determining the predetermined target in one or more consecutive picture frames corresponding to one target object The contour information of the object in each picture frame and the priority of the display;
根据所述目标对象在每个画面帧中的轮廓信息和显示的优先级制作所述 原始视频的关联信息库, 所述关联信息库为用于播放交互式视频时读取的文 件, 保存有目标对象的基本信息和视频交互信息, 其中, 所述目标对象的基本 信息包含用于待显示的内容; 所述视频交互信息中包含有各画面帧中包含的目 标对象的轮廓信息和显示的优先级。  And generating, according to the contour information of the target object in each picture frame and the priority of the display, the associated information library of the original video, where the related information library is a file read when playing the interactive video, and the target is saved. Basic information of the object and video interaction information, wherein the basic information of the target object includes content for display; the video interaction information includes contour information of the target object included in each picture frame and priority of display .
在第一方面的第一种可能实现方式中, 所述在一个目标对象对应的一至多 个连续画面帧中确定预先选定的目标对象在每个画面帧中的轮廓信息之前, 所 述方法还包括:  In a first possible implementation manner of the first aspect, the method further determines, before the contour information of the pre-selected target object in each picture frame, in the one or more consecutive picture frames corresponding to the target object Includes:
显示目标对象设定界面;  Display target object setting interface;
显示目标对象设定界面; 将视频制作用户在所述目标对象设定界面中圏定 的区域中的对象设定为目标对象, 并将圏定的区域轮廓信息归为所述目标对象 的第一轮廓信息, 并携带在视频交互信息中;  Displaying a target object setting interface; setting an object in a region determined by the video production user in the target object setting interface as a target object, and classifying the determined region contour information as the first target object Profile information, and carried in the video interaction information;
建立所述视频交互信息中携带的目标对象的第一轮廓信息与所述视频制 作用户为所述目标对象制定的目标对象的基本信息之间的对应关系。  Establishing a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
结合第一方面的第一种可能实现方式, 在第二种可能实现方式中, 将视频 制作用户在所述目标对象设定界面中圏定的区域中的对象设定为目标对象后, 还包括:  With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, after the object in the area determined by the video production user in the target object setting interface is set as the target object, the method further includes :
利用轮廓提取算法获取圏定的区域中目标对象的轮廓信息, 并归为所述目 标对象的第二轮廓信息, 并携带在视频交互信息中;  Obtaining the contour information of the target object in the determined region by using the contour extraction algorithm, and classifying the second contour information of the target object, and carrying the information in the video interaction information;
建立所述视频交互信息中携带的目标对象的第二轮廓信息与所述视频制 作用户为所述设定的目标对象制定的目标对象的基本信息之间的对应关系。  Establishing a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
结合第一方面的第二种可能实现方式, 在第三种可能实现方式中, 所述在一个目标对象对应的一至多个连续画面帧中确定预先设定的所述 目标对象在每个画面帧中的轮廓信息, 具体包括:  With reference to the second possible implementation of the first aspect, in a third possible implementation, the determining, in the one or more consecutive picture frames corresponding to the target object, the preset target object in each picture frame The contour information in the details includes:
获取所述圏定的区域中的目标对象的特征信息, 并利用目标跟踪算法计算 所述一至多个连续画面帧中其余画面帧的目标对象的第一轮廓信息和第二轮 廓信息, 并携带在视频交互信息中。  Obtaining feature information of the target object in the determined area, and calculating, by using a target tracking algorithm, first contour information and second contour information of the target object of the remaining ones of the one or more consecutive picture frames, and carrying In the video interaction information.
结合第一方面或第一方面的第一种可能实现方式, 在第四种可能实现方式 中, 所述目标对象的基本信息包括: 所述目标对象的标识、 所述目标对象的名 称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 贝' J 所述建立所述视频交互信息中携带的目标对象的第一轮廓信息与所述视 频制作用户为所述目标对象制定的目标对象的基本信息之间的对应关系具体 为: With reference to the first aspect, or the first possible implementation manner of the first aspect, in a fourth possible implementation, the basic information of the target object includes: an identifier of the target object, a name text of the target object, and a detailed One or more of an info text, image link, or video link; The correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object is specifically:
建立所述视频交互信息中携带的目标对象的第一轮廓信息与所述目标对 象的标识、 所述目标对象的名称文本、 详细信息文本、 图片链接或视频链接中 的一个或多个的关联关系。  Establishing an association relationship between the first contour information of the target object carried in the video interaction information and the identifier of the target object, the name text of the target object, the detailed information text, the image link, or the video link .
结合第一方面的第三种可能或第四种可能实现方式,在第五种可能实现方 式中, 所述方法包括:  In conjunction with the third possible or fourth possible implementation of the first aspect, in a fifth possible implementation, the method includes:
将各画面帧中的目标对象的第一轮廓信息对应的区域设置为所述各画面 帧中的目标对象的第一交互区域;  Setting an area corresponding to the first contour information of the target object in each picture frame as the first interaction area of the target object in each picture frame;
将各画面帧中的目标对象的第二轮廓信息对应的区域设置为所述各画面 帧中的目标对象的第二交互区域;  Setting an area corresponding to the second contour information of the target object in each picture frame as a second interaction area of the target object in each picture frame;
以便视频播放平台在检测到用户对所述第一交互区域和第二交互区域的 预定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目 标对象的待显示的内容。  When the video playback platform detects a predefined operation of the first interaction area and the second interaction area by the user, displaying the target object corresponding to the second interaction area to be displayed in a more specific manner than the first interaction area. content.
第二方面, 提供了一种视频播放方法, 所述方法包括:  In a second aspect, a video playing method is provided, where the method includes:
解析原始视频和所述原始视频的关联信息库, 获取所述原始视频的关联信 息库中的目标对象的基本信息和视频交互信息, 所述视频交互信息中包含有各 画面帧中包含的目标对象的轮廓信息和显示的优先级, 所述目标对象的基本信 息包含用于待显示的内容;  Parsing the original video and the associated information base of the original video, acquiring basic information and video interaction information of the target object in the associated information base of the original video, where the video interaction information includes a target object included in each picture frame The outline information and the priority of the display, the basic information of the target object contains the content for display;
当检测到用户对当前播放的画面帧中的目标对象的轮廓信息对应的交互 区域的预定义操作时,根据显示的优先级显示与所述交互区域中的目标对象相 对应的目标对象的基本信息中待显示的内容。  When a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame is detected, the basic information of the target object corresponding to the target object in the interaction area is displayed according to the displayed priority level. The content to be displayed.
在第二方面的第一种可能实现方式中,在所述当前播放的画面帧中存在多 个目标对象, 且所述多个目标对象对应的交互区域有重叠时, 所述根据显示的 优先级显示与所述交互区域中的目标对象相对应的目标对象的基本信息中待 显示的内容, 具体包括:  In a first possible implementation manner of the second aspect, when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, the priority according to the display The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area includes:
显示所述多个目标对象中显示的优先级较高的目标对象对应的目标对象 的基本信息中待显示的内容。  The content to be displayed in the basic information of the target object corresponding to the target object having the higher priority displayed in the plurality of target objects is displayed.
在第二方面的第二种可能实现方式中,在所述当前播放的画面帧中存在多 个目标对象, 且所述多个目标对象对应的交互区域有重叠时, 所述根据显示的 优先级值的大小显示与所述交互区域中的目标对象相对应的目标对象的基本 信息中待显示的内容, 具体包括: In a second possible implementation manner of the second aspect, when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, the displaying according to the The size of the priority value displays the content to be displayed in the basic information of the target object corresponding to the target object in the interaction area, and specifically includes:
按照显示的优先级从高到低的顺序,显示所述多个目标对象对应的各目标 对象的基本信息中待显示的内容。  The content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in descending order of the displayed priority.
结合第二方面、第二方面的第一种可能实现方式或第二方面的第二种可能 实现方式, 在第三种可能实现方式中,  With reference to the second aspect, the first possible implementation of the second aspect, or the second possible implementation of the second aspect, in a third possible implementation,
所述预定义操作至少包括鼠标指向操作、 鼠标点击操作、 触摸笔的感应、 鼠标在视频内的指向移动操作或触摸点击操作中的一种或多种。  The predefined operations include at least one of a mouse pointing operation, a mouse click operation, a touch pen touch, a pointing movement operation of the mouse within the video, or a touch click operation.
第三方面, 提供一种视频的关联信息库制作平台, 所述平台包括: 获取模块, 用于按照所要设定的不同目标对象的存在周期从原始视频获取 一至多个连续画面帧;  The third aspect provides a video related information library creation platform, where the platform includes: an acquiring module, configured to acquire one or more consecutive picture frames from the original video according to the existence period of the different target objects to be set;
轮廓信息确定模块, 用于在所述获取模块获取的一个目标对象对应的一至 多个连续画面帧中确定预先设定的所述目标对象在每个画面帧中的轮廓信息; 显示的优先级确定模块, 用于在所述获取模块获取的一个目标对象对应的 一至多个连续画面帧中确定预先设定的所述目标对象在每个画面帧中的显示 的优先级;  a contour information determining module, configured to determine, in one or more consecutive picture frames corresponding to a target object acquired by the acquiring module, contour information of the target object in each picture frame; the priority of the display is determined a module, configured to determine, in one or more consecutive picture frames corresponding to a target object acquired by the acquiring module, a preset priority of display of the target object in each picture frame;
关联信息库制作模块, 用于根据所述目标对象在每个画面帧中的轮廓信息 和显示的优先级制作所述原始视频的关联信息库, 所述关联信息库为用于播放 交互式视频时读取的文件,保存有目标对象的基本信息和视频交互信息;其中, 所述目标对象的基本信息包含用于待显示的内容; 所述视频交互信息中包含有 各画面帧中包含的目标对象的轮廓信息和显示的优先级。  And an associated information base creating module, configured to create an associated information base of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is used for playing the interactive video The read file, the basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes content for display; the video interaction information includes a target object included in each picture frame The outline information and the priority of the display.
在第三方面的第一种可能实现方式中, 所述平台还包括:  In a first possible implementation manner of the third aspect, the platform further includes:
设定显示模块, 用于显示目标对象设定界面;  Setting a display module for displaying a target object setting interface;
第一目标对象设定模块, 用于将视频制作用户在所述设定显示模块显示的 目标对象设定界面中圏定的区域中的对象设定为目标对象, 并将圏定的区域轮 廓信息归为目标对象的第一轮廓信息, 并携带在视频交互信息中;  a first target object setting module, configured to set an object in a region determined by the video production user in the target object setting interface displayed by the setting display module as a target object, and set the determined region contour information The first contour information classified as the target object, and carried in the video interaction information;
第一对应关系建立模块, 用于建立所述视频交互信息中携带的目标对象的 第一轮廓信息与所述视频制作用户为所述目标对象制定的目标对象的基本信 息之间的对应关系。  The first correspondence establishing module is configured to establish a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
结合第三方面的第一种可能实现方式, 在第二种可能实现方式中, 所述平 台还包括: 第二目标对象设定模块, 用于利用轮廓提取算法获取圏定的区域中目标对 象的轮廓信息,并归为所述目标对象的第二轮廓信息,并携带在视频互信息中; 第二对应关系建立模块, 用于建立所述视频交互信息中携带的目标对象的 第二轮廓信息与所述视频制作用户为所述设定的目标对象制定的目标对象的 基本信息之间的对应关系。 In conjunction with the first possible implementation of the third aspect, in a second possible implementation, the platform further includes: a second target object setting module, configured to acquire contour information of the target object in the determined region by using a contour extraction algorithm, and classify the second contour information of the target object into the video mutual information; The relationship establishing module is configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
结合第三方面的第二种可能实现方式, 在第三方面第三种可能实现方式 中, 所述轮廓信息确定模块, 包括:  With reference to the second possible implementation of the third aspect, in the third possible implementation manner of the third aspect, the profile information determining module includes:
特征信息获取单元, 用于获取所述圏定的区域中的目标对象的特征信息; 跟踪单元, 用于利用目标跟踪算法计算所述一至多个连续画面帧中其余画 面帧的目标对象的第一轮廓信息和第二轮廓信息, 并携带在视频交互信息中。  a feature information acquiring unit, configured to acquire feature information of the target object in the determined region; a tracking unit, configured to calculate, by using a target tracking algorithm, a first target object of the remaining frame frames in the one or more consecutive picture frames The contour information and the second contour information are carried in the video interaction information.
结合第三方面或第三方面的第一种可能实现方式, 在第三方面的第四种可 能实现方式中, 所述目标对象的基本信息包括: 所述目标对象的标识、 所述目 标对象的名称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 所述第一对应关系建立模块, 具体用于建立所述视频交互信息中携带的目 标对象的第一轮廓信息与所述目标对象的标识、 所述目标对象的名称文本、 详 细信息文本、 图片链接或视频链接中的一个或多个的关联关系。  With reference to the third aspect, or the first possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the basic information of the target object includes: an identifier of the target object, and a target object One or more of a name text, a detailed information text, a picture link, or a video link; the first correspondence establishing module is specifically configured to establish first contour information of the target object carried in the video interaction information, and the The association of one or more of the identity of the target object, the name text of the target object, the detail text, the image link, or the video link.
结合第三方面的第三种可能实现方式或第三方面的第四种可能实现方式, 在第五种可能实现方式中, 所述平台还包括: 交互区域设置模块;  With reference to the third possible implementation manner of the third aspect, or the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner, the platform further includes: an interaction area setting module;
所述交互区域设置模块, 包括:  The interaction area setting module includes:
第一设置单元, 用于将各画面帧中的目标对象的第一轮廓信息对应的区域 设置为所述各画面帧中的目标对象的第一交互区域;  a first setting unit, configured to set an area corresponding to the first contour information of the target object in each picture frame as the first interaction area of the target object in each picture frame;
第二设置单元, 用于将各画面帧中的目标对象的第二轮廓信息对应的区域 设置为所述各画面帧中的目标对象的第二交互区域;  a second setting unit, configured to set an area corresponding to the second contour information of the target object in each picture frame as a second interaction area of the target object in each picture frame;
以便视频播放平台在检测到用户对所述第一交互区域和第二交互区域的 预定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目 标对象的待显示的内容。  When the video playback platform detects a predefined operation of the first interaction area and the second interaction area by the user, displaying the target object corresponding to the second interaction area to be displayed in a more specific manner than the first interaction area. content.
第四方面, 提供了一种视频的关联信息库制作平台, 所述平台包括: I/O 接口、 处理器、 存储器和显示器;  A fourth aspect provides a video related information base creation platform, where the platform includes: an I/O interface, a processor, a memory, and a display;
所述处理器与所述存储器相连; 所述 I/O接口一端与所述处理器和所述存 储器相连, 另一端与所述显示器相连;  The processor is connected to the memory; one end of the I/O interface is connected to the processor and the memory, and the other end is connected to the display;
所述处理器, 用于按照所要设定的不同目标对象的存在周期从原始视频获 取一至多个连续画面帧; The processor is configured to obtain from the original video according to the existence period of different target objects to be set Take one to more consecutive picture frames;
所述处理器,还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的所述目标对象在每个画面帧中的轮廓信息;  The processor is further configured to determine contour information of the target object in each picture frame that is preset in one or more consecutive picture frames corresponding to a target object;
所述处理器,还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的所述目标对象在每个画面帧中的显示的优先级;  The processor is further configured to determine, in one or more consecutive picture frames corresponding to a target object, a priority of displaying the preset target object in each picture frame;
所述处理器,还用于根据所述目标对象在每个画面帧中的轮廓信息和显示 的优先级制作所述原始视频的关联信息库, 所述关联信息库为用于播放交互式 视频时读取的文件, 保存有目标对象的基本信息和视频交互信息; 其中, 所述 目标对象的基本信息包含用于待显示的内容; 所述视频交互信息中包含有各画 面帧中包含的目标对象的轮廓信息和显示的优先级。  The processor is further configured to create an association information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is used for playing the interactive video. The read file, the basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes content for display; the video interaction information includes a target object included in each picture frame The outline information and the priority of the display.
在第四方面的第一种可能实现方式中,  In a first possible implementation of the fourth aspect,
所述处理器, 还用于在所述显示器中显示目标对象设定界面;  The processor is further configured to display a target object setting interface in the display;
所述处理器,还用于将视频制作用户在目标对象设定界面中圏定的区域中 的对象设定为目标对象, 并将圏定的区域轮廓信息归为目标对象的第一轮廓信 息, 并携带在视频交互信息中;  The processor is further configured to set an object in a region determined by the video production user in the target object setting interface as a target object, and classify the determined region contour information as the first contour information of the target object, And carried in the video interaction information;
所述处理器,还用于建立所述视频交互信息中携带的目标对象与所述视频 制作用户为所述设定的目标对象制定的目标对象的基本信息之间的对应关系。  The processor is further configured to establish a correspondence between a target object carried in the video interaction information and basic information of a target object that is created by the video production user for the set target object.
在第四方面的第二种可能实现方式中,  In a second possible implementation of the fourth aspect,
所述处理器,还用于利用轮廓提取算法获取圏定的区域中目标对象的轮廓 信息, 并归为所述目标对象的第二轮廓信息, 并携带在视频互信息中;  The processor is further configured to acquire contour information of the target object in the determined region by using a contour extraction algorithm, and classify the second contour information of the target object, and carry the information in the video mutual information;
所述处理器,还用于建立所述视频交互信息中携带的目标对象的第二轮廓 信息与所述视频制作用户为所述设定的目标对象制定的目标对象的基本信息 之间的对应关系。  The processor is further configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object that is set by the video production user for the set target object. .
结合第四方面的第二种可能实现方式, 在第三种可能实现方式中, 所述处理器, 还用于获取所述圏定的区域中的目标对象的特征信息, 并利 用目标跟踪算法计算所述一至多个连续画面帧中其余画面帧的目标对象的第 一轮廓信息和第二轮廓信息, 并携带在视频交互信息中。  With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation, the processor is further configured to acquire feature information of the target object in the determined area, and calculate by using a target tracking algorithm The first contour information and the second contour information of the target object of the remaining ones of the one or more consecutive picture frames are carried in the video interaction information.
结合第四方面或第四方面的第一种可能实现方式, 在第四方面的第四种可 能实现方式中, 所述目标对象的基本信息包括: 所述目标对象的标识、 所述目 标对象的名称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 所述处理器, 具体用于建立所述视频交互信息中携带的目标对象的第一轮 廓信息与所述目标对象的标识、 所述目标对象的名称文本、 详细信息文本、 图 片链接或视频链接中的一个或多个的关联关系。 With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the basic information of the target object includes: an identifier of the target object, and a target object One or more of a name text, a detailed information text, a picture link, or a video link; the processor is specifically configured to establish a first round of the target object carried in the video interaction information An association relationship of the profile information with one or more of an identification of the target object, a name text of the target object, a detailed information text, a picture link, or a video link.
结合第四方面的第三种可能实现方式或第四方面的第四种可能实现方式 中, 在第四方面的第五种可能实现方式中, 所述处理器, 还用于将各画面帧中 的目标对象的第一轮廓信息对应的区域设置为所述各画面帧中的目标对象的 第一交互区域; 将各画面帧中的目标对象的第二轮廓信息对应的区域设置为所 述各画面帧中的目标对象的第二交互区域;  In combination with the third possible implementation manner of the fourth aspect or the fourth possible implementation manner of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the processor is further configured to The area corresponding to the first contour information of the target object is set as the first interaction area of the target object in each picture frame; and the area corresponding to the second contour information of the target object in each picture frame is set as the each picture a second interaction area of the target object in the frame;
以便视频播放平台在检测到用户对所述第一交互区域和第二交互区域的 预定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目 标对象的待显示的内容。  When the video playback platform detects a predefined operation of the first interaction area and the second interaction area by the user, displaying the target object corresponding to the second interaction area to be displayed in a more specific manner than the first interaction area. content.
第五方面, 提供一种视频播放平台, 所述平台包括:  A fifth aspect provides a video playing platform, where the platform includes:
解析模块, 用于解析原始视频和所述原始视频的关联信息库, 获取所述原 始视频的关联信息库中的目标对象的基本信息和视频交互信息, 所述视频交互 信息中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 所述目 标对象的基本信息包含用于待显示的内容;  a parsing module, configured to parse the original video and the associated information base of the original video, and obtain basic information and video interaction information of the target object in the associated information base of the original video, where the video interaction information includes each picture frame The outline information of the target object and the priority of the display, the basic information of the target object containing the content for display;
信息显示模块, 用于当检测到用户对当前播放的画面帧中的目标对象的轮 廓信息对应的交互区域的预定义操作时,根据显示的优先级显示与所述交互区 域中的目标对象相对应的目标对象的基本信息中待显示的内容。  The information display module is configured to: when detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame, the display corresponding to the target object in the interaction area according to the displayed priority The content to be displayed in the basic information of the target object.
在第五方面的第一种可能实现方式中, 所述信息显示模块还用于, 在所述 当前播放的画面帧中存在多个目标对象, 且所述多个目标对象对应的交互区域 有重叠时, 显示所述多个目标对象中显示的优先级较高的目标对象对应的目标 对象的基本信息中待显示的内容。  In a first possible implementation manner of the fifth aspect, the information display module is further configured to: a plurality of target objects exist in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap And displaying content to be displayed in basic information of the target object corresponding to the target object with higher priority displayed in the plurality of target objects.
在第五方面的第二种可能实现方式中, 所述信息显示模块还用于, 在所述 当前播放的画面帧中存在多个目标对象, 且所述多个目标对象对应的交互区域 有重叠时, 按照显示的优先级从高到低的顺序, 依照顺序显示所述多个目标对 象对应的各目标对象的基本信息中待显示的内容。  In a second possible implementation manner of the fifth aspect, the information display module is further configured to: a plurality of target objects exist in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap The content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in order according to the priority of the displayed priority.
第六方面, 提供了一种视频播放平台, 其特征在于, 所述平台包括: I/O 接口、 处理器、 存储器和显示器;  A sixth aspect provides a video playing platform, where the platform includes: an I/O interface, a processor, a memory, and a display;
所述处理器与所述存储器相连; 所述 I/O接口一端与所述处理器和所述存 储器相连, 另一端与所述显示器相连;  The processor is connected to the memory; one end of the I/O interface is connected to the processor and the memory, and the other end is connected to the display;
所述处理器, 用于解析原始视频和所述原始视频的关联信息库, 获取所述 原始视频的关联信息库中的目标对象的基本信息和视频交互信息, 所述视频交 互信息中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 所述 目标对象的基本信息包含用于待显示的内容; The processor, configured to parse an original information and an associated information base of the original video, to obtain the The basic information of the target object and the video interaction information in the associated information base of the original video, where the video interaction information includes the outline information of the target object included in each picture frame and the priority of the display, and the basic information of the target object Contains content for display;
所述处理器,还用于当检测用户到对当前播放的画面帧中的目标对象的轮 廓信息对应的交互区域设置模块设置的交互区域的预定义操作时,根据显示的 优先级,在所述显示器中显示与所述交互区域中的目标对象相对应的目标对象 的基本信息中待显示的内容。  The processor is further configured to: when detecting a predefined operation of the interaction area set by the interaction area setting module corresponding to the contour information of the target object in the currently played picture frame, according to the displayed priority, The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed in the display.
在第六方面的第一种可能实现方式中  In a first possible implementation of the sixth aspect
所述处理器, 还用于在所述当前播放的画面帧中存在多个目标对象, 且所 述多个目标对象对应的交互区域有重叠时,在所述显示器中显示所述多个目标 对象中显示的优先级较高的目标对象对应的目标对象的基本信息中待显示的 内容。  The processor is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, display the multiple target objects in the display The content to be displayed in the basic information of the target object corresponding to the higher priority target object displayed in the middle.
在第六方面的第二种可能实现方式中,  In a second possible implementation of the sixth aspect,
所述处理器还用于, 在所述当前播放的画面帧中存在多个目标对象, 且所 述多个目标对象对应的交互区域有重叠时, 按照显示的优先级从高到低的顺 序, 在所述显示器中依照顺序显示所述多个目标对象对应的各目标对象的基本 信息中待显示的内容。  The processor is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, according to the order of priority of the display, from high to low, The content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in the display in order.
第七方面, 提供了一种视频的关联信息库制作与视频播放系统, 其特征在 于, 所述系统包括:  The seventh aspect provides a video related information library production and video playing system, wherein the system includes:
如上述第三方面所述的视频关联信息库制作平台以及如上述第五方面所 述的视频播放平台。  The video association information library creation platform according to the above third aspect, and the video playback platform as described in the fifth aspect above.
本发明实施例提供的技术方案的有益效果是:  The beneficial effects of the technical solutions provided by the embodiments of the present invention are:
通过按照目标对应的存在周期从原始视频获取一至多个连续画面帧, 并在 该一至多个连续画面帧中确定视频制作用户预先设定的目标对象的轮廓信息 和显示的优先级, 解决了现有技术中制作的关联信息库中对于目标对象存在被 背景或其他对象覆盖时相关信息空白的不足。 附图说明  Resolving the current information by acquiring one or more consecutive picture frames from the original video according to the existence period corresponding to the target, and determining the contour information and the priority of the display of the target object preset by the video production user in the one or more consecutive picture frames In the related information library produced in the technology, there is a shortage of related information blanks when the target object is covered by the background or other objects. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, Other drawings can also be obtained from these figures.
图 1 是本发明一个实施例提供的视频的关联信息库制作方法的方法流程 图;  1 is a flow chart of a method for fabricating a related information library of a video according to an embodiment of the present invention;
图 2 是本发明另一实施例提供的视频的关联信息库制作方法的方法流程 图;  2 is a flow chart of a method for fabricating a related information base of a video according to another embodiment of the present invention;
图 3是本发明另一实施例提供的相邻帧间差值计算流程图;  FIG. 3 is a flowchart of calculating a difference between adjacent frames according to another embodiment of the present invention; FIG.
图 4是本发明另一实施例提供的目标对象设定界面示意图;  4 is a schematic diagram of a target object setting interface according to another embodiment of the present invention;
图 5是本发明另一实施例提供的目标对象显示的优先级调整示意图; 图 6是本发明另一实施例提供的视频的关联信息库结构图;  5 is a schematic diagram of priority adjustment of a target object display according to another embodiment of the present invention; FIG. 6 is a structural diagram of a related information library of a video according to another embodiment of the present invention;
图 7是本发明一个实施例提供的视频播放方法的方法流程图;  FIG. 7 is a flowchart of a method for playing a video according to an embodiment of the present invention; FIG.
图 8是本发明另一实施例提供的视频播放方法的方法流程图;  FIG. 8 is a flowchart of a method for playing a video according to another embodiment of the present invention; FIG.
图 9 是本发明一个实施例提供的视频的关联信息库制作平台的装置结构 图;  FIG. 9 is a structural diagram of an apparatus for creating a related information base of a video according to an embodiment of the present invention; FIG.
图 10是本发明另一实施例提供的视频的关联信息库制作平台的装置结构 图;  FIG. 10 is a structural diagram of an apparatus for creating a related information base of a video according to another embodiment of the present invention; FIG.
图 11是本发明一个实施例提供的视频的关联信息库制作平台的装置结构 图;  FIG. 11 is a structural diagram of an apparatus for creating a related information base of a video according to an embodiment of the present invention; FIG.
图 12是本发明另一实施例提供的视频的关联信息库制作平台的装置结构 图;  FIG. 12 is a structural diagram of an apparatus for creating a related information base of a video according to another embodiment of the present invention; FIG.
图 13是本发明一个实施例提供的视频播放平台的装置结构图;  FIG. 13 is a structural diagram of a device of a video playing platform according to an embodiment of the present invention; FIG.
图 14是本发明另一实施例提供的视频播放平台的装置结构图;  FIG. 14 is a structural diagram of a device of a video playing platform according to another embodiment of the present invention; FIG.
图 15是本发明一个实施例提供的视频播放平台的装置结构图;  FIG. 15 is a structural diagram of a device of a video playing platform according to an embodiment of the present invention; FIG.
图 16是本发明另一实施例提供的视频播放平台的装置结构图;  16 is a structural diagram of a device of a video playing platform according to another embodiment of the present invention;
图 17是本发明一个实施例提供的视频的关联信息库制作与视频播放系统 的系统构成图;  17 is a system configuration diagram of a related information library creation and video playback system for video according to an embodiment of the present invention;
图 18是本发明一个实施例提供的视频的关联信息库制作与视频播放系统 的工作流程图。 具体实施方式  FIG. 18 is a flowchart showing the working process of the related information library creation and video playing system of the video according to an embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。 请参见图 1 , 其示出了本发明一个实施例提供的视频的关联信息库制作方 法的方法流程图, 该方法可以包括: The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. FIG. 1 is a flowchart of a method for fabricating a related information base of a video according to an embodiment of the present invention. The method may include:
步骤 101 , 按照所要设定的不同目标对象的存在周期从原始视频获取一至 多个连续画面帧;  Step 101: Acquire one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
步骤 102, 在一个目标对象对应的一至多个连续画面帧中确定预先设定的 目标对象在每个画面帧中的轮廓信息和显示的优先级;  Step 102: Determine, in one or more consecutive picture frames corresponding to a target object, contour information and a priority of the display of the preset target object in each picture frame;
步骤 103, 根据目标对象在每个画面帧中的轮廓信息和显示的优先级制作 原始视频的关联信息库, 关联信息库为用于播放交互式视频时读取的文件, 保 存有目标对象的基本信息和视频交互信息; 其中, 目标对象的基本信息包含用 于待显示的内容; 视频交互信息中包含有各画面帧中包含的目标对象的轮廓信 息和显示的优先级。  Step 103: Create an association information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the associated information library is a file read when playing the interactive video, and the basic object of the target object is saved. Information and video interaction information; wherein the basic information of the target object includes content for display; the video interaction information includes contour information of the target object included in each picture frame and a priority of the display.
综上所述, 本发明实施例提供的视频的关联信息库制作方法, 通过按照目 标对应的存在周期从原始视频获取一至多个连续画面帧, 并在该一至多个连续 画面帧中确定视频制作用户预先设定的目标对象的轮廓信息和显示的优先级, 解决了现有技术中制作的关联信息库中对于目标对象存在被背景或其他对象 覆盖时相关信息空白的不足。 为了对上一实施例提供的视频的关联信息库制作方法做进一步描述,请参 见图 2, 其示出了本发明另一实施例提供的视频的关联信息库制作方法的方法 流程图, 该方法可以包括:  In summary, the method for creating a related information library of a video provided by the embodiment of the present invention acquires one or more consecutive picture frames from the original video according to the existence period corresponding to the target, and determines the video production in the one or more consecutive picture frames. The contour information of the target object preset by the user and the priority of the display solve the problem that the related information in the prior art is insufficient for the target object to be covered by the background or other objects. For further description of the method for creating a related information library of the video provided in the previous embodiment, please refer to FIG. 2, which is a flowchart of a method for fabricating a related information library of a video according to another embodiment of the present invention. Can include:
步骤 201 , 制作平台按照所要设定的不同目标对象的存在周期从原始视频 获取一至多个连续画面帧;  Step 201: The production platform acquires one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
视频文件由一系列的画面帧组成, 每个画面帧就是一幅影像画面。 视频中 一个目标对象可能只在某一周期内存在, 对该目标对象进行轮廓提取、 跟踪 等处理时, 只需要对包含有该目标对象的画面帧进行处理即可。 因此, 可以 从原始视频按照所要设定的不同目标对象的存在周期获取一至多个连续画面 帧, 该一至多个连续画面帧可以被称为一个画面帧组, 制作平台分别对每个 画面帧组进行处理, 以便视频制作用户针对不同的场景在对应的画面帧中分 别设置目标对象, 其中, 每个画面帧组中包含至少一个画面帧。  A video file consists of a series of picture frames, each picture frame being an image picture. In the video, a target object may exist only in a certain period. When the target object is subjected to contour extraction and tracking, only the frame frame containing the target object needs to be processed. Therefore, one or more consecutive picture frames may be acquired from the original video according to the existence period of different target objects to be set, and the one or more consecutive picture frames may be referred to as one picture frame group, and the production platform separately for each picture frame group The processing is performed, so that the video production user separately sets the target object in the corresponding picture frame for different scenes, where each picture frame group includes at least one picture frame.
考虑到一个目标对象在同一个场景中变化较小, 比如同一个人物在同一个 场景中的衣服一般不会变, 因此, 在按照所要设定的不同目标对象的存在周期 从原始视频获取一至多个连续画面帧时, 可以考虑将视频按照不同的场景分割 成一系列的画面帧组。 Considering that a target object changes little in the same scene, for example, the clothes of the same person in the same scene generally do not change, therefore, according to the existence period of different target objects to be set When acquiring one or more consecutive picture frames from the original video, it may be considered to divide the video into a series of picture frame groups according to different scenes.
实际应用中, 可以 ^据检测相邻的两个画面帧是否为突变帧来判断相邻两 个画面帧是否属于同一场景。一般认为视频中镜头之间的切换方式主要有两大 类: 突变和渐变。 突变是镜头间的突然变化, 一般在两帧图像间完成。 渐变则 是从一个镜头緩慢地变化到另一个镜头, 一般延续十几或几十帧。 相同的视频 场景中, 视频目标对象的背景相同或相似, 因此, 可以认为同一场景的镜头为 渐变镜头, 并将两个突变镜头之间的渐变镜头所对应的一系列连续的画面帧分 割成一个画面帧组。 本实施例选用 HSV ( Hue、 Saturation, Value, 色度、 饱和 度、 亮度)直方图特征值来检测镜头边界, 采用一种基于帧间差值和非相邻帧 间差值的自适应镜头检测方法。 其中, 基于相邻帧间差值的自适应法能够很好 地检测突变镜头, 而基于非相邻帧间差值的自适应法能很好地检测渐变镜头, 二者结合将能很好地检测各类突变和渐变镜头。请参见图 3示出的相邻帧间差 值计算流程图, 本发明实施例以基于相邻帧间差值的自适应检测法为例, 对镜 头检测方法做详细的介绍:  In an actual application, it may be determined whether two adjacent picture frames are abrupt frames to determine whether two adjacent picture frames belong to the same scene. It is generally believed that there are two main types of switching between shots in a video: mutations and gradations. Mutations are sudden changes between shots that are typically done between two frames of image. Gradient changes slowly from one lens to another, typically extending a dozen or tens of frames. In the same video scene, the background of the video object is the same or similar. Therefore, the lens of the same scene can be considered as a gradation lens, and a series of consecutive picture frames corresponding to the gradation lens between the two abrupt lenses are divided into one. Picture frame group. In this embodiment, HSV (Hue, Saturation, Value, Chroma, Saturation, Luminance) histogram eigenvalues are used to detect the lens boundary, and an adaptive lens detection based on inter-frame difference and non-adjacent inter-frame difference is used. method. Among them, the adaptive method based on the difference between adjacent frames can detect the abrupt lens well, and the adaptive method based on the difference between non-adjacent frames can detect the gradual lens well. The combination of the two will be very good. Detect various types of mutations and gradient lenses. Referring to the flowchart for calculating the inter-frame difference value shown in FIG. 3, the embodiment of the present invention uses an adaptive detection method based on the difference between adjacent frames as an example to introduce the lens detection method in detail:
其中, a为一预先设定的镜头边界检测阀值系数, 统计结果表明 "一般取 5~6 最佳; NFD ( the neighbor frame difference , 相邻帧间差值) 的视频流相邻两帧 的帧间差值; Mean为窗口内帧间差值的平均值; Sum为相邻帧间差值累积 和; Count为帧间差值累积次数。 Where a is a preset lens boundary detection threshold coefficient, and the statistical result indicates that "the general 5~6 is optimal; the NFD (the adjacent frame difference) video stream is adjacent to two frames. Inter-frame difference; Mean is the average of the difference between frames in the window; Sum is the sum of the differences between adjacent frames; Count is the cumulative number of differences between frames.
算法具体流程如下:  The specific process of the algorithm is as follows:
步骤①程序启动;  Step 1 program starts;
步骤②第一次读取画面帧时, 读入视频流的相邻两帧图像, 从第一帧和第 二帧开始; 如果不是第一次读取画面帧, 则只读入一帧图像;  Step 2, when reading the picture frame for the first time, reading the adjacent two frames of the video stream, starting from the first frame and the second frame; if not reading the picture frame for the first time, reading only one frame of the image;
步骤③把读入的画面帧图像转换成 HSV模型并量化为 72个颜色空间,计 算直方图;  Step 3 converts the read picture frame image into an HSV model and quantizes it into 72 color spaces, and calculates a histogram;
步骤④计算与上一帧图像直方图的差值 NFD;  Step 4 calculates a difference NFD from the histogram of the previous frame image;
步骤⑤判断 NFD是否小于 Mean的 α倍,如果是,则表明读入帧与上一帧 之间为渐变, 进入步骤⑥, 否则为突变, 进入步骤⑦;  Step 5 determines whether the NFD is less than α times of Mean, and if so, it indicates that there is a gradation between the read frame and the previous frame, and proceeds to step 6, otherwise it is a mutation, and proceeds to step 7;
步骤⑥累积统计信息; 步骤⑦, 重置统计信息。  Step 6 accumulates statistical information; Step 7, resets the statistical information.
基于非相邻帧间差值的自适应检测法的计算方式与上述基于相邻帧间差 值的自适应检测法类似, 只是读取的画面帧为非相邻帧, 对此, 本实施例不再 赘述。 步骤 202, 制作平台显示目标对象设定界面, 将视频制作用户在目标对象 设定界面中圏定的区域中的对象设定为目标对象, 并将圏定的区域轮廓信息归 为该目标对象的第一轮廓信息, 并携带在视频交互信息中; The calculation method of the adaptive detection method based on the difference between the non-adjacent frames is similar to the above-described adaptive detection method based on the difference between the adjacent frames, except that the read picture frame is a non-adjacent frame, and this embodiment No longer. Step 202: The production platform displays a target object setting interface, and sets an object in a region determined by the video production user in the target object setting interface as a target object, and classifies the determined region contour information as the target object. The first contour information is carried in the video interaction information;
其中, 目标对象对应的轮廓信息可以包括第一轮廓信息和第二轮廓信息, 其中, 第一轮廓信息可以是视频制作用户手动圏定的轮廓信息, 第二轮廓信息 可以是目标对象自身的轮廓信息。轮廓信息具体可以是标示轮廓所包含区域的 区 i或坐标。  The contour information corresponding to the target object may include the first contour information and the second contour information, where the first contour information may be contour information manually determined by the video production user, and the second contour information may be contour information of the target object itself. . The contour information may specifically be an area i or a coordinate indicating an area included in the outline.
制作平台可以向视频制作用户提供目标对象设定功能, 具体的, 可以向视 频制作用户显示目标对象设定界面,视频制作用户在目标对象设定界面中为每 个画面帧组圏定一至多个目标对象, 并将圏定的区域轮廓信息归为该目标对象 的第一轮廓信息, 并将该第一轮廓信息携带在视频交互信息中。 其中, 轮廓信 息具体可以是圏定区域的坐标。 比如图 4所示的目标对象设定界面示意图, 其 中, 汽车为目标对象, 鼠标所指的虚线框的轮廓即为视频制作用户圏定的区域 轮廓, 虚线框对应的轮廓信息即为该汽车的第一轮廓信息。  The production platform can provide the target object setting function to the video production user. Specifically, the target object setting interface can be displayed to the video production user, and the video production user sets one or more for each picture frame group in the target object setting interface. The target object is classified into the first contour information of the target object, and the first contour information is carried in the video interaction information. The contour information may specifically be the coordinates of the determined area. For example, the target object setting interface diagram shown in FIG. 4, wherein the car is the target object, the outline of the dotted frame pointed by the mouse is the contour of the area defined by the video production user, and the contour information corresponding to the dotted frame is the car's First contour information.
步骤 203, 制作平台建立视频交互信息中携带的目标对象的第一轮廓信息 与视频制作用户为该目标对象制定的目标对象的基本信息之间的对应关系; 视频制作用户设定目标对象之后,还可以为设定的目标对象制定各自的目 标对象的基本信息。 比如该画面帧组 a中的目标对象为汽车, 则视频制作用户 可以将该汽车的名称信息、详细介绍信息(比如厂家名称、生产地、价格信息、 优惠信息、 官网链接等)、 该汽车的相关图片、 视频等制定为该目标对象的目 标对象的基本信息。 需要说明的是, 对于不同场景的同一人物或物体, 可以根 据情况设置为不同的目标对象, 比如, 某人物 A在画面帧组 a中穿着某品牌款 式的大衣, 且在画面帧组 a中被设定为目标对象 1 , 而该人物 A在另一画面帧 组 b中穿着另一品牌款式的长裤, 则视频制作用户可以将画面帧组 b中将该人 物 A设定为目标对象 3, 且将对应的目标对象的基本信息制定为该品牌款式的 长裤的基本信息。  Step 203: The production platform establishes a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object. After the video production user sets the target object, Basic information about the respective target objects can be defined for the set target objects. For example, if the target object in the frame group a is a car, the video production user can name the car, detailed information (such as manufacturer name, place of production, price information, preferential information, official website link, etc.), the car's Related pictures, videos, etc. are formulated as basic information of the target object of the target object. It should be noted that, for the same person or object in different scenes, different target objects may be set according to the situation. For example, a certain character A wears a coat of a certain brand style in the picture frame group a, and is in the picture frame group a. When the target object 1 is set and the character A wears another brand style trousers in another picture frame group b, the video production user can set the character A as the target object 3 in the picture frame group b. And the basic information of the corresponding target object is formulated as the basic information of the trousers of the brand style.
制作平台将圏定的区域轮廓信息归为该目标对象的第一轮廓信息, 并携带 在视频交互信息中之后, 建立视频交互信息中携带的目标对象的第一轮廓信息 与视频制作用户为该目标对象制定的目标对象的基本信息之间的对应关系。  The production platform classifies the determined area contour information into the first contour information of the target object, and carries the first contour information of the target object carried in the video interaction information and the video production user as the target after being carried in the video interaction information. The correspondence between the basic information of the target object formulated by the object.
步骤 204, 制作平台利用轮廓提取算法获取圏定的区域中目标对象的轮廓 信息, 并归为该目标对象的第二轮廓信息, 并携带在视频交互信息中。 制作平台将视频制作用户圏定的区域轮廓信息归为该目标对象的第一轮 廓信息之后,还进一步利用轮廓提取算法获取圏定的区域中目标对象的轮廓信 息, 并归为该目标对象的第二轮廓信息, 并携带在视频交互信息中。 仍然以如 图 4所示的目标设定界面示意图为例, 制作平台可以利用轮廓提取算法获取图 中汽车的轮廓信息, 并将该汽车的轮廓信息归为该汽车的第二轮廓信息, 并将 第二轮廓信息携带在视频交互信息中。 其中, 轮廓提取算法可以通过现有技术 实现, 本实施例不再赘述。 Step 204: The production platform uses the contour extraction algorithm to obtain the contour information of the target object in the determined region, and is classified into the second contour information of the target object, and is carried in the video interaction information. After the production platform classifies the region contour information determined by the video production user as the first contour information of the target object, the contour extraction algorithm is further used to obtain the contour information of the target object in the determined region, and is classified as the target object. Two contour information, and carried in the video interaction information. Still taking the target setting interface diagram shown in FIG. 4 as an example, the production platform may use the contour extraction algorithm to obtain the contour information of the automobile in the map, and classify the contour information of the automobile into the second contour information of the automobile, and The second profile information is carried in the video interaction information. The contour extraction algorithm can be implemented by using the prior art, and details are not described in this embodiment.
步骤 205 , 制作平台建立该视频交互信息中携带的目标对象的第二轮廓信 息与视频制作用户为设定的目标对象制定的目标对象的基本信息之间的对应 关系。  Step 205: The production platform establishes a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
相应的, 制作平台将轮廓提取算法获取的目标对象的轮廓信息归为该目标 对象的第二轮廓信息, 并携带在视频交互信息中之后, 同样需要建立视频交互 信息中携带的目标对象的第二轮廓信息与视频制作用户为该目标对象制定的 目标对象的基本信息之间的对应关系。  Correspondingly, the production platform classifies the contour information of the target object obtained by the contour extraction algorithm into the second contour information of the target object, and after being carried in the video interaction information, the second object of the target object carried in the video interaction information is also required to be established. The correspondence between the contour information and the basic information of the target object defined by the video production user for the target object.
步骤 206, 制作平台获取圏定的区域中的目标对象的特征信息, 并利用目 标跟踪算法计算该一至多个连续画面帧中其余画面帧的目标对象的第一轮廓 信息和第二轮廓信息, 并携带在视频交互信息中;  Step 206: The production platform acquires feature information of the target object in the determined region, and uses the target tracking algorithm to calculate first contour information and second contour information of the target object of the remaining frame frames in the one or more consecutive picture frames, and Carry in the video interaction information;
制作平台可以获取视频制作用户圏出的目标对象的特征信息, 并利用目标 跟踪算法自动确定该目标对象在对应画面帧组的其余每一个画面帧中的具体 区域, 并获取相应的第一轮廓信息和第二轮廓信息, 并将各画面帧中目标对象 的第一轮廓信息和第二轮廓信息携带在视频交互信息中。该步骤又称为目标对 象轨迹生成, 可以基于特定的算法实现, 比如 TLD ( Tracking , Learning , Detecting, 跟踪、 学习、 检测)算法, 本发明实施例对于采用何种算法进行目 标对象轨迹生成不做具体限定。  The production platform can acquire the feature information of the target object that is generated by the video production user, and automatically determine the specific region of the target object in each of the remaining frame frames of the corresponding picture frame group by using the target tracking algorithm, and obtain the corresponding first contour information. And the second contour information, and the first contour information and the second contour information of the target object in each picture frame are carried in the video interaction information. This step is also referred to as the target object trajectory generation, and can be implemented based on a specific algorithm, such as a TLD (Tracking, Learning, Detecting, Tracking, Learning, Detection) algorithm, and the algorithm of the present invention does not perform the target object trajectory generation. Specifically limited.
需要说明的是, 实际应用中, 制作平台也可以不提取目标对象的第二轮廓 信息, 此时, 制作平台只需要利用目标跟踪算法计算该一至多个连续画面帧中 其余画面帧的目标对象的第一轮廓信息即可。  It should be noted that, in practical applications, the production platform may not extract the second contour information of the target object. In this case, the production platform only needs to use the target tracking algorithm to calculate the target object of the remaining image frames in the one or more consecutive picture frames. The first contour information is sufficient.
步骤 207, 将各画面帧中的目标对象的第一轮廓信息和第二轮廓信息对应 的区域设置为各画面帧中的目标对象的第一交互区域和第二交互区域;  Step 207: Set an area corresponding to the first contour information and the second contour information of the target object in each picture frame as a first interaction area and a second interaction area of the target object in each picture frame;
制作平台将各画面帧中的目标对象的第一轮廓信息对应的区域设置为各 画面帧中的目标对象的第一交互区域,将各画面帧中的目标对象的第二轮廓信 息对应的区域设置为各画面帧中的目标对象的第二交互区域, 以便视频播放平 台在检测到用户对第一交互区域和第二交互区域的预定义操作时, 以相比第一 交互区域更具体的方式显示第二交互区域对应的目标对象的待显示的内容。 The production platform sets an area corresponding to the first contour information of the target object in each picture frame as a first interaction area of the target object in each picture frame, and a second contour letter of the target object in each picture frame The area corresponding to the information is set as the second interaction area of the target object in each picture frame, so that the video playing platform compares the first interaction area when detecting the predefined operation of the first interaction area and the second interaction area by the user. A more specific manner displays the content of the target object corresponding to the second interaction area to be displayed.
其中, 轮廓信息可以是区域坐标, 制作平台根据各画面帧中目标对象的轮 廓信息所示的区域坐标, 将该画面帧中对应区域设置成交互区域。  The contour information may be an area coordinate, and the production platform sets the corresponding area in the picture frame as an interaction area according to the area coordinates indicated by the contour information of the target object in each picture frame.
同样的, 若制作平台不提取目标对象的第二轮廓信息, 则只需要将各画面 帧中的目标对象的第一轮廓信息对应的区域设置为各画面帧中的目标对象的 第一交互区域即可。  Similarly, if the production platform does not extract the second contour information of the target object, only the region corresponding to the first contour information of the target object in each screen frame needs to be set as the first interaction region of the target object in each screen frame. can.
步骤 208, 制作平台显示目标对象优先级设定界面, 并根据视频制作用户 在目标对象优先级设定界面中的操作指令为目标对象设定在各画面帧中的显 示的优先级;  Step 208: The production platform displays a target object priority setting interface, and sets a priority of display in each frame frame according to an operation instruction of the video creation user in the target object priority setting interface.
当某一个画面帧中同时存在多个目标对象时, 该多个目标对象的目标区域 可能会存在重叠, 此时, 需要视频制作用户为重叠的目标对象设置显示的优先 级, 以便视频播放平台可以在重叠的目标区域优先显示的优先级较高的目标对 象对应的基本信息。 具体的, 请参见图 5所示的目标对象显示的优先级调整示 意图, 其中, 目标对象为人物 A, 显示层级数即为目标对象显示的优先级, 图 示为将目标对象人物 A在画面帧 0至画面帧 156中的显示层级数设置为 9, 通 过这种方法,视频制作用户可以自由定义各目标对象在每一画面帧中的显示的 优先级。制作平台保存目标对象的显示的优先级以便后续将目标对象的显示的 优先级添加入该视频的关联信息库中。  When there are multiple target objects in a certain frame, the target areas of the multiple target objects may overlap. In this case, the video production user needs to set the display priority for the overlapping target objects, so that the video playing platform can The basic information corresponding to the higher priority target object that is preferentially displayed in the overlapping target area. For details, refer to the priority adjustment diagram of the target object display shown in FIG. 5, where the target object is the character A, and the display level is the priority displayed by the target object, and the target object A is displayed in the picture frame. The number of display levels in the 0 to picture frame 156 is set to 9, by which the video production user can freely define the priority of display of each target object in each picture frame. The production platform saves the priority of the display of the target object to subsequently add the priority of the display of the target object to the associated information base of the video.
步骤 209, 制作平台根据目标对象在每个画面帧中的轮廓信息制作原始视 频的关联信息库, 该关联信息库为用于播放交互式视频时读取的文件, 保存有 目标对象的基本信息和视频交互信息, 其中, 目标对象的基本信息包含用于待 显示的内容。  Step 209: The production platform creates an associated information library of the original video according to the contour information of the target object in each picture frame, where the related information library is a file that is read when playing the interactive video, and saves basic information of the target object and Video interaction information, wherein the basic information of the target object includes content for display.
具体的, 制作平台将目标对象在每一画面帧中的轮廓信息(包括第一轮廓 信息和第二轮廓信息), 以及目标对象与目标对象的基本信息的对应关系保存 在文件中, 该文件称为原始视频的关联信息库, 可以采用 XML ( Extensible Markup Language, 可扩展标记语言 )文件格式或数据库格式, 最终由视频播 放平台使用。  Specifically, the production platform saves the contour information (including the first contour information and the second contour information) of the target object in each picture frame, and the correspondence relationship between the target object and the basic information of the target object in a file, where the file is called The associated information library of the original video can be in XML (Extensible Markup Language) file format or database format, and finally used by the video playback platform.
以图 6所示的一种关联信息库结构图为例, 该关联信息库中可以包括原始 视频基本信息、 目标对象的基本信息以及视频交互信息。 其中, 目标对象的基 本信息包含各目标对象的标识以及用于待显示的内容, 比如各目标对象的名称 文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 视频交互信息包 括: 各画面帧中包含的目标对象的标识、 各画面帧中包含的目标对象的轮廓信 息以及各画面帧中包含的目标对象的显示的优先级。 其中, 步骤 203中制作平 台建立视频交互信息中携带的目标对象的第一轮廓信息与视频制作用户为该 目标对象制定的目标对象的基本信息之间的对应关系, 具体为建立视频交互信 息中携带的目标对象的第一轮廓信息与该目标对象的标识、该目标对象的名称 文本、 详细信息文本、 图片链接或视频链接中的一个或多个的关联关系; 步骤 205中制作平台建立该视频交互信息中携带的目标对象的第二轮廓信息与视频 制作用户为设定的目标对象制定的目标对象的基本信息之间的对应关系, 具体 为建立视频交互信息中携带的目标对象的第二轮廓信息与该目标对象的标识、 该目标对象的名称文本、 详细信息文本、 图片链接或视频链接中的一个或多个 的关联关系。 Taking an association information base structure diagram shown in FIG. 6 as an example, the related information base may include original video basic information, basic information of a target object, and video interaction information. Where the base of the target object This information includes the identifier of each target object and the content to be displayed, such as one or more of the name text, detailed information text, image link or video link of each target object; the video interaction information includes: The identifier of the target object, the outline information of the target object included in each screen frame, and the priority of the display of the target object included in each screen frame. The mapping between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object is created in the step 203, which is specifically carried in the video interaction information. The first contour information of the target object is associated with one or more of the identifier of the target object, the name text of the target object, the detailed information text, the image link, or the video link; in step 205, the production platform establishes the video interaction Corresponding relationship between the second contour information of the target object carried in the information and the basic information of the target object defined by the video production user for the set target object, specifically for establishing the second contour information of the target object carried in the video interaction information An association with one or more of the identity of the target object, the name text of the target object, the detail text, the image link, or the video link.
需要说明的是, 图 6所示的关联信息库, 将目标对象的基本信息和视频交 互信息分别存储于两种不同的存储结构中, 并利用目标对象的标识进行关联, 实际应用中,还可以将目标对象的基本信息和视频交互信息及其对应关系存储 于同一存储结构中, 对此, 本实施例不做具体限定。  It should be noted that the related information database shown in FIG. 6 stores the basic information of the target object and the video interaction information in two different storage structures, and associates with the identifier of the target object, and in actual application, The basic information of the target object and the video interaction information and the corresponding relationship are stored in the same storage structure, which is not specifically limited in this embodiment.
本发明实施例提供的视频的关联信息库制作方法, 通过首先从原始视频获 取一至多个连续画面帧,再根据视频制作用户的手动操作在其中一个画面帧中 圏定目标对象并提取轮廓信息, 最后利用目标跟踪算法确定该目标对象在该一 至多个画面帧的每一个画面帧中的轮廓信息, 这种半自动的目标对象轮廓信息 提取方法, 相对于现有的基于对象进行分割及分类的方法来说, 准确性和效率 都有了进一步的提高。  The method for creating a related information library of a video provided by the embodiment of the present invention firstly obtains one or more consecutive picture frames from the original video, and then determines the target object and extracts the contour information in one of the picture frames according to the manual operation of the video production user. Finally, the target tracking algorithm is used to determine the contour information of the target object in each of the one or more picture frames, and the semi-automatic target object contour information extraction method is compared with the existing object-based segmentation and classification method. In terms of accuracy and efficiency, there has been further improvement.
除了上述准确性和效率的提高夕卜, 本发明实施例提供的视频的关联信息库 制作方法, 还采用了第一轮廓和第二轮廓区别显示的方法, 更符合用户对于信 息接收的规律, 即交互区域的由远至近对应显示信息的由少至多。 请参见图 7, 其示出了本发明一个实施例提供的视频播放方法的方法流程 图。 该视频播放方法可以用于在视频播放平台向视频点播用户播放交互式视频 并根据视频点播用户的操作与该用户进行信息交互。 该视频播放方法可以包 括: 步骤 301 , 解析原始视频和原始视频的关联信息库, 获取原始视频的关联 信息库中保存的目标对象的基本信息和视频交互信息,视频交互信息中包含有 各画面帧中包含的目标对象的轮廓信息和显示的优先级, 目标对象的基本信息 包含用于待显示的内容; In addition to the above-mentioned accuracy and efficiency improvement, the method for creating a related information library of a video provided by the embodiment of the present invention also adopts a method for distinguishing display between the first contour and the second contour, which is more in line with the user's law of receiving information, that is, The interaction area is from far to near corresponding to the display of information from as little as possible. Referring to FIG. 7, a flowchart of a method for playing a video according to an embodiment of the present invention is shown. The video playing method can be used to play an interactive video to a video on demand user on a video playing platform and interact with the user according to the operation of the video on demand user. The video playing method can include: Step 301: Parse the association information library of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the contour of the target object included in each picture frame. The priority of the information and display, the basic information of the target object contains the content for display;
步骤 302, 当检测到用户当前播放的画面帧中的目标对象的轮廓信息对应 的对交互区域的预定义操作时,根据显示的优先级显示与交互区域中的目标对 象相对应的目标对象的基本信息中待显示的内容。  Step 302: When detecting a predefined operation on the interaction area corresponding to the contour information of the target object in the picture frame currently played by the user, displaying the basic information of the target object corresponding to the target object in the interaction area according to the displayed priority The content to be displayed in the message.
综上所述, 本发明实施例提供的视频播放方法, 通过解析原始视频和原始 视频的关联信息库, 并根据关联信息库中的目标对象显示的优先级和目标对象 的基本信息中待显示的内容向目标用户显示交互式视频,解决了现有技术中当 同一画面中存在多个目标对象且各目标对象有重叠时, 无法正常实现匹配和显 示该目标对象的基本信息中待显示的内容。 为了对上一实施例提供的视频播放方法做更详细的描述, 请参见图 8 , 其 示出了本发明另一实施例提供的视频播放方法的方法流程图。 该视频播放方法 可以用于在视频播放平台向视频点播用户播放交互式视频并根据视频点播用 户的操作与该用户进行信息交互。 该视频播放方法可以包括:  In summary, the video playing method provided by the embodiment of the present invention analyzes the associated information library of the original video and the original video, and displays the priority according to the target object in the associated information base and the basic information of the target object to be displayed. The content displays the interactive video to the target user, and solves the problem in the prior art that when there are multiple target objects in the same screen and each target object overlaps, the content to be displayed in the basic information of matching and displaying the target object cannot be normally realized. For a more detailed description of the video playing method provided in the previous embodiment, please refer to FIG. 8 , which is a flowchart of a method for playing a video according to another embodiment of the present invention. The video playing method can be used to play an interactive video to a video on demand user on a video playing platform and interact with the user according to the operation of the video on demand user. The video playing method can include:
步骤 401 , 视频播放平台解析原始视频和原始视频的关联信息库, 获取原 始视频的关联信息库中保存的目标对象的基本信息和视频交互信息,视频交互 信息中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 目标对 象的基本信息包含用于待显示的内容;  Step 401: The video playing platform parses the association information library of the original video and the original video, and acquires basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame. The outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
其中, 关联信息库中至少包含有目标对象的基本信息和视频交互信息; 目 标对象的基本信息包含各目标对象的标识以及用于待显示的内容, 比如: 各目 标对象的名称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 视 频交互信息包括: 各画面帧中包含的目标对象的标识、 各画面帧中包含的目标 对象的轮廓信息以及各画面帧中包含的目标对象的显示的优先级; 具体的关联 信息库可以如图 6所示。  The associated information base includes at least basic information of the target object and video interaction information; the basic information of the target object includes the identifier of each target object and the content to be displayed, for example: name text of each target object, detailed information text One or more of a picture link or a video link; the video interaction information includes: an identifier of a target object included in each picture frame, contour information of a target object included in each picture frame, and a target object included in each picture frame The priority of the display; the specific associated information base can be as shown in Figure 6.
步骤 402 , 当检测到用户对当前播放的画面帧中的目标对象的轮廓信息对 应的交互区域的预定义操作时,根据显示的优先级显示与该交互区域中的目标 对象相对应的目标对象的基本信息中待显示的内容。  Step 402: When detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame, displaying the target object corresponding to the target object in the interaction area according to the displayed priority The content to be displayed in the basic information.
具体的, 当视频播放平台检测到用户对交互区域的预定义操作时, 查询该 交互区域对应的轮廓信息关联的目标对象的基本信息中待显示的内容, 并向用 户显示。 Specifically, when the video playing platform detects a predefined operation of the interaction area by the user, querying the The content to be displayed in the basic information of the target object associated with the contour information corresponding to the interaction area is displayed to the user.
其中, 用户对交互区域的预定义操作可以有很多种, 比如鼠标指向操作、 鼠标点击操作、 触摸笔的感应、 鼠标在视频内的指向移动操作或者触摸点击操 作等。 当视频播放平台检测用户到对交互区域额预定义操作, 比如鼠标指向目 标区域时, 可以查询该交互区域对应的目标对象的基本信息中待显示的内容并 向用户显示。  Among them, the user can have a plurality of predefined operations on the interactive area, such as a mouse pointing operation, a mouse click operation, a touch pen sensing, a mouse pointing movement operation within the video, or a touch click operation. When the video playing platform detects the user's predefined operation on the interactive area, for example, the mouse points to the target area, the content to be displayed in the basic information of the target object corresponding to the interactive area may be queried and displayed to the user.
另外, 向用户显示目标对象的基本信息中待显示的内容可以有很多种, 比 如:  In addition, there are many kinds of content to be displayed in the basic information of the target object to the user, such as:
目标对象的基本信息中待显示的内容可以分为目标对象对应的摘要内容 (比如目标对象的名称)和目标对象对应的具体内容 (比如目标对象的详细文 字介绍、 相关图片或视频等), 又目标对象在一个画面帧中可以被设置有两个 交互区域, 即第一交互区域和第二交互区域, 因此, 可以将显示目标对象的基 本信息中待显示的内容分为两种显示方式, 即第一显示方式和第二显示方式。  The content to be displayed in the basic information of the target object may be divided into the summary content corresponding to the target object (such as the name of the target object) and the specific content corresponding to the target object (such as a detailed text description of the target object, related pictures or videos, etc.), The target object can be configured with two interaction areas, that is, the first interaction area and the second interaction area, in one picture frame. Therefore, the content to be displayed in the basic information of the display target object can be divided into two display modes, that is, The first display mode and the second display mode.
当检测到对目标对象的第一交互区域的操作时, 可以根据第一显示方式向 用户显示目标对象的基本信息中待显示的内容; 当检测到对目标对象的第二交 互区域的操作时, 可以根据第二显示方式向用户显示目标对象的基本信息中待 显示的内容。 其中, 第一显示方式和第二显示方式可以有^艮多种, 比如: 第一显示方式为在目标对象旁边显示该目标对象的摘要内容, 第二显示方 式为在目标对象旁边显示该目标对象的具体内容;  When the operation of the first interaction area of the target object is detected, the content to be displayed in the basic information of the target object may be displayed to the user according to the first display manner; when the operation of the second interaction area of the target object is detected, The content to be displayed in the basic information of the target object may be displayed to the user according to the second display mode. The first display mode and the second display mode may be different, for example: the first display mode is to display the summary content of the target object next to the target object, and the second display mode is to display the target object next to the target object. Specific content;
或者,  Or,
第一显示方式为在目标对象区域显示该目标对象对应的第一交互区域或 第二交互区域的区域框, 第二显示方式为在目标对象旁边显示该目标对象的具 体内容;  The first display mode is to display the first interactive area or the second interactive area corresponding to the target object in the target object area, and the second display mode is to display the specific content of the target object next to the target object;
或者,  Or,
第一显示方式为在目标对象旁边以半透明显示该目标对象的具体内容, 第 二显示方式为在目标对象旁边以覆盖显示该目标对象的具体内容。  The first display mode is to display the specific content of the target object semi-transparent next to the target object, and the second display mode is to cover the specific content of the target object next to the target object.
另外, 若当前播放的画面帧中存在多个目标对象, 且该多个目标对象对应 的交互区域有重叠时, 视频播放平台检测到用户对交互区域的预定义操作时, 根据显示的优先级, 显示该多个目标对象中显示的优先级较高的目标对象对应 的目标对象的基本信息中待显示的内容, 比如, 若两个目标对象 a和 b对应的 交互区域重叠, 且目标对象 a的显示的优先级较高, 则只显示目标对象 a对应 的目标对象的基本信息中待显示的内容; 或者, 按照显示的优先级从高到低的 顺序, 显示个目标对象 a和 b对应的各目标对象的基本信息中待显示的内容, 比如, 显示的优先级高的目标对象 a对应的待显示的内容背景较深, 而显示的 优先级低的目标对象 b对应的待显示的内容背景较浅。 In addition, if there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, when the video playing platform detects the predefined operation of the interaction area by the user, according to the displayed priority, Displaying content to be displayed in the basic information of the target object corresponding to the target object with higher priority displayed in the plurality of target objects, for example, if the two target objects a and b correspond to If the interaction area overlaps, and the display of the target object a has a higher priority, only the content to be displayed in the basic information of the target object corresponding to the target object a is displayed; or, the display priority is displayed in descending order of priority. The content to be displayed in the basic information of each target object corresponding to the target objects a and b, for example, the target object a with the highest priority is displayed, and the background of the content to be displayed is darker, and the target object with lower priority is displayed. The background of the content to be displayed corresponding to b is lighter.
综上所述, 本发明实施例提供的视频播放方法, 通过接收原始视频和原始 视频的关联信息库, 并根据关联信息库中的目标对象显示的优先级向目标用户 显示交互式视频, 并在此基础上丰富了关联信息库的展现方式, 提供了具体的 根据所述目标兌现显示优先级提供交互信息的方案, 避免了现有技术中单一提 供所有信息带来的呈现冗余; 由于, 本方案提供的信息过渡, 也使得处理效率 更高, 不用像现有技术一样每次交互都提供所有的关联信息。 请参见图 9, 其示出了本发明一个实施例提供的视频的关联信息库制作平 台的装置结构图。 该视频的关联信息库制作平台可以用于制作播放交互式视频 所必需的关联信息库。 该视频的关联信息库制作平台可以包括:  In summary, the video playing method provided by the embodiment of the present invention receives an interactive information library of the original video and the original video, and displays an interactive video to the target user according to the priority displayed by the target object in the associated information database, and On the basis of this, the presentation manner of the associated information base is enriched, and the specific information for providing the interactive information according to the target redemption display priority is provided, which avoids the redundancy of the presentation provided by all the information in the prior art; The information transition provided by this solution also makes the processing more efficient, without providing all the associated information for each interaction as in the prior art. Referring to FIG. 9, FIG. 9 is a structural diagram of an apparatus for creating a platform of a related information library of a video according to an embodiment of the present invention. The video's associated repository creation platform can be used to create the associated information base necessary to play interactive video. The associated information base production platform of the video may include:
获取模块 501 , 用于按照所要设定的不同目标对象的存在周期从原始视频 获取一至多个连续画面帧;  The obtaining module 501 is configured to acquire one or more consecutive picture frames from the original video according to the existence period of the different target objects to be set;
轮廓信息确定模块 502, 用于在获取模块 501获取的一至多个连续画面帧 中确定预先设定的目标对象在每个画面帧中的轮廓信息;  The contour information determining module 502 is configured to determine contour information of a preset target object in each picture frame in one or more consecutive picture frames acquired by the obtaining module 501;
显示的优先级确定模块 503 , 用于在获取模块 501获取的一至多个连续画 面帧中确定预先设定的目标对象在每个画面帧中的显示的优先级;  The displayed priority determining module 503 is configured to determine, in the one or more consecutive picture frames acquired by the obtaining module 501, a priority of display of the preset target object in each picture frame;
关联信息库制作模块 504, 用于根据目标对象在每个画面帧中的轮廓信息 和显示的优先级制作原始视频的关联信息库, 该关联信息库为用于播放交互式 视频时读取的文件, 保存有目标对象的基本信息和视频交互信息; 其中, 目标 对象的基本信息包含用于待显示的内容; 视频交互信息中包含有各画面帧中包 含的目标对象的轮廓信息和显示的优先级。  The associated information base creating module 504 is configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file read when playing the interactive video. The basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the contour information of the target object included in each picture frame and the priority of the display. .
综上所述, 本发明实施例提供的视频的关联信息库制作平台, 通过按照目 标对应的存在周期从原始视频获取一至多个连续画面帧, 并在该一至多个连续 画面帧中确定视频制作用户预先设定的目标对象的轮廓信息和显示的优先级, 解决了现有技术中制作的关联信息库中对于目标对象存在被背景或其他对象 覆盖时相关信息空白的不足。 请参见图 10,其示出了本发明另一实施例提供的视频的关联信息库制作平 台的装置结构图。 该视频的关联信息库制作平台可以用于制作播放交互式视频 所需的关联信息库。 该视频的关联信息库制作平台可以包括: In summary, the association information base of the video provided by the embodiment of the present invention acquires one or more consecutive picture frames from the original video according to the existence period corresponding to the target, and determines the video production in the one or more consecutive picture frames. The contour information of the target object preset by the user and the priority of the display solve the problem that the related information in the prior art is insufficient for the target object to be covered by the background or other objects. FIG. 10 is a structural diagram of an apparatus for creating a related information base of a video according to another embodiment of the present invention. The video's associated repository production platform can be used to create a library of associated information needed to play interactive video. The associated information base production platform of the video may include:
获取模块 601 , 用于按照不同场景将原始视频获取一至多个连续画面帧; 轮廓信息确定模块 602, 用于在获取模块 601获取的一至多个连续画面帧 中确定预先设定的目标对象在每个画面帧中的轮廓信息;  The obtaining module 601 is configured to acquire one or more consecutive picture frames according to different scenarios. The contour information determining module 602 is configured to determine, in the one or more consecutive picture frames acquired by the obtaining module 601, a preset target object in each Outline information in frame frames;
显示的优先级确定模块 603 , 用于在获取模块 601获取的一至多个连续画 面帧中确定预先设定的目标对象在每个画面帧中的显示的优先级;  The displayed priority determining module 603 is configured to determine, in the one or more consecutive picture frames acquired by the obtaining module 601, a priority of display of the preset target object in each picture frame;
关联信息库制作模块 604, 用于根据目标对象在每个画面帧中的轮廓信息 和显示的优先级制作原始视频的关联信息库, 该关联信息库为用于播放交互式 视频时读取的文件, 保存有目标对象的基本信息和视频交互信息; 其中, 目标 对象的基本信息包含用于待显示的内容; 视频交互信息中包含有各画面帧中包 含的目标对象的轮廓信息和显示的优先级。  The associated information base creating module 604 is configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file read when playing the interactive video. The basic information of the target object and the video interaction information are saved; wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the contour information of the target object included in each picture frame and the priority of the display. .
该视频的关联信息库制作平台还包括:  The video related database creation platform also includes:
设定显示模块 605 , 用于显示目标对象设定界面;  a setting display module 605, configured to display a target object setting interface;
第一目标对象设定模块 606, 用于将视频制作用户在设定显示模块 605显 示的目标对象设定界面中圏定的区域中的对象设定为目标对象, 并将圏定的区 域轮廓信息归为目标对象的第一轮廓信息, 并携带在视频交互信息中;  The first target object setting module 606 is configured to set an object in the region determined by the video creation user in the target object setting interface displayed by the setting display module 605 as the target object, and set the determined region contour information. The first contour information classified as the target object, and carried in the video interaction information;
第一对应关系建立模块 607, 用于建立视频交互信息中携带的目标对象的 第一轮廓信息与视频制作用户为该目标对象制定的目标对象的基本信息之间 的对应关系。  The first correspondence establishing module 607 is configured to establish a correspondence between the first contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
其中, 目标对象的基本信息包括: 目标对象的标识、 目标对象的名称文本、 详细信息文本、 图片链接或视频链接中的一个或多个;  The basic information of the target object includes: one or more of an identifier of the target object, a name text of the target object, a detailed information text, a picture link, or a video link;
第一对应关系建立模块 607, 具体用于建立视频交互信息中携带的目标对 象的第一轮廓信息与该目标对象的标识、 该目标对象的名称文本、 详细信息文 本、 图片链接或视频链接中的一个或多个的关联关系。  The first correspondence establishing module 607 is specifically configured to establish a first contour information of the target object carried in the video interaction information, an identifier of the target object, a name text of the target object, a detailed information text, a picture link, or a video link. One or more associations.
该视频的关联信息库制作平台还包括:  The video related database creation platform also includes:
第二目标对象设定模块 608, 用于利用轮廓提取算法获取圏定的区域中目 标对象的轮廓信息, 并归为该目标对象的第二轮廓信息, 并携带在视频互信息 中; 第二对应关系建立模块 609, 用于建立该视频交互信息中携带的目标对象 的第二轮廓信息与视频制作用户为该目标对象制定的目标对象的基本信息之 间的对应关系。 a second target object setting module 608, configured to acquire contour information of the target object in the determined region by using a contour extraction algorithm, and classify the second contour information of the target object, and carry the information in the video mutual information; The second correspondence establishing module 609 is configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the target object.
另外, 轮廓信息确定模块 602, 包括:  In addition, the contour information determining module 602 includes:
特征信息获取单元 602a, 用于获取圏定的区域中的目标对象的特征信息; 跟踪单元 602b,用于利用目标跟踪算法计算一至多个连续画面帧中其余画 面帧的目标对象的第一轮廓信息和第二轮廓信息, 并携带在视频交互信息中。  The feature information acquiring unit 602a is configured to acquire feature information of the target object in the determined region; the tracking unit 602b is configured to calculate, by using the target tracking algorithm, the first contour information of the target object of the remaining frame frames in the one or more consecutive picture frames And the second contour information, and carried in the video interaction information.
该平台还包括: 交互区域设置模块 610;  The platform further includes: an interaction area setting module 610;
其中, 交互区域设置模块 610, 包括:  The interaction area setting module 610 includes:
第一设置单元 610a,用于将各画面帧中的目标对象的第一轮廓信息对应的 区域设置为各画面帧中的目标对象的第一交互区域;  a first setting unit 610a, configured to set an area corresponding to the first contour information of the target object in each picture frame as a first interaction area of the target object in each picture frame;
第二设置单元 610b,用于将各画面帧中的目标对象的第二轮廓信息对应的 区域设置为各画面帧中的目标对象的第二交互区域;  a second setting unit 610b, configured to set an area corresponding to the second contour information of the target object in each picture frame as a second interaction area of the target object in each picture frame;
以便视频播放平台在检测到用户对该第一交互区域和第二交互区域的预 定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目标 对象的待显示的内容。  When the video playing platform detects the predefined operation of the first interaction area and the second interaction area by the user, displaying the content to be displayed of the target object corresponding to the second interaction area in a more specific manner than the first interaction area. .
综上所述, 本发明实施例提供的视频的关联信息库制作平台, 通过首先从 原始视频获取一至多个连续画面帧,再根据视频制作用户的手动操作在其中一 个画面帧中圏定目标对象并提取轮廓信息, 最后利用目标跟踪算法确定该目标 对象在该一至多个画面帧的每一个画面帧中的轮廓信息, 这种半自动的目标对 象轮廓信息提取方法, 相对于现有的基于对象进行分割及分类的方法来说, 准 确性和效率都有了进一步的提高。  In summary, the related information library creation platform of the video provided by the embodiment of the present invention firstly obtains one or more consecutive picture frames from the original video, and then determines the target object in one of the picture frames according to the manual operation of the video production user. And extracting contour information, and finally using the target tracking algorithm to determine contour information of the target object in each of the one or more picture frames, the semi-automatic target object contour information extraction method is compared with the existing object-based object In terms of segmentation and classification methods, accuracy and efficiency have been further improved.
除了上述准确性和效率的提高夕卜, 本发明实施例提供的视频的关联信息库 制作平台, 还采用了第一轮廓和第二轮廓区别显示的方法, 更符合用户对于信 息接收的规律, 即交互区域的由远至近对应显示信息的由少至多。 请参见图 11 ,其示出了本发明一个实施例提供的视频的关联信息库制作平 台的装置结构图, 该视频的关联信息库制作平台可以用于制作播放交互式视频 所必需的关联信息库。 该视频的关联信息库制作平台可以包括: 至少一个 I/O 接口 001、 至少一个处理器 002, 比如 CPU、 存储器 003和显示器 004; 存储 器 003 可能包含高速 Ram 存储器, 也可能还包括非不稳定的存储器 ( non-volatile memory ), 例如至少一个磁盘存储器。 存储器 003可选的可以包 含至少一个位于远离前述处理器 002的存储装置。 在一些实施方式中, 存储器 003存储了如下的元素, 模块或者数据结构, 或者他们的子集, 或者他们的扩 展集: In addition to the above-mentioned improvements in accuracy and efficiency, the associated information base creation platform of the video provided by the embodiment of the present invention also adopts a method for distinguishing display between the first contour and the second contour, which is more in line with the user's law of receiving information, that is, The interaction area is from far to near corresponding to the display of information from as little as possible. FIG. 11 is a structural diagram of a device for creating a related information base of a video according to an embodiment of the present invention. The associated information base creation platform of the video may be used to create an associated information base necessary for playing interactive video. . The associated information base production platform of the video may include: at least one I/O interface 001, at least one processor 002, such as a CPU, a memory 003, and a display 004; the memory 003 may include a high speed RAM memory, and may also include non-unstable Memory (non-volatile memory), such as at least one disk storage. The memory 003 can optionally include at least one storage device located remotely from the aforementioned processor 002. In some embodiments, the memory 003 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
操作系统 0031 , 包含各种程序,用于实现各种基础业务以及处理基于硬件 的任务;  Operating system 0031, which contains various programs for implementing various basic services and handling hardware-based tasks;
应用模块 0032, 包含如下模块之一或者组合: 获取模块、 轮廓信息确定模 块、 显示的优先级确定模块以及关联信息库制作模块, 上述模块的功能可以参 考图 9所示的装置结构图的说明部分, 此处不再赘述。  The application module 0032 includes one or a combination of the following modules: an acquisition module, a contour information determination module, a displayed priority determination module, and an associated information base creation module. The function of the above module may refer to the description part of the device structure diagram shown in FIG. , will not repeat them here.
其中, 处理器 002与存储器相连 003; I/O接口 001—端与处理器 002和 存储器 003相连, 另一端与显示器 004相连;  The processor 002 is connected to the memory 003; the I/O interface 001 is connected to the processor 002 and the memory 003, and the other end is connected to the display 004;
处理器 002, 用于按照所要设定的不同目标对象的存在周期从原始视频获 取一至多个连续画面帧;  The processor 002 is configured to obtain one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
处理器 002, 还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的目标对象在每个画面帧中的轮廓信息;  The processor 002 is further configured to determine contour information of the preset target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
处理器 002, 还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的目标对象在每个画面帧中的显示的优先级;  The processor 002 is further configured to determine, in one or more consecutive picture frames corresponding to a target object, a priority of display of the preset target object in each picture frame;
处理器 002, 还用于根据目标对象在每个画面帧中的轮廓信息和显示的优 先级制作原始视频的关联信息库, 该关联信息库为用于播放交互式视频时读取 的文件, 保存有目标对象的基本信息和视频交互信息, 其中, 目标对象的基本 信息包含用于待显示的内容; 视频交互信息中包含有各画面帧中包含的目标对 象的轮廓信息和显示的优先级。  The processor 002 is further configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file that is read when playing the interactive video, and is saved. The basic information of the target object and the video interaction information, wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the outline information of the target object included in each picture frame and the priority of the display.
综上所述, 本发明实施例提供的视频的关联信息库制作平台, 通过按照目 标对应的存在周期从原始视频获取一至多个连续画面帧, 并在该一至多个连续 画面帧中确定视频制作用户预先设定的目标对象的轮廓信息和显示的优先级, 解决了现有技术中制作的关联信息库中对于目标对象存在被背景或其他对象 覆盖时相关信息空白的不足。 请参见图 12,其示出了本发明另一实施例提供的视频的关联信息库制作平 台的装置结构图, 该视频的关联信息库制作平台可以用于制作播放交互式视频 所必需的关联信息库。 该视频的关联信息库制作平台可以包括至少一个 I/O接 口 005、 至少一个处理器 006, 比如 CPU、 存储器 007和显示器 008; 存储器 007可能包含高速 Ram存储器,也可能还包括非不稳定的存储器( non-volatile memory ), 例如至少一个磁盘存储器。 存储器 007可选的可以包含至少一个位 于远离前述处理器 006的存储装置。 在一些实施方式中, 存储器 007存储了如 下的元素, 模块或者数据结构, 或者他们的子集, 或者他们的扩展集: In summary, the association information base of the video provided by the embodiment of the present invention acquires one or more consecutive picture frames from the original video according to the existence period corresponding to the target, and determines the video production in the one or more consecutive picture frames. The contour information of the target object preset by the user and the priority of the display solve the problem that the related information in the prior art is insufficient for the target object to be covered by the background or other objects. Referring to FIG. 12, it is a structural diagram of a device for creating a related information library of a video according to another embodiment of the present invention. The associated information base of the video can be used to create related information necessary for playing interactive video. Library. The associated information base production platform of the video may include at least one I/O connection Port 005, at least one processor 006, such as CPU, memory 007, and display 008; memory 007 may include high speed RAM memory, and may also include non-volatile memory, such as at least one disk memory. The memory 007 can optionally include at least one storage device located remotely from the aforementioned processor 006. In some embodiments, memory 007 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
操作系统 0071 , 包含各种程序,用于实现各种基础业务以及处理基于硬件 的任务;  Operating system 0071, which contains various programs for implementing various basic services and handling hardware-based tasks;
应用模块 0072, 包含如下模块之一或者组合: 获取模块、 轮廓信息确定模 块、 显示的优先级确定模块、 关联信息库制作模块、 设定显示模块、 第一目标 对象设定模块、 第一对应关系建立模块、 第二目标对象设定模块、 第二对应关 系建立模块以及交互区域设置模块, 上述模块的功能可以参考图 10所示的装 置结构图的说明部分, 此处不再赘述。  The application module 0072 includes one or a combination of the following modules: an acquisition module, a contour information determination module, a displayed priority determination module, an associated information base creation module, a setting display module, a first target object setting module, and a first correspondence relationship. The module, the second target object setting module, the second correspondence relationship establishing module, and the interaction area setting module are provided. The function of the above module may be referred to the description of the device structure diagram shown in FIG. 10, and details are not described herein again.
处理器 006与存储器相连 007; I/O接口 005—端与处理器 006和存储器 相连 007, 另一端与显示器 008相连;  The processor 006 is connected to the memory 007; the I/O interface 005 is connected to the processor 006 and the memory 007, and the other end is connected to the display 008;
处理器 006, 用于按照所要设定的不同目标对象的存在周期从原始视频获 取一至多个连续画面帧;  The processor 006 is configured to obtain one or more consecutive picture frames from the original video according to the existence period of different target objects to be set;
处理器 006, 还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的目标对象在每个画面帧中的轮廓信息;  The processor 006 is further configured to determine contour information of the preset target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
处理器 006, 还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的目标对象在每个画面帧中的显示的优先级;  The processor 006 is further configured to determine, in one or more consecutive picture frames corresponding to a target object, a priority of display of the preset target object in each picture frame;
处理器 006, 还用于根据目标对象在每个画面帧中的轮廓信息和显示的优 先级制作原始视频的关联信息库, 该关联信息库为用于播放交互式视频时读取 的文件, 保存有目标对象的基本信息和视频交互信息, 其中, 目标对象的基本 信息包含用于待显示的内容; 视频交互信息中包含有各画面帧中包含的目标对 象的轮廓信息和显示的优先级。  The processor 006 is further configured to create a related information library of the original video according to the contour information of the target object in each picture frame and the priority of the display, where the related information library is a file that is read when playing the interactive video, and is saved. The basic information of the target object and the video interaction information, wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the outline information of the target object included in each picture frame and the priority of the display.
处理器 006, 还用于在显示器 008显示目标对象设定界面;  The processor 006 is further configured to display a target object setting interface on the display 008;
处理器 006, 还用于将视频制作用户在目标对象设定界面中圏定的区域中 的对象设定为目标对象, 并将圏定的区域轮廓信息归为目标对象的第一轮廓信 息, 并携带在视频交互信息中;  The processor 006 is further configured to set an object in the area determined by the video production user in the target object setting interface as the target object, and classify the determined area contour information as the first contour information of the target object, and Carry in the video interaction information;
处理器 006, 还用于建立视频交互信息中携带的目标对象与视频制作用户 为设定的目标对象制定的目标对象的基本信息之间的对应关系。 其中, 目标对象的基本信息包括: 目标对象的标识、 目标对象的名称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; The processor 006 is further configured to establish a correspondence between the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object. The basic information of the target object includes: one or more of an identifier of the target object, a name text of the target object, a detailed information text, a picture link, or a video link;
处理器 006, 具体用于建立视频交互信息中携带的目标对象的第一轮廓信 息与该目标对象的标识、 该目标对象的名称文本、 详细信息文本、 图片链接或 视频链接中的一个或多个的关联关系。  The processor 006 is specifically configured to establish the first contour information of the target object carried in the video interaction information, the identifier of the target object, the name text of the target object, the detailed information text, the image link, or the video link. Relationship.
处理器 006, 还用于利用轮廓提取算法获取圏定的区域中目标对象的轮廓 信息, 并归为目标对象的第二轮廓信息, 并携带在视频互信息中;  The processor 006 is further configured to use the contour extraction algorithm to obtain the contour information of the target object in the determined region, and classify the second contour information of the target object, and carry the information in the video mutual information;
处理器 006, 还用于建立视频交互信息中携带的目标对象的第二轮廓信息 与视频制作用户为设定的目标对象制定的目标对象的基本信息之间的对应关 系。  The processor 006 is further configured to establish a correspondence between the second contour information of the target object carried in the video interaction information and the basic information of the target object defined by the video production user for the set target object.
处理器 006, 还用于获取圏定的区域中的目标对象的特征信息, 并利用目 标跟踪算法计算该一至多个连续画面帧中其余画面帧的目标对象的第一轮廓 信息和第二轮廓信息, 并携带在视频交互信息中。  The processor 006 is further configured to acquire feature information of the target object in the determined region, and calculate, by using a target tracking algorithm, first contour information and second contour information of the target object of the remaining frame frames in the one or more consecutive picture frames. And carried in the video interaction information.
处理器 006, 还用于将各画面帧中的目标对象的第一轮廓信息对应的区域 设置为各画面帧中的目标对象的第一交互区域; 将各画面帧中的目标对象的第 二轮廓信息对应的区域设置为各画面帧中的目标对象的第二交互区域; 以便视 频播放平台在检测到用户对第一交互区域和第二交互区域的预定义操作时, 以 相比第一交互区域更具体的方式显示第二交互区域对应的目标对象的待显示 的内容。  The processor 006 is further configured to: set an area corresponding to the first contour information of the target object in each picture frame as a first interaction area of the target object in each picture frame; and set a second contour of the target object in each picture frame The area corresponding to the information is set as the second interaction area of the target object in each picture frame; so that the video playing platform detects the user's predefined operations on the first interaction area and the second interaction area, compared to the first interaction area. A more specific manner displays the content of the target object corresponding to the second interaction area to be displayed.
综上所述, 本发明实施例提供的视频的关联信息库制作平台, 通过首先从 原始视频获取一至多个连续画面帧,再根据视频制作用户的手动操作在其中一 个画面帧中圏定目标对象并提取轮廓信息, 最后利用目标跟踪算法确定该目标 对象在该一至多个画面帧的每一个画面帧中的轮廓信息, 这种半自动的目标对 象轮廓信息提取方法, 相对于现有的基于对象进行分割及分类的方法来说, 准 确性和效率都有了进一步的提高。  In summary, the related information library creation platform of the video provided by the embodiment of the present invention firstly obtains one or more consecutive picture frames from the original video, and then determines the target object in one of the picture frames according to the manual operation of the video production user. And extracting contour information, and finally using the target tracking algorithm to determine contour information of the target object in each of the one or more picture frames, the semi-automatic target object contour information extraction method is compared with the existing object-based object In terms of segmentation and classification methods, accuracy and efficiency have been further improved.
除了上述准确性和效率的提高夕卜, 本发明实施例提供的视频的关联信息库 制作平台, 还采用了第一轮廓和第二轮廓区别显示的方法, 更符合用户对于信 息接收的规律, 即交互区域的由远至近对应显示信息的由少至多。 请参见图 13 ,其示出了本发明一个实施例提供的视频播放平台的装置结构 图, 该视频播放平台可以用于向视频点播用户播放交互式视频。 该视频播放平 台可以包括: In addition to the above-mentioned improvements in accuracy and efficiency, the associated information base creation platform of the video provided by the embodiment of the present invention also adopts a method for distinguishing display between the first contour and the second contour, which is more in line with the user's law of receiving information, that is, The interaction area is from far to near corresponding to the display of information from as little as possible. FIG. 13 is a structural diagram of a device of a video playing platform according to an embodiment of the present invention. The video playing platform may be used to play an interactive video to a video on demand user. The video plays flat The station can include:
解析模块 701 , 用于解析原始视频和原始视频的关联信息库, 获取原始视 频的关联信息库中保存的目标对象的基本信息和视频交互信息,视频交互信息 中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 目标对象的 基本信息包含用于待显示的内容;  The parsing module 701 is configured to parse the associated information base of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame. The outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
信息显示模块 702, 用于当检测到用户对当前播放的画面帧中的目标对象 的轮廓信息对应的交互区域的预定义操作时,根据显示的优先级显示与交互区 域中的目标对象相对应的目标对象的基本信息中待显示的内容。  The information display module 702 is configured to: when detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame by the user, displaying, according to the displayed priority, the target object corresponding to the target object in the interaction area The content to be displayed in the basic information of the target object.
综上所述, 本发明实施例提供的视频播放平台, 通过解析原始视频和原始 视频的关联信息库, 并根据关联信息库中的目标对象显示的优先级和目标对象 的基本信息中待显示的内容向目标用户显示交互式视频,解决了现有技术中当 同一画面中存在多个目标对象且各目标对象有重叠时, 无法正常实现匹配和显 示该目标对象的基本信息中待显示的内容。 请参见图 14,其示出了本发明另一实施例提供的视频播放平台的装置结构 图。 该视频播放平台可以用于向视频点播用户播放交互式视频。 该视频播放平 台可以包括:  In summary, the video playing platform provided by the embodiment of the present invention parses the associated information library of the original video and the original video, and displays the priority according to the target object in the associated information base and the basic information of the target object to be displayed. The content displays the interactive video to the target user, and solves the problem in the prior art that when there are multiple target objects in the same screen and each target object overlaps, the content to be displayed in the basic information of matching and displaying the target object cannot be normally realized. Referring to FIG. 14, a structural diagram of a device of a video playing platform according to another embodiment of the present invention is shown. The video playback platform can be used to play interactive video to a video on demand user. The video playback platform can include:
解析模块 801 , 用于解析原始视频和原始视频的关联信息库, 获取原始视 频的关联信息库中保存的目标对象的基本信息和视频交互信息,视频交互信息 中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 目标对象的 基本信息包含用于待显示的内容;  The parsing module 801 is configured to parse the associated information base of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame. The outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
信息显示模块 802, 用于当检测到用户对当前播放的画面帧中的目标对象 的轮廓信息对应的交互区域的预定义操作时,根据显示的优先级显示与交互区 域中的目标对象相对应的目标对象的基本信息中待显示的内容。  The information display module 802 is configured to: when detecting a predefined operation of the interaction area corresponding to the contour information of the target object in the currently played picture frame by the user, displaying, according to the displayed priority, the target object corresponding to the target object in the interaction area The content to be displayed in the basic information of the target object.
目标对象的基本信息中还包括各目标对象的基本信息所对应的目标对象 的标识, 视频交互信息中还包括各画面帧中包含的目标对象的标识。  The basic information of the target object further includes an identifier of the target object corresponding to the basic information of each target object, and the video interaction information further includes an identifier of the target object included in each screen frame.
另外,信息显示模块 802向用户显示目标对象的基本信息中待显示的内容 可以有 4艮多种, 比如:  In addition, the information display module 802 displays to the user the content to be displayed in the basic information of the target object, which may be more than four types, such as:
目标对象的基本信息中待显示的内容可以分为目标对象对应的摘要内容 (比如目标对象的名称)和目标对象对应的具体内容 (比如目标对象的详细文 字介绍、 相关图片或视频等), 又目标对象在一个画面帧中可以被设置有两个 交互区域, 即第一交互区域和第二交互区域, 因此, 可以将显示目标对象的基 本信息中待显示的内容分为两种显示方式, 即第一显示方式和第二显示方式。 The content to be displayed in the basic information of the target object may be divided into the summary content corresponding to the target object (such as the name of the target object) and the specific content corresponding to the target object (such as a detailed text description of the target object, related pictures or videos, etc.), The target object can be set to two in one frame. The interaction area, that is, the first interaction area and the second interaction area, can be divided into two display modes, that is, the first display mode and the second display mode, in the basic information of the display target object.
当检测到对目标对象的第一交互区域的操作时,信息显示模块 802可以根 据第一显示方式向用户显示目标对象的基本信息中待显示的内容; 当检测到对 目标对象的第二交互区域的操作时,信息显示模块 802可以根据第二显示方式 向用户显示目标对象的基本信息中待显示的内容。 其中, 第一显示方式和第二 显示方式可以有 4艮多种, 比如:  When the operation of the first interaction area of the target object is detected, the information display module 802 may display the content to be displayed in the basic information of the target object to the user according to the first display manner; when the second interaction area to the target object is detected During the operation, the information display module 802 can display the content to be displayed in the basic information of the target object to the user according to the second display manner. The first display mode and the second display mode may have more than four types, for example:
第一显示方式为在目标对象旁边显示该目标对象的摘要内容, 第二显示方 式为在目标对象旁边显示该目标对象的具体内容;  The first display mode is to display the summary content of the target object next to the target object, and the second display mode is to display the specific content of the target object next to the target object;
或者,  Or,
第一显示方式为在目标对象区域显示该目标对象对应的第一交互区域或 第二交互区域的区域框, 第二显示方式为在目标对象旁边显示该目标对象的具 体内容;  The first display mode is to display the first interactive area or the second interactive area corresponding to the target object in the target object area, and the second display mode is to display the specific content of the target object next to the target object;
或者,  Or,
第一显示方式为在目标对象旁边以半透明显示该目标对象的具体内容, 第 二显示方式为在目标对象旁边以覆盖显示该目标对象的具体内容。  The first display mode is to display the specific content of the target object semi-transparent next to the target object, and the second display mode is to cover the specific content of the target object next to the target object.
信息显示模块 802还用于, 在当前播放的画面帧中存在多个目标对象, 且 多个目标对象对应的交互区域有重叠时, 显示多个目标对象中显示的优先级较 高的目标对象对应的目标对象的基本信息中待显示的内容。  The information display module 802 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, display the target objects with higher priority displayed in the plurality of target objects The content to be displayed in the basic information of the target object.
或者, 信息显示模块 802还用于, 在当前播放的画面帧中存在多个目标对 象, 且多个目标对象对应的交互区域有重叠时, 按照显示的优先级从高到低的 顺序,依照顺序显示多个目标对象对应的各目标对象的基本信息中待显示的内 谷。  Alternatively, the information display module 802 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, according to the order of priority of the display, from high to low, in order The inner valley to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed.
综上所述, 本发明实施例提供的视频播放平台, 通过接收原始视频和原始 视频的关联信息库, 并根据关联信息库中的目标对象显示的优先级向目标用户 显示交互式视频, 并在此基础上丰富了关联信息库的展现方式, 提供了具体的 根据所述目标兌现显示优先级提供交互信息的方案, 避免了现有技术中单一提 供所有信息带来的呈现冗余; 由于, 本方案提供的信息过渡, 也使得处理效率 更高, 不用像现有技术一样每次交互都提供所有的关联信息。 请参见图 15 ,其示出了本发明一个实施例提供的视频播放平台的装置结构 图。 该视频播放平台可以用于向视频点播用户播放交互式视频。 该视频播放平 台可以包括: 至少一个 I/O接口 009、 至少一个处理器 010, 比如 CPU、 存储 器 011和显示器 012; 存储器 011可能包含高速 Ram存储器, 也可能还包括 非不稳定的存储器(non-volatile memory ), 例如至少一个磁盘存储器。 存储器 011可选的可以包含至少一个位于远离前述处理器 010的存储装置。 在一些实 施方式中, 存储器 011存储了如下的元素, 模块或者数据结构, 或者他们的子 集, 或者他们的扩展集: In summary, the video playing platform provided by the embodiment of the present invention receives the associated information library of the original video and the original video, and displays the interactive video to the target user according to the priority displayed by the target object in the associated information library, and On the basis of this, the presentation manner of the associated information base is enriched, and the specific information for providing the interactive information according to the target redemption display priority is provided, which avoids the redundancy of the presentation provided by all the information in the prior art; The information transition provided by this solution also makes the processing more efficient, without providing all the associated information for each interaction as in the prior art. Referring to FIG. 15, an apparatus structure of a video playing platform according to an embodiment of the present invention is shown. Figure. The video playback platform can be used to play interactive video to a video on demand user. The video playing platform may include: at least one I/O interface 009, at least one processor 010, such as a CPU, a memory 011, and a display 012; the memory 011 may include a high speed RAM memory, and may also include a non-unstable memory (non- Volatile memory ), such as at least one disk storage. The memory 011 can optionally include at least one storage device located remotely from the aforementioned processor 010. In some embodiments, memory 011 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
操作系统 0111 , 包含各种程序, 用于实现各种基础业务以及处理基于硬件 的任务;  Operating system 0111, containing various programs for implementing various basic services and handling hardware-based tasks;
应用模块 0112, 包含如下模块之一或者组合:解析模块和信息显示模块,上 述模块的功能可以参考图 13所示的装置结构图的说明部分, 此处不再赘述。  The application module 0112 includes one or a combination of the following modules: a parsing module and an information display module. For the function of the above module, refer to the description of the device structure diagram shown in FIG. 13 , and details are not described herein again.
处理器 010与存储器 011相连; I/O接口 009—端与处理器 010和存储器 011相连, 另一端与显示器 012相连;  The processor 010 is connected to the memory 011; the I/O interface 009 is connected to the processor 010 and the memory 011, and the other end is connected to the display 012;
处理器 010, 用于接收原始视频和原始视频的关联信息库, 获取原始视频 的关联信息库中保存的目标对象的基本信息和视频交互信息,视频交互信息中 包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 目标对象的基 本信息包含用于待显示的内容;  The processor 010 is configured to receive an association information library of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame. The outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
处理器 010, 还用于当检测到用户对当前播放的画面帧中的目标对象的轮 廓信息对应的交互区域设置模块设置的交互区域的预定义操作时,根据显示的 优先级, 在显示器 012中显示与交互区域中的目标对象相对应的目标对象的基 本信息中待显示的内容。  The processor 010 is further configured to: when detecting a predefined operation of the interaction area set by the interaction area setting module corresponding to the contour information of the target object in the currently played picture frame, according to the displayed priority, in the display 012 The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed.
综上所述, 本发明实施例提供的视频播放平台, 通过解析原始视频和原始 视频的关联信息库, 并根据关联信息库中的目标对象显示的优先级和目标对象 的基本信息中待显示的内容向目标用户显示交互式视频,解决了现有技术中当 同一画面中存在多个目标对象且各目标对象有重叠时, 无法正常实现匹配和显 示该目标对象的基本信息中待显示的内容。 请参见图 16,其示出了本发明另一实施例提供的视频播放平台的装置结构 图。 该视频播放平台可以用于向视频点播用户播放交互式视频。 该视频播放平 台可以包括: 至少一个 I/O接口 013、 至少一个处理器 014, 比如 CPU、 存储 器 015和显示器 016; 存储器 015可能包含高速 Ram存储器, 也可能还包括 非不稳定的存储器(non-volatile memory ), 例如至少一个磁盘存储器。 存储器 015可选的可以包含至少一个位于远离前述处理器 014的存储装置。 在一些实 施方式中, 存储器 015存储了如下的元素, 模块或者数据结构, 或者他们的子 集, 或者他们的扩展集: In summary, the video playing platform provided by the embodiment of the present invention parses the associated information library of the original video and the original video, and displays the priority according to the target object in the associated information base and the basic information of the target object to be displayed. The content displays the interactive video to the target user, and solves the problem in the prior art that when there are multiple target objects in the same screen and each target object overlaps, the content to be displayed in the basic information of matching and displaying the target object cannot be normally realized. Referring to FIG. 16, which is a structural diagram of a device of a video playing platform according to another embodiment of the present invention. The video playback platform can be used to play interactive video to a video on demand user. The video playing platform may include: at least one I/O interface 013, at least one processor 014, such as a CPU, a memory 015, and a display 016; the memory 015 may include a high speed RAM memory, and may also include Non-volatile memory, such as at least one disk storage. The memory 015 can optionally include at least one storage device located remotely from the aforementioned processor 014. In some embodiments, memory 015 stores the following elements, modules or data structures, or a subset thereof, or their extension set:
操作系统 0151 , 包含各种程序,用于实现各种基础业务以及处理基于硬件 的任务;  Operating system 0151, which contains various programs for implementing various basic services and handling hardware-based tasks;
应用模块 0152, 包含如下模块之一或者组合:解析模块和信息显示模块,上 述模块的功能可以参考图 14所示的装置结构图的说明部分, 此处不再赘述。  The application module 0152 includes one or a combination of the following modules: a parsing module and an information display module. For the function of the above module, refer to the description of the device structure diagram shown in FIG. 14 , and details are not described herein again.
处理器 014与存储器 015相连; I/O接口 013—端与处理器 014和存储器 015相连, 另一端与显示器 016相连;  The processor 014 is connected to the memory 015; the I/O interface 013 is connected to the processor 014 and the memory 015, and the other end is connected to the display 016;
处理器 014, 用于解析原始视频和原始视频的关联信息库, 获取原始视频 的关联信息库中保存的目标对象的基本信息和视频交互信息,视频交互信息中 包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 目标对象的基 本信息包含用于待显示的内容;  The processor 014 is configured to parse the associated information library of the original video and the original video, and obtain basic information and video interaction information of the target object saved in the associated information base of the original video, where the video interaction information includes the target included in each picture frame. The outline information of the object and the priority of the display, the basic information of the target object contains the content for the display;
处理器 014, 还用于当检测到用户对当前播放的画面帧中的目标对象的轮 廓信息对应的交互区域设置模块设置的交互区域的预定义操作时,根据显示的 优先级, 在显示器 016中显示与交互区域中的目标对象相对应的目标对象的基 本信息中待显示的内容。  The processor 014 is further configured to: when detecting a predefined operation of the interaction area set by the interaction area setting module corresponding to the contour information of the target object in the currently played picture frame, according to the displayed priority, in the display 016 The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed.
另外, 处理器 014向用户显示目标对象的基本信息中待显示的内容可以有 4艮多种, 比如:  In addition, the processor 014 displays the basic information of the target object to the user, and the content to be displayed may be more than four types, for example:
目标对象的基本信息中待显示的内容可以分为目标对象对应的摘要内容 (比如目标对象的名称)和目标对象对应的具体内容 (比如目标对象的详细文 字介绍、 相关图片或视频等), 又目标对象在一个画面帧中可以被设置有两个 交互区域, 即第一交互区域和第二交互区域, 所以, 可以将显示目标对象的基 本信息中待显示的内容分为两种显示方式, 即第一显示方式和第二显示方式。  The content to be displayed in the basic information of the target object may be divided into the summary content corresponding to the target object (such as the name of the target object) and the specific content corresponding to the target object (such as a detailed text description of the target object, related pictures or videos, etc.), The target object can be configured with two interaction areas, that is, the first interaction area and the second interaction area, in one picture frame. Therefore, the content to be displayed in the basic information of the display target object can be divided into two display modes, that is, The first display mode and the second display mode.
当检测到对目标对象的第一交互区域的操作时, 处理器 014可以根据第一 显示方式, 在显示器 016中向用户显示目标对象的基本信息中待显示的内容; 当检测到对目标对象的第二交互区域的操作时, 处理器 014可以根据第二显示 方式,在显示器 016中向用户显示目标对象的基本信息中待显示的内容。其中, 第一显示方式和第二显示方式可以有^艮多种, 比如:  When detecting the operation of the first interaction area of the target object, the processor 014 may display the content to be displayed in the basic information of the target object to the user in the display 016 according to the first display manner; when detecting the target object During the operation of the second interaction area, the processor 014 may display the content to be displayed in the basic information of the target object to the user in the display 016 according to the second display mode. The first display mode and the second display mode may have multiple types, such as:
第一显示方式为在目标对象旁边显示该目标对象的摘要内容, 第二显示方 式为在目标对象旁边显示该目标对象的具体内容; The first display mode is to display the summary content of the target object next to the target object, and the second display side Is to display the specific content of the target object next to the target object;
或者,  Or,
第一显示方式为在目标对象区域显示该目标对象对应的第一交互区域或 第二交互区域的区域框, 第二显示方式为在目标对象旁边显示该目标对象的具 体内容;  The first display mode is to display the first interactive area or the second interactive area corresponding to the target object in the target object area, and the second display mode is to display the specific content of the target object next to the target object;
或者,  Or,
第一显示方式为在目标对象旁边以半透明显示该目标对象的具体内容, 第 二显示方式为在目标对象旁边以覆盖显示该目标对象的具体内容。  The first display mode is to display the specific content of the target object semi-transparent next to the target object, and the second display mode is to cover the specific content of the target object next to the target object.
处理器 014, 还用于在当前播放的画面帧中存在多个目标对象, 且多个目 标对象对应的交互区域有重叠时, 在显示器 016中显示多个目标对象中显示的 优先级较高的目标对象对应的目标对象的基本信息中待显示的内容。  The processor 014 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, displaying the higher priority displayed in the multiple target objects in the display 016 The content to be displayed in the basic information of the target object corresponding to the target object.
处理器 014还用于, 在当前播放的画面帧中存在多个目标对象, 且多个目 标对象对应的交互区域有重叠时, 按照显示的优先级从高到低的顺序, 在显示 器 016中依照顺序显示多个目标对象对应的各目标对象的基本信息中待显示的 内容。  The processor 014 is further configured to: when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, according to the priority of the display from high to low, in the display 016 The content to be displayed in the basic information of each target object corresponding to the plurality of target objects is sequentially displayed.
综上所述, 本发明实施例提供的视频播放平台, 通过接收原始视频和原始 视频的关联信息库, 并根据关联信息库中的目标对象显示的优先级向目标用户 显示交互式视频, 并在此基础上丰富了关联信息库的展现方式, 提供了具体的 根据所述目标兌现显示优先级提供交互信息的方案, 避免了现有技术中单一提 供所有信息带来的呈现冗余; 由于, 本方案提供的信息过渡, 也使得处理效率 更高, 不用像现有技术一样每次交互都提供所有的关联信息。 请参见图 17,其示出了本发明实施例提供的视频的关联信息库制作与视频 播放的系统的系统构成图, 该视频的关联信息库制作与视频播放的系统可以应 用于制作并播放交互式视频。该视频的关联信息库制作与视频播放的系统可以 包括: 上述实施例提供的视频的关联信息库制作平台 1110 以及视频播放平台 1120。  In summary, the video playing platform provided by the embodiment of the present invention receives the associated information library of the original video and the original video, and displays the interactive video to the target user according to the priority displayed by the target object in the associated information library, and On the basis of this, the presentation manner of the associated information base is enriched, and the specific information for providing the interactive information according to the target redemption display priority is provided, which avoids the redundancy of the presentation provided by all the information in the prior art; The information transition provided by this solution also makes the processing more efficient, without providing all the associated information for each interaction as in the prior art. Referring to FIG. 17, a system configuration diagram of a system for creating and storing video related information of a video provided by an embodiment of the present invention is shown. The system for creating and playing video related information of the video can be applied to create and play interactively. Video. The system for the related information library creation and video playback of the video may include: a related information library creation platform 1110 and a video playback platform 1120 of the video provided by the foregoing embodiment.
实际应用中,视频的关联信息库制作平台和视频播放平台对原始视频进行 处理,生成关联信息库,并据此播放交互式视频的具体流程请参见图 18。其中, 视频的关联信息库制作平台 904根据原始视频制作关联信息库, 并将原始视频 和对应的关联信息库一起存储到视频服务器 902中。 其中, 系统还将视频的关 联信息库中的链接所对应的内容存储在视频关联内容库中; 视频播放平台 901 在播放视频时, 获取原始视频和对应的关联信息库, 并根据原始视频及其关联 信息库向用户显示交互式视频, 当需要向用户显示关联信息库中的链接所指向 的内容时,视频播放平台根据关联信息库中的链接向关联内容服务器 903发送 请求, 获取其中保存的视频关联内容库中对应链接的相应的内容, 并在接收到 在实际实现过程中, 可选的视频播放平台 901和视频服务器 902可以通过 一种在线播放和在线交互的方式完成。 即视频的通过在线由视频服务器 902实 时的传输给视频播放平台, 而来自视频播放平台的交互信息也经由视频服务器 902到关联内容服务器 903中获取后, 利用与视频播放平台 901所建立的通信 通道发送给视频播放平台, 如图中虚线所示, 此时视频播放平台 901和关联内 容服务器 903之间的请求和发送过程不再需要, 而由视频服务器 902与关联内 容服务器 903之间的虚线所表示的通道完成。 In the actual application, the video related information library production platform and the video playing platform process the original video to generate an associated information library, and the specific flow of playing the interactive video according to this is shown in FIG. 18. The associated database creation platform 904 of the video creates an associated information base according to the original video, and stores the original video together with the corresponding associated information base into the video server 902. Among them, the system will also close the video. The content corresponding to the link in the information repository is stored in the video associated content library; when playing the video, the video playing platform 901 obtains the original video and the corresponding associated information base, and displays the interaction to the user according to the original video and its associated information base. The video playing platform sends a request to the associated content server 903 according to the link in the associated information library, and obtains the corresponding link in the saved video related content library, when the content pointed to by the link in the associated information library needs to be displayed to the user. Corresponding content, and in the actual implementation process, the optional video playing platform 901 and the video server 902 can be completed by means of online play and online interaction. That is, the video is transmitted to the video playing platform in real time by the video server 902, and the interactive information from the video playing platform is also acquired by the video server 902 to the associated content server 903, and the communication channel established with the video playing platform 901 is utilized. Sent to the video playing platform, as shown by the dashed line in the figure, the request and transmission process between the video playing platform 901 and the associated content server 903 is no longer needed, but by the dotted line between the video server 902 and the associated content server 903. The indicated channel is complete.
在实际实现过程中, 可选的视频播放平台 901和视频服务器 902可以通过 一种在线播放和本地交互的方式完成, 或者通过一种本地下载播放和本地交互 的方式完成。 但此时, 关联信息库直接经由视频服务器 902发送到了视频播放 个平台 901中, 并存储于视频播放平台 901 ; 则后续由用户的交互动作产生的 交互信息都由视频播放平台 901 自己来维护, 并根据关联信息库中的链接去关 联内容服务器 903中去获取。 此时, 图 18中虚线所表示的通信通道则不再是 需要的, 而视频播放平台 901与关联内容服务器 903之间的通信也经由图中实 线所标示的 "请求" 和 "发送" 来完成。 综上所述, 本发明实施例提供的视频 的关联信息库制作与视频播放的系统,从系统层面呈现了本发明中各平台的交 互关系以及其在系统中所起到的作用。 需要说明的是: 上述实施例提供的视频的关联信息库制作平台和视频播放 平台在制作关联信息库与播放视频时,仅以上述各功能模块的划分进行举例说 明, 实际应用中, 可以根据需要而将上述功能分配由不同的功能模块完成, 即 将平台的内部结构划分成不同的功能模块, 以完成以上描述的全部或者部分功 能。 另外, 上述实施例提供的视频的关联信息库制作平台和视频播放平台与视 频的关联信息库制作方法和视频播放方法实施例属于同一构思, 其具体实现过 程详见方法实施例, 这里不再赘述。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通 过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储 于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。 In the actual implementation process, the optional video playing platform 901 and the video server 902 can be completed by means of online play and local interaction, or by a local download play and local interaction. At this time, the associated information base is directly sent to the video playing platform 901 via the video server 902 and stored in the video playing platform 901; then the interactive information generated by the user's interactive actions is maintained by the video playing platform 901 itself. And the content server 903 is associated with the link in the associated information base to obtain. At this time, the communication channel indicated by the broken line in FIG. 18 is no longer needed, and the communication between the video playing platform 901 and the associated content server 903 is also indicated by the "request" and "send" indicated by the solid line in the figure. carry out. In summary, the system for creating and storing video related information of the video provided by the embodiment of the present invention presents the interaction relationship of each platform in the present invention and its role in the system from the system level. It should be noted that, in the related information library creation platform and the video playing platform provided by the foregoing embodiments, when the related information base and the video playing video are created, only the division of the above functional modules is illustrated. In practical applications, The above function assignment is completed by different functional modules, that is, the internal structure of the platform is divided into different functional modules to complete all or part of the functions described above. In addition, the related information library creation platform of the video and the video playback platform and the video related information library creation method and the video playback method embodiment are the same concept, and the specific implementation process is described in the method embodiment, and details are not described herein again. . A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 claims
1、 一种视频的关联信息库制作方法, 其特征在于, 所述方法包括: 按照所要设定的不同目标对象的存在周期从原始视频获取一至多个连续画 面帧; 1. A method for making a video associated information database, characterized in that the method includes: acquiring one or more continuous picture frames from the original video according to the existence periods of different target objects to be set;
在一个目标对象对应的一至多个连续画面帧中确定预先设定的所述目标对 象在每个画面帧中的轮廓信息和显示的优先级; Determine the preset outline information and display priority of the target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
根据所述目标对象在每个画面帧中的轮廓信息和显示的优先级制作所述原 始视频的关联信息库, 所述关联信息库为用于播放交互式视频时读取的文件, 所述关联信息库保存有目标对象的基本信息和视频交互信息, 其中, 所述目标 对象的基本信息包含用于待显示的内容; 所述视频交互信息中包含有各画面帧 中包含的目标对象的轮廓信息和显示的优先级。 Create an associated information library of the original video based on the outline information and display priority of the target object in each picture frame. The associated information library is a file read when playing interactive videos. The association The information library stores basic information of the target object and video interaction information, wherein the basic information of the target object includes content to be displayed; the video interaction information includes outline information of the target object contained in each picture frame. and display priority.
2、 根据权利要求 1所述的视频的关联信息库制作方法, 其特征在于, 所述 在一个目标对象对应的一至多个连续画面帧中确定预先选定的所述目标对象在 每个画面帧中的轮廓信息和显示的优先级之前, 所述方法还包括: 2. The method for making a video related information database according to claim 1, characterized in that, in one or more continuous picture frames corresponding to a target object, it is determined that the pre-selected target object is in each picture frame. Before the contour information and display priority, the method further includes:
显示目标对象设定界面; 将视频制作用户在所述目标对象设定界面中圏定 的区域中的对象设定为目标对象, 并将圏定的区域轮廓信息归为所述目标对象 的第一轮廓信息, 并携带在视频交互信息中; Display the target object setting interface; set the object in the area defined by the video production user in the target object setting interface as the target object, and classify the defined area outline information as the first target object Contour information and carried in video interactive information;
建立所述视频交互信息中携带的所述目标对象的第一轮廓信息与所述视频 制作用户为所述目标对象制定的目标对象的基本信息之间的对应关系。 Establish a corresponding relationship between the first outline information of the target object carried in the video interaction information and the basic information of the target object specified by the video production user for the target object.
3、 根据权利要求 2所述的视频的关联信息库制作方法, 其特征在于, 所述 将视频制作用户在所述目标对象设定界面中圏定的区域中的对象设定为目标对 利用轮廓提取算法获取圏定的区域中目标对象的轮廓信息, 并归为所述目 标对象的第二轮廓信息, 并携带在所述视频交互信息中; 3. The method for creating a video related information database according to claim 2, wherein the object in the area defined by the video production user in the target object setting interface is set as a target pair utilization profile. The extraction algorithm obtains the contour information of the target object in the predetermined area, classifies it as the second contour information of the target object, and carries it in the video interaction information;
建立所述视频交互信息中携带的目标对象的第二轮廓信息与所述视频制作 用户为所述设定的目标对象制定的目标对象的基本信息之间的对应关系。 A correspondence relationship is established between the second outline information of the target object carried in the video interaction information and the basic information of the target object formulated by the video production user for the set target object.
4、 根据权利要求 3所述的视频的关联信息库制作方法, 其特征在于, 所述 在一个目标对象对应的一至多个连续画面帧中确定预先设定的所述目标对象在 每个画面帧中的轮廓信息, 具体包括: 4. The method for making a video related information database according to claim 3, characterized in that: Determining the preset outline information of the target object in each picture frame in one or more consecutive picture frames corresponding to a target object specifically includes:
获取所述圏定的区域中的目标对象的特征信息, 并利用目标跟踪算法计算 所述一至多个连续画面帧中其余画面帧的目标对象的第一轮廓信息和第二轮廓 信息, 并携带在视频交互信息中。 Obtain the characteristic information of the target object in the defined area, and use the target tracking algorithm to calculate the first contour information and the second contour information of the target object in the remaining picture frames in the one or more continuous picture frames, and carry them in In video interactive information.
5、 根据权利要求 1或 2所述的视频的关联信息库制作方法, 其特征在于, 所述目标对象的基本信息包括: 所述目标对象的标识、 所述目标对象的名 称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 贝' J 5. The method for making a video related information database according to claim 1 or 2, characterized in that the basic information of the target object includes: the identification of the target object, the name text of the target object, and the detailed information text. , one or more of a picture link or a video link; Bei'J
所述建立所述视频交互信息中携带的目标对象的第一轮廓信息与所述视频 制作用户为所述目标对象制定的目标对象的基本信息之间的对应关系具体为: 建立所述视频交互信息中携带的目标对象的第一轮廓信息与所述目标对象 的标识、 所述目标对象的名称文本、 详细信息文本、 图片链接或视频链接中的 一个或多个的关联关系。 The establishment of the corresponding relationship between the first outline information of the target object carried in the video interaction information and the basic information of the target object formulated by the video production user for the target object is specifically: establishing the video interaction information The association relationship between the first outline information of the target object carried in and one or more of the identification of the target object, the name text, the detailed information text, the picture link or the video link of the target object.
6、 根据权利要求 4或 5所述的视频的关联信息库制作方法, 其特征在于, 所述方法包括: 6. The method for creating a video-related information database according to claim 4 or 5, characterized in that the method includes:
将各画面帧中的目标对象的第一轮廓信息对应的区域设置为所述各画面帧 中的目标对象的第一交互区域; Set the area corresponding to the first outline information of the target object in each picture frame as the first interaction area of the target object in each picture frame;
将各画面帧中的目标对象的第二轮廓信息对应的区域设置为所述各画面帧 中的目标对象的第二交互区域; Set the area corresponding to the second outline information of the target object in each picture frame as the second interaction area of the target object in each picture frame;
以便视频播放平台在检测到用户对所述第一交互区域和第二交互区域的预 定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目标 对象的待显示的内容。 So that when the video playback platform detects the user's predefined operation on the first interactive area and the second interactive area, it displays the to-be-displayed target object corresponding to the second interactive area in a more specific manner than the first interactive area. content.
7、 一种视频播放方法, 其特征在于, 所述方法包括: 7. A video playback method, characterized in that the method includes:
解析原始视频和所述原始视频的的关联信息库, 获取所述原始视频的关联 信息库中的目标对象的基本信息和视频交互信息, 所述视频交互信息中包含有 各画面帧中包含的目标对象的轮廓信息和显示的优先级, 所述目标对象的基本 信息包含用于待显示的内容; Analyze the original video and the associated information database of the original video, and obtain the basic information and video interaction information of the target object in the associated information database of the original video. The video interaction information includes the target contained in each frame. The outline information and display priority of the object, the basic information of the target object includes the content to be displayed;
当检测到用户对当前播放的画面帧中的目标对象的轮廓信息对应的交互区 域的预定义操作时, 根据显示的优先级显示与所述交互区域中的目标对象的基 本信息中待显示的内容。 When it is detected that the user has an interactive area corresponding to the outline information of the target object in the currently played frame. During the predefined operation of the domain, the content to be displayed in the basic information of the target object in the interaction area is displayed according to the display priority.
8、 根据权利要求 7所述的视频播放方法, 其特征在于, 所述在所述当前播 放的画面帧中存在多个目标对象, 且所述多个目标对象对应的交互区域有重叠 时, 所述根据显示的优先级显示与所述交互区域中的目标对象相对应的目标对 象的基本信息中待显示的内容, 具体包括: 8. The video playback method according to claim 7, wherein when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, the The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed according to the display priority, specifically including:
显示所述多个目标对象中显示的优先级较高的目标对象对应的目标对象的 基本信息中待显示的内容。 Display the content to be displayed in the basic information of the target object corresponding to the target object with higher priority displayed among the plurality of target objects.
9、 根据权利要求 7所述的视频播放方法, 其特征在于, 所述在所述当前播 放的画面帧中存在多个目标对象, 且所述多个目标对象对应的交互区域有重叠 时, 所述根据显示的优先级值的大小显示与所述交互区域中的目标对象相对应 的目标对象的基本信息中待显示的内容, 具体包括: 9. The video playback method according to claim 7, wherein when there are multiple target objects in the currently played picture frame, and the interaction areas corresponding to the multiple target objects overlap, the The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed according to the size of the displayed priority value, specifically including:
按照显示的优先级从高到低的顺序, 显示所述多个目标对象对应的各目标 对象的基本信息中待显示的内容。 The content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in order of display priority from high to low.
10、 根据权利要求 7至 9任一所述的视频播放方法, 其特征在于, 所述预定义操作至少包括鼠标指向操作、 鼠标点击操作、 触摸笔的感应、 鼠标在视频内的指向移动操作或触摸点击操作中的一种或多种。 10. The video playback method according to any one of claims 7 to 9, characterized in that the predefined operations at least include mouse pointing operations, mouse clicking operations, touch pen sensing, mouse pointing and moving operations within the video, or One or more of the touch and click operations.
11、 一种视频的关联信息库制作平台, 其特征在于, 所述平台包括: 获取模块, 用于按照所要设定的不同目标对象的存在周期从原始视频获取 一至多个连续画面帧; 11. A video related information database production platform, characterized in that the platform includes: an acquisition module, used to acquire one or more continuous picture frames from the original video according to the existence cycles of different target objects to be set;
轮廓信息确定模块, 用于在所述获取模块获取的一个目标对象的一至多个 连续画面帧中确定预先设定的所述目标对象在每个画面帧中的轮廓信息; A contour information determination module, configured to determine the preset contour information of the target object in each picture frame in one or more consecutive picture frames of a target object obtained by the acquisition module;
显示的优先级确定模块, 用于在所述获取模块获取的一个目标对象的一至 多个连续画面帧中确定预先设定的所述目标对象在每个画面帧中的显示的优先 级; A display priority determination module, configured to determine the preset display priority of the target object in each picture frame in one or more consecutive picture frames of a target object obtained by the acquisition module;
关联信息库制作模块, 用于根据所述目标对象在每个画面帧中的轮廓信息 和显示的优先级制作所述原始视频的关联信息库, 所述关联信息库为用于播放 交互式视频时读取的文件, 保存有目标对象的基本信息和视频交互信息; 其中, 所述目标对象的基本信息包含用于待显示的内容; 所述视频交互信息中包含有 各画面帧中包含的目标对象的轮廓信息和显示的优先级。 An associated information database production module, configured to create an associated information database of the original video based on the outline information and display priority of the target object in each frame, where the associated information database is used for playback The file read during interactive video saves the basic information of the target object and the video interaction information; wherein the basic information of the target object includes the content to be displayed; the video interaction information includes the content in each picture frame Contains outline information and display priority of the target object.
12、 根据权利要求 11所述的视频的关联信息库制作平台, 其特征在于, 所 述平台还包括: 12. The video related information database production platform according to claim 11, characterized in that the platform further includes:
设定显示模块, 用于显示目标对象设定界面; Setting display module, used to display the target object setting interface;
第一目标对象设定模块, 用于将视频制作用户在所述设定显示模块显示的 目标对象设定界面中圏定的区域中的对象设定为目标对象, 并将圏定的区域轮 廓信息归为目标对象的第一轮廓信息, 并携带在视频交互信息中; The first target object setting module is used to set the object in the area specified by the video production user in the target object setting interface displayed by the setting display module as the target object, and set the area outline information of the area Classified as the first contour information of the target object and carried in the video interaction information;
第一对应关系建立模块, 用于建立所述视频交互信息中携带的所述目标对 象的第一轮廓信息与所述视频制作用户为所述目标对象制定的目标对象的基本 信息之间的对应关系。 A first correspondence establishment module, configured to establish a correspondence between the first outline information of the target object carried in the video interaction information and the basic information of the target object formulated by the video production user for the target object. .
13、 根据权利要求 12所述的视频的关联信息库制作平台, 其特征在于, 所 述平台还包括: 13. The video related information database production platform according to claim 12, characterized in that the platform further includes:
第二目标对象设定模块, 用于利用轮廓提取算法获取圏定的区域中目标对 象的轮廓信息, 并归为所述目标对象的第二轮廓信息, 并携带在所述视频互信 息中; The second target object setting module is used to obtain the contour information of the target object in the predetermined area by using the contour extraction algorithm, and classify it as the second contour information of the target object, and carry it in the video mutual information;
第二对应关系建立模块, 用于建立所述视频交互信息中携带的目标对象的 第二轮廓信息与所述视频制作用户为所述设定的目标对象制定的目标对象的基 本信息之间的对应关系。 A second correspondence establishment module, configured to establish a correspondence between the second outline information of the target object carried in the video interaction information and the basic information of the target object formulated by the video production user for the set target object. relation.
14、 根据权利要求 13所述的视频的关联信息库制作平台, 其特征在于, 所 述轮廓信息确定模块, 包括: 14. The video related information database production platform according to claim 13, characterized in that the outline information determination module includes:
特征信息获取单元, 用于获取所述圏定的区域中的目标对象的特征信息; 跟踪单元, 用于利用目标跟踪算法计算所述一至多个连续画面帧中其余画 面帧的目标对象的第一轮廓信息和第二轮廓信息, 并携带在视频交互信息中。 a feature information acquisition unit, used to acquire the feature information of the target object in the predetermined area; a tracking unit, used to calculate the first value of the target object in the remaining picture frames in the one or more continuous picture frames using a target tracking algorithm The contour information and the second contour information are carried in the video interactive information.
15、 根据权利要求 11或 12所述的视频的关联信息库制作平台, 其特征在 所述目标对象的基本信息包括: 所述目标对象的标识、 所述目标对象的名 称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 15. The video related information database production platform according to claim 11 or 12, characterized in that the basic information of the target object includes: the identification of the target object, the name of the target object One or more of title text, detailed information text, picture link or video link;
所述第一对应关系建立模块, 具体用于建立所述视频交互信息中携带的目 标对象的第一轮廓信息与所述目标对象的标识、 所述目标对象的名称文本、 详 细信息文本、 图片链接或视频链接中的一个或多个的关联关系。 The first correspondence establishment module is specifically used to establish the first outline information of the target object carried in the video interaction information and the identification of the target object, the name text, detailed information text, and picture link of the target object. Or the association between one or more of the video links.
16、 根据权利要求 14或 15所述的视频的关联信息库制作平台, 其特征在 于, 所述平台还包括: 交互区域设置模块; 16. The video related information database production platform according to claim 14 or 15, characterized in that the platform further includes: an interactive area setting module;
所述交互区域设置模块, 包括: The interactive area setting module includes:
第一设置单元, 用于将各画面帧中的目标对象的第一轮廓信息对应的区域 设置为所述各画面帧中的目标对象的第一交互区域; A first setting unit configured to set the area corresponding to the first outline information of the target object in each picture frame as the first interaction area of the target object in each picture frame;
第二设置单元, 用于将各画面帧中的目标对象的第二轮廓信息对应的区域 设置为所述各画面帧中的目标对象的第二交互区域; A second setting unit configured to set the area corresponding to the second outline information of the target object in each picture frame as the second interaction area of the target object in each picture frame;
以便视频播放平台在检测到用户对所述第一交互区域和第二交互区域的预 定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目标 对象的待显示的内容。 So that when the video playback platform detects the user's predefined operation on the first interactive area and the second interactive area, it displays the to-be-displayed target object corresponding to the second interactive area in a more specific manner than the first interactive area. content.
17、 一种视频的关联信息库制作平台, 其特征在于, 所述平台包括: I/O接 口、 处理器、 存储器和显示器; 17. A video related information database production platform, characterized in that the platform includes: I/O interface, processor, memory and display;
所述处理器与所述存储器相连;所述 I/O接口一端与所述处理器和所述存储 器相连, 另一端与所述显示器相连; The processor is connected to the memory; one end of the I/O interface is connected to the processor and the memory, and the other end is connected to the display;
所述处理器, 用于按照所要设定的不同目标对象的存在周期从原始视频获 取一至多个连续画面帧; The processor is used to obtain one or more continuous picture frames from the original video according to the existence periods of different target objects to be set;
所述处理器, 还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的所述目标对象在每个画面帧中的轮廓信息; The processor is also configured to determine the preset outline information of the target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
所述处理器, 还用于在一个目标对象对应的一至多个连续画面帧中确定预 先设定的所述目标对象在每个画面帧中的显示的优先级; The processor is also configured to determine the preset priority of displaying the target object in each picture frame in one or more consecutive picture frames corresponding to a target object;
所述处理器, 还用于根据所述目标对象在每个画面帧中的轮廓信息和显示 的优先级制作所述原始视频的关联信息库, 所述关联信息库为用于播放交互式 视频时读取的文件, 保存有目标对象的基本信息和视频交互信息; 其中, 所述 目标对象的基本信息包含用于待显示的内容; 所述视频交互信息中包含有各画 面帧中包含的目标对象的轮廓信息和显示的优先级。 The processor is also configured to create an associated information library of the original video based on the outline information and display priority of the target object in each picture frame. The associated information library is used for playing interactive videos. The read file saves the basic information of the target object and the video interaction information; wherein, the basic information of the target object includes the content to be displayed; the video interaction information includes the target object contained in each picture frame. outline information and display priority.
18、 根据权利要求 17所述的视频的关联信息库制作平台, 其特征在于, 所述处理器, 还用于在所述显示器中显示目标对象设定界面; 18. The video related information database production platform according to claim 17, characterized in that the processor is also used to display a target object setting interface on the display;
所述处理器, 还用于将视频制作用户在目标对象设定界面中圏定的区域中 的对象设定为目标对象, 并将圏定的区域轮廓信息归为目标对象的第一轮廓信 息, 并携带在视频交互信息中; The processor is also configured to set the object in the area defined by the video production user in the target object setting interface as the target object, and classify the contour information of the defined area as the first contour information of the target object, And carried in the video interactive information;
所述处理器, 还用于建立所述视频交互信息中携带的目标对象与所述视频 制作用户为所述设定的目标对象制定的目标对象的基本信息之间的对应关系。 The processor is also configured to establish a correspondence between the target object carried in the video interaction information and the basic information of the target object formulated by the video production user for the set target object.
19、 根据权利要求 17所述的视频的关联信息库制作平台, 其特征在于, 所述处理器, 还用于利用轮廓提取算法获取圏定的区域中目标对象的轮廓 信息, 并归为所述目标对象的第二轮廓信息, 并携带在视频互信息中; 19. The video related information database production platform according to claim 17, characterized in that the processor is also configured to use a contour extraction algorithm to obtain the contour information of the target object in the predetermined area, and classify it into the The second contour information of the target object is carried in the video mutual information;
所述处理器, 还用于建立所述视频交互信息中携带的目标对象的第二轮廓 信息与所述视频制作用户为所述设定的目标对象制定的目标对象的基本信息之 间的对应关系。 The processor is also configured to establish a correspondence between the second outline information of the target object carried in the video interaction information and the basic information of the target object formulated by the video production user for the set target object. .
20、 根据权利要求 18所述的视频的关联信息库制作平台, 其特征在于, 所述处理器, 还用于获取所述圏定的区域中的目标对象的特征信息, 并利 用目标跟踪算法计算所述一至多个连续画面帧中其余画面帧的目标对象的第一 轮廓信息和第二轮廓信息, 并携带在视频交互信息中。 20. The video related information database production platform according to claim 18, characterized in that the processor is also used to obtain the characteristic information of the target object in the predetermined area, and use the target tracking algorithm to calculate The first contour information and the second contour information of the target object in the remaining picture frames in the one or more continuous picture frames are carried in the video interaction information.
21、 根据权利要求 17或 18所述的视频的关联信息库制作平台, 其特征在 于, 所述目标对象的基本信息包括: 所述目标对象的标识、 所述目标对象的名 称文本、 详细信息文本、 图片链接或视频链接中的一个或多个; 21. The video related information database production platform according to claim 17 or 18, characterized in that the basic information of the target object includes: the identification of the target object, the name text of the target object, and the detailed information text. , one or more of image links or video links;
所述处理器, 具体用于建立所述视频交互信息中携带的目标对象的第一轮 廓信息与所述目标对象的标识、 所述目标对象的名称文本、 详细信息文本、 图 片链接或视频链接中的一个或多个的关联关系。 The processor is specifically configured to establish the first outline information of the target object carried in the video interaction information and the identification of the target object, the name text, detailed information text, picture link or video link of the target object. one or more relationships.
22、 根据权利要求 20或 21所述的视频的关联信息库制作平台, 其特征在 于, 22. The video related information database production platform according to claim 20 or 21, characterized in that,
所述处理器, 还用于将各画面帧中的目标对象的第一轮廓信息对应的区域 设置为所述各画面帧中的目标对象的第一交互区域; 将各画面帧中的目标对象 的第二轮廓信息对应的区域设置为所述各画面帧中的目标对象的第二交互区 域; The processor is also configured to convert the area corresponding to the first outline information of the target object in each picture frame into Set as the first interaction area of the target object in each picture frame; Set the area corresponding to the second outline information of the target object in each picture frame as the second interaction area of the target object in each picture frame;
以便视频播放平台在检测到用户对所述第一交互区域和第二交互区域的预 定义操作时, 以相比第一交互区域更具体的方式显示第二交互区域对应的目标 对象的待显示的内容。 So that when the video playback platform detects the user's predefined operation on the first interactive area and the second interactive area, it displays the to-be-displayed target object corresponding to the second interactive area in a more specific manner than the first interactive area. content.
23、 一种视频播放平台, 其特征在于, 所述平台包括: 23. A video playback platform, characterized in that the platform includes:
解析模块, 用于解析原始视频和所述原始视频的关联信息库, 获取所述原 始视频的关联信息库中的目标对象的基本信息和视频交互信息, 所述视频交互 信息中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 所述目 标对象的基本信息包含用于待显示的内容; An analysis module, used to analyze the original video and the associated information database of the original video, and obtain the basic information of the target object and the video interaction information in the associated information database of the original video. The video interaction information includes each picture frame. The outline information and display priority of the target object contained in , the basic information of the target object includes the content to be displayed;
信息显示模块, 用于当检测到用户对当前播放的画面帧中的目标对象的轮 廓信息对应的交互区域的预定义操作时, 根据显示的优先级显示与所述交互区 域中的目标对象相对应的目标对象的基本信息中待显示的内容。 An information display module, configured to, when detecting a user's predefined operation on an interaction area corresponding to the outline information of a target object in the currently played picture frame, display the target object corresponding to the interaction area according to the displayed priority. The content to be displayed in the basic information of the target object.
24、 根据权利要求 23所述的视频播放平台, 其特征在于, 所述信息显示模 块还用于, 在所述当前播放的画面帧中存在多个目标对象, 且所述多个目标对 象对应的交互区域有重叠时, 显示所述多个目标对象中显示的优先级较高的目 标对象对应的目标对象的基本信息中待显示的内容。 24. The video playback platform according to claim 23, wherein the information display module is further configured to: There are multiple target objects in the currently played picture frame, and the multiple target objects correspond to When the interactive areas overlap, the content to be displayed in the basic information of the target object corresponding to the target object with a higher priority among the multiple target objects is displayed.
25、 根据权利要求 23所述的视频播放平台, 其特征在于, 所述信息显示模 块还用于, 在所述当前播放的画面帧中存在多个目标对象, 且所述多个目标对 象对应的交互区域有重叠时, 按照显示的优先级从高到低的顺序, 依照顺序显 示所述多个目标对象对应的各目标对象的基本信息中待显示的内容。 25. The video playback platform according to claim 23, wherein the information display module is further configured to: There are multiple target objects in the currently played picture frame, and the multiple target objects correspond to When the interactive areas overlap, the content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed in order according to the display priority from high to low.
26、 一种视频播放平台, 其特征在于, 所述平台包括: I/O接口、 处理器、 存储器和显示器; 26. A video playback platform, characterized in that the platform includes: an I/O interface, a processor, a memory and a display;
所述处理器与所述存储器相连;所述 I/O接口一端与所述处理器和所述存储 器相连, 另一端与所述显示器相连; The processor is connected to the memory; one end of the I/O interface is connected to the processor and the memory, and the other end is connected to the display;
所述处理器, 用于解析原始视频和所述原始视频的关联信息库, 获取所述 原始视频的关联信息库中的目标对象的基本信息和视频交互信息, 所述视频交 互信息中包含有各画面帧中包含的目标对象的轮廓信息和显示的优先级, 所述 目标对象的基本信息包含用于待显示的内容; The processor is used to parse the original video and the associated information library of the original video, and obtain the The basic information of the target object and the video interaction information in the associated information library of the original video. The video interaction information includes the outline information and display priority of the target object contained in each picture frame. The basic information of the target object Contains content for display;
所述处理器, 还用于当检测到用户对当前播放的画面帧中的目标对象的轮 廓信息对应的交互区域设置模块设置的交互区域的预定义操作时, 根据显示的 优先级, 在所述显示器中显示与所述交互区域中的目标对象相对应的目标对象 的基本信息中待显示的内容。 The processor is also configured to, when detecting the user's predefined operation on the interactive area set by the interactive area setting module corresponding to the outline information of the target object in the currently played picture frame, based on the display priority, in the The content to be displayed in the basic information of the target object corresponding to the target object in the interaction area is displayed on the display.
27、 根据权利要求 26所述的视频播放平台, 其特征在于, 27. The video playback platform according to claim 26, characterized in that,
所述处理器, 还用于在所述当前播放的画面帧中存在多个目标对象, 且所 述多个目标对象对应的交互区域有重叠时, 在所述显示器中显示所述多个目标 对象中显示的优先级较高的目标对象对应的目标对象的基本信息中待显示的内 The processor is also configured to display the multiple target objects on the display when there are multiple target objects in the currently played picture frame and the interaction areas corresponding to the multiple target objects overlap. The content to be displayed in the basic information of the target object corresponding to the higher priority target object displayed in
28、 根据权利要求 26所述的视频播放平台, 其特征在于, 28. The video playback platform according to claim 26, characterized in that,
所述处理器还用于, 在所述当前播放的画面帧中存在多个目标对象, 且所 述多个目标对象对应的交互区域有重叠时, 按照显示的优先级从高到低的顺序, 在所述显示器中依照顺序显示所述多个目标对象对应的各目标对象的基本信息 中待显示的内容。 The processor is also configured to: when there are multiple target objects in the currently played picture frame and the interaction areas corresponding to the multiple target objects overlap, in order from high to low according to the display priority, The content to be displayed in the basic information of each target object corresponding to the plurality of target objects is displayed on the display in sequence.
29、 一种视频的关联信息库制作与视频播放的系统, 其特征在于, 所述系 统包括: 29. A system for creating a video related information database and playing video, characterized in that the system includes:
如权利要求 11至 16任一所述的视频的关联信息库制作平台以及如权利要 求 23至 25任一所述的视频播放平台。 The video related information database production platform as described in any one of claims 11 to 16 and the video playback platform as described in any one of claims 23 to 25.
PCT/CN2012/087295 2012-12-24 2012-12-24 Method, platform, and system for manufacturing associated information library of video and for playing video WO2014100936A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/087295 WO2014100936A1 (en) 2012-12-24 2012-12-24 Method, platform, and system for manufacturing associated information library of video and for playing video
CN201280002756.9A CN104041063B (en) 2012-12-24 2012-12-24 The related information storehouse of video makes and method, platform and the system of video playback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087295 WO2014100936A1 (en) 2012-12-24 2012-12-24 Method, platform, and system for manufacturing associated information library of video and for playing video

Publications (1)

Publication Number Publication Date
WO2014100936A1 true WO2014100936A1 (en) 2014-07-03

Family

ID=51019628

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087295 WO2014100936A1 (en) 2012-12-24 2012-12-24 Method, platform, and system for manufacturing associated information library of video and for playing video

Country Status (2)

Country Link
CN (1) CN104041063B (en)
WO (1) WO2014100936A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106662920A (en) * 2014-10-22 2017-05-10 华为技术有限公司 Interactive video generation

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018043143A1 (en) * 2016-08-30 2018-03-08 ソニー株式会社 Transmitting device, transmitting method, receiving device and receiving method
CN107871190B (en) * 2016-09-23 2021-12-14 阿里巴巴集团控股有限公司 Service index monitoring method and device
TWI656792B (en) * 2017-01-12 2019-04-11 沈國曄 Method of playing interactive videos across platforms
CN108769808B (en) * 2018-05-24 2021-01-29 浙报融媒体科技(浙江)有限责任公司 Interactive video playing method and system
CN108769688B (en) * 2018-05-24 2021-09-03 西华师范大学 Video coding and decoding method
CN108600822A (en) * 2018-05-24 2018-09-28 安徽质在智能科技有限公司 Online shopping video information playback method and system
CN112218160A (en) * 2020-10-12 2021-01-12 北京达佳互联信息技术有限公司 Video conversion method and device, video conversion equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503554A (en) * 2002-11-21 2004-06-09 余明和 Device and method for making television advertisement and inserting into television program
CN101035261A (en) * 2007-04-11 2007-09-12 宁波大学 Image signal processing method of the interactive multi-view video system
CN102376061A (en) * 2011-08-26 2012-03-14 浙江工业大学 Omni-directional vision-based consumer purchase behavior analysis device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010109773A (en) * 2008-10-30 2010-05-13 Koichi Sumida Information providing system, content distribution apparatus and content viewing terminal device
CN101489139B (en) * 2009-01-21 2010-11-10 北京大学 Video advertisement correlation method and system based on visual saliency
EP2587826A4 (en) * 2010-10-29 2013-08-07 Huawei Tech Co Ltd Extraction and association method and system for objects of interest in video
CN102419945A (en) * 2011-12-09 2012-04-18 上海聚力传媒技术有限公司 Method, device, equipment and system for presenting display information in video

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1503554A (en) * 2002-11-21 2004-06-09 余明和 Device and method for making television advertisement and inserting into television program
CN101035261A (en) * 2007-04-11 2007-09-12 宁波大学 Image signal processing method of the interactive multi-view video system
CN102376061A (en) * 2011-08-26 2012-03-14 浙江工业大学 Omni-directional vision-based consumer purchase behavior analysis device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106662920A (en) * 2014-10-22 2017-05-10 华为技术有限公司 Interactive video generation
CN106662920B (en) * 2014-10-22 2020-11-06 华为技术有限公司 Interactive video generation
CN112449253A (en) * 2014-10-22 2021-03-05 华为技术有限公司 Interactive video generation

Also Published As

Publication number Publication date
CN104041063B (en) 2017-11-24
CN104041063A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
WO2014100936A1 (en) Method, platform, and system for manufacturing associated information library of video and for playing video
CN102077580B (en) Display control device, display control method
US9118886B2 (en) Annotating general objects in video
US9047376B2 (en) Augmenting video with facial recognition
US11551424B2 (en) Interaction analysis systems and methods
US20160050465A1 (en) Dynamically targeted ad augmentation in video
CN102467661B (en) Multimedia device and method for controlling the same
CN108509893A (en) Video display methods of marking, storage medium and intelligent terminal based on micro- Expression Recognition
CN104969240B (en) Method and system for image procossing
US11100368B2 (en) Accelerated training of an image classifier
WO2022089170A1 (en) Caption area identification method and apparatus, and device and storage medium
JP7105309B2 (en) Video preprocessing method, device and computer program
CN113766296A (en) Live broadcast picture display method and device
CN111160134A (en) Human-subject video scene analysis method and device
CN105657514A (en) Method and apparatus for playing video key information on mobile device browser
WO2022116545A1 (en) Interaction method and apparatus based on multi-feature recognition, and computer device
WO2023056835A1 (en) Video cover generation method and apparatus, and electronic device and readable medium
JP2000105583A (en) Interactive display device
CN110418148B (en) Video generation method, video generation device and readable storage medium
US20170013309A1 (en) System and method for product placement
CN110636322B (en) Multimedia data processing method and device, intelligent terminal and storage medium
US11846783B2 (en) Information processing apparatus, information processing method, and program
CN111768729A (en) VR scene automatic explanation method, system and storage medium
CN110414471B (en) Video identification method and system based on double models
CN111818364A (en) Video fusion method, system, device and medium

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: 12891110

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: 12891110

Country of ref document: EP

Kind code of ref document: A1