Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer,, the present invention is described in further details below in conjunction with execution mode and accompanying drawing.At this, exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Embodiment 1
As shown in Figure 1, for realizing the functional structure of the terminal 100 that advertisement is play in the embodiment of the invention 1, this device 100 comprises: ad data acquiring unit 101, advertisement data store unit 102, control information request unit 103, ad data broadcast unit 104 and ad data statistic unit 105.
Advertisement acquiring unit 101 is used for obtaining ad data from advertisement application server, and wherein advertisement acquiring unit 101 comprises: the lastest imformation request module, be used for according to predetermined period, and send the advertisement update inquiry information to advertisement application server.The lastest imformation receiver module, be used to receive the advertisement renewal response message that contains the advertisement lastest imformation that advertisement application server sends, and the advertisement lastest imformation that receives the advertisement application server active push, wherein, the advertisement lastest imformation comprises advertisement and identifier and advertisement download address.The ad data download module according to advertisement download address and the advertisement and identifier in the advertisement lastest imformation, is downloaded the ad data corresponding with advertisement and identifier from advertisement application server.
Advertisement data store unit 102 is used for the ad data that stores advertisements acquiring unit 101 obtains.
Control information request unit 103 is used for according to predetermined period, sends the Play Control request message to advertisement application server.
Ad data broadcast unit 104 is used to receive the Play Control information that advertisement application server transmits by call set up signaling, plays the ad data corresponding with Play Control information in real time; And the Play Control response message that comprises the control information download address that receives described advertisement application server transmission, according to the control information download address downloading and playing control information that receives, the Play Control information that storage is downloaded, according to the Play Control information of storage, play corresponding ad data at the fixed time.
Ad data statistic unit 105 is used to add up the broadcasting time of described ad data, and the broadcasting time of described ad data is reported described advertisement application server.
Ad data in the present embodiment comprises audio advertisement data and video ads data.
The beneficial effect of present embodiment is, device 100 can be according to the Play Control information of advertisement application server transmission, not only can avoid the dependence of ad data play quality pair and the network bandwidth, can also control the play content and the reproduction time of local advertising data more flexibly.
Embodiment 2
As shown in Figure 2, be the flow process of video ads player method in the embodiment of the invention 2, comprising following steps:
Step 201, terminal receives the advertisement lastest imformation that advertisement application server issues.
Terminal receives the lastest imformation that advertisement application server initiatively promotes, and perhaps terminal to advertisement application server regular request advertisement lastest imformation, and receives the advertisement lastest imformation that advertisement application server sends by response message according to predetermined period.The advertisement lastest imformation includes the download address and the advertisement and identifier of ad data.
Step 202, the terminal downloads ad data.
Terminal is downloaded corresponding ad data with advertisement and identifier according to advertisement download address and advertisement and identifier from advertisement application server.
Step 203, terminal is stored the ad data of downloading.
Step 204, terminal receives the Play Control information that advertisement application server transmits by call set up signaling.
Step 205, terminal are play the ad data corresponding with Play Control information in the ad data of storing in real time according to the Play Control information that receives.
Step 206, terminal reports advertisement application server with the broadcasting time of ad data.
The broadcasting time of terminal statistics ad data, the broadcasting time of ad data is initiatively reported advertisement application server, perhaps, terminal is after receiving the query messages that advertisement application server sends, by the response message of query messages, the broadcasting time of ad data is reported advertisement application server.
In the present embodiment, the mode of terminal acquisition Play Control information has multiple variation.For example: after terminal downloads and the stores advertisements data, can be according to a predetermined period, to advertisement application server regular request Play Control information, receive the Play Control download address that advertisement application server sends by response message, terminal is according to the control information download address that receives, from the control information of advertisement application server downloading and playing; Perhaps after terminal downloads and the stores advertisements data, terminal receives the control information download address of advertisement application server active push, and the control information download address that terminal pushes according to advertisement application server is from the control information of advertisement application server downloading and playing.
After the terminal downloads Play Control information, the Play Control information of downloading is stored, play the corresponding ad data of Play Control information at the fixed time with storage.
Ad data in the present embodiment comprises audio advertisement data and video ads data.
The beneficial effect of present embodiment is, terminal can realize the video ads broadcast according to the Play Control information that advertisement application server sends, not only can avoid the dependence of ad data play quality pair and the network bandwidth, can also control the play content and the reproduction time of local advertising data more flexibly.
Embodiment 3
Present embodiment provides a kind of server of realizing that advertisement is play: as shown in Figure 3, this server comprises: lastest imformation transmitting element 301, control information transmitting element 302, end message statistic unit 303, advertisement data store unit 304, facility information maintenance unit 305, control information memory cell 306.
Lastest imformation transmitting element 301 is used for described advertisement lastest imformation active push is given terminal or in receiving the advertisement update inquiry information that described terminal regularly sends, described advertisement lastest imformation upgraded response message by advertisement, sends to described terminal.The advertisement lastest imformation comprises at least: advertisement and identifier and advertisement download address.
Control information transmitting element 302, be used for Play Control information is sent to terminal by call set up signaling, play and the corresponding described ad data of described Play Control information in real time to control described terminal, and the download address active push of just described Play Control information is given described terminal, and the Play Control request message that receives the regular transmission of described terminal, and with the download address of described Play Control information by the Play Control response message, send to described terminal.
End message statistic unit 303, be used to receive the ad data broadcasting time that described terminal initiatively reports, and the ad data broadcasting time of the described terminal of active inquiry, and the described ad data of described terminal plays is analyzed, added up according to described ad data broadcasting time.
Advertisement data store unit 304 is used to store the ad data for terminal downloads.
Facility information maintenance unit 305 is used for the advertisement lastest imformation of the described ad data that has upgraded of storage terminal.
Control information memory cell 306 is used to store the Play Control information that need send to terminal.
The beneficial effect of present embodiment is, terminal can be according to the Play Control information of advertisement application server transmission, play the video ads of storage, not only can avoid the dependence of ad data play quality pair and the network bandwidth, can also control the play content and the reproduction time of local advertising data more flexibly.
Embodiment 4
Present embodiment provides a kind of method that realizes that video ads is play, and as shown in Figure 4, this method comprises the steps:
Step 401, advertisement application server sends to terminal with the advertisement lastest imformation.
The advertisement update inquiry information that advertisement application server can be given advertisement lastest imformation active push terminal or regularly send according to terminal is upgraded response message with the advertisement lastest imformation by advertisement and is sent to terminal.The advertisement lastest imformation contains the advertisement download address and the advertisement and identifier of ad data.Terminal is stored from the advertisement application server corresponding ad data with advertisement and identifier of download and with the ad data of downloading according to the advertisement download address.
Step 402, advertisement application server sends to terminal with Play Control information by call set up signaling, plays and the corresponding ad data of Play Control information in real time with control terminal;
Step 403, advertisement application server sends to terminal with the download address of Play Control information.
In the present embodiment, advertisement application server can have multiple variation with the mode that Play Control information offers terminal.For example: advertisement application server can be given terminal with the download address active push of Play Control information, and the control information download address that terminal pushes according to advertisement application server is from the control information of advertisement application server downloading and playing.After perhaps advertisement application server is received the Play Control request message that terminal regularly sends, the download address of Play Control information is sent to terminal by the Play Control response message, terminal is according to the control information of receiving control information download address downloading and playing.
Step 404, advertisement application server are added up, are analyzed the described ad data of described terminal plays according to the ad data broadcasting time of terminal to report.
In the present embodiment, the advertisement application server receiving terminal reports the mode of ad data broadcasting time that multiple variation can be arranged.The ad data broadcasting time that advertisement application server can receiving terminal initiatively reports; Perhaps, advertisement application server sends query messages to terminal, active inquiry ad data broadcasting time.The advertisement application server receiving terminal is by the ad data broadcasting time of the response message transmission of query messages.
The beneficial effect of present embodiment is, terminal can be according to the Play Control information of advertisement application server transmission, play the video ads of storage, not only can avoid the dependence of ad data play quality pair and the network bandwidth, can also control the play content and the reproduction time of local advertising data more flexibly.
Embodiment 5
Present embodiment provides a kind of realization advertisement playing system, and this system is made up of advertisement application server and more than one terminal.
Advertisement application server comprises: lastest imformation transmitting element, control information transmitting element, end message statistic unit, advertisement data store unit, facility information maintenance unit, control information memory cell.
Terminal comprises: advertisement acquiring unit, advertisement data store unit, control information request unit, ad data broadcast unit and ad data statistic unit.
In the present embodiment, the functional structure of each unit of server is identical among the functional structure of each unit of advertisement application server and the embodiment 3, thus in the present embodiment no longer the functional structure to each unit in the advertisement application server be described in detail.
In the present embodiment, in the terminal among the functional structure of each unit and the embodiment 1 functional structure of each unit of terminal identical, thereby in the present embodiment no longer the functional structure to each unit of terminal be described in detail.
The beneficial effect of present embodiment is, terminal can be according to the Play Control information of advertisement application server transmission, play the video ads of storage, not only can avoid the dependence of ad data play quality pair and the network bandwidth, can also control the play content and the reproduction time of local advertising data more flexibly.
Embodiment 6
Shown in Fig. 5 A, the termination function structure of playing for the realization advertisement of the embodiment of the invention 6, this terminal 500 comprises: advertisement registering unit 501 is used for login request message is sent to advertisement application server, and receives the register requirement response message that advertisement application server sends; Advertisement updating block 502 is used to receive the advertisement update request of advertisement application server transmission and advertisement update request response message is sent to advertisement application server; Advertisement download unit 503 is used for according to the advertisement update request from the advertisement application server download video advertisements; Ad storage unit 504 is used to store the video ads of download; Advertisement playing unit 505 is used to receive and resolve real-time broadcast strategy and according to the real-time broadcast strategy playing video advertisement of resolving; Advertistics unit 506 is used for the broadcasting time statistical information according to real-time broadcast strategy, adds up the broadcasting time of video ads, and the video ads broadcasting time of statistics is sent to advertisement application server.
Be depicted as Fig. 5 B, be the functional structure of advertisement playing unit 505 in the embodiment of the invention 6, advertisement playing unit 505 comprises: broadcast strategy acquisition module 5051 is used to receive the real-time broadcast strategy that advertisement application server issues; Broadcast strategy parsing module 5052 is used for the real-time broadcast strategy that receives is resolved; Advertisement playing module 5053 is used for according to the real-time broadcast strategy of resolving, and selects corresponding advertisement to play in real time from ad storage unit 504.
As shown in Figure 6A, be the flow process of terminal plays video ads in the embodiment of the invention 6, comprising:
Step 601, terminal 500 sends login request message to advertisement application server.
When terminal 500 started, the login request message that will include user name, password and IP address of terminal sent to advertisement application server.Advertisement application server carries out consistency relatively with username and password that receives and the username and password of having stored, and whether verification terminal 500 is validated user; If checking is unanimity as a result, represent that then terminal 500 is validated user, the IP address of advertisement application server storage terminal; If the result is inconsistent for testing in checking, the message that advertisement application server no longer receives these terminal 500 transmissions can not send to terminal 500 with video ads and real-time broadcast strategy yet.
Step 602, terminal 500 receives the register requirement response message that advertisement application server sends.
When advertisement application server verification terminal 500 was validated user, advertisement application server " was proved to be successful the authentication result ", returned to terminal 500 by the register requirement response message; When advertisement application server verification terminal 500 was the disabled user, advertisement application server returned to terminal 500 with authentication result " authentication failed " by the register requirement response message.Shown in Fig. 6 B, when the authentication result who receives when terminal 500 was " authentication failed ", terminal 500 was by screen display notice subscriber authentication failure, and the prompting user re-enters username and password, registers.
Step 603, terminal 500 receives the advertisement update request.
Store the video ads lastest imformation of each terminal in the advertisement application server, as the video ads A that upgraded in the terminal 500 and the advertisement ID of B.Advertisement application server is according to the video ads lastest imformation of terminal 500, with the video ads C of needs renewal and the information of video ads D, send to terminal 500 by the advertisement update request, include the following information of video ads C and video ads D in this advertisement update request: information such as advertisement ID, advertisement duration, download address, priority.
Step 604, terminal 500 sends to advertisement application server with advertisement update request response message.
After terminal 500 is received the advertisement update request, generate advertisement update request response message and send to advertisement application server, the notice advertisement application server is successfully received the advertisement update request that issues.
Step 605, terminal 500 is from the advertisement application server download video advertisements.
After terminal 500 receives the advertisement update request from advertisement application server, terminal is according to advertisement ID and the download address of video ads C and video ads D, adopt the downloading mode of arranging in advance with advertisement application server, as downloading modes such as http, ftp, tftp, from advertisement application server download video advertisements C and video ads D, and be stored as the local video advertisement.
As shown in table 1, be video ads A, the B of storage in the terminal 500, the advertising message of C, D:
Table 1:
Advertisement ID |
Priority |
Update time |
The advertisement duration |
A |
High |
2008-08-07 |
5s |
B |
High |
2008-08-01 |
5s |
C |
In |
2008-09-01 |
5s |
D |
Low |
2008-07-01 |
5s |
Step 606, terminal 500 receives real-time broadcast strategy.
When terminal 500 is called out other terminal by Session Initiation Protocol, advertisement application server will comprise that by SDP attribute in 180 response messages in the call set up signaling the real-time broadcast strategy of advertisement ID A and broadcasting time statistical information sends to terminal 500.
Step 607, terminal 500 playing video advertisements.
Terminal 500 is resolved real-time broadcast strategy, obtains the advertisement ID of video ads A, and terminal 500 is looked in real time and play the A of advertisement frequently.
Step 608, terminal 500 reports to advertisement application server with the video ads broadcasting time.
Video ads A of terminal 500 every broadcasts, according to the broadcasting time statistical information in the real-time broadcast strategy, the broadcasting time of video ads in the statistics terminal, regularly the video ads broadcasting time with statistics initiatively sends to advertisement application server.After terminal 500 reports advertisement application server with broadcasting time, the broadcasting time zero clearing that terminal 500 will have been added up.
Advertisement application server carries out statistical analysis to the video ads broadcasting time that terminal 500 reports, and collects the charges to the advertiser according to statistic analysis result.
Those skilled in the art can be according to the present embodiment content, to the downloading mode of video ads in the present embodiment, change.For example, advertisement application server all is handed down to terminal 500 with all downloading modes of supporting in the advertisement update request, and terminal 500 is selected a kind of at all downloading modes, and according to selected downloading mode from the advertisement application server download video advertisements.
Those skilled in the art can be according to the present embodiment content, in the present embodiment in real time the receive mode of broadcast strategy change.For example, when terminal 500 was called out other terminal by Session Initiation Protocol, terminal 500 received real-time broadcast strategy by SDP attribute in 183 response messages of advertisement application server transmission; Perhaps terminal 500 receives real-time broadcast strategy by independent renewal (Update) request of advertisement application server; Perhaps, terminal 500 is in communication process, and the Update/re-invite message by advertisement application server sends receives real-time broadcast strategy; Perhaps, header field or the attribute expanded in the message that terminal 500 issues by advertisement application server receive real-time broadcast strategy.
Those skilled in the art can carry out multiple variation to the control information in the real-time broadcast strategy according to the present embodiment content.For example: real-time broadcast strategy is corresponding to a video ads and do not comprise the broadcasting time statistical information.Behind the video ads that terminal 500 is play with broadcast strategy is corresponding in real time, according to issuing real-time broadcast strategy, add up the broadcasting time of video ads voluntarily by advertisement application server.Real-time broadcast strategy is corresponding to a plurality of video ads and comprise playing sequence information and the broadcasting time statistical information, terminal 500 is according to the playing sequence indication information in the real-time broadcast strategy, play each video ads corresponding according to the order of sequence with broadcast strategy, terminal 500 is added up the broadcasting time of video ads according to the broadcasting time statistical information.Broadcast strategy can also be to play in real time to start indication information in real time, and terminal 500 bases are broadcast strategy in real time, selects the local video advertisement at random, plays in real time.
Playing sequence information comprises: play continuously (according to video ads ID according to video ads ID, play according to the order of sequence once), according to video ads ID loop play (according to video ads ID, repeat playing according to the order of sequence), according to video ads update time continuously, according to video ads loop play update time, by video ads priority continuously, according to video ads priority loop play, according to the video ads duration play continuously, according to information such as video ads duration loop play.
Those skilled in the art can report the mode of video ads broadcasting time to change to terminal 500 according to the present embodiment content.For example, terminal 500 can report advertisement application server with the video ads broadcasting time by advertisement update request response message; Perhaps, terminal 500 is received and when advertisement application server initiatively issues query messages the video ads broadcasting time is sent to advertisement application server by query response message.
The beneficial effect of present embodiment is, terminal 500 is play the local video advertisement according to the real-time broadcast strategy that receives, make terminal 500 need not to guarantee the play quality of audio frequency and video advertisement, also need not to repeat to transmit the video ads of identical content, avoided bandwidth waste by higher bandwidth; The content of controls playing video ads and time more neatly.
Embodiment 7
Shown in Fig. 7 A, the structure of the terminal of playing for the realization advertisement of the embodiment of the invention 7 700, this terminal 700 comprises: advertisement registering unit 701 is used for login request message being sent to advertisement application server and receiving the register requirement response message that advertisement application server sends; Advertisement mode is provided with unit 702, is used to be provided with the play mode of video ads; Advertisement updating block 703 is used to receive the advertisement update inquiry information of advertisement application server transmission and advertisement update request response message is sent to advertisement application server; Advertisement download unit 304, according to the advertisement update inquiry information from the advertisement application server download video advertisements; Ad storage unit 705 is used to store the video ads of download; Advertisement playing unit 706 receives real-time broadcast strategy and local broadcast strategy, stores local broadcast strategy, and selects real-time broadcast strategy or local broadcast strategy playing video advertisement according to the play mode that is provided with; Advertistics unit 707 is used to add up the video ads broadcasting time and the video ads broadcasting time is sent to advertisement application server.
Shown in Fig. 7 B, advertisement playing unit 706 comprises broadcast strategy acquisition module 7061, the download address that is used to receive the real-time broadcast broadcast strategy that advertisement application server issues and receives the local broadcast strategy that advertisement application server pushes, and, download local broadcast strategy according to local broadcast strategy download address; Broadcast strategy parsing module 7062 is used to resolve real-time broadcast strategy and local broadcast strategy; The policy store module is used for the local broadcast strategy after the storing and resolving; The advertisement playing module is used for according to the real-time broadcast strategy of resolving or the local broadcast strategy of storage, selects video ads to play from the ad storage unit.
As shown in Figure 8, be the video ads playing flow based on terminal of the embodiment of the invention 7, comprising:
Step 801, terminal 700 sends login request message to advertisement application server.
When terminal 700 started, the login request message that will include the IP address of user name, password and terminal 700 sent to advertisement application server.Advertisement application server judges whether the username and password that receives is consistent with the username and password of having stored; If judged result is the consistent authentication success of then representing terminal 700, the IP address of advertisement application server storage terminal 700; If judged result is inconsistent, then represent the authentication failure of terminal 700, the message that advertisement application server no longer receives these terminal 700 transmissions can not send to this terminal 700 with video ads and video ads broadcast strategy yet.
Step 802, terminal 700 receives the register requirement response message that advertisement application server sends.
When advertisement application server verification terminal 700 is validated user, advertisement application server " is proved to be successful the authentication result " and the cycle of shaking hands returns to terminal 700 by the register requirement response message, when advertisement application server verification terminal 700 was the disabled user, advertisement application server only returned to terminal 700 with authentication result " authentication failed " by the register requirement response message.
Step 803, the video ads play mode of setting terminal 700.
Shown in Fig. 7 C, the user is provided with option by the broadcast strategy of terminal 700 screen displays, and the video ads play mode that terminal 700 is set is according to local broadcast strategy playing video advertisement.
Step 804, terminal 700 receives the advertisement update request.
Advertisement application server will need the advertisement update request of the video ads that upgrades to send to terminal 700, include video ads ID in this advertisement update request, video ads duration, information such as video ads download address, video ads priority.
Step 805, terminal 700 sends to advertisement application server with advertisement update request response message.
After terminal 700 is received the advertisement update request, generate advertisement update request response message and send to advertisement application server, the notice advertisement application server is successfully received the advertisement update request.
Step 806, terminal 700 is from the advertisement application server download video advertisements.
Terminal 700 is according to video ads ID in the advertisement update request and video ads download address, adopt the downloading mode of arranging in advance with advertisement application server, as http, ftp, tftp etc., download corresponding video ads and be stored as the local video advertisement from advertisement application server, be used for follow-up video ads and play.
The advertising message of store video advertisement A, B, C, D in the terminal 700 please refer to the table 1 among the embodiment 3 in the present embodiment.
Step 807, the local broadcast strategy that terminal 700 downloads ad application servers send.
Advertisement application server is according to the IP address of terminal 700, the address of local broadcast strategy file is sent to terminal 700 by the communication protocol of arranging, terminal 700 is downloaded local broadcast strategy according to the address of local broadcast strategy file from advertisement application server.For example: advertisement application server wishes that the local broadcast strategy that is handed down to terminal 800 thes contents are as follows:
1. playing audio-video advertisement when ring-back tone is listened in caller;
2. caller in the voice-frequency telephony process/noiseless video ads of called broadcast;
3. begin to play from the limit priority video ads;
4. the video ads that priority is identical is play the video ads of up-to-date download earlier;
5. after all video ads finish, adopt all video ads of loop play;
6. start the broadcasting time of the number of times statistics video ads of playing according to video ads, both made video ads not finish the broadcasting time that a video ads is also added up in broadcast;
The then following formal description of local broadcast strategy of the embodiment of the invention:
AD-Policy:
Time=CallBack; Type=AV, (playing audio-video advertisement when ring-back tone is listened in caller)
Time=VoiceCall; Type=V, (caller in the voice-frequency telephony process/noiseless video ads of called broadcast)
PRI=high; Middle; Low, (beginning to play) from the limit priority video ads
SPRI=new, (video ads that priority is identical is play the video ads of up-to-date download earlier)
Order=cycle, (after all video ads finish, adopting all video ads of loop play)
Stat=start (starting the broadcasting time of the number of times statistics video ads of playing according to video ads)
Those skilled in the art can change the local broadcast strategy that advertisement application server is handed down to terminal according to the present embodiment content, flexible control of video advertisement broadcast mode, when wishing terminal 700 as dialed terminal bell as advertisement application server, play noiseless video ads, then advertisement application server can increase a tactful Time=Ring in the local broadcast strategy that issues; Type=V, the local broadcast strategy of present embodiment can be used following formal description:
AD-Policy:
Time=CallBack;Type=AV,
Time=VoiceCall;Type=V,
Time=Ring; Type=V, (during dialed terminal bell, playing noiseless video ads)
PRI=high;middle;low,
SPRI=new,
Order=cycle,
Stat=star
If advertisement application server is wished the broadcasting time of the video ads that 800 statistics of terminal finish playing, then advertisement application server can be made amendment to the statistics of the broadcast in the local broadcast strategy of present embodiment strategy, Stat=start is revised as Stat=end, makes in the present embodiment local broadcast strategy can use following formal description:
AD-Policy:
Time=CallBack;Type=AV,
Time=VoiceCall;Type=V,
Time=Ring;Type=V,
PRI=high;middle;low,
SPRI=new,
Order=cycle,
Stat=end, (finishing the broadcasting time of the number of times statistics video ads of broadcast according to video ads)
Step 808, terminal 700 receives the real-time broadcast strategy that advertisement application server sends.
Terminal 700 is as calling terminal, and when calling out other terminal by Session Initiation Protocol, advertisement application server sends to terminal 300 by the SDP attribute in 180 response messages that send to terminal with real-time broadcast strategy.
Step 809, terminal 700 is according to local broadcast strategy playing video advertisement.
Because the video ads play mode that terminal 700 is set is local broadcast strategy, then terminal 700 can be according to the real-time broadcast strategy playing video advertisement that receives.Terminal 700 detects the running status of self, and judges whether the running status of terminal 700 conforms to local broadcast strategy, and when the running status of terminal 700 conformed to local broadcast strategy, terminal 700 was play the video ads that conforms to local broadcast strategy.
If terminal 700 is called, dialed terminal bell selects video to answer mode after 9 seconds, and the mode of terminal 700 playing video advertisements is as follows:
Advertisement A (5 seconds, audio frequency and video advertisement) → advertisement B (4 seconds, audio frequency and video advertisement)
If terminal 700 is called, select audio frequency to answer mode behind the dialed terminal bell 20s, and the conversation between terminal 700 and terminal called continue 50 seconds, then the mode of terminal 700 playing video advertisements is as follows:
1) advertisement A (5s, audio frequency and video advertisement) → advertisement B (5s, audio frequency and video advertisement) → advertisement C (5s, audio frequency and video advertisement) → advertisement D (5s, audio frequency and video advertisement)
2) advertisement A (5s, noiseless video ads) → advertisement B (5s, noiseless video ads) → advertisement C (5s, noiseless video ads) → advertisement D (5s, noiseless video ads)
3) advertisement A (5s, noiseless video ads) → advertisement B (5s, noiseless video ads) → advertisement C (5s, noiseless video ads) → advertisement D (5s, noiseless video ads)
4) advertisement A (5s, noiseless video ads) → advertisement B (5s, noiseless video ads)
Step 810, terminal 700 reports to advertisement application server with the video ads broadcast information.
Terminal 700 is added up the video ads broadcasting time: advertisement A4 time according to the statistics of the broadcast in local broadcast strategy strategy; Advertisement B4 time; Advertisement C3 time; Advertisement D3 time.When terminal 700 received that advertisement application server initiatively issues query messages, terminal 700 sent to advertisement application server by query response message with the video ads broadcasting time.
Those skilled in the art can be according to the present embodiment content, and the receive mode of local broadcast strategy in the present embodiment is changed.Advertisement application server is according to the IP address of terminal of storage, and the communication protocol by agreement is pushed to terminal 700 with local broadcast strategy.
In the present embodiment, if the video ads play mode that the user is provided with is real-time broadcast strategy, then terminal 700 will only be utilized the real-time broadcast strategy that advertisement application server issues, and play the local video advertisement; When if the video ads play mode that the user is provided with is automatic control mode, during real-time broadcast strategy that terminal 700 receives that advertisement application server issues, play the local video advertisement that conforms to real-time broadcast strategy immediately, simultaneously, after terminal 700 is received local broadcast strategy that advertisement application server pushes or is downloaded local broadcast strategy from advertisement application server, local broadcast strategy is stored and is detected the running status of self, and judge whether its running status conforms to local broadcast strategy, when the running status of terminal 700 conformed to local broadcast strategy, terminal 700 was play the local video advertisement that conforms to local broadcast strategy.Local broadcast strategy and real-time broadcast strategy can be configured by the configuration platform of advertisement application server, and the broadcast strategy of configuration being finished by the advertisement application server configuration platform sends to advertisement application server.The broadcast strategy that advertisement application server receives and storage is transmitted by the advertisement application server configuration platform.
The beneficial effect of present embodiment is, the user can be provided with terminal 300 flexibly and play the mode of local video advertisement, make terminal 700 can according to server send in real time/local broadcast strategy, control the broadcast mode of local video advertisement flexibly, terminal 700 need not to guarantee by higher bandwidth the play quality of audio frequency and video advertisement, also need not to repeat to transmit the video ads of identical content, avoided bandwidth waste.
Embodiment 8
As shown in Figure 9, the functional structure of the terminal of playing for the realization advertisement of the embodiment of the invention 8 900, this terminal 900 comprises: advertisement registering unit 901 is used for login request message being sent to advertisement application server and receiving the register requirement response message that advertisement application server sends; Advertisement updating block 902 is used for to advertisement application server request advertisement update inquiry information and receives the advertisement update inquiry information that advertisement application server sends; Advertisement download unit 903, according to the advertisement update inquiry information from the advertisement application server download video advertisements; Ad storage unit 904 is used to store the video ads of download; Broadcast strategy request unit 905 is used for to the local broadcast strategy of advertisement application server request; Advertisement playing unit 906 receives local broadcast strategy and stores local broadcast strategy, according to local broadcast strategy playing video advertisement; Advertistics unit 907 be used to add up the broadcasting time of video ads, and the video ads broadcasting time after will adding up sends to advertisement application server.
As shown in figure 10, be the video ads playing flow figure based on terminal of the embodiment of the invention 8, comprising:
Step 1001, terminal 900 sends login request message to advertisement application server.
When terminal 900 started, the login request message that will include user name, password sent to advertisement application server.Advertisement application server judges whether the username and password that receives is consistent with the username and password of having stored; If judged result is the consistent authentication success of then representing terminal 900; If judged result is the inconsistent authentication failure of then representing terminal 900, the message that advertisement application server no longer receives these terminal 900 transmissions can not send to this terminal 900 with video ads and video ads broadcast strategy yet.
Step 1002, terminal 900 receives the register requirement response message that advertisement application server sends.
When advertisement application server verification terminal 900 is validated user, advertisement application server " is proved to be successful the authentication result " and the cycle of shaking hands returns to terminal 900 by the register requirement response message, when advertisement application server verification terminal 900 was the disabled user, advertisement application server only returned to terminal 900 with authentication result " authentication failed " by the register requirement response message.
In the present embodiment, advertisement application server can't be according to the IP addressing of address of terminal, thereby advertisement application server can't pass through the IP address, and the advertisement update request initiatively is handed down to terminal 900.Advertisement application server will send to terminal 900 cycle of shaking hands by the register requirement response message, the cycle of request advertisement update request between agreement terminal 900 and the advertisement application server.
Step 1003, terminal 900 request advertisement update inquiry information.
Terminal 900 is according to shaking hands the cycle to advertisement application server request advertisement update inquiry information.
Step 1004, terminal 900 receives the advertisement update inquiry information.
Advertisement application server generates handshake response message after receiving the periodic messages of shaking hands of terminal, the advertisement update inquiry information of the video ads that needs are upgraded sends to terminal 900, include video ads ID in this advertisement update inquiry information, the video ads duration, information such as video ads download address, video ads priority.
Step 1005, terminal 900 is from the advertisement application server download video advertisements.
Terminal 900 is according to video ads ID in the advertisement update request and video ads download address, adopt the downloading mode of arranging in advance with advertisement application server, as http, ftp, tftp etc., download corresponding video ads and be stored in this locality from advertisement application server.
Step 1006, the local broadcast strategy of terminal 900 requests.
Terminal 900 sends to advertisement application server according to shaking hands the cycle with local broadcast strategy request message.
Step 1007, terminal 900 receives the local broadcast strategy that advertisement application server sends.
When advertisement application server was received the broadcast strategy request of terminal 900, by response message, for example, the extension field of heavy register requirement response message (200ok) sent to terminal 900 with local broadcast strategy, the local broadcast strategy that terminal 900 storages receive.
Step 1008, terminal 900 is according to local broadcast strategy playing video advertisement.
Terminal 900 detects the running status of self, and judges whether the running status of terminal 900 conforms to local broadcast strategy, and when the running status of terminal 900 conformed to local broadcast strategy, terminal 900 was utilized the local broadcast strategy playing video advertisement of storage.
Step 1009, terminal 900 reports to advertisement application server with the video ads broadcast information of statistics.
Terminal 900 is according to the statistics strategy in the local broadcast strategy, statistics video ads broadcasting time, and the video ads broadcasting time of statistics given by information reporting put advertisement application server.Advertisement application server returns response message after receiving the video ads broadcasting time of terminal 900, the successful receiver, video advertisement broadcasting time of notice terminal 900.
Those skilled in the art can change the mode of terminal request advertisement update request according to the content of present embodiment.For example, terminal 900 can be according to a scheduled time of presetting, regularly to advertisement application server request advertisement update request.
Those skilled in the art can change the mode that terminal 900 sends the video ads broadcasting time according to the content of present embodiment, for example, when request video ads update request, the video ads broadcasting time are sent to advertisement application server.
The beneficial effect of present embodiment is, terminal 900 is controlled the broadcast mode of local video advertisement flexibly according to local broadcast strategy, need not to guarantee by higher bandwidth the play quality of audio frequency and video advertisement, also need not to repeat to transmit the video ads of identical content, avoided bandwidth waste.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.