Advertisement broadcast method and device
Technical field
This disclosure relates to multimedia technology field more particularly to a kind of advertisement broadcast method and device.
Background technology
Terminal applies advertisement dispensing is the important link in development process for application developer, and different applications is often
With different advertisement SDK (Software Development Kit, Software Development Kit), different advertisement SDK is used
Ad data formats it is different, cause, using the form and ad data that independently can not quickly extend advertisement, to give advertisement production
The exploitation of product is made troubles, and advertised product innovation takes time and effort, and needs constantly to put into development resources.
Invention content
It, can be with Quick Extended advertisement form and wide in view of this, the present disclosure proposes a kind of advertisement broadcast method and device
Data are accused, advertisement R&D costs are reduced.
According to the one side of the disclosure, a kind of advertisement broadcast method is provided, including:According to the request command for playing advertisement
Obtain advertisement configuration information corresponding with the request command;Corresponding advertisement position is generated according to the advertisement configuration information;It obtains
Take the first ad data corresponding with the advertisement position;Described in data-interface corresponding with first ad data parsing
First ad data simultaneously plays out.
According to another aspect of the present disclosure, a kind of advertisement play back device is provided, including:First acquisition module is used for root
Advertisement configuration information corresponding with the request command is obtained according to the request command for playing advertisement;Advertisement position generation module, is used for
Corresponding advertisement position is generated according to the advertisement configuration information;Second acquisition module, it is corresponding with the advertisement position for obtaining
First ad data;Advertisement playing module, for using data-interface corresponding with first ad data parsing described the
One ad data simultaneously plays out.
According to another aspect of the present disclosure, a kind of advertisement play back device is provided, including:Processor;It is handled for storage
The memory of device executable instruction;Wherein, the processor is configured as executing the above method.
According to another aspect of the present disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, when the storage
When instruction in medium is executed by the processor of terminal and/or server so that terminal and/or server are able to carry out above-mentioned side
Method.
It is corresponding wide by carrying out configuration generation according to the corresponding advertisement configuration information of request command acquisition for playing advertisement
Position is accused, the first ad data corresponding with the advertisement position is obtained from advertising platform (Advertisement Server) and uses corresponding data
It is played out after the parsing of the first ad data of interface pair, the advertisement broadcast method and device of the disclosure provide and different first
The corresponding data-interface of ad data may be implemented, to playing out after different the first ad data parsings, to support advertisement number
According to Quick Extended, and then the Quick Extended of different advertisement forms may be implemented, reduces advertised product development resources overlapping investment,
Improve the efficiency of advertised product research and development.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Description of the drawings
Including in the description and the attached drawing of a part for constitution instruction and specification together illustrate the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure.
Fig. 2 shows the flow charts according to the step S14 methods of one embodiment of the disclosure.
Fig. 3 shows the flow chart of the step S141 methods according to one embodiment of the disclosure.
Fig. 4 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure.
Fig. 5 shows the schematic diagram of the advertisement broadcast method according to one embodiment of the disclosure.
Fig. 6 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure.
Fig. 7 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure.
Fig. 8 shows the schematic diagram of the advertisement broadcast method application scenarios according to one embodiment of the disclosure.
Fig. 9 shows the block diagram of the advertisement play back device according to one embodiment of the disclosure.
Figure 10 shows the block diagram of the advertisement play back device according to one embodiment of the disclosure.
Figure 11 shows the block diagram of the advertisement play back device according to one embodiment of the disclosure.
Specific implementation mode
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Reference numeral indicate functionally the same or similar element.Although the various aspects of embodiment are shown in the accompanying drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details is given in specific implementation mode below.
It will be appreciated by those skilled in the art that without certain details, the disclosure can equally be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Embodiment 1
Fig. 1 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure, this method can be applied to client,
Terminal device etc..As shown in Figure 1, this method includes:
Step S11 obtains advertisement configuration information corresponding with the request command according to the request command for playing advertisement;
Step S12 generates corresponding advertisement position according to the advertisement configuration information;
Step S13 obtains the first ad data corresponding with the advertisement position;
Step S14 parses first ad data using data-interface corresponding with first ad data and goes forward side by side
Row plays.
It is corresponding wide by carrying out configuration generation according to the corresponding advertisement configuration information of request command acquisition for playing advertisement
Position is accused, from advertising platform (Advertisement Server) or local acquisition the first ad data corresponding with the advertisement position and using corresponding
The first ad data of data-interface pair parsing after play out.The advertisement broadcast method of the disclosure provides and different first
The corresponding data-interface of ad data may be implemented, to playing out after different the first ad data parsings, to support advertisement number
According to Quick Extended, and then the Quick Extended of different advertisement forms may be implemented, reduces advertised product development resources overlapping investment,
Improve the efficiency of advertised product research and development.
For example, by taking videoconference client as an example, videoconference client before playing video, play video during or
It may need to play advertisement after playing video, can be sent to its embedded advertisement SDK by player and play advertisement
Request command calls its API (Application Programming Interface, application programming interface) interface, extensively
Advertisement configuration letter corresponding with the request command can be obtained according to the request command for the broadcasting advertisement that client is sent by accusing SDK
Breath.Wherein, the request command can be that client automatically generates, and can also be to be generated in response to the triggering of user.
The request command can include form (for example, video, picture etc.), the data format of ad data that request plays advertisement
(for example, video data format, picture format etc.) etc..The advertisement configuration information may include ad spot information, play advertisement
Form and ad data data format etc., the advertisement configuration information can be stored in client local, such as can be
Multiple advertisement configuration information are locally prestored, and corresponding advertisement configuration information, advertisement configuration letter are chosen according to request command
Breath can be from server.Wherein, the ad spot information may include the size of advertisement position, position etc..It is different types of
The request command of advertisement can correspond to corresponding advertisement configuration information.
It is described to may include according to the corresponding advertisement position of advertisement configuration information generation in a kind of possible embodiment,
For example, determining position and size of advertisement position window etc., generating broadcasting advertisement content in advertisement position floating window window, configuration advertisement position
Broadcasting tool, the advertisement position needed plays the quantity of advertisement and clicks the configuration parameter etc. of event.Wherein, the advertisement position is not
Advertisement number is limited, the advertisement number of each advertisement position can be extended according to advertisement sale situation by data configuration.
In multimedia, unique invariably playing process.Any media play state is roughly the same, to this refinement
Go out the communication mechanism of media player and advertisement SDK, for example, advertisement can be played according to the request command of player, you can real
The decoupling of existing showing advertisement and multimedia process.The Quick Extended of advertisement form and ad data may be implemented with this.
In a kind of possible embodiment, it can be advertisement position to obtain the first ad data corresponding with the advertisement position
After configuration is completed, advertisement SDK sends advertisement data request order to advertising platform, and advertising platform is in response to the ad data
Request command returns to corresponding first ad data.Advertisement SDK can obtain first advertisement by different advertising platforms
Data, for example, it may be developing the advertising platform of mono- sides of the advertisement SDK offer, can also be that other advertising providers provide
Advertising platform.
In a kind of possible embodiment, corresponding first ad data can also be obtained according to the request command.
The request command can include form (for example, video, picture etc.), the data format of ad data that request plays advertisement
Therefore (for example, video data format, picture format etc.) etc. can obtain the first advertisement number corresponding with the request command
According to.That is the first ad data, which obtains, to be completed according to the request command before advertisement position configuration, the disclosure pair
This is not construed as limiting.
Wherein, first ad data does not limit the file format of ad content, can be showed according to customer demand picture,
The ad contents such as word, animation, video, audio.
Advertisement SDK can provide multiple and different data-interfaces to parse the first different ad datas, for example, no
Ad data code encoding/decoding mode, data format that same advertising provider provides etc. may be different from, and be needed to configure corresponding
The first ad data of data-interface pair could play after parsing in the advertisement position of client local.That is the disclosure
Advertisement broadcast method is convenient for the extension of advertisement SDK data-interfaces, develops mono- sides' of advertisement SDK as described above in addition to providing
Outside data-interface, the data-interface of second party, third party etc. can also be extended, need not carry out other changes can realize extensively
Accuse the Quick Extended of data, advertisement form etc..
It should be noted that, this field as above although describing advertisement broadcast method using videoconference client as example
Technical staff can be any type of visitor that can play some form of advertisement it is understood that the disclosure is answered without being limited thereto
Family end.In fact, user can flexibly set the scene of the advertisement broadcast method application according to actual demand completely, for example, also
It can be applied to webpage etc..
Fig. 2 shows the flow chart according to the step S14 methods of one embodiment of the disclosure, Fig. 8 shows real according to the disclosure one
Apply the schematic diagram of the advertisement broadcast method application scenarios of example.As shown in Fig. 2, the step S14 includes:
Step S141 is parsed using data-interface corresponding with first ad data and is determined the first advertisement number
According to data format;
Step S142, by the Data Format Transform of first ad data be the advertisement position support data format into
Row plays.
As described above, ad data code encoding/decoding mode, data format etc. that different advertising providers provides may not
Identical, therefore, it is necessary to different data-interfaces to parse first ad data.As shown in Figure 8, for example, right
It (may include advertisement in it that the data-interface of advertising provider A, which may be used, in the first ad data that advertising provider A is provided
The data parser of provider A, for example, it may be the first data parser as shown in Figure 8) it parses (for example, decompression, solution
Code etc.) afterwards determine first ad data data format.For example, being video in the corresponding advertisement form of the first ad data
In the case of advertisement, data format can be 3GP, MPEG, AVI etc., be picture in the corresponding advertisement form of the first ad data
In the case of advertisement, data format can be BMP, JPEG, TIFF etc..
Its Data Format Transform can be supported for the advertisement position after determining the data format of first ad data
Data format after play out.For example, the data format of first ad data is BMP, corresponding advertisement position is supported
Data format be JPEG, the data of first ad data can be converted into JPEG by data-interface, wherein described
Advertisement SDK may include that format converter tools realize above-mentioned format conversion.In a kind of possible embodiment, can also first it sentence
Whether the data format that the data format of disconnected first advertisement and the advertisement position are supported is identical, in the number of first advertisement
According to format it is identical with the data format that the advertisement position is supported in the case of can not also be converted, directly play out.
Data corresponding with the first ad data can be used according to the advertisement broadcast method of disclosure the above embodiment
Interface to the first ad data obtained by different advertising platforms parse and determines data format, by the first ad data
Volume Data Format Transform is that the data format that the advertisement position is supported plays out.Ad data, advertisement shape can be fast implemented
The extension of formula, and according to demand can be with the data-interface of Quick Extended advertisement SDK in order to further expanding ad data
And advertisement form.
In a kind of possible embodiment, the step S14 further includes:
Step S143 chooses the broadcasting tool to match with the data format and plays out.
For example, can be when generating corresponding advertisement position according to the advertisement configuration information, configuration plays in advertisement
Hold the multiple broadcasting tools needed to support the broadcasting of the ad data of different data format.Determining first ad data
Data format after, the broadcasting tool to match with the data format can be chosen in above multiple broadcasting tools and is carried out
It plays.The process that format conversion can be cancelled in this way reduces the time of data processing, improves fluency.
Fig. 3 shows the flow chart of the step S141 methods according to one embodiment of the disclosure.As shown in figure 3, the step
S141 includes:
Step S1411, it is corresponding with first ad data according to the mark determination of the data source of the first ad data
Data-interface;
Step S1412 parses using the data-interface and determines the data format of first ad data.
Wherein, the data source mark can be any advertisement offer that can be distinguished and provide first ad data
The mark of quotient, for example, the advertising data server IP address of advertising provider, the port numbers of transmission data or preset
Source identification etc. in data packet head.It can be determined according to data source mark and first ad data is provided
Advertising provider, and then can determine corresponding data-interface.For example, multiple data can be configured in advertisement SDK to connect
Mouthful:For example, data-interface A, data-interface B and data-interface C etc., can be used for parsing advertising provider A respectively, advertisement carries
For the ad data of quotient B and advertising provider C etc., for example identified according to data source after obtaining first ad data
Determine that first ad data is provided by advertising provider A, then can determine corresponding with first ad data
Data-interface be data-interface A, the data format of first ad data is parsed and determined using data-interface A.
According to the advertisement broadcast method of disclosure the above embodiment, can be easy to using existing data source mark
Different data sources is distinguished, so that it is determined that data-interface corresponding with first ad data, haves no need to change existing wide
Coded format, the sending method for accusing data, only extend corresponding data-interface in the advertisement SDK and advertisement number can be realized
According to the Quick Extended of, advertisement form etc..
Fig. 4 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure.As shown in figure 4, the method is also
Including:
Step S15 monitors the request command for playing advertisement corresponding with the currently playing progress of multimedia resource.
It is applied under the application scenarios in multimedia resource playing process in advertisement broadcast method, for example, video playing mistake
Advertisement broadcasting method in journey, may also listen for video currently playing progress it is corresponding play advertisement request command, according to
The corresponding request command for playing advertisement of currently playing progress of multimedia resource obtains the advertisement configuration information.
Fig. 5 shows the schematic diagram of the advertisement broadcast method according to one embodiment of the disclosure.As shown in figure 5, to play film
For, before video starts broadcasting, player initializes advertisement SDK, and advertisement SDK may include monitoring module, and advertisement SDK starts institute
It states and monitors the request command that module monitors broadcasting advertisement corresponding with the currently playing progress of multimedia resource, advertisement SDK is opened
It can be to the order of player transmitter ready after dynamic monitoring module.
Player is signposted before it can be played before playing video content, and patch is wide before being sent at this time to advertisement SDK
Interface VALF (API) request command is accused, the monitoring module in advertisement SDK can call preceding patch after listening to above-mentioned request command
Ad interface VALF simultaneously obtains advertisement configuration information corresponding with the request command according to the request command;Advertisement SDK roots
Corresponding all kinds of advertisement positions are generated according to advertisement configuration information, for example, determining position and size of window etc., generating advertisement position floating window
What window, configuration broadcasting advertisement content needed plays tool, number of ads and the configuration parameter etc. for clicking event, preceding to signpost
It may include preceding advertisement, Corner Sign Advertisement, pause advertisement etc., floating window can be created, utilize player plays video ads, picture
Player plays display advertising can suspend ad content and screen switching will be shown to ad content when the user clicks when screen
Official's network address of corresponding product or purchase address etc.;The advertisement position can be stored in local, such as can be with after the completion of configuration
Advertisement applications pond is set, the advertisement position that configuration generates is stored in advertisement applications pond in case using;As shown in figure 5, can be
(batch loads) first ad data corresponding with all kinds of advertisement positions is obtained after the completion of the advertisement position configuration, it can also be according to institute
It states request command and obtains first corresponding ad data of (batch loads), the disclosure does not limit this, wherein batch adds
Load can refer to will be all before data of signposting once load completions, the advertisement SDK can configure batch loader and realize extensively
The batch for accusing data preloads, and with the load of separate advertisement and can show control in this way, can configure certain ad data and supports pre-add
It carries and loads immediately;Advertisement position configuration is completed and after the completion of the load of the first ad data, using with the first advertisement number
First ad data is parsed according to corresponding data-interface and is played out in corresponding advertisement position.
In a kind of possible embodiment, after the completion of the first ad data loads, the advertisement SDK can also be to broadcasting
It puts device and sends the order that load is completed, the player receives the data load that can start film after this message.It is broadcast in advertisement
After the completion of putting, the advertisement SDK can send the order that advertisement finishes playing to the player, and the player receives this
The broadcasting of film can be started after message.
As shown in figure 4, the step S11 includes:
Step S111, according to the request command, using corresponding with the currently playing progress of the multimedia resource
Ad interface obtains the advertisement configuration information.
It for example, at this time can be to as described above, player is signposted before it can be played before playing video content
Advertisement SDK signposts interface VALF (API) request command before sending, and the monitoring module in advertisement SDK is listening to above-mentioned request
It signposts before being called after order and interface VALF and corresponding with request command advertisement is obtained according to the request command
Configuration information.Likewise, after player inserts point in detecting, ad interface VALO (API) is inserted in being sent to advertisement SDK
Request command, the monitoring module in advertisement SDK insert ad interface VALO simultaneously in being called after listening to above-mentioned request command
Corresponding with request command advertisement configuration information is obtained according to the request command, other processes (slotting advertisement in for example,
After signpost) it is same as described above, repeat no more.For another example, player detect video will finish playing (such as
Video render is in last ten seconds) after, interface VALB (API) request command of signposting after being sent to advertisement SDK, advertisement
Monitoring module in SDK signposts interface VALB according to the request command after being called after listening to above-mentioned request command
Obtain corresponding with request command advertisement configuration information, other processes (in for example, slotting advertisement, then signpost) with it is above-mentioned
Process is identical, repeats no more.
According to the advertisement broadcast method of disclosure the above embodiment, according to before broadcasting, play neutralize play after etc. it is various
State decouples the broadcasting of advertisement showed with film, is conducive to the form and content of Quick Extended advertisement.
Fig. 6 shows the flow chart of the advertisement broadcast method according to one embodiment of the disclosure.As shown in fig. 6, the step S13
Further include:
Step S131, according to the request command, load corresponding with the currently playing progress of the multimedia resource the
One ad data.
For example, it can be that batch preloads (as described above) to obtain first ad data, can also be
When monitoring the request command for playing advertisement corresponding with the currently playing progress of multimedia resource, according to the request command
It is loaded.As shown in figure 5, player can be sent out after detecting the time that user triggers pause movie playback to advertisement SDK
Pause ad interface VALP (API) request command is sent, without data of signposting before preloading whole before broadcasting of preceding signposting
In the case of, the monitoring module in advertisement SDK can call pause ad interface VALP and root after listening to above-mentioned request command
The first ad data corresponding with the currently playing progress of the multimedia resource is obtained according to the request command, as shown in figure 8,
The first ad data can be loaded from advertising provider, pause ad data can also be obtained from local material original paper.Immediately
Flow can be saved by loading the first ad data, avoid the waste for causing bandwidth.
Fig. 7 shows the flow chart of the step S13 methods according to one embodiment of the disclosure.As shown in fig. 7, the step S13
Including:
Step S132 chooses the first ad data corresponding with the advertisement position in the ad data of preloading.
As it was noted above, obtaining first ad data can be that batch preloads, for example, as shown in figure 5, can be with
Batch load and all kinds of advertisement positions (preceding advertisement position, Corner Sign Advertisement position, pause advertisement position after the completion of advertisement position configuration
Deng) the first ad data for answering.It can be according to the request command from having preloaded after the completion of suspending advertisement position configuration
The first ad data corresponding with the advertisement position is chosen in ad data.
Using example
The advertisement broadcast method of the disclosure is further illustrated in conjunction with Fig. 5, Fig. 8.
For playing film, before video starts broadcasting, player initializes advertisement SDK, and advertisement SDK may include monitoring
Module, for example, monitoring module can be arranged in manager, advertisement SDK starts the monitoring module monitoring and multimedia resource
The corresponding request command for playing advertisement of currently playing progress, advertisement SDK starts monitor module after can be sent out to player
Send ready order.
Player is signposted before it can be played before playing film, is signposted and is connect before being sent at this time to advertisement SDK
Mouthful VALF (API) request command, advertisement applications platform receive the monitoring module being sent to after the request command in manager,
After listening to above-mentioned request command, advertisement SDK's monitoring module signposts interface VALF and according to described before can calling
Request command obtains advertisement configuration information corresponding with the request command;Advertisement SDK generates corresponding according to advertisement configuration information
All kinds of advertisement positions, for example, determining the position of window and size etc., generating advertisement position floating window window, configuration broadcasting advertisement content
Broadcasting tool, number of ads and the configuration parameter etc. for clicking event needed, preceding signpost may include preceding advertisement, footmark
Advertisement, pause advertisement etc. can create floating window, using player plays video ads, picture players playing pictures advertisement, when
User can suspend ad content and screen switching will be shown to ad content corresponding product when clicking the screen for playing advertisement
Official's network address or purchase address etc.;The advertisement position can be stored in local after the completion of configuration, such as advertisement can be set and answered
With pond, the advertisement position that configuration generates is stored in advertisement applications pond in case using;As shown in figure 5, can be in the advertisement position
The first ad data corresponding with all kinds of advertisement positions is preloaded by batch loader batch after the completion of configuration, can also played
Batch loader batch load corresponding with the progress that it is played first is passed through according to the request command to when corresponding progress
Ad data, the disclosure do not limit this, wherein batch load can refer to will be all before data of signposting once loaded
At the advertisement SDK can configure batch preloading device and realize that the batch of ad data preloads, in this way can be with separate advertisement
Control is loaded and showed, certain ad data is can configure and supports to preload and load immediately;The advertisement position configuration completion and first
After the completion of ad data load, first ad data is parsed simultaneously using data-interface corresponding with first ad data
It is played out in corresponding advertisement position, as shown in figure 8, may include data module in the advertisement SDK, the data module collection
At multiple data-interfaces, each data-interface, which includes data parser, to solve corresponding first ad data
Analysis.
In a kind of possible embodiment, after the completion of the first ad data loads, the advertisement SDK (advertisement applications
Platform) order that load is completed can also be sent to player, the player receives the number that can start film after this message
According to load.After advertisement finishes playing, the advertisement SDK (advertisement applications platform) can send advertisement to the player and play
The order of completion, the player receive the broadcasting that can start film after this message.
In a kind of possible embodiment, batch loader batch the first advertisement of load can be passed through according to request command
Data can load (as shown in Figure 8 is loaded by data module) from advertising provider, can also be as shown in Figure 8 from local
Material original paper (for example, picture etc. of Corner Sign Advertisement, pause advertisement) load.First ad data may include multiple and different
Ad data, advertisement SDK can according to the data source of the first ad data identify determine with first ad data pair
The data-interface answered parses using data-interface and determines the data format of first ad data.In a kind of possible reality
It applies in mode, it can be by its Data Format Transform for the data format of advertisement position support and according to the first ad data (example
Such as, according to each advertisement play time) structure AdMap (advertisement map) be stored in advertisement applications pond, in advertisement applications pond
Ad data can be sorted according to the difference of playing progress rate, corresponding ad data is played according to the playing progress rate of film.
In the playing process of film, the module of monitoring can monitor the playing progress rate of film, work as when listening to film
When preceding playing progress rate needs to play the ad data of Corner Sign Advertisement, Corner Sign Advertisement interface VALC can be sent to advertisement SDK
(API) request command, advertisement SDK can call Corner Sign Advertisement interface VALC and be obtained and the request according to the request command
Order corresponding advertisement configuration information.It can be stored in advertisement applications from what is preloaded after the completion of Corner Sign Advertisement position configures
Corner Sign Advertisement data corresponding with the advertisement position are chosen in ad data in pond to play out.
Likewise, player after detecting the time that user triggers pause movie playback, can be sent temporary to advertisement SDK
Stop ad interface VALP (API) request command, after monitoring module and listening to above-mentioned request command, advertisement SDK can be called temporarily
Stop ad interface VALP and advertisement configuration information corresponding with the request command is obtained according to the request command.It is wide in pause
Accusing can be according to the request command from the ad data being stored in advertisement applications pond preloaded after the completion of the configuration of position
It is middle to choose corresponding with advertisement position ad data and play out.
In insert advertisement and after signpost it is roughly the same with the playing process before signposted, as shown in figure 5, repeating no more.
The explanation that advertisement form extension is carried out according to disclosure advertisement broadcast method is introduced for extending new advertisement form.
Assuming that newly-increased advertisement request is directed to hot broadcast film"Star War"It provides and prompts user that can click friendship when intelligent robot occurs
Mutual advertisement, user clicks rear video pause and animation shows that robot details, association businessman buy link.Because having decoupled
The broadcasting of playing process and ad data, for the related advertisement with video playing, any type of advertisement is all basis
Various states and message before video playing, in playing, after playing show to complete to launch.
From the product demand of above-mentioned hypothesis new model advertisement it is found that can be broken down into"Star War"Movie playback
Corresponding time point shows advertisement in this broadcasting in the process, and realizes and interacted with user, can send message control to player
The suspending/resuming of film processed plays.Workflow that new advertisement is researched and developed can be decomposed into this:1, it makes prompt and follows interaction
Advertisement:Background transparent and according to indication range uniform zoom, when cue button shows simulation follow the fortune of robot in video
Dynamic rail mark does animation, and sending message informing player to player after detecting that user clicks the advertisement in playing suspends film
It plays, and is linked by animated show merchandise news and purchase;2, advertising provider configures advertisement in server end according to demand
The ad data that SDK is thrown surely according to video id;3, the advertisement in still being played by this new model advertisement known to demand analysis, can be with
It is preloaded by batch loader.When advertisement SDK receives player plays to corresponding time point message, this advertisement start completion exhibition
Existing, the process specifically showed is referred to insert the process of advertisement broadcasting among the above, repeats no more.
It can be seen that by the above workflow, it is only necessary to increase new model advertisement and can be launched in existing system and shows,
Without doing any change to player, version is sent out without compiling.
Embodiment 2
Fig. 9 shows the flow chart of the advertisement play back device according to one embodiment of the disclosure, the device can be applied to client,
Terminal device etc..As shown in figure 9, the device includes:First acquisition module 91, advertisement position generation module 92, the second acquisition module
93 and advertisement playing module 94.
First acquisition module 91, for obtaining advertisement corresponding with the request command according to the request command for playing advertisement
Configuration information;
Advertisement position generation module 92, for generating corresponding advertisement position according to the advertisement configuration information;
Second acquisition module 93, for obtaining the first ad data corresponding with the advertisement position;
Advertisement playing module 94, for wide using data-interface corresponding with first ad data parsing described first
It accuses data and plays out.
Figure 10 shows the flow chart of the advertisement play back device according to one embodiment of the disclosure.As shown in Figure 10, the advertisement
Playing module 94 includes:Resolution unit 941 and format conversion unit 942.
Resolution unit 941, for being parsed using data-interface corresponding with first ad data and determining described the
The data format of one ad data;
Format conversion unit 942, for supporting the Data Format Transform of first ad data for the advertisement position
Data format play out.
In a kind of possible embodiment, the advertisement playing module 94 further includes:First selection unit 943.
First selection unit 943 is played out for choosing the broadcasting tool to match with the data format.
In a kind of possible embodiment, the resolution unit 941 includes:Determination subelement 9411 and parsing subunit
9412。
Determination subelement 9411, for being determined and the first advertisement number according to the data source of the first ad data mark
According to corresponding data-interface;
Parsing subunit 9412, for parsing using the data-interface and determining the data lattice of first ad data
Formula.
In a kind of possible embodiment, described device further includes:Monitor module 95.
Module 95 is monitored, for monitoring the request life for playing advertisement corresponding with the currently playing progress of multimedia resource
It enables.
In a kind of possible embodiment, first acquisition module 91 further includes:Acquiring unit 911.
Acquiring unit 911 is used for according to the request command, using the currently playing progress phase with the multimedia resource
Corresponding ad interface obtains the advertisement configuration information.
In a kind of possible embodiment, second acquisition module 93 includes:Data loading unit 931.
Data loading unit 931, for according to the request command, load and the multimedia resource it is currently playing into
Spend corresponding first ad data.
In a kind of possible embodiment, the advertisement configuration information includes ad spot information, plays the form of advertisement
One or more of with the data format of ad data.
In a kind of possible embodiment, second acquisition module 93 includes:Second selection unit 932.
Second selection unit 932 is wide for choosing corresponding with the advertisement position first in the ad data of preloading
Accuse data.
Embodiment 3
Figure 11 is a kind of block diagram of advertisement play back device 800 shown according to an exemplary embodiment.For example, device 800
Can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices,
Body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, device 800 may include following one or more components:Processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of 802 usual control device 800 of processing component, such as with display, call, data communication, phase
Machine operates and record operates associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example includes instruction for any application program or method that are operated on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system
System, one or more power supplys and other generated with for device 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detect the state that opens/closes of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application application-specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-volatile computer readable storage medium storing program for executing instructed, example to additionally provide a kind of
Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium can be can keep and store the instruction used by instruction execution equipment tangible
Equipment.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium
More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable
Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above
Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to
It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network
Portion's storage device.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
For execute the disclosure operation computer program instructions can be assembly instruction, instruction set architecture (ISA) instruction,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages
Arbitrarily combine the source code or object code write, the programming language include the programming language-of object-oriented such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions can be executed fully, partly execute on the user computer, is only as one on the user computer
Vertical software package executes, part executes or on the remote computer completely in remote computer on the user computer for part
Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind
It includes LAN (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as profit
It is connected by internet with ISP).In some embodiments, by using computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure
Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/
Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/
Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special purpose computer or other programmable datas
The processor of processing unit, to produce a kind of machine so that these instructions are passing through computer or other programmable datas
When the processor of processing unit executes, work(specified in one or more of implementation flow chart and/or block diagram box is produced
The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, to be stored with instruction
Computer-readable medium includes then a manufacture comprising in one or more of implementation flow chart and/or block diagram box
The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other
In equipment so that series of operation steps are executed on computer, other programmable data processing units or miscellaneous equipment, with production
Raw computer implemented process, so that executed on computer, other programmable data processing units or miscellaneous equipment
Instruct function action specified in one or more of implementation flow chart and/or block diagram box.
Flow chart and block diagram in attached drawing show the system, method and computer journey of multiple embodiments according to the disclosure
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
One module of table, program segment or a part for instruction, the module, program segment or a part for instruction include one or more use
The executable instruction of the logic function as defined in realization.In some implementations as replacements, the function of being marked in box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can essentially be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or
The combination of each box in flow chart and the box in block diagram and or flow chart can use function or dynamic as defined in executing
The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or this technology is made to lead
Other those of ordinary skill in domain can understand each embodiment disclosed herein.