CN106604059B - Data delivery method and system - Google Patents

Data delivery method and system Download PDF

Info

Publication number
CN106604059B
CN106604059B CN201611242507.3A CN201611242507A CN106604059B CN 106604059 B CN106604059 B CN 106604059B CN 201611242507 A CN201611242507 A CN 201611242507A CN 106604059 B CN106604059 B CN 106604059B
Authority
CN
China
Prior art keywords
data
playing
timestamp
segment
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611242507.3A
Other languages
Chinese (zh)
Other versions
CN106604059A (en
Inventor
陈慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201611242507.3A priority Critical patent/CN106604059B/en
Publication of CN106604059A publication Critical patent/CN106604059A/en
Application granted granted Critical
Publication of CN106604059B publication Critical patent/CN106604059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0251Targeted advertisements
    • G06Q30/0254Targeted advertisements based on statistics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a data delivery method, which comprises the following steps: when a clip video playing request is sent to a server, a first timestamp is obtained; receiving the segment video data sent by the server according to the segment video playing request by taking the first timestamp as the starting time, and setting the sum of the first timestamp and the playing duration of the segment video data as a second timestamp; adding custom data by taking a second time stamp as starting time, and updating the second time stamp and the playing duration of the custom data into a first time stamp; and when all the video data are received, sequentially playing the clip video data and the custom data corresponding to the clip video playing request according to the sequence of the first time stamp and the second time stamp. The invention also discloses a data delivery system. The data delivery method and the data delivery system can simplify the process of delivering the advertisement to the video.

Description

Data delivery method and system
Technical Field
The invention relates to the technical field of internet televisions, in particular to a data delivery method and a data delivery system.
Background
Currently, the mainstream video playing technology of browsers can complete playing of network videos through html5video, Object plug-in, Silverlight or Adobe Flash load items, and the processes of playing video data in these modes have a common point: and after the video source address of the server is acquired, transmitting the video source address to the player, and after the player acquires the video source address, downloading the video data, and finishing decoding and playing. The server determines the content of the video source data, the operator can only download the video data, and the client can only play the corresponding data according to what the source data of the server is. If the client wants to add customized data, such as advertisements, to the video, the server can determine the placement of the advertisements only by sending the advertisement data to the server, and the method for placing the advertisements in the video is complex in flow.
Disclosure of Invention
The invention mainly aims to provide a data delivery method and a data delivery system, aiming at simplifying the process of delivering advertisements to videos.
In order to achieve the above object, a data delivery method provided by the present invention is a data delivery method, in which a server performs segmentation processing on video data in advance to obtain a plurality of segment video data, and a mapping relationship exists between each segment video data and each segment video playing request, and the data delivery method includes:
s1, when a segment video playing request is sent to a server, a first timestamp is obtained;
s2, receiving the segment video data sent by the server according to the segment video playing request by taking the first timestamp as the starting time, and setting the sum of the first timestamp and the playing time of the segment video data as a second timestamp;
s3, adding custom data by taking the second timestamp as the starting time, and updating the second timestamp and the playing duration of the custom data into a first timestamp;
s41, when the video data are not completely received, continuously sending a next segment video playing request to the server;
and S42, when all the video data are received, sequentially playing the segment video data and the custom data corresponding to the segment video playing request according to the sequence of the first time stamp and the second time stamp.
Preferably, the step of adding the custom data with the second timestamp as the starting time comprises:
s51, collecting web page addresses browsed by a user;
s52, comparing the webpage address with a preset webpage address to obtain a webpage address which is consistent with the webpage address;
and S53, analyzing the page content corresponding to the webpage address with the consistent webpage address to obtain custom data.
Preferably, the step of adding the custom data with the second timestamp as the starting time comprises:
s61, when a user browses a preset webpage address, photographing page content corresponding to the webpage address to obtain a picture;
and S62, obtaining custom data according to the analysis of the picture.
Preferably, the step of playing the clip video data and the custom data corresponding to the clip video playing request in sequence according to the sequence of the first timestamp and the second timestamp further includes:
s71, when a data deleting request is received, acquiring the playing time interval of the segment video data and the custom data;
s72, acquiring a playing time interval occupied by the deleted data;
s73, deleting the segment video data and/or the custom data corresponding to the occupied playing time interval;
and S74, adding the custom data with the same playing time length as the deleted data to the occupied playing time interval.
Preferably, after the step of receiving the segment video data sent by the server according to the segment video playing request with the first timestamp as the starting time and setting the sum of the first timestamp and the playing duration of the segment video data as a second timestamp, the method further includes:
s8, judging whether custom data needs to be added or not;
if yes, go to step S3;
if not, go to step S41 or step S42.
In addition, in order to achieve the above object, the present invention further provides a data delivery system, in which a server performs segmentation processing on video data in advance to obtain a plurality of segment video data, and a mapping relationship exists between each segment video data and each segment video playing request, the data delivery system includes:
the first timestamp acquisition module is used for acquiring a first timestamp when a clip video playing request is sent to the server;
a segment video data receiving module, configured to receive segment video data sent by the server according to the segment video playing request with the first timestamp as a start time, and set a sum of the first timestamp and a playing duration of the segment video data as a second timestamp;
the custom data adding module is used for adding custom data by taking the second time stamp as starting time and updating the second time stamp and the playing time length of the custom data into a first time stamp;
the request module is used for continuously sending a next segment video playing request to the server when the video data is not completely received;
and the playing module is used for sequentially playing the clip video data and the custom data corresponding to the clip video playing request according to the sequence of the first time stamp and the second time stamp when all the video data are received.
Preferably, the data delivery system further comprises:
the webpage address collecting module is used for collecting webpage addresses browsed by the user;
the webpage address comparison module is used for comparing the webpage address with a preset webpage address to obtain a webpage address which is consistent with the webpage address;
and the first custom data module is used for analyzing the page content corresponding to the two consistent webpage addresses to obtain custom data.
Preferably, the data delivery system further comprises:
the page picture acquisition module is used for photographing page contents corresponding to a preset webpage address to acquire a picture when a user browses the preset webpage address;
and the second custom data module is used for obtaining custom data according to the analysis of the picture.
Preferably, the data delivery system further comprises:
a playing interval obtaining module, configured to obtain a playing time interval of the segment video data and the custom data when a data deletion request is received;
a deletion interval acquisition module for acquiring a play time interval occupied by the deletion data;
a deleting module, configured to delete the segment video data and/or the custom data corresponding to the occupied playing time interval;
and the adding module is used for adding the custom data with the same playing time length as the deleted data to the occupied playing time interval.
Preferably, the data delivery system further comprises:
the judging module is used for judging whether custom data needs to be added or not;
if yes, entering the operation executed by the custom data adding module;
and if not, entering the operation executed by the request module or the playing module.
In the technical scheme provided by the invention, the server carries out segmentation processing on the video data in advance to obtain the fragment video data. When the client actively requests the server for the segment video data, the server sends the segment video data to the client, and the segment video data is received and stored by the client. The client can add custom data, such as advertisements, into the video at this time, and the connection playing of the segment video data and the custom data can be realized only by modifying the custom data and the timestamp for starting playing of the segment video data. Because the whole video is composed of a plurality of segment video data, after the custom data is added, the client side can continuously send the request for requesting the segment video data to the server until all the segment video data requests are finished, and the custom data can be added as required after receiving the segment video data each time. The method has the advantages that the client directly puts advertisements into the video, and the timestamp is set to ensure that the video and the advertisements are connected and played, so that the video advertisements are quickly and seamlessly inserted into the video, the process of sending custom data to the server in the prior art is omitted, and the advertisement putting process is simplified.
Drawings
Fig. 1 is a schematic flow chart of a data delivery method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of obtaining custom data in a second embodiment of the data delivery method of the present invention;
fig. 3 is a schematic flow chart of obtaining custom data in a third embodiment of the data delivery method of the present invention;
fig. 4 is a schematic flow chart of data deletion in a fourth embodiment of the data delivery method according to the present invention;
fig. 5 is a schematic flow chart of a fifth embodiment of the data delivery method of the present invention;
FIG. 6 is a functional block diagram of a first embodiment of a data delivery system according to the present invention;
fig. 7 is a functional block diagram of a data delivery system according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, a data delivery method according to a first embodiment of the present invention includes:
step S100, when a segment video playing request is sent to a server, a first time stamp is obtained.
Specifically, the server performs segmentation processing on the video data in advance to obtain a plurality of pieces of video data, each piece of video data has corresponding piece number and time information, such as start time, playing time and other information, and a corresponding file is set in the server to store the information of each piece of video data. When a client sends a segment video playing request to a server, a first time stamp needs to be acquired to determine the starting playing time of the segment video data in a player. If the client sends a first segment video playing request to the server, the obtained first timestamp is 0, which indicates that no other custom data is currently inserted.
Step S200, receiving the segment video data sent by the server according to the segment video playing request by taking the first time stamp as the starting time, and setting the sum of the first time stamp and the playing duration of the segment video data as a second time stamp.
Specifically, when a first segment video playing request is sent to the server, the client receives first segment video data, transmits a first timestamp to the player, injects the first segment video data into the player, the player starts decoding, obtains the start time of the currently injected data as 0, the playing time as X seconds, feeds the playing time back to the client, and the client determines that a second timestamp is X seconds.
And step S300, adding custom data by taking the second time stamp as the starting time, and updating the second time stamp and the playing time length of the custom data into the first time stamp.
Specifically, after receiving the first segment of video data, according to the collected shopping habits of the user, custom data, such as data of advertisements, news or commentary videos, is added behind the first segment of video data. At this time, the client knows that the start time of the currently injected first segment of video data is 0 and the duration is X seconds, and then when the custom data is injected again, the playing is started from X seconds, that is, the second timestamp is sent to the player, and then the custom data is injected into the player and decoded by the player, so that the play start time of the current custom data is X seconds, the play duration is Y seconds and is transmitted to the client, and the client updates the first timestamp to be X + Y seconds.
It should be noted that, the shopping habits of the user are mainly analyzed by collecting the web page addresses browsed by the user and the keywords of the web page contents, wherein, the analysis of the web page addresses is reduced by performing condition filtering on the web page addresses, for example, only storing the addresses related to the domain names of the shopping websites; the keywords are determined by collecting words with high frequency of appearance in the title and/or text of the web page content. Because the user-defined data is put in the client, different advertisements can be put in aiming at different customers, and resources are not wasted.
Step S400, judging whether the video data are all received;
step S401, when the video data is not completely received, continuing to send a next segment video playing request to the server;
step S402, when all the video data are received, the clip video data and the custom data corresponding to the clip video playing request are sequentially played according to the sequence of the first time stamp and the second time stamp.
Specifically, after the custom data is added, the client continues to send a second segment video playing request to the server, after the client receives the second segment video data, before the custom data is not inserted, the starting time of playing the second segment video data is X seconds, since the custom data of Y seconds is inserted, the starting time of playing the second segment video data is a first timestamp updated after the custom data is inserted, namely X + Y seconds, the playing time for acquiring the second segment video data at the moment is Z seconds, and the second timestamp is set to be X + Y + Z seconds. And adding custom data after receiving the segment video data until all the segment video data are received, and decoding the segment video data and the custom data corresponding to each segment video playing request by the player according to the sequence of the first time stamp and the second time stamp so as to connect all the segment video data and all the custom data for playing.
In the technical scheme provided by the invention, the server carries out segmentation processing on the video data in advance to obtain the fragment video data. When the client actively requests the server for the segment video data, the server sends the segment video data to the client, and the segment video data is received and stored by the client. The client can add custom data, such as advertisements, into the video at this time, and the connection playing of the segment video data and the custom data can be realized only by modifying the custom data and the timestamp for starting playing of the segment video data. Because the whole video is composed of a plurality of segment video data, after the custom data is added, the client side can continuously send the request for requesting the segment video data to the server until all the segment video data requests are finished, and the custom data can be added as required after receiving the segment video data each time. The method has the advantages that the client directly puts advertisements into the video, and the timestamp is set to ensure that the video and the advertisements are connected and played, so that the video advertisements are quickly and seamlessly inserted into the video, the process of sending custom data to the server in the prior art is omitted, and the advertisement putting process is simplified.
Further, referring to fig. 2, a first step of obtaining custom data is specifically described for a second embodiment of the data delivery method of the present invention, on the basis of the first embodiment, the step of adding custom data with the second timestamp as a start time includes:
step S501, collecting web page addresses browsed by a user;
step S502, comparing the webpage address with a preset webpage address to obtain a webpage address consistent with the webpage address;
step S503, analyzing the page content corresponding to the two consistent webpage addresses to obtain the custom data.
Specifically, a list is established for domain names (such as Taobao, Ali, Jingdong, Global resources, Amazon and the like) of a large shopping website, a client stores webpage addresses browsed by a user, the webpage addresses are filtered by matching the webpage addresses with the domain names in the list, keywords of page contents corresponding to the matched webpage addresses are analyzed, shopping habits of the user are collected, custom data can be obtained for the user, and then the custom data are put into a video.
Further, referring to fig. 3, a second step of obtaining custom data is specifically described for a third embodiment of the data delivery method of the present invention, on the basis of the first embodiment, the step of adding custom data with the second timestamp as a start time includes:
step S601, when a user browses a preset webpage address, shooting page content corresponding to the webpage address to obtain a picture;
step S602, obtaining custom data according to the analysis of the picture.
Specifically, a camera is installed on a client of a device such as a television, when a user browses a webpage with a specified domain name, a region watched by the user is captured, the user shoots the webpage at the same time, the shot image data is analyzed, and the shopping habits of the user are collected, so that user-defined data can be obtained for the user, and then the user-defined data is put into a video.
Further, referring to fig. 4, a fourth embodiment of the data delivery method according to the present invention is that a step of deleting data is added in the method, and specifically, on the basis of any one of the first to third embodiments, before the step of sequentially playing the clip video data and the custom data corresponding to the clip video playing request according to the sequence of the first timestamp and the second timestamp, the method further includes:
step S701, when a data deletion request is received, acquiring the playing time interval of the segment video data and the custom data;
step S702, obtaining the playing time interval occupied by the deletion data.
Specifically, when the client finds that (X-2, X +5) data in this time slot does not need to be played, the playing time interval of each data is obtained, and the playing time intervals of the first segment of video data, the custom data and the second segment of video data are (0, X), (X, X + Y) and (X + Y, X + Y + Z), respectively.
Step S703 of deleting the clip video data and/or the custom data corresponding to the occupied playing time interval;
step S704, add the custom data with the same playing duration as the deleted data to the occupied playing time interval.
Specifically, the client deletes the data in the (X-2, X +5) interval from the previously stored time schedule, then synchronously deletes the data of the player, notifies the client after the player is deleted, and notifies the server that the player is deleted, because the data is discontinuous, the client adds a section of (X-2, X +5) custom video to ensure the continuity of the data.
In the embodiment, not only can the advertisement be accurately inserted into the online played video, but also the convenience of deletion is provided when the client does not want the user to see some videos.
Further, referring to fig. 5, a fifth embodiment of the data delivery method according to the present invention, on the basis of any one of the first to third embodiments, after the step of receiving the clip video data sent by the server according to the clip video play request with the first timestamp as a start time, and setting a sum of the first timestamp and a play duration of the clip video data as a second timestamp, the method further includes:
step S800, judging whether custom data needs to be added or not;
if yes, go to step S300;
if not, step S401 or step S402 is executed.
Specifically, after receiving the segment video data each time, judging whether to add custom data into the video, and if the custom data needs to be added, adding the custom data by taking the second timestamp as the starting time, thereby ensuring the continuity of the data; and if the custom data does not need to be added and the segment video data does not have a request, continuously sending a segment video playing request to the server to obtain the segment video data, and when all the segment video data are obtained completely, continuously sending the segment video playing request to the server, and at the moment, decoding and playing according to the playing start time of the segment video data and the custom data.
The invention aims to solve the problem of singleness of playing of the video source data of the server, and can add custom data in the playing process of the video source data: the data of the advertisement source is played in a seamless connection, and the advertisement source data can be determined by the operator to deliver the content.
Referring to fig. 6, a first embodiment of the data delivery system of the present invention comprises:
the first timestamp obtaining module 100 is configured to obtain a first timestamp when a clip video playing request is sent to a server.
Specifically, the server performs segmentation processing on the video data in advance to obtain a plurality of pieces of video data, each piece of video data has corresponding piece number and time information, such as start time, playing time and other information, and a corresponding file is set in the server to store the information of each piece of video data. When a client sends a segment video playing request to a server, a first time stamp needs to be acquired to determine the starting playing time of the segment video data in a player. If the client sends a first segment video playing request to the server, the obtained first timestamp is 0, which indicates that no other custom data is currently inserted.
A segment video data receiving module 200, configured to receive segment video data sent by the server according to the segment video playing request with the first timestamp as a start time, and set a sum of the first timestamp and a playing duration of the segment video data as a second timestamp.
Specifically, when a first segment video playing request is sent to the server, the client receives first segment video data, transmits a first timestamp to the player, injects the first segment video data into the player, the player starts decoding, obtains the start time of the currently injected data as 0, the playing time as X seconds, feeds the playing time back to the client, and the client determines that a second timestamp is X seconds.
And a custom data adding module 300, configured to add custom data by using the second timestamp as a start time, and update the second timestamp and the playing duration of the custom data to the first timestamp.
Specifically, after receiving the first segment of video data, according to the collected shopping habits of the user, custom data, such as data of advertisements, news or commentary videos, is added behind the first segment of video data. At this time, the client knows that the start time of the currently injected first segment of video data is 0 and the duration is X seconds, and then when the custom data is injected again, the playing is started from X seconds, that is, the second timestamp is sent to the player, and then the custom data is injected into the player and decoded by the player, so that the play start time of the current custom data is X seconds, the play duration is Y seconds and is transmitted to the client, and the client updates the first timestamp to be X + Y seconds.
It should be noted that, the shopping habits of the user are mainly analyzed by collecting the web page addresses browsed by the user and the keywords of the web page contents, wherein, the analysis of the web page addresses is reduced by performing condition filtering on the web page addresses, for example, only storing the addresses related to the domain names of the shopping websites; the keywords are determined by collecting words with high frequency of appearance in the title and/or text of the web page content. Because the user-defined data is put in the client, different advertisements can be put in aiming at different customers, and resources are not wasted.
A request module 401, configured to continue to send a next segment video playing request to the server when all the video data are not received;
a playing module 402, configured to sequentially play the clip video data and the custom data corresponding to the clip video playing request according to the sequence of the first timestamp and the second timestamp when all the video data are received.
Specifically, after the custom data is added, the client continues to send a second segment video playing request to the server, after the client receives the second segment video data, before the custom data is not inserted, the starting time of playing the second segment video data is X seconds, since the custom data of Y seconds is inserted, the starting time of playing the second segment video data is a first timestamp updated after the custom data is inserted, namely X + Y seconds, the playing time for acquiring the second segment video data at the moment is Z seconds, and the second timestamp is set to be X + Y + Z seconds. And adding custom data after receiving the segment video data until all the segment video data are received, and decoding the segment video data and the custom data corresponding to each segment video playing request by the player according to the sequence of the first time stamp and the second time stamp so as to connect all the segment video data and all the custom data for playing.
In the technical scheme provided by the invention, the server carries out segmentation processing on the video data in advance to obtain the fragment video data. When the client actively requests the server for the segment video data, the server sends the segment video data to the client, and the segment video data is received and stored by the client. The client can add custom data, such as advertisements, into the video at this time, and the connection playing of the segment video data and the custom data can be realized only by modifying the custom data and the timestamp for starting playing of the segment video data. Because the whole video is composed of a plurality of segment video data, after the custom data is added, the client side can continuously send the request for requesting the segment video data to the server until all the segment video data requests are finished, and the custom data can be added as required after receiving the segment video data each time. The method has the advantages that the client directly puts advertisements into the video, and the timestamp is set to ensure that the video and the advertisements are connected and played, so that the video advertisements are quickly and seamlessly inserted into the video, the process of sending custom data to the server in the prior art is omitted, and the advertisement putting process is simplified.
Further, on the basis of the first embodiment of the data delivery system, the data delivery system further includes:
a web page address collecting module 501, configured to collect web page addresses browsed by a user;
a web page address comparison module 502, configured to compare the web page address with a preset web page address, and obtain a web page address that is consistent with the web page address;
the first custom data module 503 is configured to analyze the page content corresponding to the two consistent web addresses to obtain custom data.
Specifically, a list is established for domain names (such as Taobao, Ali, Jingdong, Global resources, Amazon and the like) of a large shopping website, a client stores webpage addresses browsed by a user, the webpage addresses are filtered by matching the webpage addresses with the domain names in the list, keywords of page contents corresponding to the matched webpage addresses are analyzed, shopping habits of the user are collected, custom data can be obtained for the user, and then the custom data are put into a video.
Further, according to the first embodiment of the data delivery system of the present invention, the data delivery system further includes:
the page picture acquiring module 601 is configured to, when a user browses a preset web page address, photograph page content corresponding to the web page address to acquire a picture;
and a second custom data module 602, configured to obtain custom data according to the analysis of the picture.
Specifically, a camera is installed on a client of a device such as a television, when a user browses a webpage with a specified domain name, a region watched by the user is captured, the user shoots the webpage at the same time, the shot image data is analyzed, and the shopping habits of the user are collected, so that user-defined data can be obtained for the user, and then the user-defined data is put into a video.
Further, referring to fig. 7, a second embodiment of the data delivery system of the present invention is shown, based on the first embodiment of the data delivery system of the present invention, the data delivery system further includes:
a playing interval obtaining module 701, configured to obtain a playing time interval of the segment video data and the custom data when a data deletion request is received;
a deletion interval obtaining module 702, configured to obtain a playing time interval occupied by the deletion data.
Specifically, when the client finds that (X-2, X +5) data in this time slot does not need to be played, the playing time interval of each data is obtained, and the playing time intervals of the first segment of video data, the custom data and the second segment of video data are (0, X), (X, X + Y) and (X + Y, X + Y + Z), respectively.
A deleting module 703, configured to delete the segment video data and/or the custom data corresponding to the occupied playing time interval;
an adding module 704, configured to add custom data with the same playing time length as the deleted data to the occupied playing time interval.
Specifically, the client deletes the data in the (X-2, X +5) interval from the previously stored time schedule, then synchronously deletes the data of the player, notifies the client after the player is deleted, and notifies the server that the player is deleted, because the data is discontinuous, the client adds a section of (X-2, X +5) custom video to ensure the continuity of the data.
In the embodiment, not only can the advertisement be accurately inserted into the online played video, but also the convenience of deletion is provided when the client does not want the user to see some videos.
Further, according to the first embodiment of the data delivery system of the present invention, the data delivery system further includes:
a judging module 800, configured to judge whether to add custom data;
if yes, entering the operation executed by the custom data adding module 300;
if not, the operation executed by the request module 401 or the play module 402 is entered.
Specifically, after receiving the segment video data each time, judging whether to add custom data into the video, and if the custom data needs to be added, adding the custom data by taking the second timestamp as the starting time, thereby ensuring the continuity of the data; and if the custom data does not need to be added and the segment video data does not have a request, continuously sending a segment video playing request to the server to obtain the segment video data, and when all the segment video data are obtained completely, continuously sending the segment video playing request to the server, and at the moment, decoding and playing according to the playing start time of the segment video data and the custom data.
The invention aims to solve the problem of singleness of playing of the video source data of the server, and can add custom data in the playing process of the video source data: the data of the advertisement source is played in a seamless connection, and the advertisement source data can be determined by the operator to deliver the content.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A data delivery method is characterized in that a server carries out segmentation processing on video data in advance to obtain a plurality of segments of video data, and a mapping relation exists between each segment of video data and each segment of video playing request, and the data delivery method comprises the following steps:
s1, when a segment video playing request is sent to a server, a first timestamp is obtained;
s2, receiving the segment video data sent by the server according to the segment video playing request by taking the first timestamp as the starting time, and setting the sum of the first timestamp and the playing time of the segment video data as a second timestamp;
s3, adding custom data by taking the second timestamp as the starting time, and updating the second timestamp and the playing duration of the custom data into a first timestamp;
s41, when the video data are not completely received, continuously sending a next segment video playing request to the server, wherein the custom data can be added again after the segment video data are received each time;
s71, when a data deleting request is received, acquiring the playing time interval of the segment video data and the custom data;
s72, acquiring a playing time interval occupied by the deleted data;
s73, deleting the segment video data and/or the custom data corresponding to the occupied playing time interval;
s74, adding custom data with the same playing time length as the deleted data to the occupied playing time interval;
and S42, when all the video data are received, sequentially playing the segment video data and the custom data corresponding to the segment video playing request according to the sequence of the first time stamp and the second time stamp.
2. The data placement method of claim 1, wherein the step of adding custom data with the second timestamp as a starting time is preceded by:
s51, collecting web page addresses browsed by a user;
s52, comparing the webpage address with a preset webpage address to obtain a webpage address which is consistent with the webpage address;
and S53, analyzing the page content corresponding to the webpage address with the consistent webpage address to obtain custom data.
3. The data placement method of claim 1, wherein the step of adding custom data with the second timestamp as a starting time is preceded by:
s61, when a user browses a preset webpage address, photographing page content corresponding to the webpage address to obtain a picture;
and S62, obtaining custom data according to the analysis of the picture.
4. The data delivery method according to any one of claims 1 to 3, wherein the step of receiving the segment video data sent by the server according to the segment video playing request with the first timestamp as a starting time and setting a sum of the first timestamp and a playing duration of the segment video data as a second timestamp further comprises:
s8, judging whether custom data needs to be added or not;
if yes, go to step S3;
if not, go to step S41 or step S42.
5. A data delivery system is characterized in that a server carries out segmentation processing on video data in advance to obtain a plurality of segments of video data, and a mapping relation exists between each segment of video data and each segment of video playing request, and the data delivery system comprises:
the first timestamp acquisition module is used for acquiring a first timestamp when a clip video playing request is sent to the server;
a segment video data receiving module, configured to receive segment video data sent by the server according to the segment video playing request with the first timestamp as a start time, and set a sum of the first timestamp and a playing duration of the segment video data as a second timestamp;
the custom data adding module is used for adding custom data by taking the second time stamp as starting time and updating the second time stamp and the playing time length of the custom data into a first time stamp;
the request module is used for continuously sending a next segment video playing request to the server when the video data is not completely received, wherein the request module is also used for adding custom data after receiving the segment video data each time;
the playing module is used for sequentially playing the clip video data and the custom data corresponding to the clip video playing request according to the sequence of the first time stamp and the second time stamp when all the video data are received;
a playing interval obtaining module, configured to obtain a playing time interval of the segment video data and the custom data when a data deletion request is received;
a deletion interval acquisition module for acquiring a play time interval occupied by the deletion data;
a deleting module, configured to delete the segment video data and/or the custom data corresponding to the occupied playing time interval;
and the adding module is used for adding the custom data with the same playing time length as the deleted data to the occupied playing time interval.
6. The data delivery system of claim 5, further comprising:
the webpage address collecting module is used for collecting webpage addresses browsed by the user;
the webpage address comparison module is used for comparing the webpage address with a preset webpage address to obtain a webpage address which is consistent with the webpage address;
and the first custom data module is used for analyzing the page content corresponding to the two consistent webpage addresses to obtain custom data.
7. The data delivery system of claim 5, further comprising:
the page picture acquisition module is used for photographing page contents corresponding to a preset webpage address to acquire a picture when a user browses the preset webpage address;
and the second custom data module is used for obtaining custom data according to the analysis of the picture.
8. The data delivery system of any of claims 5-7, further comprising:
the judging module is used for judging whether custom data needs to be added or not;
if yes, entering the operation executed by the custom data adding module;
and if not, entering the operation executed by the request module or the playing module.
CN201611242507.3A 2016-12-28 2016-12-28 Data delivery method and system Active CN106604059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611242507.3A CN106604059B (en) 2016-12-28 2016-12-28 Data delivery method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611242507.3A CN106604059B (en) 2016-12-28 2016-12-28 Data delivery method and system

Publications (2)

Publication Number Publication Date
CN106604059A CN106604059A (en) 2017-04-26
CN106604059B true CN106604059B (en) 2020-07-14

Family

ID=58604784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611242507.3A Active CN106604059B (en) 2016-12-28 2016-12-28 Data delivery method and system

Country Status (1)

Country Link
CN (1) CN106604059B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547865B (en) * 2018-11-09 2021-09-24 中国航空无线电电子研究所 Organizing method, synchronous playing method and segment clearing method for video coding data
CN112991742B (en) * 2021-04-21 2021-08-20 四川见山科技有限责任公司 Visual simulation method and system for real-time traffic data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547447A (en) * 2010-12-14 2012-07-04 腾讯科技(深圳)有限公司 Method, device and system for downloading video files
CN102685554A (en) * 2012-05-24 2012-09-19 北京国双科技有限公司 Method and device for processing video play
CN104010198A (en) * 2014-06-17 2014-08-27 合一网络技术(北京)有限公司 Method and system for preventing video delivery information from being shielded
CN104363483A (en) * 2014-12-01 2015-02-18 北京奇艺世纪科技有限公司 Advertisement pushing method and device based on video picture
CN106204121A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 Advertisement placement method based on browser and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547447A (en) * 2010-12-14 2012-07-04 腾讯科技(深圳)有限公司 Method, device and system for downloading video files
CN102685554A (en) * 2012-05-24 2012-09-19 北京国双科技有限公司 Method and device for processing video play
CN104010198A (en) * 2014-06-17 2014-08-27 合一网络技术(北京)有限公司 Method and system for preventing video delivery information from being shielded
CN104363483A (en) * 2014-12-01 2015-02-18 北京奇艺世纪科技有限公司 Advertisement pushing method and device based on video picture
CN106204121A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 Advertisement placement method based on browser and system

Also Published As

Publication number Publication date
CN106604059A (en) 2017-04-26

Similar Documents

Publication Publication Date Title
US9948965B2 (en) Manifest re-assembler for a streaming video channel
CN110366013B (en) Promotion content pushing method and device and storage medium
US8925026B2 (en) Back office support for a video provisioning system
US9038105B2 (en) Thumbnail publication
US11070851B2 (en) System and method for providing image-based video service
US20140082499A1 (en) Heavy Influencer Media Recommendations
US9621704B2 (en) Method and system for file synchronization
US20120030554A1 (en) Bookmark using device, bookmark creation device, bookmark sharing system, control method and recording medium
US9712879B2 (en) Information processing apparatus, information processing method, and information processing program
CN104936032B (en) Network video playback method and device
KR20140118604A (en) Server and method for transmitting augmented reality object to personalized
CN104133852A (en) Webpage access method, webpage access device, server and terminal
CN111277761B (en) Video shooting method, device and system, electronic equipment and storage medium
WO2016095525A1 (en) Method, device and system for pushing information to user on bullet screen carrier
CN105100839A (en) Video file downloading method, device, server and terminal equipment
US20170187837A1 (en) Ad download method, the client and the server
CN106604059B (en) Data delivery method and system
JP6302098B2 (en) Address filtering method, apparatus, program, and recording medium
JP2016532969A (en) Related content processing method and system
US20150142778A1 (en) Presenting Previously Selected Search Results
JP2015153007A (en) Advertisement distribution system and advertisement distribution method
CN109495789B (en) Media file playing method, equipment and communication system
CN106851418B (en) Video recommendation method and device
JP7058497B2 (en) Delivery status provision device and program
JP2009252213A (en) Information display method, information display device, program, and recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant