Summary of the invention
A kind of method that embodiments of the invention provide advertisement to load and device and player, intend really incorporating in the video contents such as movie and television play for realizing promotion item.The method comprises:
Steps A: layer is floated in the advertisement be processed into by promotion item containing certain movement trajectory coordinates parameter, pixel and position coordinates, or be processed into the full frame advertisement comprising positioning advertising content of good and motion and float layer, at promotion item position display promotion item, all the other positions transparent or black of display floats layer;
Step B: when player part carrying advertisement floats layer, player detects the video playback time point that promotion item should be play, load above-mentioned promotion item and float layer and coordinate parameters, pixel and position coordinates etc., layer is floated at matched position carrying advertisement commodity, promotion item will to float on layer play content former in player at transparent or black and synchronously play, and realize superposition and play.
Step C: when the full frame carrying advertisement of player floats layer, player detects the video playback time point that promotion item should be play, load above-mentioned transparent or black advertisement and float layer, promotion item will to float on layer play content former in player at transparent or black and synchronously play, and realize superposition and play.
Further, step B specifically comprises the following steps:
Step S201, before current video is play to object time point, sends to player the request of data that layer is floated in advertisement.
The request of data that layer is floated in described advertisement comprises promotion item content matching information and promotion item input solicited message.
Step S202, the data interaction of layer is floated in advertisement, with player exchange packets containing information such as the coordinate parameters of promotion item, location of pixels, movement locus are dynamic, and advertisement is floated the position coordinate parameters that layer represents and mates with player coordinate parameters.
Step S203, player and advertisement are floated after layer data exchanges, corresponding advertisement floats layer by propellings movement or transfer to player content source distribution of content and store on CDN, and when user watches video, advertisement is floated layer and buffer memory together with the video file in viewing is watched player to user is local.
Step S204, when current video is played to object time point or frame of video, player simultaneously playing video file and advertisement floats layer, and namely advertisement is floated layer and covered on former video source file, and floating layer and video source file synchronization are play.
Step S205, two-layer file synchronization superposition is play, and after advertisement finishes playing, video source file normal play, advertisement is floated layer and disappeared, and returning prison to server broadcasts callback data code simultaneously, the success of statistics advertising display.
Further, step C specifically comprises the following steps:
Step S301, before current video is play to object time point, sends the request of data that layer is floated in advertisement, and the request of data that layer is floated in advertisement comprises content matching information data information and the input request that layer is floated in advertisement.
Step S302, player and advertisement are floated after layer data exchanges, corresponding advertisement floats layer by propellings movement or transfer to player content source distribution of content and store on CDN, and when user watches video, advertisement is floated layer and buffer memory together with the video file in viewing is watched player to user is local.
Step S303, when current video is played to object time point or frame of video, player simultaneously playing video file and advertisement floats layer, and namely advertisement is floated layer and covered on former video source file, and floating layer and video source file synchronization are play.
Step S304, the superposition of two-layer file synchronization is play, and after playing to the advertising display time that request of data in step S301 comprises, the video source file that player is being play remains unchanged normal play, but the advertisement of player upper strata is floated layer and disappeared.Layer disappearance is floated in advertisement, and returning prison to server broadcasts callback data code simultaneously, the success of statistics advertising display.
Embodiment
Illustrate clearly and completely the technical scheme in the embodiment of the present invention below in conjunction with drawings and Examples, described embodiment is only the present invention's part embodiment, but not as the foundation limited the present invention.Do not making based on those skilled in the art's those of ordinary skill the every other embodiment obtained under creative work prerequisite, all belonging to the category of the present invention's protection.
A kind of method that embodiments of the invention provide advertisement to load and device and player, intend really incorporating in the video contents such as movie and television play for realizing promotion item.The method comprises:
Steps A: layer is floated in the advertisement that promotion item is processed into containing certain movement trajectory coordinates parameter, pixel or position coordinates, or be processed into the full frame full frame advertisement comprising positioning advertising content of good and motion and float layer, at promotion item place display promotion item, all the other show transparent or black without promotion item place and float layer;
Step B: when player part carrying advertisement floats layer, player detects the video playback time point that promotion item should be play, load above-mentioned promotion item and float layer and coordinate parameters, pixel or position coordinates etc., layer is floated at matched position carrying advertisement commodity, promotion item will to float on layer play content former in player at transparent or black and synchronously play, thus show Overlay true to nature.
Step C: when the full frame carrying advertisement of player floats layer, player detects the video playback time point that promotion item should be play, load above-mentioned transparent or black advertisement and float layer, promotion item will to float on layer play content former in player at transparent or black and synchronously play, thus show Overlay true to nature.
Wherein, steps A as shown in Figure 1: by promotion item, layer is floated in the advertisement be processed into containing certain movement track position, and layer is floated in the advertisement comprising part of screen covering, or layer is floated in the full frame advertisement comprising positioning advertising commodity.Promotion item place display promotion item, floats layer without promotion item the place transparent or black of output.
Step B is as shown in Figure 2: when player part carrying advertisement floats layer, player detects the video playback time point that promotion item should be play, carrying advertisement commodity float layer and coordinate parameters, pixel or position coordinates etc., layer is floated at matched position carrying advertisement commodity, promotion item will to float on layer play content former in player at transparent or black and synchronously play, thus show Overlay true to nature.
It specifically comprises the following steps:
Step S201, before current video is play to object time point, sends the request of data that layer is floated in advertisement.The request of data that layer is floated in advertisement comprises promotion item content matching information and promotion item input solicited message.
Step S202, the data interaction of layer is floated in advertisement, comprises the coordinate parameters of promotion item, location of pixels, movement locus move information.Advertisement is floated the position coordinate parameters that layer represents and is mated with player coordinate parameters.
Step S203, player and advertisement are floated after layer data exchanges, corresponding advertisement floats layer by propellings movement or transfer to player content source distribution of content and store on CDN, and when user watches video, advertisement is floated layer and buffer memory together with the video file in viewing is watched player to user is local.
Step S204, when current video is played to object time point or frame of video, player simultaneously playing video file and advertisement floats layer, and namely advertisement is floated layer and covered on former video source file, and floating layer and video source file synchronization are play.
Step S205, two-layer file synchronization superposition is play, and throws in solicited message data, after the advertising display time that request msg comprises when playing to promotion item in step S201, the video source file that player is being play remains unchanged normal play, but the advertisement of player upper strata is floated layer and disappeared.Layer disappearance is floated in advertisement, and returning prison to server broadcasts callback data code simultaneously, the success of statistics advertising display.
Step C is as shown in Figure 3: when player part carrying advertisement floats layer, player detects the video playback time point that promotion item should be play, full frame carrying advertisement commodity float layer, promotion item will to float on layer play content former in player at transparent or black and synchronously play, thus show Overlay true to nature.
It specifically comprises the following steps:
Step S301, before current video is play to object time point, sends the request of data that layer is floated in advertisement, and the request of data that layer is floated in advertisement comprises content matching information data information and the input request that layer is floated in advertisement.
Step S302, player and advertisement are floated after layer data exchanges, corresponding advertisement floats layer by propellings movement or transfer to player content source distribution of content and store on CDN, and when user watches video, advertisement is floated layer and buffer memory together with the video file in viewing is watched player to user is local.
Step S303, when current video is played to object time point or frame of video, player simultaneously playing video file and advertisement floats layer, and namely advertisement is floated layer and covered on former video source file, and floating layer and video source file synchronization are play.
Step S304, the superposition of two-layer file synchronization is play, and after playing to the advertising display time that request of data in step S301 comprises, the video source file that player is being play remains unchanged normal play, but the advertisement of player upper strata is floated layer and disappeared.Layer disappearance is floated in advertisement, and returning prison to server broadcasts callback data code simultaneously, the success of statistics advertising display.
The present invention can also be applied in all broadcastings such as client, player, video portal website, TV station and load on all program command of video, terminal and device and realize the effect that player loads floating layer.Can carry out preliminary treatment CDN loading, particularly video playback time the same period loads, matchmaker provides the various ways such as original contents amendment.The remote auto processing execution advertisement that can be linked by communication network is floated layer and is loaded, and also can manual program examination select, and also can load without computer in communication network situation and calculate.
It should be noted that, the category of the method that a kind of advertisement provided by the invention loads and device comprises the combination in any between each part mentioned above.In the present invention, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And term " comprises ", " comprise " or which key element equipment not only comprises, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.Under not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step during realizing said method implements is can combined with hardware or software, or the combination both combining in due course realizes.Method of the present invention can be stored in computer server read/write memory medium, here the alleged storage medium obtained, as: the program code in the tangible medium of ROM/RAM, magnetic disc, CD, hard disk or any other machinable medium and the form of instruction, wherein, when program code can when become computer performs, computing equipment generally includes processor, this processor readable storage medium (comprising volatile memory and/or memory element), at least one input equipment and at least one output equipment.One or more program can realize or utilize the process described in conjunction with the present invention.Such program is preferably by high level procedural or in the face of resembling programming language to realize, to communicate with computer system.But if needed, this program can realize by assembler language or machine language.In any case, language can be compiler language or interpretative code, and is combined with hardware implementing.
The application can describe in the general context of the computer executable command performed by computer, such as program module.General, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be linked by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
The foregoing is only preferred embodiment of the present invention, but those skilled in the art will appreciate that the various change that can make in form and details and do not depart from the scope of the present invention described in appended claims.More than be described in detail and algorithm citing in conjunction with specific embodiments of the invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.