WO2015014137A1 - 数据文件插入方法、装置和系统 - Google Patents

数据文件插入方法、装置和系统 Download PDF

Info

Publication number
WO2015014137A1
WO2015014137A1 PCT/CN2014/076107 CN2014076107W WO2015014137A1 WO 2015014137 A1 WO2015014137 A1 WO 2015014137A1 CN 2014076107 W CN2014076107 W CN 2014076107W WO 2015014137 A1 WO2015014137 A1 WO 2015014137A1
Authority
WO
WIPO (PCT)
Prior art keywords
data file
video
information
file
keyword
Prior art date
Application number
PCT/CN2014/076107
Other languages
English (en)
French (fr)
Inventor
李创奇
王川
吴智宁
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Publication of WO2015014137A1 publication Critical patent/WO2015014137A1/zh

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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Definitions

  • the present disclosure relates to the field of network technologies, and in particular, to a data file insertion method, apparatus, and system. Background technique
  • the most important revenue model for the Internet and mobile Internet is the advertising model. Because of this, there have been many forms of advertising, including banner ads, text link ads, email ads, sponsorships, ads combined with content, interstitial ads, rich media RichMedia, EDM (Email Direct Marketing, Electronics) Email marketing) Direct investment, targeted advertising.
  • the advertising scenes used by the industry include sponsorship, interstitial ads, and RichMedia ads. These ads are divided into pre-video playback and video playback. Before the video is played, first display the advertisement for a period of time, then play the video; or pause in the middle of the video playback, insert the advertisement, and then play the video.
  • a data file insertion method includes: a content server receiving a play request, where the play request carries a video sequence number ID;
  • the content server obtains keyword information corresponding to the video ID according to the video ID, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the content server sends a file information request to the data file server, where the file information request carries the keyword information, so that the data file server returns a data file corresponding to the keyword information according to the keyword information;
  • the method before the content server receives the play request, the method further includes:
  • the content server acquires timeline-based keyword information of at least one video, and establishes the at least one view The mapping relationship between the frequency video ID and the keyword information.
  • the method further includes:
  • the content server receives the file play information corresponding to the keyword information sent by the data file server, and sends the file play information corresponding to the keyword information to the terminal device.
  • the data file is a picture, a video file, an audio file, or a text file.
  • a data file insertion method comprising: a data file server receiving a file information request sent by a content server, the file information request carrying keyword information, the keyword The information includes a keyword and a time point at which the keyword appears;
  • the data file server determines, according to the keyword information, a data file corresponding to the keyword information, where the file information request is triggered by a play request carrying a video ID sent by the terminal device to the content server; the data file Sending, by the server, the data file corresponding to the keyword information to the content server, so that the content server sends the data file corresponding to the keyword information to the terminal device, and the terminal device according to the keyword information
  • the data file corresponding to the keyword information is inserted into the video corresponding to the video ID.
  • the method further includes:
  • the data file server determines file play information corresponding to the keyword information according to the keyword information, and sends the file play information corresponding to the keyword information to the content server.
  • the method before the data file server receives the file information request sent by the content server, the method further includes:
  • the data file server acquires at least one data file, and determines keywords and file play information of the data file;
  • the data file server establishes a mapping relationship between the at least one data file and a keyword of the at least one data file.
  • a data file insertion method includes: the terminal device sends a play request to a content server, where the play request carries a video ID, so that the data file server according to the video ID Corresponding keyword information, returning a data file corresponding to the keyword information, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the terminal device When the terminal device receives the keyword information and the data file, the data file corresponding to the keyword information is inserted into the video corresponding to the video ID according to the keyword information.
  • the method further includes: receiving file play information corresponding to the keyword information, where the file play information includes at least a play frequency and a play time interval;
  • the terminal device receives the keyword information and the data file, inserting the data file corresponding to the keyword information into the video corresponding to the video ID according to the keyword information includes:
  • the data file corresponding to the keyword information is inserted into the video according to the playing frequency and a keyword occurrence time point included in the keyword information, and the keyword occurrence time point is
  • the play time interval of the reference point includes:
  • the playing time interval in which the keyword occurrence time point is used as a reference point When the number of data files to be inserted corresponding to the same keyword occurrence time point is two or more, determining a sequence according to the priority attribute of the data file to be inserted, and inserting the data file to be inserted into the determined sequence In the video, the playing time interval in which the keyword occurrence time point is used as a reference point.
  • the method before the terminal device sends the play request to the content server, the method further includes: acquiring a play form of a different type of data file;
  • the terminal device when the terminal device receives the keyword information, the corresponding data file, and the file play information, insert the data file corresponding to the keyword information into the video ID according to the file play information.
  • the method further includes:
  • the data file inserted in the video is played in accordance with the play form of the data file.
  • playing the data file inserted in the video according to the playing form of the data file includes:
  • the data file is a picture, in the process of playing the video, the data file is played according to the first play form;
  • a data file insertion device configured to receive a play request, where the play request carries a video sequence number ID;
  • a keyword obtaining module configured to acquire keyword information corresponding to the video ID according to a video ID, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • a request sending module configured to send a file information request to the data file server, where the file information request carries the keyword information, so that the data file server returns a data file corresponding to the keyword information according to the keyword information ;
  • a data file receiving module configured to receive a data file corresponding to the keyword information sent by the data file server, and send the keyword information and the data file to the terminal device, so that the terminal device follows The keyword information inserts a data file corresponding to the keyword information into a video corresponding to the video ID.
  • the device further includes:
  • a mapping relationship establishing module configured to acquire timeline-based keyword information of the at least one video, and establish a mapping relationship between the video ID of the at least one video and the keyword information.
  • the device further includes:
  • the play information receiving module is configured to receive the file play information corresponding to the keyword information sent by the data file server, and send the file play information corresponding to the keyword information to the terminal device.
  • the data file is a picture, a video file, an audio file, or a text file.
  • a data file insertion apparatus comprising: an information request receiving module, configured to receive a file information request sent by a content server, where the file information request carries keyword information, The keyword information includes a keyword and a time point at which the keyword appears;
  • a file determining module configured to determine, according to the keyword information, a data file corresponding to the keyword information, where the file information request is triggered by a play request carrying a video ID sent by the terminal device to the content server;
  • a file sending module configured to send a data file corresponding to the keyword information to the content server, so that the content server sends a data file corresponding to the keyword information to a terminal device, where the terminal device follows the keyword Information, inserting a data file corresponding to the keyword information into a video corresponding to the video ID.
  • the device further includes:
  • the play information determining module is configured to determine, according to the keyword information, file play information corresponding to the keyword information, and send the file play information corresponding to the keyword information to the content server.
  • the device further includes:
  • a data file obtaining module configured to acquire at least one data file, and determine a keyword and a file playing information of the data file
  • a mapping relationship establishing module configured to establish a mapping relationship between the at least one data file and the key words of the at least one data file.
  • a data file insertion apparatus includes: a play request sending module, configured to send a play request to a content server, where the play request carries a video ID, so that the data file server Returning, according to the keyword information corresponding to the video ID, a data file corresponding to the keyword information, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • a data file insertion module configured to insert, when the terminal device receives the keyword information and the data file, a data file corresponding to the keyword information into a corresponding video ID according to the keyword information video.
  • the device further includes: a play information receiving module, configured to receive file play information corresponding to the keyword information, where the file play information includes at least a play frequency and a play time interval;
  • the data file insertion module includes:
  • a data file insertion unit configured to insert a data file corresponding to the keyword information into the video according to the playing frequency and a keyword occurrence time point included in the keyword information, to display a time point of the keyword In the playback time interval of the reference point.
  • the data file insertion unit is configured to determine a sequence according to a priority attribute of the data file to be inserted when two or more data files to be inserted corresponding to a time point of occurrence of the same keyword are determined, and The to-be-inserted data files are inserted into the video in a determined sequence of playback time intervals in which the keyword occurrence time point is used as a reference point.
  • the device further includes:
  • the device further includes:
  • a video playing module configured to play the data file inserted in the video according to the playing form of the data file when playing the video.
  • the video playing module includes:
  • a first playing unit configured to play the data file according to the first playing form during the playing of the video when the data file is a picture
  • the second playing unit is configured to: when the data file is a video file, play the data file according to the second playing form during the playing of the video;
  • the third playing unit is configured to: when the data file is an audio file, play the data file according to the third playing form during the playing of the video;
  • a data file insertion system comprising: a terminal device, a content server, and a data file server,
  • the terminal device is configured to send a play request to the content server, where the play request carries a video ID;
  • the content server is configured to receive a play request from the terminal device, and acquire the video according to the video ID.
  • the keyword information corresponding to the ID the file information request is sent to the data file server, where the file information request carries the keyword information, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the file server is configured to receive the file information request, and determine, according to the keyword information, a data file corresponding to the keyword information, and send the data file to the content server;
  • the content server is further configured to receive a data file corresponding to the keyword information, and send the keyword information and the data file to the terminal device;
  • the terminal device is further configured to receive the keyword information and the data file, and insert a video file corresponding to the video ID according to the keyword information.
  • the method, device and system provided by the embodiments of the present disclosure can insert a data file corresponding to the keyword into the video according to keywords in the video, thereby realizing automatic matching of the data file for the video, and the scalability is strong.
  • FIG. 1 is a flow chart of a data file insertion method according to an exemplary embodiment.
  • FIG. 2 is a flow chart of a data file insertion method according to an exemplary embodiment.
  • FIG. 3 is a flowchart of a data file insertion method according to an exemplary embodiment.
  • FIG. 4 is a flow chart of a data file insertion method according to an exemplary embodiment.
  • FIG. 5 is a schematic diagram showing the structure of a data file insertion apparatus according to an exemplary embodiment.
  • FIG. 6 is a schematic structural diagram of a data file insertion apparatus according to an exemplary embodiment.
  • FIG. 7 is a schematic structural diagram of a data file insertion apparatus according to an exemplary embodiment.
  • FIG. 8 is a schematic diagram showing the structure of a data file insertion system according to an exemplary embodiment.
  • FIG. 1 is a flowchart of a data file insertion method according to an embodiment of the present disclosure.
  • the execution host of the embodiment of the present invention is a content server. Referring to FIG. 1, the method includes:
  • the content server receives a play request, where the play request carries a video ID (Identity, serial number);
  • the content server obtains keyword information corresponding to the video ID according to the video ID, where the keyword information includes a keyword and a time point of occurrence of the keyword; 103: The content server sends a file information request to the data file server, where the file information request carries the keyword information, so that the data file server returns a data file corresponding to the keyword information according to the keyword information;
  • the content server receives the data file corresponding to the keyword information sent by the data file server, and sends the keyword information and the data file to the terminal device, so that the terminal device selects the key according to the keyword information.
  • the data file corresponding to the word information is inserted into the video corresponding to the video ID.
  • the method provided by the embodiment of the present disclosure obtains the keyword information corresponding to the video ID according to the video ID, and receives the data file corresponding to the keyword information sent by the data file server, so that the terminal device according to the keyword information, The data file corresponding to the keyword information is inserted into the video corresponding to the video ID.
  • the data file corresponding to the keyword can be inserted into the video according to the keyword in the video, and the data file is automatically matched for the video, and the scalability is strong.
  • the method before the content server receives the play request, the method further includes:
  • the content server acquires timeline-based keyword information of at least one video, and establishes a mapping relationship between the video ID of the at least one video and the keyword information.
  • the method further includes:
  • the content server receives the file play information corresponding to the keyword information sent by the data file server, and sends the file play information corresponding to the keyword information to the terminal device.
  • the data file is a picture, a video file, an audio file, or a text file.
  • FIG. 2 is a flowchart of a data file insertion method according to an embodiment of the present disclosure.
  • the execution host of the embodiment of the present invention is a data file server. Referring to FIG. 2, the method includes:
  • the data file server receives a file information request sent by the content server, where the file information request carries keyword information, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the data file server determines, according to the keyword information, a data file corresponding to the keyword information, where the file information request is triggered by a play request carrying a video ID sent by the terminal device to the content server;
  • the data file server sends the data file corresponding to the keyword information to the content server, so that the content server sends the data file corresponding to the keyword information to the terminal device, and the terminal device selects the keyword according to the keyword information.
  • the data file corresponding to the information is inserted into the video corresponding to the video ID.
  • the method by receiving a file information request sent by the content server, determining a data file corresponding to the keyword information according to the keyword information, and transmitting the data file corresponding to the keyword information to the content server, so that the method
  • the terminal device inserts the data file corresponding to the keyword information into the video corresponding to the video ID according to the keyword information.
  • the data file corresponding to the keyword can be inserted into the video according to the keyword in the video, and the data file is automatically matched for the video, and the scalability is strong.
  • the method further includes:
  • the data file server determines the file play information corresponding to the keyword information according to the keyword information, and sends the file play information corresponding to the keyword information to the content server.
  • the method before the data file server receives the file information request sent by the content server, the method further includes:
  • the data file server acquires at least one data file, and determines a keyword and file play information of the data file; the data file server establishes a mapping relationship between the at least one data file and a keyword of the at least one data file.
  • FIG. 3 is a flowchart of a data file insertion method according to an embodiment of the present disclosure.
  • the execution host of the embodiment of the present invention is a terminal device. Referring to FIG. 3, the method includes:
  • the terminal device sends a play request to the content server, where the play request carries a video ID, so that the data file server returns a data file corresponding to the keyword information according to the keyword information corresponding to the video ID, where the keyword information includes keywords and The keyword appears at a point in time;
  • the method provided by the embodiment of the present disclosure by sending a play request to the content server, and receiving the keyword information and the data file, inserting the data file corresponding to the keyword information into the video ID according to the keyword information. video.
  • the data file corresponding to the keyword can be inserted into the video according to the keyword in the video, and the data file is automatically matched for the video, and the scalability is strong.
  • the method further includes: receiving file play information corresponding to the keyword information, where the file play information includes at least a play frequency and a play time interval;
  • inserting the data file corresponding to the keyword information into the video corresponding to the video ID according to the keyword information includes:
  • the data file corresponding to the keyword information is inserted into the video in the playback time interval in which the keyword occurrence time point is used as a reference point.
  • the data file corresponding to the keyword information is inserted into the video, and the playing time of the keyword occurrence time point is used as a reference point.
  • the interval includes:
  • the priority order is determined according to the priority attribute of the data file to be inserted, and the data file to be inserted is inserted into the video according to the determined sequence.
  • the play time interval in which the keyword occurrence time point is used as a reference point In the play time interval in which the keyword occurrence time point is used as a reference point.
  • the method before the terminal device sends the play request to the content server, the method further includes: acquiring a play form of a different type of data file;
  • the terminal device when the terminal device receives the keyword information, the corresponding data file, and the file play information, inserting the data file corresponding to the keyword information into the video corresponding to the video ID according to the file play information, the method also includes:
  • the data file inserted in the video is played in accordance with the play form of the data file.
  • playing the data file inserted in the video according to the playing form of the data file includes:
  • the data file is a picture
  • the data file is played according to the first play form
  • the data file is an audio file
  • the data file is played in a third play form
  • the data file is a text file
  • the data file is played in the fourth play mode during the playing of the video.
  • FIG. 4 is a flowchart of a data file insertion method according to an embodiment of the present disclosure.
  • the interactive host of the embodiment of the present invention is a terminal device, a content server, and a data file server. Referring to FIG. 4, the method includes:
  • the terminal device sends a play request to the content server, where the play request carries a video ID.
  • each video has a corresponding video ID
  • the play request may be triggered by the terminal device to play the video corresponding to the video ID, or may be triggered by the terminal device to download the video.
  • the embodiment of the present disclosure does not limit this.
  • the method further includes: the terminal device acquiring a play form of a different type of data file.
  • the play form refers to a form of presentation of the data file when the video is played on the terminal device.
  • the embodiment of the present disclosure is applied to a scenario in which a data file is inserted into a video, and the terminal device acquires a play form of a data file of a different type in advance, so as to insert the data file into the video according to the pre-acquired play form, the video, and the inserted The data file is played.
  • the data file can be a picture, a video file, an audio file or a text file, and the playback form is different for different types of data files.
  • the corresponding play form is the first play form;
  • the corresponding play form is the second play form; or, for the data file of the type of the audio file, the corresponding play form is the third play form; Or, for a data file of type text file, the corresponding play form is the fourth play form.
  • Table 1 shows the playing forms of different types of data files provided by the embodiments of the present disclosure. When playing a video, you can display the data file according to the playback form in Table 1.
  • the data file type is not limited to the above four types, and the first play form, the second play form, the third play form, and the fourth play form are not limited to the form shown in Table 1.
  • the data file type can be divided by the technician at the time of development, and the play form can be set by the technician at the time of development, and is changed by the user during use, and the embodiment of the present disclosure does not limit this. .
  • the terminal device may be a mobile terminal, a television terminal, an internet terminal or a PC (Personal
  • the play request may also carry information such as the address information of the terminal device and the type of the terminal, which is not limited by the embodiment of the disclosure.
  • the content server When the content server receives the play request, acquiring, according to the video ID, keyword information corresponding to the video ID, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the content server is configured to store keyword information of at least one video, a mapping relationship between a video ID of the at least one video and the keyword information.
  • the content server obtains a video
  • the timeline-based keyword information of the video is obtained, and a mapping relationship between the video ID of the video and the keyword information is established.
  • the keyword information includes at least one keyword appearing in the video and an occurrence time point of the at least one keyword.
  • the timeline-based keyword information of the video is obtained, and the mapping relationship between the video ID of the video and the keyword information is established, including: acquiring keywords that appear in each frame of the video, and keywords that appear in each frame. And the occurrence time point of the keyword appearing in each frame is determined as the keyword information, and the mapping relationship between the video ID of the video and each keyword information of the video is established.
  • one time point can correspond to one or more keywords, and one keyword can also correspond to one or more occurrence time points.
  • Table 2 is a mapping table between video ID and keyword information provided by an embodiment of the present disclosure. In video 1, two keywords appear at time points 5s and 130s, and the keyword "Ili" appears twice, with time points of 35s and 130s respectively.
  • the method before the step 402, the method further includes: acquiring timeline-based keyword information of at least one video; establishing a video ID of the at least one video and the key The mapping relationship of word information.
  • the step 402 includes: the content server traversing the mapping relationship between the video ID and the keyword information, and acquiring keyword information corresponding to the video ID according to the video ID.
  • the content server sends a file information request to the data file server, where the file information request carries the keyword information;
  • one or more data files may be corresponding.
  • the file information request is sent to the data file server, where the file information request carries the keyword information, and is used to request the data file server to obtain the corresponding keyword information.
  • Data file is sent to the data file server, where the file information request carries the keyword information, and is used to request the data file server to obtain the corresponding keyword information.
  • the data file server When the data file server receives the file information request, determining, according to the keyword information, a data file and file play information corresponding to the keyword information, where the file play information includes at least a play frequency and a play time interval;
  • the data file server is for storing data files.
  • the data file server obtains a data file, determining a keyword corresponding to the data file and file playing information of the data file, the file playing information includes at least a playing frequency and a playing time interval, and establishing the keyword and the data
  • the mapping relationship between the file and the playback information of the file Similar to the video, the data file also has a corresponding file ID. Therefore, when a mapping relationship is established, a mapping relationship between the keyword, the file ID, and the file playback information can be established.
  • the file play information is used to determine a play frequency and a play time interval of the data file when the terminal device plays the video corresponding to the video ID, and the play frequency determines the play count of the data file in the video,
  • the playing time interval determines the time range in which the data file is inserted into the video, and when the video is played, the data file can be played at any time period within the playing time interval.
  • the playing time interval may be represented by any time period in the video, and may also be represented by a time interval of a keyword occurrence time point, which is not limited by the embodiment of the present disclosure.
  • the keyword corresponding to the data file a is “beverage”, and the playing time interval of the data file a may be “2s-80s”, indicating that the data file a can be at any time point within the time interval of 2s-80s of the video. Insertion; the playback time interval of the data file a can also be "-5S-+10S”, indicating that the data file a can be in the time interval from the first 5s to the last 10s of the time point of the keyword "beverage" in the video. Insert at a point in time. It should be noted that the data file may be a data file generated by a third party.
  • the file play information may be set by a third party and configured on the data file server, which is not limited by the embodiment of the disclosure.
  • the file playback information of the data file may be set by default.
  • the default is that the data file has a playback frequency of 1 time, and the playback time interval is the entire time of the video.
  • Table 3 is a mapping relationship between keywords, file IDs, and file play information provided by an embodiment of the present disclosure.
  • the method further includes: the data file server acquiring at least one data file, determining a keyword and file play information of the data file; establishing a mapping of the at least one data file and the keyword relationship.
  • the step 404 includes: the data file server traversing the mapping relationship between the at least one data file and the keyword, and acquiring, according to the keyword information, the data file corresponding to the keyword in the keyword information and the file of the data file Play the information.
  • the data file server sends the data file and the file play information corresponding to the keyword information to the content server.
  • the terminal device When the terminal device receives the keyword information and the data file and the file playing information, according to the playing frequency and the keyword occurrence time point included in the keyword information, the data file corresponding to the keyword information Inserted into the video in the playback time interval in which the keyword occurrence time point is used as a reference point.
  • the inserting the data file into the video may be performed by inserting the data file into the code of the video, or binding the data file and the video according to the determined insertion time, so that the data file and the video are bound according to the determined insertion time.
  • the data file is inserted into the middle of the video for playback according to the playback form of the data file.
  • the video file is inserted into the video to play, and the video is played after the data file is played.
  • the embodiment of the disclosure does not limit this.
  • a specific insertion of the data file into the video is determined according to a keyword occurrence time point included in the keyword information and file play information of the data file. Time point.
  • the data file is inserted.
  • the insertion time point in the video is determined as the time point of occurrence of the keyword corresponding to the data file.
  • the data file is inserted at the time point when the keyword appears, so that the user can associate the content in the video with the data file to enhance the consistency of the video.
  • the keywords appearing in video 1 include “Coca-Cola”, “Benz”, “Ili” and “Lenovo”, in which "Coca-Cola” and “Benz” are stored in the data file server.
  • the data file corresponding to "Lenovo” can determine the insertion time point of the data file according to the playing frequency and the playing time interval corresponding to the keywords "Coca-Cola”, “Benz” and "Lenovo".
  • file 1 corresponding to "Coca-Cola” in 5s the playback frequency of file 1 is 2 times, and the playback time interval is 5s-50s, then the file 1 can be inserted at 50s for the second time; Insert the file 2 corresponding to "Lenovo" at 130s, the playback frequency of file 2 is 2 times, and the playback time interval is the full time of the video, then the file 2 can be inserted at 135s for the second time; the appearance time of the keyword "Benz" For 5s, the corresponding playback frequency is 1 time, and the playback time interval is 120s-300s, then file 3 can be inserted at 120s.
  • any time point in the play time interval is selected, and the data file is inserted.
  • the same keyword may correspond to more than two data files, and when the video is played, only one can be inserted at the same time point. data files.
  • the data file to be inserted at the time point can be determined according to the priority of the data file stored in the data file server.
  • the priority of the data file may be determined by the importance of the at least one data file, or may be determined by a third party to which the at least one data file belongs, which is not limited by the embodiment of the disclosure.
  • the step 407 includes: when determining that the data file to be inserted corresponding to the same time point is two or more, determining the sequence of the two or more data files to be inserted according to the priority attribute of the data file to be inserted, The two or more data files to be inserted are inserted into the playback time interval in the video in the determined order with the time point as a reference point; further, in one embodiment, when the same keyword appears, the corresponding time point to be inserted.
  • the sequence is determined according to the priority attribute of the data file to be inserted, and the data file to be inserted is inserted into the video according to the determined sequence, and the playing time is taken as the reference point. In the interval.
  • the priority of the data file may be stored in the data file server, and the insertion time points of the two or more data files to be inserted may be determined by the data file server.
  • the data file server determines, according to the priority of the data file, the playing frequency, the playing time interval, and the time point of occurrence of the keyword, the insertion time point of the at least one data file corresponding to the keyword information, and sends the time point to the content server. And causing the content server to send the insertion time point of the at least one data file to the terminal device, and the terminal device inserts the at least one data file into the video according to the insertion time point of the at least one data file.
  • the insertion time points of the two or more data files to be inserted may be determined by the terminal device.
  • the priority of the data file is stored in the data file server, and when the data file server sends the data file to the content server, the priority of the data file is sent to the content server, so that the content server
  • the keyword information, the at least one data file corresponding to the keyword information, the The file playback information and the priority of the at least one data file are sent to the terminal device, and the terminal device selects a time point according to the priority, the playing frequency, the playing time interval, and the keyword included in the keyword information according to the at least one data file. Determining an insertion time point of the at least one data file, inserting the at least one data file into the video according to the determined insertion time point.
  • the keywords that appear in 130s in video 1 are "Lenovo” and "Ili", assuming that the playback time intervals corresponding to "Lenovo” and “Erie” stored in the data file server are keyword occurrence times. Point, but only one data file can be inserted at 130s in video 1. At this time, the data file server can determine "Lenovo” and “Ili” according to the priority of the data files corresponding to "Lenovo” and “Erie”. The sequence of the corresponding data files is sent to the content server together, so that the terminal device finally inserts the data files corresponding to "Lenovo” and "Ili” at 130s according to the sequence.
  • the data file server may also send the priority of the data file to the content server, and the content server sends the priority of the data file to the terminal device, and the terminal device according to the data corresponding to "Lenovo” and "Erie”
  • the priority of the file, the order of the data files corresponding to "Lenovo” and “Erie” is determined, and the data files corresponding to "Lenovo” and “Erie” are inserted at 130s according to the order.
  • the method further includes: when playing the video, playing the data file inserted in the video according to the playing form of the data file.
  • the data file is a picture
  • the data file is played according to the first play form
  • the data file is an audio file
  • the data file is played in a third play form
  • the data file is a text file
  • the data file is played in the fourth play mode during the playing of the video.
  • the data file may be an advertisement
  • the advertisement type may be an image advertisement, a video advertisement, an audio advertisement, or a text advertisement.
  • the advertisement corresponding to the keyword is automatically inserted, which enhances the consistency of the video content and is easy to expand.
  • FIG. 5 is a schematic structural diagram of a data file insertion apparatus according to an embodiment of the present disclosure. Referring to FIG. 5, the apparatus includes:
  • the play request receiving module 501 is configured to receive a play request, where the play request carries a video serial number ID;
  • the keyword obtaining module 502 is configured to obtain, according to the video ID, keyword information corresponding to the video ID, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the request sending module 503 is configured to send a file information request to the data file server, where the file information request carries the keyword information, so that the data file server returns the data file corresponding to the keyword information according to the keyword information;
  • the data file receiving module 504 is configured to receive the data file corresponding to the keyword information sent by the data file server, and send the keyword information and the data file to the terminal device, so that the terminal device follows the keyword information.
  • the data file corresponding to the keyword information is inserted into the video corresponding to the video ID.
  • the apparatus further comprises:
  • the mapping relationship establishing module is configured to acquire timeline-based keyword information of the at least one video, and establish a mapping relationship between the video ID of the at least one video and the keyword information.
  • the apparatus further comprises:
  • the play information receiving module is configured to receive the file play information corresponding to the keyword information sent by the data file server, and send the file play information corresponding to the keyword information to the terminal device.
  • the data file is a picture, a video file, an audio file, or a text file.
  • FIG. 6 is a schematic structural diagram of a data file insertion apparatus according to an embodiment of the present disclosure. Referring to FIG. 6, the apparatus includes:
  • the information request receiving module 601 is configured to receive a file information request sent by the content server, where the file information request carries keyword information, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • a file determining module 602 configured to determine, according to the keyword information, a data file corresponding to the keyword information, where the file information request is triggered by a play request carrying a video ID sent by the terminal device to the content server;
  • the file sending module 603 is configured to send the data file corresponding to the keyword information to the content server, so that the content server sends the data file corresponding to the keyword information to the terminal device, and the terminal device selects the key according to the keyword information.
  • the data file corresponding to the word information is inserted into the video corresponding to the video ID.
  • the apparatus further comprises:
  • the play information determining module is configured to determine file play information corresponding to the keyword information according to the keyword information, and send the file play information corresponding to the keyword information to the content server.
  • the apparatus further comprises:
  • a data file obtaining module configured to acquire at least one data file, and determine keywords and file playing information of the data file
  • FIG. 7 is a schematic structural diagram of a data file insertion apparatus according to an embodiment of the present disclosure. Referring to FIG. 7, the apparatus includes:
  • a play request sending module 701 configured to send a play request to the content server, where the play request carries a video ID, And causing the data file server to return a data file corresponding to the keyword information according to the keyword information corresponding to the video ID, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the data file insertion module 702 is configured to insert, when the terminal device receives the keyword information and the data file, the data file corresponding to the keyword information into the video corresponding to the video ID according to the keyword information.
  • the apparatus further comprises:
  • a play information receiving module configured to receive file play information corresponding to the keyword information, where the file play information includes at least a play frequency and a play time interval;
  • the data file insertion module 702 includes:
  • a data file insertion unit configured to insert a data file corresponding to the keyword information into the video according to the playing frequency and a keyword occurrence time point of the keyword information, and play the reference point as a reference point In the time interval.
  • the data file insertion unit is configured to determine a sequence according to a priority attribute of the data file to be inserted when the data file to be inserted corresponding to the same keyword occurrence time point is two or more, and the The inserted data file is inserted into the play time interval in the video in the determined order with the time point of occurrence of the keyword as a reference point.
  • the apparatus further comprises:
  • the device further includes:
  • the video playing module is configured to play the data file inserted in the video according to the playing form of the data file when the video is played.
  • the video playing module includes:
  • a first playing unit configured to play the data file according to the first playing form during the playing of the video when the data file is a picture
  • the second playing unit is configured to: when the data file is a video file, play the video file according to the second playing form during the playing of the video file;
  • the third playing unit is configured to: when the data file is an audio file, play the video file according to the third playing form during the playing of the video file;
  • the fourth playing unit is configured to: when the data file is a text file, play the data file in a fourth playing form during the playing of the video file.
  • the device is only illustrated by the division of the foregoing functional modules. In actual applications, the functions may be allocated by different functional modules according to requirements. Upon completion, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above.
  • the device for inserting the data file provided by the foregoing embodiment is the same as the method for inserting the data file. For the specific implementation process, refer to the method embodiment, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a data file insertion system according to an embodiment of the present disclosure. Referring to FIG. 8, the system includes: a terminal device, a content server, and a data file server.
  • the terminal device is configured to send a play request to the content server, where the play request carries a video ID;
  • the content server is configured to receive a play request from the terminal device, and acquire the video according to the video ID.
  • the keyword information corresponding to the ID the file information request is sent to the data file server, where the file information request carries the keyword information, where the keyword information includes a keyword and a time point of occurrence of the keyword;
  • the file server is configured to receive the file information request, and determine, according to the keyword information, a data file corresponding to the keyword information, and send the data file to the content server;
  • the content server is further configured to receive a data file corresponding to the keyword information, and send the keyword information and the data file to the terminal device;
  • the terminal device is further configured to receive the keyword information and the data file, and insert a data file corresponding to the keyword information into a video corresponding to the video ID according to the keyword information.
  • the terminal device is configured to execute the data file insertion method shown in FIG. 3, where the content server is configured to execute the data file insertion method shown in FIG. 1, where the data file server is configured to execute the data shown in FIG. File insertion method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请公开了一种数据文件插入方法、装置和系统,属于网络技术领域。所述方法包括:内容服务器接收播放请求;根据视频ID,获取所述视频ID对应的关键词信息;向数据文件服务器发送文件信息请求;接收所述数据文件服务器发送的所述关键词信息对应的数据文件,并将所述关键词信息以及所述数据文件发送给终端设备,使得所述终端设备按照所述关键词信息,将所述关键词信息对应的数据文件插入所述视频ID对应的视频。本申请能够根据视频中的关键词,将该关键词对应的数据文件插入到该视频中,实现了为该视频自动地匹配数据文件,扩展性强。

Description

数据文件插入方法、 装置和系统 本申请基于申请号为 201310329840.8、 申请日为 2013/7/31的中国专利申请提出, 并 要求该中国专利申请的优先权, 该中国专利申请的全部内容在此引入本申请作为参考。 技术领域
本公开涉及网络技术领域, 特别涉及一种数据文件插入方法、 装置和系统。 背景技术
互联网和移动互联网最重要的营收模式就是广告模式。也因于此, 出现了诸多广告的 展现形式, 有网幅广告、 文本链接广告、 电子邮件广告、 赞助、 与内容相结合的广告、 插 播式广告、 富媒体 RichMedia、 EDM (Email Direct Marketing, 电子邮件营销) 直投、 定 向广告。
互联网使用场景的不同, 会选择适合的广告展现形式。 在多媒体领域, 业界使用的广 告场景有赞助、 插播式广告、 RichMedia广告等。 这些广告分为视频播放前和视频播放中 进行播放。 在视频播放前, 先展现一段时间的广告, 然后再播放视频; 或者在视频播放中 段暂停, 插播广告, 然后再进行视频播放。
然而, 上述广告方式均会对视频播放的连续性造成影响, 因此, 为了保证视频的连续 播放, 急需一种新的广告模式以实现广告投放。 发明内容
为了解决现有技术的问题,本公开实施例提供了一种数据文件插入方法、装置和系统。 所述技术方案如下:
根据本公开实施例的第一方面, 提供了一种数据文件插入方法, 所述方法包括: 内容服务器接收播放请求, 所述播放请求携带视频序列号 ID;
所述内容服务器根据视频 ID, 获取所述视频 ID对应的关键词信息, 所述关键词信息 包括关键词与所述关键词出现时间点;
所述内容服务器向数据文件服务器发送文件信息请求,所述文件信息请求携带所述关 键词信息, 使得所述数据文件服务器根据所述关键词信息, 返回所述关键词信息对应的数 据文件;
所述内容服务器接收所述数据文件服务器发送的所述关键词信息对应的数据文件,并 将所述关键词信息以及所述数据文件发送给所述终端设备,使得所述终端设备按照所述关 键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
在一个实施例中, 内容服务器接收播放请求之前, 所述方法还包括:
所述内容服务器获取至少一个视频的基于时间线的关键词信息,建立所述至少一个视 频的视频 ID与所述关键词信息的映射关系。
在一个实施例中, 所述内容服务器向数据文件服务器发送文件信息请求之后, 所述方 法还包括:
所述内容服务器接收所述数据文件服务器发送的所述关键词信息对应的文件播放信 息, 并将所述关键词信息对应的文件播放信息发送给所述终端设备。
在一个实施例中, 所述数据文件为图片、 视频文件、 音频文件或文本文件。 根据本公开实施例的第二方面, 提供了一种数据文件插入方法, 所述方法包括: 数据文件服务器接收内容服务器发送的文件信息请求,所述文件信息请求携带关键词 信息, 所述关键词信息包括关键词与所述关键词出现时间点;
所述数据文件服务器根据所述关键词信息, 确定所述关键词信息对应的数据文件, 所 述文件信息请求由终端设备向所述内容服务器发送的携带视频 ID的播放请求触发; 所述数据文件服务器向所述内容服务器发送所述关键词信息对应的数据文件,使得所 述内容服务器向终端设备发送所述关键词信息对应的数据文件,所述终端设备按照所述关 键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
在一个实施例中, 数据文件服务器接收内容服务器发送的文件信息请求之后, 所述方 法还包括:
所述数据文件服务器根据所述关键词信息, 确定所述关键词信息对应的文件播放信 息, 并将所述关键词信息对应的文件播放信息发送给所述内容服务器。
在一个实施例中, 数据文件服务器接收内容服务器发送的文件信息请求之前, 所述方 法还包括:
所述数据文件服务器获取至少一个数据文件,确定所述数据文件的关键词和文件播放 信息;
所述数据文件服务器建立所述至少一个数据文件和所述至少一个数据文件的关键词 的映射关系。 根据本公开实施例的第三方面, 提供了一种数据文件插入方法, 所述方法包括: 终端设备向内容服务器发送播放请求, 所述播放请求携带视频 ID, 使得数据文件服 务器根据所述视频 ID对应的关键词信息, 返回所述关键词信息对应的数据文件, 所述关 键词信息包括关键词与所述关键词出现时间点;
当所述终端设备接收到所述关键词信息和所述数据文件时, 按照所述关键词信息, 将 所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
在一个实施例中, 终端设备向内容服务器发送播放请求之后, 所述方法还包括: 接收所述关键词信息对应的文件播放信息,所述文件播放信息至少包括播放频率和播 放时间区间; 当所述终端设备接收到所述关键词信息和所述数据文件时, 按照所述关键词信息, 将 所述关键词信息对应的数据文件插入所述视频 ID对应的视频包括:
按照所述播放频率以及所述关键词信息所包括的关键词出现时间点,将所述关键词信 息对应的数据文件插入所述视频中以所述关键词出现时间点为基准点的播放时间区间中。
在一个实施例中, 按照所述播放频率以及所述关键词信息所包括的关键词出现时间 点,将所述关键词信息对应的数据文件插入所述视频中以所述关键词出现时间点为基准点 的播放时间区间中包括:
当同一个关键词出现时间点对应的待插入数据文件为两个以上时,根据所述待插入数 据文件的优先级属性确定先后顺序,将所述待插入数据文件按照确定的先后顺序插入所述 视频中以所述关键词出现时间点为基准点的播放时间区间中。
在一个实施例中, 终端设备向内容服务器发送播放请求之前, 所述方法还包括: 获取不同类型的数据文件的播放形式;
相应地, 当所述终端设备接收到所述关键词信息、 对应的数据文件和所述文件播放信 息时, 按照所述文件播放信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应 的视频之后, 所述方法还包括:
在播放所述视频时, 将所述视频中插入的数据文件按照所述数据文件的播放形式播 放。
在一个实施例中, 在播放所述视频时, 将所述视频中插入的数据文件按照所述数据文 件的播放形式播放包括:
当所述数据文件为图片时, 在播放所述视频的过程中, 将所述数据文件按照第一播放 形式播放;
或, 当所述数据文件为视频文件时, 在播放所述视频的过程中, 将所述数据文件按照 第二播放形式播放;
或, 当所述数据文件为音频文件时, 在播放所述视频的过程中, 将所述数据文件按照 第三播放形式播放;
或, 当所述数据文件为文本文件时, 在播放所述视频的过程中, 将所述数据文件按照 第四播放形式播放。 根据本公开实施例的第四方面, 提供了一种数据文件插入装置, 所述装置包括: 播放请求接收模块, 用于接收播放请求, 所述播放请求携带视频序列号 ID;
关键词获取模块, 用于根据视频 ID, 获取所述视频 ID对应的关键词信息, 所述关键 词信息包括关键词与所述关键词出现时间点;
请求发送模块, 用于向数据文件服务器发送文件信息请求, 所述文件信息请求携带所 述关键词信息, 使得所述数据文件服务器根据所述关键词信息, 返回所述关键词信息对应 的数据文件; 数据文件接收模块,用于接收所述数据文件服务器发送的所述关键词信息对应的数据 文件, 并将所述关键词信息以及所述数据文件发送给所述终端设备, 使得所述终端设备按 照所述关键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
在一个实施例中, 所述装置还包括:
映射关系建立模块, 用于获取至少一个视频的基于时间线的关键词信息, 建立所述至 少一个视频的视频 ID与所述关键词信息的映射关系。
在一个实施例中, 所述装置还包括:
播放信息接收模块,用于接收所述数据文件服务器发送的所述关键词信息对应的文件 播放信息, 并将所述关键词信息对应的文件播放信息发送给所述终端设备。
在一个实施例中, 所述数据文件为图片、 视频文件、 音频文件或文本文件。 根据本公开实施例的第五方面, 提供了一种数据文件插入装置, 所述装置包括: 信息请求接收模块, 用于接收内容服务器发送的文件信息请求, 所述文件信息请求携 带关键词信息, 所述关键词信息包括关键词与所述关键词出现时间点;
文件确定模块, 用于根据所述关键词信息, 确定所述关键词信息对应的数据文件, 所 述文件信息请求由终端设备向所述内容服务器发送的携带视频 ID的播放请求触发;
文件发送模块, 用于向所述内容服务器发送所述关键词信息对应的数据文件, 使得所 述内容服务器向终端设备发送所述关键词信息对应的数据文件,所述终端设备按照所述关 键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
在一个实施例中, 所述装置还包括:
播放信息确定模块, 用于根据所述关键词信息, 确定所述关键词信息对应的文件播放 信息, 并将所述关键词信息对应的文件播放信息发送给所述内容服务器。
在一个实施例中, 所述装置还包括:
数据文件获取模块, 用于获取至少一个数据文件, 确定所述数据文件的关键词和文件 播放信息;
映射关系建立模块,用于建立所述至少一个数据文件和所述至少一个数据文件的关键 词的映射关系。 根据本公开实施例的第六方面, 提供了一种数据文件插入装置, 所述装置包括: 播放请求发送模块, 用于向内容服务器发送播放请求, 所述播放请求携带视频 ID, 使得数据文件服务器根据所述视频 ID对应的关键词信息, 返回所述关键词信息对应的数 据文件, 所述关键词信息包括关键词与所述关键词出现时间点;
数据文件插入模块, 用于当所述终端设备接收到所述关键词信息和所述数据文件时, 按照所述关键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
在一个实施例中, 所述装置还包括: 播放信息接收模块, 用于接收所述关键词信息对应的文件播放信息, 所述文件播放信 息至少包括播放频率和播放时间区间;
相应地, 所述数据文件插入模块包括:
数据文件插入单元,用于按照所述播放频率以及所述关键词信息所包括的关键词出现 时间点,将所述关键词信息对应的数据文件插入所述视频中以所述关键词出现时间点为基 准点的播放时间区间中。
在一个实施例中,所述数据文件插入单元用于当同一个关键词出现时间点对应的待插 入数据文件为两个以上时, 根据所述待插入数据文件的优先级属性确定先后顺序, 将所述 待插入数据文件按照确定的先后顺序插入所述视频中以所述关键词出现时间点为基准点 的播放时间区间中。
在一个实施例中, 所述装置还包括:
获取不同类型的数据文件的播放形式;
相应地, 所述装置还包括:
视频播放模块, 用于在播放所述视频时, 将所述视频中插入的数据文件按照所述数据 文件的播放形式播放。
在一个实施例中, 所述视频播放模块包括:
第一播放单元, 用于当所述数据文件为图片时, 在播放所述视频的过程中, 将所述数 据文件按照第一播放形式播放;
或, 第二播放单元, 用于当所述数据文件为视频文件时, 在播放所述视频的过程中, 将所述数据文件按照第二播放形式播放;
或, 第三播放单元, 用于当所述数据文件为音频文件时, 在播放所述视频的过程中, 将所述数据文件按照第三播放形式播放;
或, 第四播放单元, 用于当所述数据文件为文本文件时, 在播放所述视频的过程中, 将所述数据文件按照第四播放形式播放。 根据本公开实施例的第七方面, 提供了一种数据文件插入系统, 所述系统包括: 终端 设备、 内容服务器和数据文件服务器,
所述终端设备用于向所述内容服务器发送播放请求, 所述播放请求携带视频 ID; 所述内容服务器用于接收来自所述终端设备的播放请求, 并根据所述视频 ID, 获取 所述视频 ID对应的关键词信息, 向所述数据文件服务器发送文件信息请求, 所述文件信 息请求携带所述关键词信息, 所述关键词信息包括关键词与所述关键词出现时间点; 所述数据文件服务器用于接收所述文件信息请求, 并根据所述关键词信息, 确定所述 关键词信息对应的数据文件, 发送给所述内容服务器;
相应地, 所述内容服务器还用于接收所述关键词信息对应的数据文件, 并将所述关键 词信息和所述数据文件发送给所述终端设备; 所述终端设备还用于接收所述关键词信息和所述数据文件, 并按照所述关键词信息 得所述关键词信息对应的数据文件插入所述视频 ID对应的视频。 本公开实施例提供的技术方案带来的有益效果是:
本公开实施例提供的方法、 装置和系统, 能够根据视频中的关键词, 将该关键词对应 的数据文件插入到该视频中, 实现了为该视频自动地匹配数据文件, 扩展性强。
应当理解的是, 以上的一般描述和后文的细节描述仅是示例性和解释性的, 并不能限 制本发明。 附图说明
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的 附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本公开的一些实施例, 对于本 领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的 附图。
此处的附图被并入说明书中并构成本说明书的一部分, 示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。
图 1是根据- -示例性实施例示出的 种数据文件插入方法的流程图
图 2是根据- -示例性实施例示出的 种数据文件插入方法的流程图
图 3是根据- -示例性实施例示出的 种数据文件插入方法的流程图
图 4是根据- -示例性实施例示出的 种数据文件插入方法的流程图
图 5是根据- -示例性实施例示出的 种数据文件插入装置结构示意图
图 6是根据- -示例性实施例示出的 种数据文件插入装置结构示意图
图 7是根据- -示例性实施例示出的 种数据文件插入装置结构示意图
图 8是根据- -示例性实施例示出的 种数据文件插入系统结构示意图 具体实施方式
下面将结合本公开实施例中的附图, 对本公开实施例中的技术方案进行清楚、 完整地 描述, 显然, 所描述的实施例是本公开一部分实施例, 而不是全部的实施例。 基于本公开 中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施 例, 都属于本公开保护的范围。
图 1是本公开实施例提供的一种数据文件插入方法的流程图。该发明实施例的执行主 体为内容服务器, 参见图 1, 所述方法包括:
101: 内容服务器接收播放请求, 该播放请求携带视频 ID (Identity, 序列号) ;
102: 该内容服务器根据视频 ID, 获取该视频 ID对应的关键词信息, 该关键词信息 包括关键词与该关键词出现时间点; 103: 该内容服务器向数据文件服务器发送文件信息请求, 该文件信息请求携带该关 键词信息,使得该数据文件服务器根据该关键词信息,返回该关键词信息对应的数据文件;
104: 该内容服务器接收该数据文件服务器发送的该关键词信息对应的数据文件, 并 将该关键词信息以及该数据文件发送给该终端设备, 使得该终端设备按照该关键词信息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频。
本公开实施例提供的方法, 通过根据视频 ID, 获取该视频 ID对应的关键词信息, 并 接收该数据文件服务器发送的该关键词信息对应的数据文件,使得该终端设备根据该关键 词信息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频。 采用本公开的技术 方案, 能够根据视频中的关键词, 将该关键词对应的数据文件插入到该视频中, 实现了为 该视频自动地匹配数据文件, 扩展性强。
在一个实施例中, 内容服务器接收播放请求之前, 该方法还包括:
该内容服务器获取至少一个视频的基于时间线的关键词信息,建立该至少一个视频的 视频 ID与该关键词信息的映射关系。
在一个实施例中, 该内容服务器向数据文件服务器发送文件信息请求之后, 该方法还 包括:
该内容服务器接收该数据文件服务器发送的该关键词信息对应的文件播放信息,并将 该关键词信息对应的文件播放信息发送给该终端设备。
在一个实施例中, 该数据文件为图片、 视频文件、 音频文件或文本文件。
上述所有可选技术方案, 可以采用任意结合形成本公开的可选实施例, 在此不再一一 赘述。 图 2是本公开实施例提供的一种数据文件插入方法的流程图。该发明实施例的执行主 体为数据文件服务器, 参见图 2, 所述方法包括:
201: 数据文件服务器接收内容服务器发送的文件信息请求, 该文件信息请求携带关 键词信息, 该关键词信息包括关键词与该关键词出现时间点;
202: 该数据文件服务器根据该关键词信息, 确定该关键词信息对应的数据文件, 该 文件信息请求由终端设备向该内容服务器发送的携带视频 ID的播放请求触发;
203: 该数据文件服务器向该内容服务器发送该关键词信息对应的数据文件, 使得该 内容服务器向终端设备发送该关键词信息对应的数据文件, 该终端设备按照该关键词信 息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频。
本公开实施例提供的方法, 通过接收内容服务器发送的文件信息请求, 根据该关键词 信息, 确定该关键词信息对应的数据文件, 向该内容服务器发送该关键词信息对应的数据 文件,使得该终端设备按照该关键词信息,将该关键词信息对应的数据文件插入该视频 ID 对应的视频。 采用本公开的技术方案, 能够根据视频中的关键词, 将该关键词对应的数据 文件插入到该视频中, 实现了为该视频自动地匹配数据文件, 扩展性强。 在一个实施例中, 数据文件服务器接收内容服务器发送的文件信息请求之后, 该方法 还包括:
该数据文件服务器根据该关键词信息, 确定该关键词信息对应的文件播放信息, 并将 该关键词信息对应的文件播放信息发送给该内容服务器。
在一个实施例中, 数据文件服务器接收内容服务器发送的文件信息请求之前, 该方法 还包括:
数据文件服务器获取至少一个数据文件, 确定该数据文件的关键词和文件播放信息; 该数据文件服务器建立该至少一个数据文件和该至少一个数据文件的关键词的映射 关系。
上述所有可选技术方案, 可以采用任意结合形成本公开的可选实施例, 在此不再一一 赘述。 图 3是本公开实施例提供的一种数据文件插入方法的流程图。该发明实施例的执行主 体为终端设备, 参见图 3, 所述方法包括:
301: 终端设备向内容服务器发送播放请求, 该播放请求携带视频 ID, 使得数据文件 服务器根据该视频 ID对应的关键词信息, 返回该关键词信息对应的数据文件, 该关键词 信息包括关键词与该关键词出现时间点;
302: 当该终端设备接收到该关键词信息和该数据文件时, 按照该关键词信息, 将该 关键词信息对应的数据文件插入该视频 ID对应的视频。
本公开实施例提供的方法, 通过向内容服务器发送播放请求, 并在接收该关键词信息 和该数据文件时, 按照该关键词信息, 将该关键词信息对应的数据文件插入该视频 ID对 应的视频。 采用本公开的技术方案, 能够根据视频中的关键词, 将该关键词对应的数据文 件插入到该视频中, 实现了为该视频自动地匹配数据文件, 扩展性强。
在一个实施例中, 终端设备向内容服务器发送播放请求之后, 该方法还包括: 接收该关键词信息对应的文件播放信息,该文件播放信息至少包括播放频率和播放时 间区间;
相应地, 当该终端设备接收到该关键词信息和该数据文件时, 按照该关键词信息, 将 该关键词信息对应的数据文件插入该视频 ID对应的视频包括:
按照该播放频率以及该关键词信息所包括的关键词出现时间点,将该关键词信息对应 的数据文件插入该视频中以该关键词出现时间点为基准点的播放时间区间中。
在一个实施例中, 按照该播放频率以及该关键词信息所包括的关键词出现时间点, 将 该关键词信息对应的数据文件插入该视频中以该关键词出现时间点为基准点的播放时间 区间中包括:
当同一个关键词出现时间点对应的待插入数据文件为两个以上时,根据该待插入数据 文件的优先级属性确定先后顺序,将该待插入数据文件按照确定的先后顺序插入该视频中 以该关键词出现时间点为基准点的播放时间区间中。
在一个实施例中, 终端设备向内容服务器发送播放请求之前, 该方法还包括: 获取不同类型的数据文件的播放形式;
相应地, 当该终端设备接收到该关键词信息、 对应的数据文件和该文件播放信息时, 按照该文件播放信息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频之后, 该方法还包括:
在播放该视频时, 将该视频中插入的数据文件按照该数据文件的播放形式播放。 在一个实施例中, 在播放该视频时, 将该视频中插入的数据文件按照该数据文件的播 放形式播放包括:
当该数据文件为图片时, 在播放该视频的过程中, 将该数据文件按照第一播放形式播 放;
或, 当该数据文件为视频文件时, 在播放该视频的过程中, 将该数据文件按照第二播 放形式播放;
或, 当该数据文件为音频文件时, 在播放该视频的过程中, 将该数据文件按照第三播 放形式播放;
或, 当该数据文件为文本文件时, 在播放该视频的过程中, 将该数据文件按照第四播 放形式播放。
上述所有可选技术方案, 可以采用任意结合形成本公开的可选实施例, 在此不再一一 赘述。 图 4是本公开实施例提供的一种数据文件插入方法的流程图。该发明实施例的交互主 体为终端设备、 内容服务器和数据文件服务器, 参见图 4, 所述方法包括:
401: 该终端设备向该内容服务器发送播放请求, 该播放请求携带视频 ID;
本公开实施例中, 每个视频均具有一个对应的视频 ID, 该播放请求可以由该终端设 备对该视频 ID对应的视频的播放指令触发, 还可以由该终端设备对该视频的下载指令触 发, 本公开实施例对此不做限定。
在该步骤 401之前,所述方法还包括:终端设备获取不同类型的数据文件的播放形式。 其中, 该播放形式是指在该终端设备上播放视频时对数据文件的展现形式。本公开实 施例应用于将数据文件插入视频的场景下,该终端设备预先获取不同类型的数据文件的播 放形式, 以便于在将数据文件插入视频后按照预先获取的播放形式, 对视频以及插入的数 据文件进行播放。 其中, 该数据文件可以为图片、 视频文件、 音频文件或文本文件, 对于 不同类型的数据文件, 播放形式也不同。 对于类型为图片的数据文件, 其对应的播放形式 为第一播放形式;
或, 对于类型为视频文件的数据文件, 其对应的播放形式为第二播放形式; 或, 对于类型为音频文件的数据文件, 其对应的播放形式为第三播放形式; 或, 对于类型为文本文件的数据文件, 其对应的播放形式为第四播放形式。
表 1为本公开实施例提供的不同类型的数据文件的播放形式。在播放视频时, 可以按 照表 1中的播放形式, 对数据文件进行展现。
表 1
Figure imgf000012_0001
本公开实施例中, 该数据文件类型并不限于上述四种类型, 且该第一播放形式、 第二 播放形式、第三播放形式和第四播放形式并不限于表 1中所示的形式, 该数据文件类型可 以由技术人员在开发时对数据文件进行划分, 该播放形式可以由技术人员在开发时设定, 并由用户在使用过程中进行更改, 本公开实施例对此均不做限定。
需要说明的是, 该终端设备可以为移动终端、 电视终端、 互联网终端或 PC (Personal
Computer, 个人计算机)终端等等。 相应的, 该播放请求还可以携带该终端设备的地址信 息和终端类型等信息, 本公开实施例对此不做限定。
402: 当该内容服务器接收到该播放请求时, 根据该视频 ID, 获取该视频 ID对应的 关键词信息, 该关键词信息包括关键词与该关键词出现时间点;
其中,该内容服务器用于存储至少一个视频的关键词信息、该至少一个视频的视频 ID 与该关键词信息的映射关系。 当该内容服务器获取到一个视频时, 获取该视频的基于时间 线的关键词信息, 并建立该视频的视频 ID与该关键词信息的映射关系。
其中,该关键词信息包括该视频中出现的至少一个关键词和该至少一个关键词的出现 时间点。
相应地, 获取该视频的基于时间线的关键词信息, 并建立该视频的视频 ID与该关键 词信息的映射关系包括: 获取该视频的各个帧出现的关键词, 将各个帧出现的关键词以及 该各个帧出现的关键词的出现时间点确定为该关键词信息, 建立该视频的视频 ID与该视 频的每个关键词信息的映射关系。
在一个视频中, 一个时间点可以对应一个或多个关键词, 一个关键词也可以对应一个 或多个出现时间点。 表 2为本公开实施例提供的视频 ID与关键词信息映射关系表。 在视 频 1中, 在时间点 5s和 130s时均出现两个关键词, 且关键词 "伊利" 出现了两次, 出现 时间点分别为 35s和 130s。
表 2
视频 ID 关键词信息 出现时间点 关键词
ID1 5s 可口可乐、 奔驰
(对应视频 1 ) 35s 伊利
130s 联想、 伊利
ID2 60s 新东方
(对应视频 2) 200s 苹果、 可口可乐 本公开实施例中, 该步骤 402之前, 所述方法还包括: 获取至少一个视频的基于时间 线的关键词信息; 建立该至少一个视频的视频 ID与该关键词信息的映射关系。 相应的, 该步骤 402包括: 该内容服务器遍历该视频 ID与该关键词信息的映射关系, 根据该视频 ID, 获取该视频 ID对应的关键词信息。
403: 该内容服务器向该数据文件服务器发送文件信息请求, 该文件信息请求携带该 关键词信息;
其中, 对于关键词信息中的每个关键词, 均可以对应一个或多个数据文件。 当该内容 服务器确定该视频 ID对应的关键词信息后, 向该数据文件服务器发送该文件信息请求, 该文件信息请求携带该关键词信息,用于向该数据文件服务器请求获取该关键词信息对应 的数据文件。
404: 当该数据文件服务器接收到该文件信息请求时, 根据该关键词信息, 确定该关 键词信息对应的数据文件和文件播放信息,该文件播放信息至少包括播放频率和播放时间 区间;
在一个实施例中, 该数据文件服务器用于存储数据文件。 当该数据文件服务器获取到 一个数据文件时, 确定该数据文件对应的关键词和该数据文件的文件播放信息, 该文件播 放信息至少包括播放频率和播放时间区间,并建立该关键词和该数据文件以及该文件播放 信息的映射关系。 与视频类似, 该数据文件也具有对应的文件 ID, 因此, 建立映射关系 时, 可以建立该关键词、 该文件 ID和该文件播放信息的映射关系。
其中, 该文件播放信息用于确定在该终端设备播放该视频 ID对应的视频时, 该数据 文件的播放频率和播放时间区间, 该播放频率确定了该数据文件在该视频中的播放次数, 该播放时间区间确定了该数据文件插入视频的时间范围, 在播放该视频时, 该数据文件在 该播放时间区间内的任一时间段播放即可。该播放时间区间可以该视频中的任一时间段表 示, 还可以与关键词出现时间点的时间间隔表示, 本公开实施例对此不做限定。
如,数据文件 a对应的关键词为"饮料",数据文件 a的播放时间区间可以为" 2s-80s", 表示该数据文件 a可以在视频的 2s-80s的时间区间内的任一时间点插入;数据文件 a的播 放时间区间还可以为 " -5S-+10S " , 表示该数据文件 a可以在视频中关键词 "饮料" 的出 现时间点的前 5s至后 10s的时间区间内的任一时间点插入。 需要说明的是, 该数据文件可以为第三方生成的数据文件, 相应的, 该文件播放信息 可以由第三方设定并配置于该数据文件服务器, 本公开实施例对此不做限定。 而对于未存 储文件播放信息的数据文件, 该数据文件的文件播放信息可以采用默认设置。 如, 默认为 该数据文件的播放频率为 1次, 播放时间区间为视频全部时间。
表 3为本公开实施例提供的关键词、 文件 ID和文件播放信息的映射关系表。
表 3
Figure imgf000014_0001
本公开实施例中, 该步骤 404之前, 所述方法还包括: 该数据文件服务器获取至少一 个数据文件, 确定该数据文件的关键词和文件播放信息; 建立该至少一个数据文件和关键 词的映射关系。 相应的, 该步骤 404包括: 该数据文件服务器遍历该至少一个数据文件和 关键词的映射关系, 根据该关键词信息, 获取该关键词信息中的关键词对应的数据文件和 该数据文件的文件播放信息。
405: 该数据文件服务器向该内容服务器发送该关键词信息对应的数据文件和文件播 放信息;
406: 当该内容服务器接收到该关键词信息对应的数据文件和文件播放信息时, 将该 关键词信息以及该数据文件和该文件播放信息发送给该终端设备;
407: 当该终端设备接收到该关键词信息以及该数据文件和该文件播放信息时, 按照 该播放频率以及该关键词信息所包括的关键词出现时间点,将该关键词信息对应的数据文 件插入该视频中以该关键词出现时间点为基准点的播放时间区间中。
其中,本公开实施例涉及到的将数据文件插入视频具体可以为将该数据文件的代码插 入该视频的代码中, 还可以为将该数据文件和该视频根据确定的插入时间进行绑定, 使得 在播放该视频时,按照该数据文件的播放形式,将该数据文件插入到该视频中间进行播放。 其中, 对于视频文件, 将视频文件插入该视频中播放, 在该数据文件播放完成后继续播放 该视频, 本公开实施例对此不做限定。
本公开实施例中, 为了将该数据文件插入该视频中, 需要根据该关键词信息包括的关 键词出现时间点和该数据文件的文件播放信息,确定该数据文件插入该视频中的具体的插 入时间点。
在一个实施例中, 当该关键词出现时间点属于该播放时间区间时, 将该数据文件插入 该视频中的插入时间点确定为该数据文件对应的关键词出现时间点。在该关键词出现的时 间点插入该数据文件, 便于用户将视频中的内容与数据文件联系起来, 增强该视频的连贯 性。
以表 1和表 2为例, 视频 1中出现的关键词包括 "可口可乐" 、 "奔驰" 、 "伊利" 和 "联想" , 其中, 在该数据文件服务器中存储有 "可口可乐" 、 "奔驰"和 "联想"对 应的数据文件, 则根据关键词 "可口可乐"、 "奔驰"和 "联想"对应的播放频率和播放 时间区间可以确定数据文件的插入时间点。 在视频 1播放时, 优选的在 5s插入 "可口可 乐"对应的文件 1, 文件 1的播放频率为 2次, 播放时间区间为 5s-50s, 则第二次可以在 50s时插入文件 1 ; 优选的在 130s时插入 "联想"对应的文件 2, 文件 2的播放频率为 2 次, 播放时间区间为视频全部时间, 则第二次可以在 135s时插入文件 2; 关键词 "奔驰" 的出现时间点为 5s, 对应的播放频率为 1次, 播放时间区间为 120s-300s, 则可以在 120s 时插入文件 3。
在一个实施例中, 当该关键词出现时间点不属于该播放时间区间时, 选取该播放时间 区间中的任一时间点, 插入该数据文件。
需要说明的是, 在视频的同一时间点可能会出现两个以上的关键词, 同一关键词也可 能对应两个以上的数据文件, 而在播放该视频时, 对于同一时间点, 只能插入一个数据文 件。 此时, 可以根据该数据文件服务器中存储的数据文件的优先级, 确定该时间点应插入 的数据文件。 其中, 该数据文件的优先级可以由该至少一个数据文件的重要性确定, 或由 该至少一个数据文件所属的第三方通过竞价的方式确定, 本公开实施例对此不做限定。
相应的, 该步骤 407包括: 当确定同一时间点对应的待插入数据文件为两个以上时, 按照该待插入数据文件的优先级属性确定该两个以上的待插入数据文件的先后顺序,将该 两个以上的待插入数据文件按照确定的先后顺序插入该视频中以该时间点为基准点的播 放时间区间中; 进一步在一个实施例中, 当同一个关键词出现时间点对应的待插入数据文 件为两个以上时, 根据该待插入数据文件的优先级属性确定先后顺序, 将该待插入数据文 件按照确定的先后顺序插入该视频中以该关键词出现时间点为基准点的播放时间区间中。
需要说明的是, 该数据文件的优先级可以存储在该数据文件服务器中, 该两个以上的 待插入数据文件的插入时间点可以由该数据文件服务器确定。具体地, 该数据文件服务器 根据该数据文件的优先级、播放频率、 播放时间区间以及该关键词出现时间点确定该关键 词信息对应的至少一个数据文件的插入时间点, 并发送给该内容服务器, 使得该内容服务 器将该至少一个数据文件的插入时间点发送给该终端设备,该终端设备根据该至少一个数 据文件的插入时间点将该至少一个数据文件插入该视频中。
在本公开实施例提供的另一实施例中,该两个以上的待插入数据文件的插入时间点可 以由该终端设备确定。 具体地, 该数据文件的优先级存储在该数据文件服务器中, 在该数 据文件服务器向该内容服务器发送数据文件时,将该数据文件的优先级一并发送给该内容 服务器, 使得该内容服务器将该关键词信息、 该关键词信息对应的至少一个数据文件、 该 文件播放信息和该至少一个数据文件的优先级发送给该终端设备, 由该终端设备根据该至 少一个数据文件的优先级、播放频率、 播放时间区间以及该关键词信息包括的关键词出现 时间点确定该至少一个数据文件的插入时间点,根据确定的插入时间点将该至少一个数据 文件插入该视频中。
如表 1所示, 视频 1中 130s时出现的关键词为 "联想"和 "伊利", 假设该数据文 件服务器中存储的 "联想"和 "伊利"对应的播放时间区间均为关键词出现时间点, 但在 视频 1中的 130s处只能插入一个数据文件, 此时, 可以由该数据文件服务器根据 "联想" 和 "伊利"对应的数据文件的优先级, 确定 "联想"和 "伊利"对应的数据文件的先后顺 序,将该先后顺序一并发送给该内容服务器,使得最终该终端设备根据该先后顺序在 130s 处插入 "联想"和 "伊利"对应的数据文件。 还可以由该数据文件服务器将数据文件的优 先级发送给该内容服务器, 由该内容服务器将该数据文件的优先级发送给该终端设备, 该 终端设备根据 "联想"和 "伊利"对应的数据文件的优先级, 确定 "联想"和 "伊利"对 应的数据文件的先后顺序, 根据该先后顺序在 130s处插入 "联想"和 "伊利"对应的数 据文件。
在一个实施例中, 该步骤 407之后, 该方法还包括: 在播放该视频时, 将该视频中插 入的数据文件按照该数据文件的播放形式播放。
具体地, 当该数据文件为图片时, 在播放该视频的过程中, 将该数据文件按照第一播 放形式播放;
或, 当该数据文件为视频文件时, 在播放该视频的过程中, 将该数据文件按照第二播 放形式播放;
或, 当该数据文件为音频文件时, 在播放该视频的过程中, 将该数据文件按照第三播 放形式播放;
或, 当该数据文件为文本文件时, 在播放该视频的过程中, 将该数据文件按照第四播 放形式播放。
本公开实施例中, 该数据文件可以为广告, 相应的, 广告类型可以为图片广告、 视频 广告、 音频广告或文本广告。 在视频播放的过程中, 根据视频中出现的关键词, 自动插入 关键词对应的广告, 增强了视频内容的连贯性, 易于扩展。
本公开实施例提供的方法, 能够根据视频中的关键词, 将该关键词对应的数据文件插 入到该视频中, 实现了为该视频自动地匹配数据文件, 增强了连贯性, 扩展性强。 图 5是本公开实施例提供的一种数据文件插入装置结构示意图, 参见图 5, 所述装置 包括:
播放请求接收模块 501, 用于接收播放请求, 该播放请求携带视频序列号 ID;
关键词获取模块 502, 用于根据视频 ID, 获取该视频 ID对应的关键词信息, 该关键 词信息包括关键词与该关键词出现时间点; 请求发送模块 503, 用于向数据文件服务器发送文件信息请求, 该文件信息请求携带 该关键词信息, 使得该数据文件服务器根据该关键词信息, 返回该关键词信息对应的数据 文件;
数据文件接收模块 504, 用于接收该数据文件服务器发送的该关键词信息对应的数据 文件, 并将该关键词信息以及该数据文件发送给该终端设备, 使得该终端设备按照该关键 词信息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频。
在一个实施例中, 该装置还包括:
映射关系建立模块, 用于获取至少一个视频的基于时间线的关键词信息, 建立该至少 一个视频的视频 ID与该关键词信息的映射关系。
在一个实施例中, 该装置还包括:
播放信息接收模块,用于接收该数据文件服务器发送的该关键词信息对应的文件播放 信息, 并将该关键词信息对应的文件播放信息发送给该终端设备。
在一个实施例中, 该数据文件为图片、 视频文件、 音频文件或文本文件。 图 6是本公开实施例提供的一种数据文件插入装置结构示意图, 参见图 6, 所述装置 包括:
信息请求接收模块 601, 用于接收内容服务器发送的文件信息请求, 该文件信息请求 携带关键词信息, 该关键词信息包括关键词与该关键词出现时间点;
文件确定模块 602, 用于根据该关键词信息, 确定该关键词信息对应的数据文件, 该 文件信息请求由终端设备向该内容服务器发送的携带视频 ID的播放请求触发;
文件发送模块 603, 用于向该内容服务器发送该关键词信息对应的数据文件, 使得该 内容服务器向终端设备发送该关键词信息对应的数据文件, 该终端设备按照该关键词信 息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频。
在一个实施例中, 该装置还包括:
播放信息确定模块,用于根据该关键词信息,确定该关键词信息对应的文件播放信息, 并将该关键词信息对应的文件播放信息发送给该内容服务器。
在一个实施例中, 该装置还包括:
数据文件获取模块, 用于获取至少一个数据文件, 确定该数据文件的关键词和文件播 放信息;
映射关系建立模块,用于建立该至少一个数据文件和该至少一个数据文件的关键词的 映射关系。 图 7是本公开实施例提供的一种数据文件插入装置结构示意图, 参见图 7, 所述装置 包括:
播放请求发送模块 701, 用于向内容服务器发送播放请求, 该播放请求携带视频 ID, 使得数据文件服务器根据该视频 ID对应的关键词信息, 返回该关键词信息对应的数据文 件, 该关键词信息包括关键词与该关键词出现时间点;
数据文件插入模块 702, 用于当该终端设备接收到该关键词信息和该数据文件时, 按 照该关键词信息, 将该关键词信息对应的数据文件插入该视频 ID对应的视频。
在一个实施例中, 该装置还包括:
播放信息接收模块, 用于接收该关键词信息对应的文件播放信息, 该文件播放信息至 少包括播放频率和播放时间区间;
相应地, 该数据文件插入模块 702包括:
数据文件插入单元,用于按照该播放频率以及该关键词信息所包括的关键词出现时间 点,将该关键词信息对应的数据文件插入该视频中以该关键词出现时间点为基准点的播放 时间区间中。
在一个实施例中,该数据文件插入单元用于当同一个关键词出现时间点对应的待插入 数据文件为两个以上时, 根据该待插入数据文件的优先级属性确定先后顺序, 将该待插入 数据文件按照确定的先后顺序插入该视频中以该关键词出现时间点为基准点的播放时间 区间中。
在一个实施例中, 该装置还包括:
获取不同类型的数据文件的播放形式;
相应地, 该装置还包括:
视频播放模块, 用于在播放该视频时, 将该视频中插入的数据文件按照该数据文件的 播放形式播放。
在一个实施例中, 该视频播放模块包括:
第一播放单元, 用于当该数据文件为图片时, 在播放该视频的过程中, 将该数据文件 按照第一播放形式播放;
或, 第二播放单元, 用于当该数据文件为视频文件时, 在播放该视频的过程中, 将该 数据文件按照第二播放形式播放;
或, 第三播放单元, 用于当该数据文件为音频文件时, 在播放该视频的过程中, 将该 数据文件按照第三播放形式播放;
或, 第四播放单元, 用于当该数据文件为文本文件时, 在播放该视频的过程中, 将该 数据文件按照第四播放形式播放。 需要说明的是: 上述实施例提供的数据文件插入的装置在数据文件插入时, 仅以上述 各功能模块的划分进行举例说明, 实际应用中, 可以根据需要而将上述功能分配由不同的 功能模块完成, 即将设备的内部结构划分成不同的功能模块, 以完成以上描述的全部或者 部分功能。另外, 上述实施例提供的数据文件插入的装置与数据文件插入的方法实施例属 于同一构思, 其具体实现过程详见方法实施例, 这里不再赘述。 图 8是本公开实施例提供的一种数据文件插入系统结构示意图, 参见图 8, 所述系统 包括: 终端设备、 内容服务器和数据文件服务器,
所述终端设备用于向所述内容服务器发送播放请求, 所述播放请求携带视频 ID; 所述内容服务器用于接收来自所述终端设备的播放请求, 并根据所述视频 ID, 获取 所述视频 ID对应的关键词信息, 向所述数据文件服务器发送文件信息请求, 所述文件信 息请求携带所述关键词信息, 所述关键词信息包括关键词与所述关键词出现时间点; 所述数据文件服务器用于接收所述文件信息请求, 并根据所述关键词信息, 确定所述 关键词信息对应的数据文件, 发送给所述内容服务器;
相应地, 所述内容服务器还用于接收所述关键词信息对应的数据文件, 并将所述关键 词信息和所述数据文件发送给所述终端设备;
所述终端设备还用于接收所述关键词信息和所述数据文件, 并按照所述关键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
其中, 所述终端设备用于执行图 3所示的数据文件插入方法, 所述内容服务器用于执 行图 1所示的数据文件插入方法,所述数据文件服务器用于执行图 2所示的数据文件插入 方法。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完 成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储 介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权利要求
1、 一种数据文件插入方法, 其特征在于, 所述方法包括:
内容服务器接收播放请求, 所述播放请求携带视频序列号 ID;
所述内容服务器根据视频 ID, 获取所述视频 ID对应的关键词信息, 所述关键词信息 包括关键词与所述关键词出现时间点;
所述内容服务器向数据文件服务器发送文件信息请求,所述文件信息请求携带所述关 键词信息,使得所述数据文件服务器根据所述关键词信息,返回所述关键词信息对应的数 据文件;
所述内容服务器接收所述数据文件服务器发送的所述关键词信息对应的数据文件,并 将所述关键词信息以及所述数据文件发送给所述终端设备,使得所述终端设备按照所述关 键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
2、 根据权利要求 1所述的方法, 其特征在于, 内容服务器接收播放请求之前, 所述 方法还包括:
所述内容服务器获取至少一个视频的基于时间线的关键词信息,建立所述至少一个视 频的视频 ID与所述关键词信息的映射关系。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述内容服务器向数据文件服务 器发送文件信息请求之后, 所述方法还包括:
所述内容服务器接收所述数据文件服务器发送的所述关键词信息对应的文件播放信 息, 并将所述关键词信息对应的文件播放信息发送给所述终端设备。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述数据文件为图片、 视频文件、 音频文件或文本文件。
5、 一种数据文件插入方法, 其特征在于, 所述方法包括:
数据文件服务器接收内容服务器发送的文件信息请求,所述文件信息请求携带关键词 信息, 所述关键词信息包括关键词与所述关键词出现时间点;
所述数据文件服务器根据所述关键词信息,确定所述关键词信息对应的数据文件,所 述文件信息请求由终端设备向所述内容服务器发送的携带视频 ID的播放请求触发;
所述数据文件服务器向所述内容服务器发送所述关键词信息对应的数据文件,使得所 述内容服务器向终端设备发送所述关键词信息对应的数据文件,所述终端设备按照所述关 键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
6、 根据权利要求 5所述的方法, 其特征在于, 数据文件服务器接收内容服务器发送 的文件信息请求之后, 所述方法还包括:
所述数据文件服务器根据所述关键词信息, 确定所述关键词信息对应的文件播放信 息, 并将所述关键词信息对应的文件播放信息发送给所述内容服务器。
7、 根据权利要求 5所述的方法, 其特征在于, 数据文件服务器接收内容服务器发送 的文件信息请求之前, 所述方法还包括: 所述数据文件服务器获取至少一个数据文件,确定所述数据文件的关键词和文件播放 信息;
所述数据文件服务器建立所述至少一个数据文件和所述至少一个数据文件的关键词 的映射关系。
8、 一种数据文件插入方法, 其特征在于, 所述方法包括:
终端设备向内容服务器发送播放请求, 所述播放请求携带视频 ID, 使得数据文件服 务器根据所述视频 ID对应的关键词信息, 返回所述关键词信息对应的数据文件, 所述关 键词信息包括关键词与所述关键词出现时间点;
当所述终端设备接收到所述关键词信息和所述数据文件时,按照所述关键词信息,将 所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
9、 根据权利要求 8所述的方法, 其特征在于, 终端设备向内容服务器发送播放请求 之后, 所述方法还包括:
接收所述关键词信息对应的文件播放信息,所述文件播放信息至少包括播放频率和播 放时间区间;
相应地, 当所述终端设备接收到所述关键词信息和所述数据文件时,按照所述关键词 信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频包括:
按照所述播放频率以及所述关键词信息所包括的关键词出现时间点,将所述关键词信 息对应的数据文件插入所述视频中以所述关键词出现时间点为基准点的播放时间区间中。
10、根据权利要求 8所述的方法, 其特征在于, 按照所述播放频率以及所述关键词信 息所包括的关键词出现时间点,将所述关键词信息对应的数据文件插入所述视频中以所述 关键词出现时间点为基准点的播放时间区间中包括:
当同一个关键词出现时间点对应的待插入数据文件为两个以上时,根据所述待插入数 据文件的优先级属性确定先后顺序,将所述待插入数据文件按照确定的先后顺序插入所述 视频中以所述关键词出现时间点为基准点的播放时间区间中。
11、根据权利要求 8所述的方法, 其特征在于, 终端设备向内容服务器发送播放请求 之前, 所述方法还包括:
获取不同类型的数据文件的播放形式;
相应地, 当所述终端设备接收到所述关键词信息、对应的数据文件和所述文件播放信 息时, 按照所述文件播放信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应 的视频之后, 所述方法还包括:
在播放所述视频时, 将所述视频中插入的数据文件按照所述数据文件的播放形式播 放。
12、 根据权利要求 11所述的方法, 其特征在于, 在播放所述视频时, 将所述视频中 插入的数据文件按照所述数据文件的播放形式播放包括:
当所述数据文件为图片时,在播放所述视频的过程中,将所述数据文件按照第一播放 形式播放;
或, 当所述数据文件为视频文件时, 在播放所述视频的过程中, 将所述数据文件按照 第二播放形式播放;
或, 当所述数据文件为音频文件时, 在播放所述视频的过程中, 将所述数据文件按照 第三播放形式播放;
或, 当所述数据文件为文本文件时, 在播放所述视频的过程中, 将所述数据文件按照 第四播放形式播放。
13、 一种数据文件插入装置, 其特征在于, 所述装置包括:
播放请求接收模块, 用于接收播放请求, 所述播放请求携带视频序列号 ID;
关键词获取模块, 用于根据视频 ID, 获取所述视频 ID对应的关键词信息, 所述关键 词信息包括关键词与所述关键词出现时间点;
请求发送模块,用于向数据文件服务器发送文件信息请求,所述文件信息请求携带所 述关键词信息,使得所述数据文件服务器根据所述关键词信息,返回所述关键词信息对应 的数据文件;
数据文件接收模块,用于接收所述数据文件服务器发送的所述关键词信息对应的数据 文件,并将所述关键词信息以及所述数据文件发送给所述终端设备,使得所述终端设备按 照所述关键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
14、 根据权利要求 13所述的装置, 其特征在于, 所述装置还包括:
映射关系建立模块,用于获取至少一个视频的基于时间线的关键词信息,建立所述至 少一个视频的视频 ID与所述关键词信息的映射关系。
15、 根据权利要求 13或 14所述的装置, 其特征在于, 所述装置还包括: 播放信息接收模块,用于接收所述数据文件服务器发送的所述关键词信息对应的文件 播放信息, 并将所述关键词信息对应的文件播放信息发送给所述终端设备。
16、 根据权利要求 13或 14所述的装置, 其特征在于, 所述数据文件为图片、 视频文 件、 音频文件或文本文件。
17、 一种数据文件插入装置, 其特征在于, 所述装置包括:
信息请求接收模块,用于接收内容服务器发送的文件信息请求,所述文件信息请求携 带关键词信息, 所述关键词信息包括关键词与所述关键词出现时间点;
文件确定模块, 用于根据所述关键词信息, 确定所述关键词信息对应的数据文件, 所 述文件信息请求由终端设备向所述内容服务器发送的携带视频 ID的播放请求触发; 文件发送模块,用于向所述内容服务器发送所述关键词信息对应的数据文件,使得所 述内容服务器向终端设备发送所述关键词信息对应的数据文件,所述终端设备按照所述关 键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
18、 根据权利要求 17所述的装置, 其特征在于, 所述装置还包括:
播放信息确定模块,用于根据所述关键词信息,确定所述关键词信息对应的文件播放 信息, 并将所述关键词信息对应的文件播放信息发送给所述内容服务器。
19、 根据权利要求 17所述的装置, 其特征在于, 所述装置还包括:
数据文件获取模块,用于获取至少一个数据文件,确定所述数据文件的关键词和文件 播放信息;
映射关系建立模块,用于建立所述至少一个数据文件和所述至少一个数据文件的关键 词的映射关系。
20、 一种数据文件插入装置, 其特征在于, 所述装置包括:
播放请求发送模块, 用于向内容服务器发送播放请求, 所述播放请求携带视频 ID, 使得数据文件服务器根据所述视频 ID对应的关键词信息, 返回所述关键词信息对应的数 据文件, 所述关键词信息包括关键词与所述关键词出现时间点;
数据文件插入模块, 用于当所述终端设备接收到所述关键词信息和所述数据文件时, 按照所述关键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
21、 根据权利要求 20所述的装置, 其特征在于, 所述装置还包括:
播放信息接收模块,用于接收所述关键词信息对应的文件播放信息,所述文件播放信 息至少包括播放频率和播放时间区间;
相应地, 所述数据文件插入模块包括:
数据文件插入单元,用于按照所述播放频率以及所述关键词信息所包括的关键词出现 时间点,将所述关键词信息对应的数据文件插入所述视频中以所述关键词出现时间点为基 准点的播放时间区间中。
22、 根据权利要求 20所述的装置, 其特征在于, 所述数据文件插入单元用于当同一 个关键词出现时间点对应的待插入数据文件为两个以上时,根据所述待插入数据文件的优 先级属性确定先后顺序,将所述待插入数据文件按照确定的先后顺序插入所述视频中以所 述关键词出现时间点为基准点的播放时间区间中。
23、 根据权利要求 20所述的装置, 其特征在于, 所述装置还包括:
获取不同类型的数据文件的播放形式;
相应地, 所述装置还包括:
视频播放模块,用于在播放所述视频时,将所述视频中插入的数据文件按照所述数据 文件的播放形式播放。
24、 根据权利要求 23所述的装置, 其特征在于, 所述视频播放模块包括: 第一播放单元, 用于当所述数据文件为图片时, 在播放所述视频的过程中, 将所述数 据文件按照第一播放形式播放;
或, 第二播放单元, 用于当所述数据文件为视频文件时, 在播放所述视频的过程中, 将所述数据文件按照第二播放形式播放;
或, 第三播放单元, 用于当所述数据文件为音频文件时, 在播放所述视频的过程中, 将所述数据文件按照第三播放形式播放; 或, 第四播放单元, 用于当所述数据文件为文本文件时, 在播放所述视频的过程中, 将所述数据文件按照第四播放形式播放。
25、 一种数据文件插入系统, 其特征在于, 所述系统包括: 终端设备、 内容服务器和 数据文件服务器,
所述终端设备用于向所述内容服务器发送播放请求, 所述播放请求携带视频 ID; 所述内容服务器用于接收来自所述终端设备的播放请求, 并根据所述视频 ID, 获取 所述视频 ID对应的关键词信息, 向所述数据文件服务器发送文件信息请求, 所述文件信 息请求携带所述关键词信息, 所述关键词信息包括关键词与所述关键词出现时间点; 所述数据文件服务器用于接收所述文件信息请求,并根据所述关键词信息,确定所述 关键词信息对应的数据文件, 发送给所述内容服务器;
相应地,所述内容服务器还用于接收所述关键词信息对应的数据文件,并将所述关键 词信息和所述数据文件发送给所述终端设备;
所述终端设备还用于接收所述关键词信息和所述数据文件, 并按照所述关键词信息, 将所述关键词信息对应的数据文件插入所述视频 ID对应的视频。
PCT/CN2014/076107 2013-07-31 2014-04-24 数据文件插入方法、装置和系统 WO2015014137A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310329840.8A CN103399917B (zh) 2013-07-31 2013-07-31 数据文件插入方法、装置和系统
CN201310329840.8 2013-07-31

Publications (1)

Publication Number Publication Date
WO2015014137A1 true WO2015014137A1 (zh) 2015-02-05

Family

ID=49563545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/076107 WO2015014137A1 (zh) 2013-07-31 2014-04-24 数据文件插入方法、装置和系统

Country Status (2)

Country Link
CN (1) CN103399917B (zh)
WO (1) WO2015014137A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399917B (zh) * 2013-07-31 2017-07-14 小米科技有限责任公司 数据文件插入方法、装置和系统
CN104967911B (zh) * 2014-11-19 2018-03-30 腾讯科技(北京)有限公司 多媒体文件插入位置的确定方法及装置
CN104822075B (zh) * 2015-04-16 2018-10-23 腾讯科技(北京)有限公司 一种推送信息的方法及装置
CN107180055A (zh) * 2016-03-11 2017-09-19 阿里巴巴集团控股有限公司 业务对象的展示方法及装置
CN108833971A (zh) * 2018-06-06 2018-11-16 北京奇艺世纪科技有限公司 一种视频处理方法及装置
CN112818275B (zh) * 2021-04-16 2021-07-13 泰德网聚(北京)科技股份有限公司 一种基于音视频的图文资源管理系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286351A (zh) * 2008-05-23 2008-10-15 广州视源电子科技有限公司 生成流媒体增值描述文件及插播多媒体信息的方法、系统
CN101883244A (zh) * 2009-05-05 2010-11-10 百视通网络电视技术发展有限责任公司 在网络电视视频节目中插播广告的系统及方法
CN101982974A (zh) * 2010-11-22 2011-03-02 天柏宽带网络科技(北京)有限公司 一种视频点播系统中的广告插播方法和装置
US20110185381A1 (en) * 2010-01-28 2011-07-28 Futurewei Technologies, Inc. System and Method for Matching Targeted Advertisements for Video Content Delivery
US20130094834A1 (en) * 2011-10-12 2013-04-18 Vixs Systems, Inc. Video processing device for embedding authored metadata and methods for use therewith
CN103399917A (zh) * 2013-07-31 2013-11-20 北京小米科技有限责任公司 数据文件插入方法、装置和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007235586A (ja) * 2006-03-01 2007-09-13 Nec Corp 広告視聴確認システム、放送受信端末、広告視聴確認端末、広告視聴確認方法およびプログラム
US8108544B2 (en) * 2008-12-10 2012-01-31 At&T Intellectual Property I, Lp System and method for content validation
CN102339435A (zh) * 2010-07-21 2012-02-01 睿码科技股份有限公司 网络多媒体播放器广告系统
CN102375812A (zh) * 2010-08-09 2012-03-14 鸿富锦精密工业(深圳)有限公司 影像的资讯搜寻系统及方法
CN102868922B (zh) * 2012-09-11 2016-08-10 Tcl通力电子(惠州)有限公司 一种播放广告的方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286351A (zh) * 2008-05-23 2008-10-15 广州视源电子科技有限公司 生成流媒体增值描述文件及插播多媒体信息的方法、系统
CN101883244A (zh) * 2009-05-05 2010-11-10 百视通网络电视技术发展有限责任公司 在网络电视视频节目中插播广告的系统及方法
US20110185381A1 (en) * 2010-01-28 2011-07-28 Futurewei Technologies, Inc. System and Method for Matching Targeted Advertisements for Video Content Delivery
CN101982974A (zh) * 2010-11-22 2011-03-02 天柏宽带网络科技(北京)有限公司 一种视频点播系统中的广告插播方法和装置
US20130094834A1 (en) * 2011-10-12 2013-04-18 Vixs Systems, Inc. Video processing device for embedding authored metadata and methods for use therewith
CN103399917A (zh) * 2013-07-31 2013-11-20 北京小米科技有限责任公司 数据文件插入方法、装置和系统

Also Published As

Publication number Publication date
CN103399917A (zh) 2013-11-20
CN103399917B (zh) 2017-07-14

Similar Documents

Publication Publication Date Title
WO2015014137A1 (zh) 数据文件插入方法、装置和系统
CN104869467B (zh) 媒体播放中的信息输出方法、装置和系统
TWI233046B (en) System and method for reproducing information stored on a data recording medium in an interactive networked environment
KR101983107B1 (ko) 라이브 비디오 스트리밍에 정보 푸시를 삽입하는 방법, 서버 및 단말
WO2015135332A1 (zh) 信息的提供方法和装置
WO2018032923A1 (zh) 一种媒体信息的展示方法、客户端、插件及系统
US20110035382A1 (en) Associating Information with Media Content
WO2011127770A1 (zh) 一种信息输出的频次控制方法和装置
JP7169335B2 (ja) 非線形コンテンツ提示及び経験
TW200941380A (en) Advanced advertisements
WO2017107448A1 (zh) 一种广告数据获取方法、装置及相关系统
WO2017140165A1 (zh) 一种存储资源的方法、装置及电子设备
US11540028B2 (en) Information presenting method, terminal device, server and system
WO2016090889A1 (zh) 推广信息的处理方法、装置、设备及非易失性计算机存储介质
US9027052B2 (en) System and method for in-stream advertising on an internet connected device
WO2016050113A1 (zh) 一种业务实现方法、设备及存储介质
CN109618229A (zh) 音视频的关联播放方法、装置、服务器及存储介质
WO2015039477A1 (zh) 基于多屏互动的信息系统及信息投放方法、iptv系统
WO2015018119A1 (zh) 一种多媒体文件生成的方法及多媒体设备
CN104735539A (zh) 影片播放方法以及系统
KR20090079563A (ko) 동영상 메타 정보 운용 방법 및 시스템과 이를 위한기록매체
WO2023071467A1 (zh) 数据去重方法、装置及存储介质
KR100886149B1 (ko) 기본 영상에 삽입 영상을 삽입하여 동영상을 형성하는방법 및 기록매체
CN106792219B (zh) 一种直播回看的方法及装置
JP2009105885A (ja) 配信動画中に外部情報を再生するシステムおよび方法

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

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

Country of ref document: EP

Kind code of ref document: A1