A kind of video ads request link optimization method and device
Technical field
The present embodiments relate to video ads technical field, more particularly to a kind of video ads request link optimization method
And device.
Background technology
With the progress of society and science and technology, for welcomed by the people, people can be in terminal device (such as electricity for Internet video
Brain, mobile phone and flat board) on watch the video frequency program oneself liked, then have one during video-see or before video playback
The input of section advertisement.
Generally once complete video ads launch process includes following several steps:Video player is to advertisement putting
System sends ad-request, and ad system finds that several can match in the advertising aggregator according to required parameter in system wide
Accuse, then the relevant information of these advertisements is encapsulated as into the ad code of XML or JSON forms and returns to video player;Depending on
Frequency player is received after the ad code of return, parses ad code, is taken out advertisement to play video practically
Location, then from CDN foradownloaded video data flows;Video player parses advertisement video data stream and plays video, sends related prison
Survey and count URL.
But, according to existing advertisement release process, user is gone to toward watching advertisement in viewing video, and advertisement is formal
The stage of at least two serials is experienced before broadcasting, one is that video player obtains ad code from ad system;Two is video
Player obtains advertisement video data stream according to the ad code for obtaining, because the two stages are particularly the time-consuming of second stage
It is longer, often lead to user and lose patience and also do not start to be shut off video player before playing in advertisement or jump to it
Its video playback, causes therefrom two problems:One is that Consumer's Experience is poor, and two is because ad-request response takes long leading
The loss of advertisement is caused.
It can be seen that, there is provided a kind of request response is rapid and reduces the time-consuming of video ads request, and lifts regarding for Consumer's Experience
Frequency ad-request link optimizing method is one of current urgent problem.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of quick response video ads request, reduces video ads request
It is time-consuming, improve acceptance of the user to video ads, and lift the video ads request link optimization method of Consumer's Experience, from
And overcome the shortcomings of in existing video ads input mode.
In order to solve above-mentioned technical problem, the invention provides a kind of video ads request link optimization method, including:
Video player to server sends video ads request;
The video player receives the advertising message that the server asks to return according to the video ads;
The video player parses the advertising message and obtains the video ads ID to be played, and according to the video
Advertisement ID is searched in video cache catalogue with the presence or absence of the corresponding video ads file of caching;If existing, the video playback
Device directly plays the video ads file in video cache catalogue;If not existing, the video player is upper and lower from server
The data flow for carrying the video ads is played out, and after video ads are finished, the video ads data flow is preserved
For file, in being stored in the video cache catalogue.
Preferably, also include:If the video ads number stored in the video cache catalogue and/or video ads storage
When space stores parameter threshold more than pre-set space, the video player to server sends terminal buffers information request;
The video player is deleted and deposited in video cache catalogue according to the terminal buffers information of the server feedback
The entity file of the corresponding video ads of set of video ads of storage;Download what is matched with the characteristic information from the server
Video ads corresponding to advertising aggregator are in video cache catalogue;The terminal buffers information request includes:Video player
The video-see historical information and the video id information of buffered all video ads of nearest a period of time;
The terminal buffers information of the server feedback includes set of video ads to be deleted and matches with characteristic information
Advertising aggregator.
A kind of video ads request link optimizes response method, including:
Server receives the terminal buffers information request of video player transmission;
Set of advertisements can be thrown on the video player according to the terminal buffers information request queries in setting time section
Close;
Calculated according to the terminal buffers information request and advertising aggregator, the video for obtaining the video player delays
Deposit set of video ads to be deleted in catalogue;
Played according to the history of the video player and recorded, count the characteristic information of video player user, and root
Search according to the characteristic information and match advertising aggregator with the characteristic information;
The server matches advertising aggregator and returns to the video by set of video ads to be deleted and with characteristic information
Player.
Preferably, calculated according to the terminal buffers information request and advertising aggregator, obtained the video player
Video cache catalogue in set of video ads to be deleted, including:
Advertising aggregator to be deleted in the video cache catalogue of the video player is calculated according to below equation;
S2=S0- (S0 ∩ S1);
Wherein, S2 is advertising aggregator to be deleted from the video cache catalogue of the video player;S0 is institute
State the video ID set corresponding to all videos advertisement buffered under the video cache catalogue on video player;S1 be regarding
Advertising aggregator to be put in the most a recent period of time on frequency player.
Preferably, the terminal buffers information request includes:The video-see history of video player nearest a period of time
The video id information of information and buffered all video ads.
A kind of video player, including:Video ads request module, local cache searching modul and advertisement are replaced and update mould
Block;
The video ads request module, for sending video ads request to server, receive the server according to
The advertising message that the video ads request is returned;
The local cache searching modul, for parsing the advertising message and obtaining the video ads ID to be played, and
Searched in video cache catalogue with the presence or absence of the corresponding video ads file of caching according to the video ads ID;
Update module is replaced in the advertisement, if for judging that video ads file is present, the video player is direct
Play the video ads file in video cache catalogue;If not existing, the video player downloads from a server described
The data flow of video ads is played out, and after video ads are finished, the video ads data flow is saved as into file,
In being stored in the video cache catalogue.
Preferably, the local cache searching modul, also includes:Spatial cache updates submodule;
The spatial cache updates submodule, if the video ads number stored in for judging the video cache catalogue
And/or video ads memory space, when storing parameter threshold more than pre-set space, the video player to server sends eventually
End cache information request;According to the terminal buffers information of the server feedback, what deletion was stored in video cache catalogue regards
The entity file of the corresponding video ads of frequency advertising aggregator;The set of advertisements matched with the characteristic information is downloaded from the server
Video ads corresponding to closing are in video cache catalogue;The terminal buffers information request includes:Video player nearest one
The video-see historical information and the video id information of buffered all video ads of section time;
The terminal buffers information of the server feedback includes set of video ads to be deleted and matches with characteristic information
Advertising aggregator.
A kind of audio/video player system, including:Video player as claimed in claim 6 and server;
The server includes that video ads ask feedback module and video data stream download module;
The video ads ask feedback module, for receiving the video ads request of video player transmission, and feed back
Video ads ask corresponding advertising message;
The video data stream download module, for being carried to the video player according to the request of the video player
Download for the data flow of video ads.
Preferably, the server also includes:Terminal buffers information feedback module;
The server feedback terminal buffers information, specially:
The server is received after the terminal buffers information request that the video player sends, slow according to the terminal
Deposit and can throw in setting time section on video player described in information request queries advertising aggregator;According to the terminal buffers information
Request and advertising aggregator are calculated, and obtain set of video ads to be deleted in the video cache catalogue of the video player;
Played according to the history of the video player and recorded, count the characteristic information of video player user, and root
Search according to the characteristic information and match advertising aggregator with the characteristic information;
The server matches advertising aggregator and returns to the video by set of video ads to be deleted and with characteristic information
Player.
Preferably, it is described to be calculated according to the terminal buffers information request and advertising aggregator, obtain the video and broadcast
Set of video ads to be deleted in the video cache catalogue of device is put, including:
Advertising aggregator to be deleted in the video cache catalogue of the video player is calculated according to below equation;
S2=S0- (S0 ∩ S1);
Wherein, S2 is advertising aggregator to be deleted from the video cache catalogue of the video player;S0 is institute
State the video ID set corresponding to all videos advertisement buffered under the video cache catalogue on video player;S1 be regarding
Advertising aggregator to be put in the most a recent period of time on frequency player.
A kind of video ads request link optimization method of the present invention, is sent out using video player to advertisement releasing server
Go out video ads request, advertisement releasing server returns ad code to video player, and it is wide that video player parsing is returned
Accuse code and obtain video ads ID, and search locally whether have corresponding regarding in video cache module according to video ads ID
Frequency promotional literature;If having, the video player directly plays the video ads file of local cache;It is described to regard if nothing
Frequency cache module directly downloads the video ads file from server to local, and is played by video player.It can be seen that,
Using this programme, video player buffered in advance video ads so that player need not all go in each playing video advertisement
Carrying advertisement on server, then after advertisement is finished, file is saved in CACHE DIRECTORY.Thus, user's sight is saved
The stand-by period seen before advertisement, Consumer's Experience was both improved, and user had been reduced again and exits video due to losing the patient of wait
The probability of player, so as to reduce the loss of advertisement, improves acceptance of the user to advertisement.Further, since local cache is literary
The presence of part, reduces player requests from server to obtain the frequency of video ads data flow, is internet video enterprise
A large amount of network bandwidth costs are saved.
Description of the drawings
Fig. 1 is a kind of video ads request link optimization method schematic flow sheet in the embodiment of the present invention one;
Fig. 2 is a kind of theory diagram of the video player in the embodiment of the present invention three.
Specific embodiment
With reference to the accompanying drawings and examples the present invention is described in further detail.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Embodiment one
A kind of video ads request link optimization method schematic flow sheet that Fig. 1 is provided for the embodiment of the present invention one, the party
Method can be by the video ads request link optimization device configured in terminal performing, and the device can be using hardware and/or soft
The form of part is realized.
A kind of video ads request link optimization method that the present embodiment one is provided, specifically includes following steps:
S101, video player to server sends video ads request.
Wherein, video player is mainly responsible for broadcasting, the request transmission of video ads and the returning result solution of video positive
Analysis, the broadcasting of video ads, and the transmission of the related Monitoring Data in video display process, video player is to advertisement putting
Server sends the request of video ads.
Preferably, the video ads request includes:Video player terminal equipment type, video player or terminal set
For regarding for the unique mark of operating system, video player or terminal device, the video player or equipment nearest a period of time
The video id information of buffered all video ads in frequency viewing historical information and video player or terminal device.
S102, the video player receive the advertising message that the server asks to return according to the video ads;
Wherein, server receives the video ads request that player sends, and parses what is included in video ads request
Parameter information, then finds several advertisements for meeting video ads requirement according to above- mentioned information, then by above-mentioned video ads
Comprising advertisement URL, advertisement duration, monitoring or the relevant information such as storage address be packaged into the wide of a JSON or XML format
Announcement information returns to video player.Described server can be the service for including advertisement putting function in the present embodiment
The server of device, video ads download function, or include the server that video ads are updated with replacement function.
S103, the video player parse the advertising message and obtain the video ads ID to be played, and according to institute
State video ads ID to search in video cache catalogue with the presence or absence of the corresponding video ads file of caching;It is described to regard if existing
Frequency player directly plays the video ads file in video cache catalogue;If not existing, the video player is from service
The data flow that the video ads are downloaded on device is played out, after video ads are finished, by the video ads data
Stream saves as file, in being stored in the video cache catalogue.
Wherein, server is issued video content by increasing by one layer of new network architecture in existing Internet
To the network " edge " (i.e. nearer with video player network routing interface network node) closest to user, user is allow
Required video is obtained nearby, and the video ads entity file or data in the present embodiment is deposited in the server.
The video ads request link optimization method of the present embodiment one, (has advertisement using video player to server
Throw in the server of function) video ads request is sent, advertisement releasing server returning advertising information is to video player.Here
Advertising message can be in the form of packet, wherein the code of video ads, title, type, storage can be included
Position etc..The advertising message of video player parsing return simultaneously obtains video ads ID, and regarding according to video ads ID
Whether there is the video corresponding with video ads ID of caching wide in the CACHE DIRECTORY that local video advertisement is searched in frequency cache module
Accuse file.Here video ads ID has uniqueness.If finding in local cache, the video player is directly broadcast
Put the video ads file of local cache.If no, video player sends to server and asks, from server directly under
The data flow of the video ads is carried to local, and is directly played out by video player.Here server can be
Content distributing server.If content distributing server, then server can be arranged and route nearer network section with user
Point position, can so improve the response speed to data flow.After finishing in video ads, by the video ads number
File is saved as according to stream, and is stored in video cache catalogue, in case next time is directly by caching broadcasting.It can be seen that, using we
Case, video player buffered in advance video ads so that player need not all go under server in each playing video advertisement
Advertisement is carried, the stand-by period before user's viewing advertisement is saved, Consumer's Experience had both been improved, user is reduced again due to losing
Treat patient and exit the probability of video player, so as to reduce the loss of advertisement, improve acceptance of the user to advertisement.
Embodiment two
Based on above-described embodiment, further, one kind that the present embodiment two is provided is regarded the technical scheme of the present embodiment
Frequency ad-request link optimizing method, specifically includes following steps:
Video player is provided with space storage parameter threshold, for being limited to the video ads quantity of the storage of local side
Or capacity, in order to avoid it is cached the memory space that many video ads take local side in local side.When using, video player is sentenced
Disconnected local side is stored or whether video ads of caching exceed threshold value, if the video stored in the video cache catalogue is wide
When accusing number and/or video ads memory space more than pre-set space storage parameter threshold, then it is assumed that local cache space is full,
Needs are updated.The video player to server sends terminal buffers information request;
The terminal buffers information of the video player the reception server feedback.Here the terminal buffers of server feedback are believed
Breath includes set of video ads to be deleted and the advertising aggregator matched with characteristic information.
Video player deletes what is stored in video cache catalogue according to the terminal buffers information of the server feedback
The entity file of the corresponding video ads of set of video ads.Afterwards from the server (can also be content distributing server)
The video ads corresponding to advertising aggregator that download is matched with the characteristic information are in local video advertisement CACHE DIRECTORY.
Here, the server feedback terminal buffers information, specially:
The server is received after the terminal buffers information request that the video player sends, slow according to the terminal
Deposit and can throw in setting time section on video player described in information request queries advertising aggregator.For example, will throw in
Advertisement filter, remaining advertisement is can to throw in advertising aggregator;Or can according to video player actual play or the determination of the result of click
The advertising aggregator of input.
Afterwards, calculated according to the terminal buffers information request and advertising aggregator, obtained the video player
Set of video ads to be deleted in video cache catalogue.Here set of video ads to be deleted, can be according to below equation meter
Obtain:
S2=S0- (S0 ∩ S1);
Wherein, S2 is advertising aggregator to be deleted from the video cache catalogue of the video player;S0 is institute
State the video ID set corresponding to all videos advertisement buffered under the video cache catalogue on video player;S1 be regarding
Advertising aggregator to be put in the most a recent period of time on frequency player.In this manner it is possible to isolate which video ads need into
New video ads are deleted and be substituted for row.
For example:By the video ID collection corresponding to all videos advertisement buffered under the CACHE DIRECTORY on video player
Cooperate as S0;Using the advertising aggregator that can be thrown in the most a recent period of time on current device as S1.To cache on current device
The set of video ads that can be deleted in space is used as S2.Using according to go out in characteristic information matching advertising aggregator as
S3。
When the video player sends a request to server, S0 aggregate informations can be included, server receives above-mentioned asking
Ask search that this video player allows that the advertising aggregator S1, S0 and S1 of viewing take that common factor obtains after information to be the video playback
Device is buffered and also allows the advertisement watched on the player in the recent period, and removes in S0 set and obtained after this part advertisement
Result be:S0-(S0 ∩ S1), that is, the advertisement that the video player can not possibly be reviewed in the recent period, these advertisements as should
The advertisement that should be deleted from CACHE DIRECTORY.By formula:Formula:S2=S0-(S0 ∩ S1), calculates the video that can be deleted wide
Accuse set S2.S0 and S1 take and occur simultaneously that obtain is that video player is buffered and also allow the advertisement watched in the recent period, and S0
Remove the result obtained after this part advertisement in set i.e.:S0- (S0 ∩ S1), that is, the equipment can not possibly review in the recent period
Advertisement, the advertisement that these advertisements namely should be deleted from the CACHE DIRECTORY of the equipment.
Furthermore it is also possible to play according to the history of the video player record, the spy of video player user is counted
Reference ceases, and matches advertising aggregator with the characteristic information according to characteristic information lookup.Specifically, video is collected here
Player broadcasting record within a certain period of time, the video ads wherein played are classified according to type, and video is broadcast
Put the actually used of device to be all labeled, such as animation fan, American series fan.These marks are searched into corresponding spy as feature
Levy information matches advertising aggregator.
Finally, the server match by set of video ads to be deleted and with characteristic information advertising aggregator return to it is described
Video player.
Preferably, the terminal buffers information request includes:Terminal equipment type, terminal device that video player is located
Operating system, the unique mark of terminal device, the video-see historical information of video player nearest a period of time and delay
The video id information of all video ads deposited.
Embodiment three
The present embodiment provides a kind of video ads request link and optimizes response method, including:
Server receives the terminal buffers information request of video player transmission;
Set of advertisements can be thrown on the video player according to the terminal buffers information request queries in setting time section
Close;
Calculated according to the terminal buffers information request and advertising aggregator, the video for obtaining the video player delays
Deposit set of video ads to be deleted in catalogue;
Played according to the history of the video player and recorded, count the characteristic information of video player user, and root
Search according to the characteristic information and match advertising aggregator with the characteristic information;
The server matches advertising aggregator and returns to the video by set of video ads to be deleted and with characteristic information
Player.
What the response method being previously mentioned in the present embodiment, the predominantly transmission for video playback request end were asked is servicing
The response method at device end.Specially:
The server is received after the terminal buffers information request that the video player sends, slow according to the terminal
Deposit and can throw in setting time section on video player described in information request queries advertising aggregator.For example, will throw in
Advertisement filter, remaining advertisement is can to throw in advertising aggregator;Or can according to video player actual play or the determination of the result of click
The advertising aggregator of input.
Afterwards, calculated according to the terminal buffers information request and advertising aggregator, obtained the video player
Set of video ads to be deleted in video cache catalogue.Here set of video ads to be deleted, can be according to below equation meter
Obtain:
S2=S0- (S0 ∩ S1);
Wherein, S2 is advertising aggregator to be deleted from the video cache catalogue of the video player;S0 is institute
State the video ID set corresponding to all videos advertisement buffered under the video cache catalogue on video player;S1 be regarding
Advertising aggregator to be put in the most a recent period of time on frequency player.In this manner it is possible to isolate which video ads need into
New video ads are deleted and be substituted for row.
For example:By the video ID collection corresponding to all videos advertisement buffered under the CACHE DIRECTORY on video player
Cooperate as S0;Using the advertising aggregator that can be thrown in the most a recent period of time on current device as S1.To cache on current device
The set of video ads that can be deleted in space is used as S2.Using according to go out in characteristic information matching advertising aggregator as
S3。
When the video player sends a request to server, S0 aggregate informations can be included, server receives above-mentioned asking
Ask search that this video player allows that the advertising aggregator S1, S0 and S1 of viewing take that common factor obtains after information to be the video playback
Device is buffered and also allows the advertisement watched on the player in the recent period, and removes what is obtained after this part advertisement in S0 set
As a result it is:S0-(S0 ∩ S1), that is, the advertisement that the video player can not possibly be reviewed in the recent period, these advertisements as should
The advertisement deleted from CACHE DIRECTORY.By formula:Formula:S2=S0-(S0 ∩ S1), calculates the video ads that can be deleted
Set S2.S0 and S1 take and occur simultaneously that obtain is that video player is buffered and also allow the advertisement watched in the recent period, and S0 collection
Remove the result obtained after this part advertisement in conjunction i.e.:S0- (S0 ∩ S1), that is, the equipment can not possibly review in the recent period it is wide
Accuse, the advertisement that these advertisements namely should be deleted from the CACHE DIRECTORY of the equipment.
Furthermore it is also possible to play according to the history of the video player record, the spy of video player user is counted
Reference ceases, and matches advertising aggregator with the characteristic information according to characteristic information lookup.Specifically, video is collected here
Player broadcasting record within a certain period of time, the video ads wherein played are classified according to type, and video is broadcast
Put the actually used of device to be all labeled, such as animation fan, American series fan.These marks are searched into corresponding spy as feature
Levy information matches advertising aggregator.
Finally, the server match by set of video ads to be deleted and with characteristic information advertising aggregator return to it is described
Video player.
Preferably, the terminal buffers information request includes:Terminal equipment type, terminal device that video player is located
Operating system, the unique mark of terminal device, the video-see historical information of video player nearest a period of time and delay
The video id information of all video ads deposited.
Example IV
A kind of video player, it is characterised in that include:Video ads request module 101, local cache searching modul
102 and advertisement replace update module 103;
The video ads request module 101, for sending video ads request to server, receives the server root
According to the advertising message that the video ads ask to return.
Wherein, video player is mainly responsible for broadcasting, the request transmission of video ads and the returning result solution of video positive
Analysis, the broadcasting of video ads, and the transmission of the related Monitoring Data in video display process, video player is to advertisement putting
Server sends the request of video ads.
Preferably, the video ads request includes:Video player terminal equipment type, video player or terminal set
For regarding for the unique mark of operating system, video player or terminal device, the video player or equipment nearest a period of time
The video id information of buffered all video ads in frequency viewing historical information and video player or terminal device.
Wherein, server receives the video ads request that video player sends, and parses bag in video ads request
The parameter information for containing, then finds several advertisements for meeting video ads requirement according to above- mentioned information, then by above-mentioned video
The relevant informations such as advertisement URL, advertisement duration, monitoring or storage address that advertisement is included are packaged into a JSON or XML format
Advertising message return to video player.Described server can be the clothes for including advertisement putting function in the present embodiment
Business device, the server of video ads download function, or include the service that video ads are updated with replacement function
Device.
The local cache searching modul 102, for parsing the advertising message and obtaining the video ads ID to be played,
And searched in video cache catalogue with the presence or absence of the corresponding video ads file of caching according to the video ads ID.
Update module 103 is replaced in the advertisement, if for judging that video ads file is present, the video player is straight
Connect the video ads file played in video cache catalogue;If not existing, the video player downloads from a server institute
The data flow for stating video ads is played out, and after video ads are finished, the video ads data flow is saved as into text
Part, in being stored in the video cache catalogue.
Wherein, server is issued video content by increasing by one layer of new network architecture in existing Internet
To the network " edge " (i.e. nearer with video player network routing interface network node) closest to user, user is allow
Required video is obtained nearby, and the video ads entity file or data flow in the present embodiment is deposited in the server.
In the present embodiment four, sent to server (there is the server of advertisement putting function) using video player and regarded
Frequency ad-request, advertisement releasing server returning advertising information is to video player.Here advertising message can be with packet
In the form of, wherein the code of video ads, title, type, storage position etc. can be included.Video player solution
The advertising message of analysis return simultaneously obtains video ads ID, and search local video in video cache module according to video ads ID
Whether with the video ads ID corresponding video ads file of caching is had in the CACHE DIRECTORY of advertisement.Here video ads ID tools
There is uniqueness.If finding in local cache, the video player directly plays the video ads file of local cache.
If no, video player sends to server and asks, directly download from server the data flow of the video ads to
Locally, and by video player directly play out.Here server can be content distributing server.If content
Distributor, then can arrange server and route nearer network node location with user, so can improve to data
The response speed of stream.After finishing in video ads, the video ads data flow is saved as into file, and be stored in and regard
In frequency CACHE DIRECTORY, in case next time is directly by caching broadcasting.It can be seen that, using this programme, video player buffered in advance video
Advertisement so that player need not all go server downloads ad in each playing video advertisement, saves user's viewing advertisement
The front stand-by period, Consumer's Experience was both improved, and user had been reduced again and exits video player due to losing the patient of wait
Probability, so as to reduce the loss of advertisement, improve acceptance of the user to advertisement.
Embodiment five
Based on above-described embodiment, further, one kind that the present embodiment five is provided is regarded the technical scheme of the present embodiment
Frequency player, it is characterised in that the local cache searching modul 102, also includes:Spatial cache updates submodule;
The spatial cache updates submodule, if the video ads number stored in for judging the video cache catalogue
And/or video ads memory space, when storing parameter threshold more than pre-set space, the video player to server sends eventually
End cache information request;According to the terminal buffers information of the server feedback, what deletion was stored in video cache catalogue regards
The entity file of the corresponding video ads of frequency advertising aggregator;The set of advertisements matched with the characteristic information is downloaded from the server
Video ads corresponding to closing are in video cache catalogue;
The terminal buffers information of the server feedback includes set of video ads to be deleted and matches with characteristic information
Advertising aggregator.
Specifically, the spatial cache renewal submodule is provided with space storage parameter threshold, for being limited to local side
Storage video ads quantity or capacity, in order to avoid local side be cached many video ads take local sides storage it is empty
Between.When using, video player judges that local side is stored or whether video ads of caching exceed threshold value, if the video
When the video ads number and/or video ads memory space stored in CACHE DIRECTORY stores parameter threshold more than pre-set space,
Then think that local cache space is full, need to be updated.The video player sends terminal buffers information to server please
Ask;
The terminal buffers information of the video player the reception server feedback.Here the terminal buffers of server feedback are believed
Breath includes set of video ads to be deleted and the advertising aggregator matched with characteristic information.
Video player deletes what is stored in video cache catalogue according to the terminal buffers information of the server feedback
The entity file of the corresponding video ads of set of video ads.Afterwards from the server (can also be content distributing server)
The video ads corresponding to advertising aggregator that download is matched with the characteristic information are in local video advertisement CACHE DIRECTORY.
Embodiment six
A kind of audio/video player system, it is characterised in that include:Above-mentioned video player and server;
The server includes that video ads ask feedback module and video data stream download module;
The video ads ask feedback module, for receiving the video ads request of video player transmission, and feed back
Video ads ask corresponding advertising message;
The video data stream download module, for being carried to the video player according to the request of the video player
Download for the data flow of video ads.
Also include in the server:Terminal buffers information feedback module;
The server feedback terminal buffers information, specially:
The server is received after the terminal buffers information request that the video player sends, slow according to the terminal
Deposit and can throw in setting time section on video player described in information request queries advertising aggregator;According to the terminal buffers information
Request and advertising aggregator are calculated, and obtain set of video ads to be deleted in the video cache catalogue of the video player;
Played according to the history of the video player and recorded, count the characteristic information of video player user, and root
Search according to the characteristic information and match advertising aggregator with the characteristic information;
The server matches advertising aggregator and returns to the video by set of video ads to be deleted and with characteristic information
Player.
The server is received after the terminal buffers information request that the video player sends, slow according to the terminal
Deposit and can throw in setting time section on video player described in information request queries advertising aggregator.For example, will throw in
Advertisement filter, remaining advertisement is can to throw in advertising aggregator;Or can according to video player actual play or the determination of the result of click
The advertising aggregator of input.
Afterwards, calculated according to the terminal buffers information request and advertising aggregator, obtained the video player
Set of video ads to be deleted in video cache catalogue.Here set of video ads to be deleted, can be according to below equation meter
Obtain:
S2=S0- (S0 ∩ S1);
Wherein, S2 is advertising aggregator to be deleted from the video cache catalogue of the video player;S0 is institute
State the video ID set corresponding to all videos advertisement buffered under the video cache catalogue on video player;S1 be regarding
Advertising aggregator to be put in the most a recent period of time on frequency player.In this manner it is possible to isolate which video ads need into
New video ads are deleted and be substituted for row.
For example:By the video ID collection corresponding to all videos advertisement buffered under the CACHE DIRECTORY on video player
Cooperate as S0;Using the advertising aggregator that can be thrown in the most a recent period of time on current device as S1.To cache on current device
The set of video ads that can be deleted in space is used as S2.Using according to go out in characteristic information matching advertising aggregator as
S3。
When the video player sends a request to server, S0 aggregate informations can be included, server receives above-mentioned asking
Ask search that this video player allows that the advertising aggregator S1, S0 and S1 of viewing take that common factor obtains after information to be the video playback
Device is buffered and also allows the advertisement watched on the player in the recent period, and removes what is obtained after this part advertisement in S0 set
As a result it is:S0-(S0 ∩ S1), that is, the advertisement that the video player can not possibly be reviewed in the recent period, these advertisements as should
The advertisement deleted from CACHE DIRECTORY.By formula:Formula:S2=S0-(S0 ∩ S1), calculates the video ads that can be deleted
Set S2.S0 and S1 take and occur simultaneously that obtain is that video player is buffered and also allow the advertisement watched in the recent period, and S0 collection
Remove the result obtained after this part advertisement in conjunction i.e.:S0- (S0 ∩ S1), that is, the equipment can not possibly review in the recent period it is wide
Accuse, the advertisement that these advertisements namely should be deleted from the CACHE DIRECTORY of the equipment.
Furthermore it is also possible to play according to the history of the video player record, the spy of video player user is counted
Reference ceases, and matches advertising aggregator with the characteristic information according to characteristic information lookup.Specifically, video is collected here
Player broadcasting record within a certain period of time, the video ads wherein played are classified according to type, and video is broadcast
Put the actually used of device to be all labeled, such as animation fan, American series fan.These marks are searched into corresponding spy as feature
Levy information matches advertising aggregator.
Finally, the server match by set of video ads to be deleted and with characteristic information advertising aggregator return to it is described
Video player.
Embodiments of the invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that bright specification accompanying drawing content is made, or directly or indirectly it is used in other related technologies
Field, is included within the scope of the present invention.